Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SID - Unstable] [SOLVED] APT errors while updating - procps

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
epp
Posts: 196
Joined: 2011-03-11 23:22
Has thanked: 1 time

[SID - Unstable] [SOLVED] APT errors while updating - procps

#1 Post by epp »

Attempting to update my system today and the output contained errors.

The problem package seems to be procps. In attempting to remove the referenced manpages-zh to try to correct this, the system will not remove that package, even with the -purge command included.

Synaptic reports the same error.

Thanks in advance for any assistance.

EDIT: RESOLVED. Ran dpkg -r --force-depends manpages-zh which removed only that package, then procps successfully installed.


Code: Select all

Listing... Done
grub-common/unstable 2.06-6 amd64 [upgradable from: 2.06-5]
grub-firmware-qemu/unstable 2.06-6 amd64 [upgradable from: 2.06-5]
grub-pc-bin/unstable 2.06-6 amd64 [upgradable from: 2.06-5]
grub-pc/unstable 2.06-6 amd64 [upgradable from: 2.06-5]
grub2-common/unstable 2.06-6 amd64 [upgradable from: 2.06-5]
kasumi/unstable 2.5-11 amd64 [upgradable from: 2.5-10+b1]
liborc-0.4-0/unstable 1:0.4.33-1 amd64 [upgradable from: 1:0.4.32-2]
procps/unstable 2:4.0.2-1 amd64 [upgradable from: 2:3.3.17-7.1]
python3-cffi-backend/unstable 1.15.1-4 amd64 [upgradable from: 1.15.1-3+b1]
python3-colorama/unstable 0.4.6-2 all [upgradable from: 0.4.6-1]
sysstat/unstable 12.6.1-1 amd64 [upgradable from: 12.5.6-1+b1]
root@upstairs:/home/epp# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  libproc2-0
The following packages will be upgraded:
  grub-common grub-firmware-qemu grub-pc grub-pc-bin grub2-common kasumi liborc-0.4-0 procps
  python3-cffi-backend python3-colorama sysstat
