Public bug reported:

Hello.

I attempted to perform a dist-upgrade and it errored out (output not
captured).  When I tried a second time I received the following output:

----
$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libpython3.12 : Depends: libpython3.12-stdlib (= 3.12.8-1+focal1) but 
3.12.7-1+focal1 is installed
 libpython3.12-dev : Depends: libpython3.12-stdlib (= 3.12.8-1+focal1) but 
3.12.7-1+focal1 is installed
 python3.12-dev : Depends: python3.12 (= 3.12.8-1+focal1) but 3.12.7-1+focal1 
is installed
 python3.12-venv : Depends: python3.12 (= 3.12.8-1+focal1) but 3.12.7-1+focal1 
is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or 
specify a solution).
----

When I ran the suggested command I get the following output:

----
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libpython3.12-stdlib python3.12
The following packages will be upgraded:
  libpython3.12-stdlib python3.12
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
27 not fully installed or removed.
Need to get 0 B/5,263 kB of archives.
After this operation, 13.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 268096 files and directories currently installed.)
Preparing to unpack .../python3.12_3.12.8-1+focal1_amd64.deb ...
Unpacking python3.12 (3.12.8-1+focal1) over (3.12.7-1+focal1) ...
dpkg: error processing archive 
/var/cache/apt/archives/python3.12_3.12.8-1+focal1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/python3.12', which is also in package 
python3.12-minimal 3.12.7-1+focal1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libpython3.12-stdlib_3.12.8-1+focal1_amd64.deb ...
Unpacking libpython3.12-stdlib:amd64 (3.12.8-1+focal1) over (3.12.7-1+focal1) 
...
dpkg: error processing archive 
/var/cache/apt/archives/libpython3.12-stdlib_3.12.8-1+focal1_amd64.deb 
(--unpack):
 trying to overwrite '/etc/python3.12/sitecustomize.py', which is also in 
package libpython3.12-minimal:amd64 3.12.7-1+focal1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/python3.12_3.12.8-1+focal1_amd64.deb
 /var/cache/apt/archives/libpython3.12-stdlib_3.12.8-1+focal1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
----

Other required info:

1) $ lsb_release -rd
Description:    Ubuntu 20.04.6 LTS
Release:        20.04

2) package versions in conflict identified in the output above

3) I expected a successful dist-upgrade

4) Instead I received a failed dist-upgrade as a result of what appears
to be a package conflict

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.41
ProcVersionSignature: Ubuntu 5.4.0-200.220-generic 5.4.284
Uname: Linux 5.4.0-200-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.27
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
Date: Fri Dec  6 19:31:56 2024
InstallationDate: Installed on 2021-01-15 (1421 days ago)
InstallationMedia: Ubuntu 16.04.7 LTS "Xenial Xerus" - Release amd64 (20200806)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: Upgraded to focal on 2023-06-04 (551 days ago)
VarLogDistupgradeXorgFixuplog:
 INFO:root:/usr/bin/do-release-upgrade running
 INFO:root:No xorg.conf, exiting

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2091193

Title:
  Package conflict found during dist-upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2091193/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to