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

  • PixeIOrange@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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