11 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,644 kB of archives.
After this operation, 666 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://deb.debian.org/debian unstable/main amd64 libproc2-0 amd64 2:4.0.2-1 [62.6 kB]
Get:2 https://deb.debian.org/debian unstable/main amd64 procps amd64 2:4.0.2-1 [415 kB]
Get:3 https://deb.debian.org/debian unstable/main amd64 grub2-common amd64 2.06-6 [611 kB]
Get:4 https://deb.debian.org/debian unstable/main amd64 grub-pc amd64 2.06-6 [131 kB]
Get:5 https://deb.debian.org/debian unstable/main amd64 grub-pc-bin amd64 2.06-6 [991 kB]
Get:6 https://deb.debian.org/debian unstable/main amd64 grub-common amd64 2.06-6 [2,702 kB]
Get:7 https://deb.debian.org/debian unstable/main amd64 grub-firmware-qemu amd64 2.06-6 [777 kB]
Get:8 https://deb.debian.org/debian unstable/main amd64 kasumi amd64 2.5-11 [63.0 kB]
Get:9 https://deb.debian.org/debian unstable/main amd64 liborc-0.4-0 amd64 1:0.4.33-1 [164 kB]
Get:10 https://deb.debian.org/debian unstable/main amd64 python3-cffi-backend amd64 1.15.1-4 [94.2 kB]
Get:11 https://deb.debian.org/debian unstable/main amd64 python3-colorama all 0.4.6-2 [36.8 kB]
Get:12 https://deb.debian.org/debian unstable/main amd64 sysstat amd64 12.6.1-1 [596 kB]
Fetched 6,644 kB in 1s (12.3 MB/s)      
Preconfiguring packages ...
Selecting previously unselected package libproc2-0:amd64.
(Reading database ... 237286 files and directories currently installed.)
Preparing to unpack .../00-libproc2-0_2%3a4.0.2-1_amd64.deb ...
Unpacking libproc2-0:amd64 (2:4.0.2-1) ...
Preparing to unpack .../01-procps_2%3a4.0.2-1_amd64.deb ...
Unpacking procps (2:4.0.2-1) over (2:3.3.17-7.1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-UQBIBQ/01-procps_2%3a4.0.2-1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/zh_CN/man1/free.1.gz', which is also in package manpages-zh 1.6.3.6-1
dpkg: error while cleaning up:
 new procps package post-removal script subprocess returned error exit status 1
Preparing to unpack .../02-grub2-common_2.06-6_amd64.deb ...
Unpacking grub2-common (2.06-6) over (2.06-5) ...
Preparing to unpack .../03-grub-pc_2.06-6_amd64.deb ...
Unpacking grub-pc (2.06-6) over (2.06-5) ...
Preparing to unpack .../04-grub-pc-bin_2.06-6_amd64.deb ...
Unpacking grub-pc-bin (2.06-6) over (2.06-5) ...
Preparing to unpack .../05-grub-common_2.06-6_amd64.deb ...
Unpacking grub-common (2.06-6) over (2.06-5) ...
Preparing to unpack .../06-grub-firmware-qemu_2.06-6_amd64.deb ...
Unpacking grub-firmware-qemu (2.06-6) over (2.06-5) ...
Preparing to unpack .../07-kasumi_2.5-11_amd64.deb ...
Unpacking kasumi (2.5-11) over (2.5-10+b1) ...
Preparing to unpack .../08-liborc-0.4-0_1%3a0.4.33-1_amd64.deb ...
Unpacking liborc-0.4-0:amd64 (1:0.4.33-1) over (1:0.4.32-2) ...
Preparing to unpack .../09-python3-cffi-backend_1.15.1-4_amd64.deb ...
Unpacking python3-cffi-backend:amd64 (1.15.1-4) over (1.15.1-3+b1) ...
Preparing to unpack .../10-python3-colorama_0.4.6-2_all.deb ...
Unpacking python3-colorama (0.4.6-2) over (0.4.6-1) ...
Preparing to unpack .../11-sysstat_12.6.1-1_amd64.deb ...
[b]Unpacking sysstat (12.6.1-1) over (12.5.6-1+b1) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-UQBIBQ/01-procps_2%3a4.0.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)[/b]
root@upstairs:/home/epp# apt update
Hit:1 https://deb.debian.org/debian unstable InRelease
Ign:2 https://repo.vivaldi.com/archive/deb stable InRelease
Ign:3 https://repo.vivaldi.com/stable/deb stable InRelease
Hit:4 https://repo.vivaldi.com/archive/deb stable Release
Hit:5 https://repo.vivaldi.com/stable/deb stable Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@upstairs:/home/epp# apt list --upgradable
Listing... Done
procps/unstable 2:4.0.2-1 amd64 [upgradable from: 2:3.3.17-7.1]
N: There is 1 additional version. Please use the '-a' switch to see it
root@upstairs:/home/epp# apt list --upgradable -a
Listing... Done
procps/unstable 2:4.0.2-1 amd64 [upgradable from: 2:3.3.17-7.1]
procps/now 2:3.3.17-7.1 amd64 [installed,upgradable to: 2:4.0.2-1]

root@upstairs:/home/epp# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  procps
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
Need to get 0 B/415 kB of archives.
After this operation, 777 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 237309 files and directories currently installed.)
Preparing to unpack .../procps_2%3a4.0.2-1_amd64.deb ...
Unpacking procps (2:4.0.2-1) over (2:3.3.17-7.1) ...
dpkg: error processing archive /var/cache/apt/archives/procps_2%3a4.0.2-1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/zh_CN/man1/free.1.gz', which is also in package manpages-zh 1.6.3.6-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%3a4.0.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

johngossman
Posts: 1
Joined: 2022-12-07 15:21

Re: [SID - Unstable] [SOLVED] APT errors while updating - procps

#2 Post by johngossman »

Thank you! I spent over an hour trying to fix, even unsuccessfully trying to roll back the upgrade from the log file.

Post Reply