apt-get install fpc lazarus fails on Raspberry Pi

apt-get install fpc lazarus fails with “fpc : Depends: fpc-2.6.0 (= 2.6.0-9+rpi1) but it is not going to be installed” on Raspberry Pi

Evidently, something has been changed recently in Raspbian making  it impossible to install FPC or Lazarus. From what I can tell, it seems to be the inclusion of a package called binutils-gold.

After spending time researching the problem, I found the answer here:

http://www.raspberrypi.org/forums/viewtopic.php?f=34&t=88145

The solution is pretty simple. Using the editor of your choice edit the sources.list file:

sudo vi /etc/apt/sources.list

Now add the line:

deb http://plugwash.raspbian.org/wsf wheezy-wsf main

Save source.list, apt-get update and you should be good to go:

sudo apt-get update
sudo apt-get install fpc
sudo apt-get install lazarus
This entry was posted in c-lazarus, c-rpi. Bookmark the permalink.

3 Responses to apt-get install fpc lazarus fails on Raspberry Pi

  1. Pingback: Accessing Raspberry Pi GPIO using Lazarus/Free Pascal | Big Dan the Blogging Man

  2. Pingback: Compiling the Latest Lazarus/Free Pascal for Raspberry Pi | Big Dan the Blogging Man

  3. Pingback: Using Lazarus and the Adafruit PiTFT Display + TouchScreen for RaspBerry Pi | Big Dan the Blogging Man

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s