I upgraded from Ubuntu 18.04 to 20.04 and now want to reinstall gnome-control-center
as it seems broken. Due to some issues I get the advice to fix broken packages via apt --fix-broken install
. This fails with:
dpkg: error processing archive /var/cache/apt/archives/libgcc1_1%3a10.3.0-1ubuntu1~20.04_amd64.deb (--unpack):
package libgcc1:amd64 (1:10.3.0-1ubuntu1~20.04) with field 'Multi-Arch: no' is not co-installable with libgcc1 which has multiple installed instances
Errors were encountered while processing:
/var/cache/apt/archives/libgcc1_1%3a10.3.0-1ubuntu1~20.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
full output: pastebin with bash commands and output
The solution suggested here does not work, as the file /var/lib/dpkg/status
looks somehow differently.
The package libgcc1
seems to exist two times in the status
file (see excerpt below).
How would a solution look like in this case?
Package: libgcc1
Status: deinstall ok config-files
Priority: optional
Section: libs
Installed-Size: 150
Maintainer: Ubuntu Core developers <[email protected]>
Architecture: i386
Multi-Arch: same
Source: gcc-9 (9.1.0-2ubuntu2~14.04.2)
Version: 1:9.1.0-2ubuntu2~14.04.2
Config-Version: 1:9.1.0-2ubuntu2~14.04.2
Depends: gcc-9-base (= 9.1.0-2ubuntu2~14.04.2), libc6 (>= 2.2.4)
Pre-Depends: multiarch-support
Breaks: gcc-4.3 (<< 4.3.6-1), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2)
Description: GCC support library
Shared version of the support library, a library of internal subroutines
that GCC uses to overcome shortcomings of particular machines, or
special needs for some languages.
Homepage: http://gcc.gnu.org/
Original-Maintainer: Debian GCC Maintainers <[email protected]>
---------------------------------------------
Package: libgcc1
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 135
Maintainer: Ubuntu Core developers <[email protected]>
Architecture: amd64
Multi-Arch: same
Source: gcc-9 (9.1.0-2ubuntu2~14.04.2)
Version: 1:9.1.0-2ubuntu2~14.04.2
Depends: gcc-9-base (= 9.1.0-2ubuntu2~14.04.2), libc6 (>= 2.14)
Pre-Depends: multiarch-support
Breaks: gcc-4.3 (<< 4.3.6-1), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2)
Description: GCC support library
Shared version of the support library, a library of internal subroutines
that GCC uses to overcome shortcomings of particular machines, or
special needs for some languages.
Homepage: http://gcc.gnu.org/
Original-Maintainer: Debian GCC Maintainers <[email protected]>