Package: linux-perf-4.19
Version: 4.19.9-1
Severity: serious

I had the linux-perf metapackage fail to upgrade due to a file conflict
between linux-perf-4.18 & linux-perf-4.19:

$ sudo apt install -t unstable linux-perf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-perf-4.18
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  linux-perf-4.19
Suggested packages:
  linux-doc-4.19
The following NEW packages will be installed:
  linux-perf-4.19
The following packages will be upgraded:
  linux-perf
1 upgraded, 1 newly installed, 0 to remove and 338 not upgraded.
Need to get 0 B/1,491 kB of archives.
After this operation, 6,614 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Reading changelogs... Done
Selecting previously unselected package linux-perf-4.19.
(Reading database ... 456870 files and directories currently installed.)
Preparing to unpack .../linux-perf-4.19_4.19.9-1_amd64.deb ...
Unpacking linux-perf-4.19 (4.19.9-1) ...
dpkg: error processing archive 
/var/cache/apt/archives/linux-perf-4.19_4.19.9-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/perf/examples/bpf/5sec.c', which is also in 
package linux-perf-4.18 4.18.20-2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../linux-perf_4.19+101_all.deb ...
Unpacking linux-perf (4.19+101) over (4.18+100) ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-perf-4.19_4.19.9-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ echo $?
100

$ sudo dpkg --force-all --purge linux-perf-4.18
(Reading database ... 456869 files and directories currently installed.)
Removing linux-perf-4.18 (4.18.20-2) ...
Processing triggers for man-db (2.8.4-3) ...

$ sudo apt --fix-broken install -t unstable 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  linux-perf-4.19
Suggested packages:
  linux-doc-4.19
The following NEW packages will be installed:
  linux-perf-4.19
0 upgraded, 1 newly installed, 0 to remove and 338 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,484 kB of archives.
After this operation, 6,614 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Selecting previously unselected package linux-perf-4.19.
(Reading database ... 456666 files and directories currently installed.)
Preparing to unpack .../linux-perf-4.19_4.19.9-1_amd64.deb ...
Unpacking linux-perf-4.19 (4.19.9-1) ...
Setting up linux-perf-4.19 (4.19.9-1) ...
Processing triggers for man-db (2.8.4-3) ...
Setting up linux-perf (4.19+101) ...

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), 
LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-perf-4.19 depends on:
ii  libbabeltrace1  1.5.6-2
ii  libc6           2.28-2
ii  libdw1          0.175-1
ii  libelf1         0.175-1
ii  liblzma5        5.2.2-1.3
ii  libnuma1        2.0.12-1
ii  libperl5.28     5.28.1-3
ii  libpython3.7    3.7.2~rc1-1
ii  libslang2       2.3.2-1+b1
ii  libunwind8      1.2.1-8
ii  perl            5.28.1-3
ii  python3         3.6.7-1
ii  zlib1g          1:1.2.11.dfsg-1

Versions of packages linux-perf-4.19 recommends:
ii  linux-base  4.5

Versions of packages linux-perf-4.19 suggests:
pn  linux-doc-4.19  <none>

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to