package gcc-6-base:amd64 6.2.0-2ubuntu11 failed to install/upgrade: package gcc-6-base:amd64 6.2.0-2ubuntu11 cannot be configured because gcc-6-base:i386 is at a different version (6.2.0-1ubuntu12)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
blc@blc:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
blc@blc:~$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
cpp-6 g++-6 gcc-6 gcc-6-base lib32gcc1 libasan3 libatomic1 libcc1-0 libcilkrts5 libgcc-6-dev libgcc1 libgfortran3 libgomp1 libitm1 liblsan0
libmpx2 libquadmath0 libstdc++-6-dev libstdc++6 libtsan0 libubsan0
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
blc@blc:~$ sudo apt install cpp-6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
cpp-6 : Depends: gcc-6-base (= 6.2.0-2ubuntu11) but 6.2.0-1ubuntu12 is to be installed
E: Unable to correct problems, you have held broken packages.
blc@blc:~$ sudo apt install gcc-6-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
cpp-6 g++-6 gcc-6 lib32gcc1 libasan3 libatomic1 libcc1-0 libcilkrts5 libgcc-6-dev libgcc1 libgfortran3 libgomp1 libitm1 liblsan0 libmpx2
libquadmath0 libstdc++-6-dev libstdc++6 libtsan0 libubsan0
Suggested packages:
gcc-6-locales g++-6-multilib gcc-6-doc libstdc++6-6-dbg gcc-6-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg
liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg libstdc++-6-doc
The following packages will be REMOVED:
gcc-6-base:i386
The following packages will be upgraded:
cpp-6 g++-6 gcc-6 gcc-6-base lib32gcc1 libasan3 libatomic1 libcc1-0 libcilkrts5 libgcc-6-dev libgcc1 libgfortran3 libgomp1 libitm1 liblsan0
libmpx2 libquadmath0 libstdc++-6-dev libstdc++6 libtsan0 libubsan0
21 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 102 MB of archives.
After this operation, 38.9 kB disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Fetched 102 MB in 1min 13s (1,395 kB/s)
(Reading database ... 228966 files and directories currently installed.)
Preparing to unpack .../0-libubsan0
Unpacking libubsan0:amd64 (6.2.0-2ubuntu11) over (6.2.0-1ubuntu12) ...
Preparing to unpack .../1-libtsan0_
Unpacking libtsan0:amd64 (6.2.0-2ubuntu11) over (6.2.0-1ubuntu12) ...
Preparing to unpack .../2-gcc-
De-configuring gcc-6-base:i386 (6.2.0-1ubuntu12) ...
Unpacking gcc-6-base:amd64 (6.2.0-2ubuntu11) over (6.2.0-1ubuntu12) ...
dpkg: error processing package gcc-6-base:amd64 (--configure):
package gcc-6-base:amd64 6.2.0-2ubuntu11 cannot be configured because gcc-6-base:i386 is at a different version (6.2.0-1ubuntu12)
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: gcc-6-base:amd64 6.2.0-2ubuntu11
ProcVersionSign
Uname: Linux 4.4.0-9136-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
Date: Wed Aug 31 21:59:30 2016
Dependencies:
ErrorMessage: package gcc-6-base:amd64 6.2.0-2ubuntu11 cannot be configured because gcc-6-base:i386 is at a different version (6.2.0-1ubuntu12)
InstallationDate: Installed on 2016-08-05 (26 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
RelatedPackageV
dpkg 1.18.10ubuntu1
apt 1.3~rc2ubuntu3
SourcePackage: gcc-6
Title: package gcc-6-base:amd64 6.2.0-2ubuntu11 failed to install/upgrade: package gcc-6-base:amd64 6.2.0-2ubuntu11 cannot be configured because gcc-6-base:i386 is at a different version (6.2.0-1ubuntu12)
UpgradeStatus: No upgrade log present (probably fresh install)
solved by
sudo apt -f install
Yours sincerely,
Brandon Camilleri
+356 7991 9116
<email address hidden>
/in/brandonlee camilleri <http:// mt.linkedin. com/in/ brandonleecamil leri>
/brandon. l.camilleri <http:// facebook. com/brandon. l.camilleri>
On 31 August 2016 at 22:03, Brandon Camilleri <email address hidden>
wrote:
> Public bug reported: archive. ubuntu. com/ubuntu devel-proposed/main amd64 archive. ubuntu. com/ubuntu devel-proposed/main amd64 libtsan0 archive. ubuntu. com/ubuntu devel-proposed/main amd64
>
> blc@blc:~$ sudo apt autoremove
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
> blc@blc:~$ sudo apt full-upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages have been kept back:
> cpp-6 g++-6 gcc-6 gcc-6-base lib32gcc1 libasan3 libatomic1 libcc1-0
> libcilkrts5 libgcc-6-dev libgcc1 libgfortran3 libgomp1 libitm1 liblsan0
> libmpx2 libquadmath0 libstdc++-6-dev libstdc++6 libtsan0 libubsan0
> 0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
> blc@blc:~$ sudo apt install cpp-6
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> cpp-6 : Depends: gcc-6-base (= 6.2.0-2ubuntu11) but 6.2.0-1ubuntu12 is to
> be installed
> E: Unable to correct problems, you have held broken packages.
>
> blc@blc:~$ sudo apt install gcc-6-base
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
> cpp-6 g++-6 gcc-6 lib32gcc1 libasan3 libatomic1 libcc1-0 libcilkrts5
> libgcc-6-dev libgcc1 libgfortran3 libgomp1 libitm1 liblsan0 libmpx2
> libquadmath0 libstdc++-6-dev libstdc++6 libtsan0 libubsan0
> Suggested packages:
> gcc-6-locales g++-6-multilib gcc-6-doc libstdc++6-6-dbg gcc-6-multilib
> libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg
> liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg
> libquadmath0-dbg libstdc++-6-doc
> The following packages will be REMOVED:
> gcc-6-base:i386
> The following packages will be upgraded:
> cpp-6 g++-6 gcc-6 gcc-6-base lib32gcc1 libasan3 libatomic1 libcc1-0
> libcilkrts5 libgcc-6-dev libgcc1 libgfortran3 libgomp1 libitm1 liblsan0
> libmpx2 libquadmath0 libstdc++-6-dev libstdc++6 libtsan0 libubsan0
> 21 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> Need to get 102 MB of archives.
> After this operation, 38.9 kB disk space will be freed.
> Do you want to continue? [Y/n] Y
> Get:1 http://
> libubsan0 amd64 6.2.0-2ubuntu11 [108 kB]
> Get:2 http://
> amd64 6.2.0-2ubuntu11 [260 kB]
> Get:3 http://
> gcc-6-base amd64 6.2.0-2ubuntu11 [16...