Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  error while dist-upgrade, updating procps (2:3.3.17-2) over (2:3.3.17-1)  (Read 2443 times)

Offline Spike_DE

  • User
  • Posts: 56
Hi,trying to dist-upgrade, i've got an error while processing PROCPS...
Code: [Select]
Unpacking procps (2:3.3.17-2) over (2:3.3.17-1) ... dpkg: error processing archive /var/cache/apt/archives/procps_2%3a3.3.17-2_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/pl/man1/free.1.gz', which is also in package manpages-pl 1:4.2.0-1
dpkg: error while cleaning up:
 new procps package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/procps_2%3a3.3.17-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Problem occurs since a few days. Made several "apt updates" between the days, problem still there.I do not need polish manpages, but removal also failed,

Code: [Select]
# apt purge manpages-pl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  procps
The following packages will be REMOVED:
  manpages-pl*
The following packages will be upgraded:
  procps
1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
50 not fully installed or removed.
Need to get 0 B/398 kB of archives.
After this operation, 1.697 kB disk space will be freed.
Do you want to continue? [Y/n] 
Reading changelogs... Done
(Reading database ... 409990 files and directories currently installed.)
Preparing to unpack .../procps_2%3a3.3.17-2_amd64.deb ...
Unpacking procps (2:3.3.17-2) over (2:3.3.17-1) ...
dpkg: error processing archive /var/cache/apt/archives/procps_2%3a3.3.17-2_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/pl/man1/free.1.gz', which is also in package manpages-pl 1:4.2.0-1
dpkg: error while cleaning up:
 new procps package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/procps_2%3a3.3.17-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
try to hold procps to remove manpages-pl also failed...
Code: [Select]
# apt-mark hold procps
procps set on hold.
 # apt purge manpages-pl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Can't find a source to download version '2:3.3.17-1' of 'procps:amd64'
Any ideas?
Greetings
Lars
« Last Edit: 2021/02/10, 21:15:45 by Spike_DE »
--
Spike_DE

type cat /vmlinuz > /dev/audio to hear the voice of god.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
I confirm the mess. I ran

Code: [Select]
dpkg --configure -a which finished installing the new kernel. Then I emptied the apt cache under /var/cache and rebooted and ran
Code: [Select]
apt autoremove to remove the oldest kernel, and quit. System is running fine. Now waiting for whatever is screwed up to get fixed.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline Spike_DE

  • User
  • Posts: 56
tip from towo (thx!) solves the problem:

Code: [Select]
dpkg --force-overwrite -i /var/cache/apt/archives/procps_2%3a3.3.17-2_amd64.deb
apt -f install
--
Spike_DE

type cat /vmlinuz > /dev/audio to hear the voice of god.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Fixed -- very nice!

Vielen Dank an dpkg meister!
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

mylo

  • Guest
Lets vote the best recommendation ever, my vote: gold medal for dibl by

Code: [Select]
System is running fine. Now waiting for whatever is screwed up to get fixed.
thanks for that one and my regards!

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Quote from: mylo
... thanks for that one and my regards!

 ;D
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO