Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1578  / 2 Years ago, tue, march 22, 2022, 11:33:01

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!


More From » dpkg

 Answers
3

I reinstalled ubuntu, and it works now.


[#27188] Wednesday, March 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
looweets

Total Points: 52
Total Questions: 114
Total Answers: 111

Location: Turkmenistan
Member since Sat, Apr 16, 2022
2 Years ago
looweets questions
Fri, Apr 29, 22, 09:47, 2 Years ago
Thu, Nov 3, 22, 03:32, 2 Years ago
Sun, Mar 5, 23, 00:43, 1 Year ago
;