this post was submitted on 03 Nov 2023
9 points (80.0% liked)

Open Source

40512 readers
240 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
 

I upgraded with do-release upgrade but my CLI returns:

dpkg: error processing archive /var/cache/apt/archives/libsgutils2-1.46-2_1.46-3 ubuntu2_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2.0.0', whic h is also in package libsgutils2-2:amd64 1.46-1ubuntu0.23.04.1 Errors were encountered while processing: /var/cache/apt/archives/libsgutils2-1.46-2_1.46-3ubuntu2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

CLI suggested I try apt --fix-broken install, wich I did:

The following additional packages will be installed: libsgutils2-1.46-2 Suggested packages: sg3-utils The following NEW packages will be installed: libsgutils2-1.46-2 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/94.4 kB of archives. After this operation, 293 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 357712 files and directories currently installed.) Preparing to unpack .../libsgutils2-1.46-2_1.46-3ubuntu2_amd64.deb ... Unpacking libsgutils2-1.46-2:amd64 (1.46-3ubuntu2) ... dpkg: error processing archive /var/cache/apt/archives/libsgutils2-1.46-2_1.46-3 ubuntu2_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libsgutils2-1.46.so.2.0.0', whic h is also in package libsgutils2-2:amd64 1.46-1ubuntu0.23.04.1 Errors were encountered while processing: /var/cache/apt/archives/libsgutils2-1.46-2_1.46-3ubuntu2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Don't know how to proceed

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 years ago

Do a clean install. If not already done, make a separate /home partition so you can change os fast and effortless.