Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-12

Trouble [re-]installing fpc from SourceForge (and other sources)

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Donald Ziesig

I have been trying to upgrade to lazarus 1.6.2 on *Linux Mint Sarah* with no success. After days of failure, I decided to revert to 1.6.0 using the .deb files from SourceForge. Then using Synaptic for 1.6.0. Lastly using apt-get from the command line. In all cases, the installation of *fpc *fails.
It used to work till I started this upgrade.

All attempts to get fpc working fail, essentially the same way:

┌[ 2001 2.3.0 19:30:33 ~ ]
└> fpc
The program 'fpc' is currently not installed. You can install it by typing: sudo apt install fp-compiler-3.0.0
┌[ 1994 2.3.0 19:30:35 ~ ]
└> sudo apt install fp-compiler-3.0.0
[sudo] password for donz:
Reading package lists... Done
Building dependency tree
Reading state information... Done
fp-compiler-3.0.0 is already the newest version (3.0.0+dfsg-2). 0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded. ┌[ 1993 2.3.0 19:30:59 ~ ]
└> fpc
The program 'fpc' is currently not installed. You can install it by typing: sudo apt install fp-compiler-3.0.0
┌[ 1993 2.3.0 19:31:08 ~ ]
└>

Repeating the apt install gives the same result.

I tried:

┌[ 1998 2.3.0 19:54:00 ~ ]
└> fp-compiler-3.0.0
fp-compiler-3.0.0: command not found
┌[ 1998 2.3.0 19:54:24 ~ ]

Also:

┌[ 1998 2.3.0 19:54:24 ~ ]
└> sudo apt install fpc
[sudo] password for donz:
Reading package lists... Done
Building dependency tree
Reading state information... Done
fpc is already the newest version (3.0.0+dfsg-2).
fpc set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.

When I start lazarus, it complains that it can't find the compiler: /usr/bin/fpc
It recommends that I try /usr/bin/ppcx64

/usr/bin/ppcx64 is a link to a non-existent file.

I tried everything I can think of for the compiler with the same results.

Help, please!

Don Ziesig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161202/22fafd6a/attachment.html>

Reply by email

Salvatore

Try to uninstall alla the fpc and fp related pakages then install fpc 3.0.0 with the deb privided in the Lazarus site. It work here with mint lmde 2

Donald Ziesig via Lazarus ha scritto:

Ihavebeentryingtoupgradetolazarus1.6.2onLinuxMintSarahwithnosuccess. Afterdaysoffailure,Idecidedtorevertto1.6.0usingthe.debfilesfromSourceForge. ThenusingSynapticfor1.6.0. Lastlyusingapt-getfromthecommandline. Inallcases,theinstallationoffpcfails.ItusedtoworktillIstartedthisupgrade.Allattemptstogetfpcworkingfail,essentiallythesameway:┌[2001 2.3.019:30:33~]└fpcTheprogram'fpc'iscurrentlynotinstalled.Youcaninstallitbytyping:sudoaptinstallfp-compiler-3.0.0┌[1994 2.3.019:30:35~]└sudoaptinstallfp-compiler-3.0.0[sudo]passwordfordonz:Readingpackagelists...DoneBuildingdependencytree      Readingstateinformation...Donefp-compiler-3.0.0isalreadythenewestversion(3.0.0+dfsg-2).0upgraded,0newlyinstalled,0toremoveand37notupgraded.┌[1993 2.3.019:30:59~]└fpcTheprogram'fpc'iscurrentlynotinstalled.Youcaninstallitbytyping:sudoaptinstallfp-compiler-3.0.0┌[1993 2.3.019:31:08~]└Repeatingtheaptinstallgivesthesameresult.Itried:┌[1998 2.3.019:54:00~]└fp-compiler-3.0.0fp-compiler-3.0.0:commandnotfound┌[1998 2.3.019:54:24~]Also:┌[1998 2.3.019:54:24~]└sudoaptinstallfpc[sudo]passwordfordonz:Readingpackagelists...DoneBuildingdependencytree      Readingstateinformation...Donefpcisalreadythenewestversion(3.0.0+dfsg-2).fpcsettomanuallyinstalled.0upgraded,0newlyinstalled,0toremoveand37notupgraded.WhenIstartlazarus,itcomplainsthatitcan'tfindthecompiler:/usr/bin/fpcItrecommendsthatItry/usr/bin/ppcx64/usr/bin/ppcx64isalinktoanon-existentfile.ItriedeverythingIcanthinkofforthecompilerwiththesameresults.Help,please!DonZiesig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161203/f0afd883/attachment-0001.html>

Reply by email

Mattias Gaertner
to Donald Ziesig: I have been trying to upgrade to lazarus 1.6.2 on *Linux Mint Sarah* with no success. …
Show quoted text 13 lines
I have been trying to upgrade to lazarus 1.6.2 on *Linux Mint Sarah* with no success. After days of failure, I decided to revert to 1.6.0 using the .deb files from SourceForge. Then using Synaptic for 1.6.0. Lastly using apt-get from the command line. In all cases, the installation of *fpc *fails. It used to work till I started this upgrade. All attempts to get fpc working fail, essentially the same way: ┌[ 2001 2.3.0 19:30:33 ~ ] └> fpc The program 'fpc' is currently not installed. You can install it by typing: sudo apt install fp-compiler-3.0.0

Please try this:
- uninstall the lazarus package and all fp- packages.
- update your system
- download the new lazarus-project_1.6.2 package from our sourceforge site and install it.
- If your installer did not automatically install the dependencies, install them now

Mattias

Reply by email

Donald Ziesig
to Mattias Gaertner
Mattias Gaertner wrote 25 lines
On Fri, 2 Dec 2016 20:00:56 -0500 Donald Ziesig via Lazarus wrote: > I have been trying to upgrade to lazarus 1.6.2 on *Linux Mint Sarah* > with no success. After days of failure, I decided to revert to 1.6.0 > using the .deb files from SourceForge. Then using Synaptic for 1.6.0. > Lastly using apt-get from the command line. In all cases, the > installation of *fpc *fails. > It used to work till I started this upgrade. > > All attempts to get fpc working fail, essentially the same way: > > ┌[ 2001 2.3.0 19:30:33 ~ ] > └> fpc > The program 'fpc' is currently not installed. You can install it by typing: > sudo apt install fp-compiler-3.0.0 Please try this: - uninstall the lazarus package and all fp- packages. - update your system - download the new lazarus-project_1.6.2 package from our sourceforge site and install it. - If your installer did not automatically install the dependencies, install them now Mattias

It seems that the apt metadata got corrupted. fpc was not the only package that would not reinstall properly. I had to reload the entire thing and clear the apt cache. I installed the original fpc and it worked.

I then removed fpc and downloaded lazarus-project_1.6.2. Lazarus worked (even though the installation said that there are 88 packages missing). Where can I find out which packages are needed and how to install them?

Thanks,

Don Z.

Reply by email

Mattias Gaertner
to Donald Ziesig
[...] It seems that the apt metadata got corrupted. fpc was not the only package that would not reinstall properly. I had to reload the entire thing and clear the apt cache.

Never had such a failure.

I installed the original fpc and it worked.

:)

I then removed fpc and downloaded lazarus-project_1.6.2. Lazarus worked (even though the installation said that there are 88 packages missing).

Normal.

Where can I find out which packages are needed and how to install them?

For example 'apt-get -f install'.

Mattias

Reply by email