fpc installation/update problems on Ubuntu lazarus / 1-Linux ---------------------------------------------------------------------- stephanweber · 2019-04-09 20:28 Hi, I got the hint to update fpc and Lazarus, e.g. to get some Tchart enhancements , BUT now I am in hell . I uninstalled fpc and Lazarus, but e.g. in the Ubuntu Software overview my older Lazarus 1.6 is still visible (pressing uninstall does nothing). And if I install the new fpc304 I got this: dpkg: Betreffend fpc_3.0.4-3_amd64.deb, welches fpc enthält:  fpc kollidiert mit fp-compiler   fp-compiler-3.0.0 liefert fp-compiler und ist vorhanden und installiert. dpkg: Fehler beim Bearbeiten des Archivs fpc_3.0.4-3_amd64.deb (--install):  Kollidierende Pakete - fpc wird nicht installiert Fehler traten auf beim Bearbeiten von:  fpc_3.0.4-3_amd64.deb So there is a collison and it looks that still "somewhere" fpc is present, although I made sudo  apt-get remove fpc (and lazarus) often! Also rpm based install does not work. With debian I tried the last stable, and the newest version, but I get the same problems.  I have no ideas anymore, can someone help me? Bye Stephan ---------------------------------------------------------------------- lucamar · 2019-04-09 21:53 Just a couple hints: Make sure to unintall Lazarus first, and then both FPC and FPC-src. Also, make sure all fpc-related packages are uninstalled (some distros like to make a hundred packages out of it)Instead of apt-get remove ... use apt-get purge ... so that everything gets uninstalled except the user-defined configuration ---------------------------------------------------------------------- heejit · 2019-04-09 22:14 You can try fpcupdeluxe This tool can Install fpc/lazaurs in Your choice of directory and all the configuration will be in your directory only. ---------------------------------------------------------------------- af0815 · 2019-04-10 05:08 Quote from: jshah on April 10, 2019, 12:14:41 amYou can try fpcupdeluxe This tool can Install fpc/lazaurs in Your choice of directory and all the configuration will be in your directory only. But all of the olds part of fpc and Lazarus should be removed to avoid unexpected issues. If the system is mis installed it should be cleaned first. Look with dpkg -l > pakete.txt for the installed packages. In pakete.txt are all actual installed packages, so you can search with a normal text-editor for fpc and Lazarus related things. ---------------------------------------------------------------------- DonAlfredo · 2019-04-10 06:14 QuoteBut all of the olds part of fpc and Lazarus should be removed to avoid unexpected issues.This should not be the case ... I hope ... ---------------------------------------------------------------------- stephanweber · 2019-04-10 12:11 THANKS a lot!! Due to a similar thread I found that the  :DSynaptic Package Manager can help, and it does. I made already " apt-get remove " multiple times but this was strong enough, Synaptic found that fpc and Lazarus were still present. And the tool helped me to clean up correctly. After that the new installation was possible wo. problems. Bye Stephan