Can't (re)install lazarus

Posted by twice on Ask Ubuntu See other posts from Ask Ubuntu or by twice
Published on 2013-11-02T13:33:41Z Indexed on 2013/11/02 22:17 UTC
Read the original article Hit count: 264

Filed under:
|
|
|
|

I had Lazarus installed (from website, not USC), while upgrading to 13.10 and after that, it posted some error message (which I can't remember) at every start. I decided it shouldn't suffer, so I started reinstalling it, but it didn't work. then I thought I'll start all over, and deleted and purged everything. But it still would not install.

I found a similar, very similar question to mine here: Cant correctly install Lazarus

I tried everything said there:

sudo dpkg -l | grep "^rc"

returned some packages:

since sudo apt-get -f brought up the apt-get help message, and sudo apt-get -f install did nothing, I went ahead and manually purged every broken package, which seemed to bring me forward, since it removed the entries in sudo dpkg -l | grep "^rc". When I was done I tried it again, since it didn't work I rebooted, no change.

this is the error message I get on the attempt to install the first package (fpc-2.6.2):

root@Someone-PC:~# dpkg -i /home/someone/Desktop/fpc_2.6.2-0_amd64\ \(3\).deb 
(Reading database ... 242209 files and directories currently installed.)
Unpacking fpc (from .../fpc_2.6.2-0_amd64 (3).deb) ...
dpkg: error processing /home/someone/Desktop/fpc_2.6.2-0_amd64 (3).deb (--install):
 trying to overwrite '/usr/lib/fpc/2.6.2/msg/errores.msg', which is also in package fp-compiler-2.6.2 2.6.2-5
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /home/someone/Desktop/fpc_2.6.2-0_amd64 (3).deb

So, how can I fix this? And install Lazarus?

© Ask Ubuntu or respective owner

Related posts about installation

Related posts about apt