Shoud I update manually installed debs? lazarus / 1-Linux ---------------------------------------------------------------------- stem · 2018-11-02 16:39 Hi, my system: Ubuntu 18.04 (x86_64). This afternoon I've downloaded the latest deb files from the Lazarus homepage and installed them. Everything works fine! Now the update management ("Aktualisierungsverwaltung" in German) recommends me to update "fpc": Old version: 3.0.4 New version: 3.0.4+dfsg-18ubuntu2 Size: 23 kB Should I install this new version? Can I tell Linux that I don't want to be informed about new updates to fpc, fpc-src and Lazarus? What would you recommend? Thank you! stem ---------------------------------------------------------------------- Thaddy · 2018-11-02 17:04 This is the same as you get withCode: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i sudo apt- get update && sudo apt-get upgrade so there are no issues to update. You can verify it by doing the above: it is the Ubuntu package management that attents you. ---------------------------------------------------------------------- stem · 2018-11-02 17:26 apt tells me the same: Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i apt list --upgradable -aAuflistung... Fertigfpc/bionic-updates,bionic-updates 3.0.4+dfsg-18ubuntu2 amd64 [aktualisierbar von: 3.0.4]fpc/bionic,bionic 3.0.4+dfsg-18 amd64fpc/now 3.0.4 amd64  [Installiert,aktualisierbar auf: 3.0.4+dfsg-18ubuntu2] ---------------------------------------------------------------------- lucamar · 2018-11-02 17:33 Do note that there may be some problems. Search the forum and you'll see lots of posts like those two. If you're used to install from the official DEBs I would recommend to ignore system-proposed updates. ---------------------------------------------------------------------- Thaddy · 2018-11-02 18:08 Those mostly are caused by mixing installs from e.g. FPC itself and Ubuntu provided updates. If your install on Ubuntu works, it is safe to update because it passed all tests against the previous version provided by Ubuntu. If you mix it with other debs, like the fpc provided ones, you may have those issues, yes. If you want to make sure, pin it first. See https://wiki.debian.org/RollbackUpdate ---------------------------------------------------------------------- Hartmut · 2018-11-02 18:10 @stem: I had the same situation as you and lost my complete Lazarus installation during the update of "fpc" (see https://forum.lazarus.freepascal.org/index.php/topic,42393.0.html). My solution was to lock "fpc" and "fpc-src" via Synaptic package manager (if you have GNOME desktop) or via Muon package manager (if you have KDE-plasma desktop). For the future I would use and recommend fpcupdeluxe to install Lazarus+FPC (see http://wiki.freepascal.org/fpcupdeluxe and http://forum.lazarus.freepascal.org/index.php/topic,34645.0.html). ---------------------------------------------------------------------- Handoko · 2018-11-02 18:25 +1 Hartmut I think we should also mentioned JuhaManninen's suggestion: don't use deb packages but get the source and manually compile your Lazarus. ---------------------------------------------------------------------- Thaddy · 2018-11-02 18:35 Quote from: Handoko on November 02, 2018, 07:25:36 pm+1 Hartmut I think we should also mentioned JuhaManninen's suggestion: don't use deb packages but get the source and manually compile your Lazarus. - Since I am an Ubuntu user and  *never* ran into your problems that is a bit of nonsense. Unable to reproduce. Maybe I have the required discipline after all  - What I can reproduce is people who mix official Ubuntu provided debs with also official fpc debs or there own builds to the same location!. These are not synced. Of the two, one is a rogue package builder and communication between the two seems missing. - Compiling from source is recommended indeed, but not when you want a complete uninstall. The official Ubuntu debs can do uninstall and purge. ---------------------------------------------------------------------- Handoko · 2018-11-02 20:05 Quote from: Thaddy on November 02, 2018, 07:35:25 pm- What I can reproduce is people who mix official Ubuntu provided debs with also official fpc debs or there own builds to the same location! That's a good point. The problem happens if we're trying to mix them (Lazarus from SourceForge + FPC from Ubuntu). I reread the title of this thread: QuoteShoud I update manually installed debs? Manually ... it's mean not from Ubuntu. So the short answer for the TS is: no, don't do it. Quote from: Thaddy on November 02, 2018, 07:35:25 pm- Since I am an Ubuntu user and  *never* ran into your problems that is a bit of nonsense. Unable to reproduce. Maybe I have the required discipline after all  Of course you didn't and you should not, you're a well-experienced both user and programmer. Even if something bad really happens, you can solve it in the blink of an eye. Off topic I noticed you changed your avatar, it's too eye-catching. I wonder what it is. A map, a croissant, a cloud? I checked the Internet but even Google Image Search failed to give me the answer. ---------------------------------------------------------------------- VTwin · 2018-11-03 00:04 I've been using the official Linux deb install from SourceForge. The Ubuntu version of Lazarus always seems outdated. I'm a bit conservative since I have three machines to keep coordinated, so only use svn on one machine to keep up with Cocoa updates. Maybe this is bad, but I can't keep up with all updates on all platforms on three machines. ---------------------------------------------------------------------- VTwin · 2018-11-03 00:10 Quote from: Handoko on November 02, 2018, 09:05:07 pmOff topic I noticed you changed your avatar, it's too eye-catching. I wonder what it is. A map, a croissant, a cloud? I checked the Internet but even Google Image Search failed to give me the answer. ---------------------------------------------------------------------- lucamar · 2018-11-03 00:28 Quote from: Thaddy on November 02, 2018, 07:35:25 pm- What I can reproduce is people who mix official Ubuntu provided debs with also official fpc debs or there own builds to the same location!. These are not synced. Of the two, one is a rogue package builder and communication between the two seems missing. Do note that it seems to be the OP situation: Quote from: stem on November 02, 2018, 05:39:03 pmThis afternoon I've downloaded the latest deb files from the Lazarus homepage and installed them. Everything works fine! Now the update management ("Aktualisierungsverwaltung" in German) recommends me to update "fpc": Old version: 3.0.4 New version: 3.0.4+dfsg-18ubuntu2 Size: 23 kB I.e. installed packages from Lazarus/FPC (sourceforge?) and Ubuntu wants to "update" them with their own. For completeness sake, I must say that I've always installed from official Lazarus (vs. Ubuntu) DEBs and never had a problem either. But then, the OS has never asked me to "update" them. Hence my pointing to other people who seems to have had them (problems, that is). ---------------------------------------------------------------------- dbannon · 2018-11-03 05:37 I note that in the Lazarus 2 install kits, fpc seems to have been renamed fpc-laz, I suggest thats to avoid just this situation. ie, we install the sourceforge fpc, apt sees it and wants to 'upgrade' it to its idea of what we should be using. From memory, it was quite insistent too. My advice is a very casual user who just wants to have a little play should stick with the Ubuntu packages, mainly because its very easy.  Anyone who is even a bit more serious really needs to take charge of their own machine and manually install. Given Martin_Fr recent suggestion that Lazarus 2 might be built with fpc 3.2, especially so. My guess is if you put a sourceforge deb of 3.2 on now, Ubuntu will want to 'upgrade' it to 1.8.4 and in a release or two, maybe the reverse ! Manual install is easy and probably means packages from sourceforge  but I prefer to build Lazarus from source rather than have it all end up read only. ---------------------------------------------------------------------- stem · 2018-11-03 07:51 Hi, thank you for your answers. Now I've blocked the three packages "fpc", "fpc-src" and "lazarus-project" both in Synaptic and in the Ubuntu update management. stem