I'm trying to install lazarus from here. I had broken packages, but I fixed the problem by removing sources in
gedit /var/lib/dpkg/status
as described here. Then I tried to install lazarus again, and the lazarus itself installs, but fpc and fpc-src packages cannot be installed. It gives me this error:
Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 374429 files and directories currently installed.)
Unpacking fpc-src (from /tmp/fpc-src_2.6.2-0_amd64.deb) ...
dpkg: error processing /tmp/fpc-src_2.6.2-0_amd64.deb (--install):
trying to overwrite '/usr/share/fpcsrc/2.6.2/rtl/nativent/tthread.inc', which is also in package fpc-source-2.6.2 2.6.2-5
dpkg-deb (subprocess): decompressing archive member: internal gzip write error: Broken pipe
dpkg-deb (subprocess): cannot copy archive member from '/tmp/fpc-src_2.6.2-0_amd64.deb' to decompressor pipe: failed to write (Broken pipe)
dpkg-deb: error: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
If I install regular fpc from software center, it deletes lazarus.
And, before I installed lazarus I removed all previous folders including .lazarus folder in home directory, so, when I install regular lazarus, it says that it's installed in software center, but it cannot be found in dash, although .lazarus folder exists.
I have also tried to remove it by using this instructions,and reinstall, but the same problem persists. I also tried this, and it didn't help too. Please help! Thank you!