file conflict when installing libsgutils-2-1.46-2 when upgrading from lunar to mantic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sg3-utils (Ubuntu) |
Confirmed
|
Undecided
|
Andreas Hasenack |
Bug Description
While upgrading from lunar to mantic dpkg aborted with this error:
```
Preparing to unpack .../libsgutils2
Unpacking libsgutils2-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/lib/
```
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: libsgutils2-2 1.46-1ubuntu0.
ProcVersionSign
Uname: Linux 6.2.0-33-generic x86_64
NonfreeKernelMo
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Fri Oct 13 15:29:48 2023
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: sg3-utils
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
tags: | added: server-todo |
Changed in sg3-utils (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
I was able to remove the old package and continue the installation this way:
```
dpkg -r libsgutils2-2
apt-get --fix-broken install
apt-get dist-upgrade
```