error while dist-upgrade, updating procps (2:3.3.17-2) over (2:3.3.17-1)

Begonnen von Spike_DE, 2021/02/10, 21:11:16

Vorheriges Thema - Nächstes Thema

Spike_DE

Hi,trying to dist-upgrade, i've got an error while processing PROCPS...

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,

# 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...# 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
--
Spike_DE

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

dibl

I confirm the mess. I ran

dpkg --configure -a which finished installing the new kernel. Then I emptied the apt cache under /var/cache and rebooted and ran 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, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

Spike_DE

tip from towo (thx!) solves the problem:

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.

dibl

System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

mylo

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

System is running fine. Now waiting for whatever is screwed up to get fixed.

thanks for that one and my regards!

dibl

System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.