package gcc-6-base:i386 6.0.1-0ubuntu1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration

Bug #1695700 reported by Debojoti Chakraborty
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gccgo-6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

error shown while installing wine

debojoti@debojoti-Inspiron-15-3567:~$ rm -Rf $HOME/.wine*debojoti@debojoti-Inspiron-15-3567:~$ rm -f $HOME/.local/share/mime/packages/x-wine-e*
debojoti@debojoti-Inspiron-15-3567:~$ sudo dpkg --add-architecture i386
[sudo] password for debojoti:
debojoti@debojoti-Inspiron-15-3567:~$ sudo add-apt-repository ppa:wine/wine-builds

Cannot add PPA: 'ppa:~wine/ubuntu/wine-builds'.
ERROR: '~wine' user or team does not exist.
debojoti@debojoti-Inspiron-15-3567:~$
debojoti@debojoti-Inspiron-15-3567:~$
debojoti@debojoti-Inspiron-15-3567:~$ ^C
debojoti@debojoti-Inspiron-15-3567:~$ sudo add-apt-repository ppa:wine/wine-builds
 !!! PLEASE NOTE THAT THIS REPOSITORY IS DEPRECATED !!!

For more information, please see:

    https://www.winehq.org/pipermail/wine-devel/2017-March/117104.html

The following commands can be used to add the new repository:

    wget https://dl.winehq.org/wine-builds/Release.key
    sudo apt-key add Release.key
    sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'

 More info: https://launchpad.net/~wine/+archive/ubuntu/wine-builds
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpkd17mpgt/secring.gpg' created
gpg: keyring `/tmp/tmpkd17mpgt/pubring.gpg' created
gpg: requesting key 77C899CB from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpkd17mpgt/trustdb.gpg: trustdb created
gpg: key 77C899CB: public key "Launchpad PPA for Wine" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
debojoti@debojoti-Inspiron-15-3567:~$ sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:3 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:6 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:7 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease [18.1 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Ign:10 http://dell.archive.canonical.com/updates xenial-dell InRelease
Hit:11 http://dell.archive.canonical.com/updates xenial-dell Release
Get:12 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [54.6 kB]
Get:15 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial/main amd64 Packages [2,436 B]
Get:16 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial/main i386 Packages [2,384 B]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [45.7 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [299 kB]
Get:19 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial/main Translation-en [980 B]
Get:20 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [32.2 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [200 kB]
Get:22 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [37.0 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [160 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [188 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2,516 B]
Get:26 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B]
Get:27 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [3,976 B]
Fetched 1,356 kB in 5s (256 kB/s)
Reading package lists... Done
debojoti@debojoti-Inspiron-15-3567:~$ sudo apt-get install --install-recommends winehq-devel
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
debojoti@debojoti-Inspiron-15-3567:~$ sudo dpkg --configure -a
dpkg: error processing package gcc-6-base:i386 (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Errors were encountered while processing:
 gcc-6-base:i386
debojoti@debojoti-Inspiron-15-3567:~$ ^C
debojoti@debojoti-Inspiron-15-3567:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
debojoti@debojoti-Inspiron-15-3567:~$ sudo apt-get update && \
>
>
> ^C
debojoti@debojoti-Inspiron-15-3567:~$ sudo apt-get update && \
>
>
>
> ^C
debojoti@debojoti-Inspiron-15-3567:~$ sudo apt-get update && \
> sudo apt-get install build-essential software-properties-common -y && \
> sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
> sudo apt-get update && \
> sudo apt-get install gcc-snapshot -y && \
> sudo apt-get update && \
> sudo apt-get install gcc-6 g++-6 -y && \
> sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 && \
> sudo apt-get install gcc-4.8 g++-4.8 -y && \
> sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8;
[sudo] password for debojoti:
Sorry, try again.
[sudo] password for debojoti:
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial InRelease
Ign:6 http://dell.archive.canonical.com/updates xenial-dell InRelease
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:8 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:9 http://dl.google.com/linux/chrome/deb stable Release
Hit:10 http://dell.archive.canonical.com/updates xenial-dell Release
Hit:12 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
software-properties-common is already the newest version (0.96.20.7).
The following packages were automatically installed and are no longer required:
  libbonobo2-0 libbonobo2-common libgnome-2-0 libgnome2-common libgnomevfs2-0
  libgnomevfs2-common liborbit-2-0 linux-headers-4.4.0-23
  linux-headers-4.4.0-23-generic linux-image-4.4.0-23-generic
  linux-image-extra-4.4.0-23-generic linux-signed-image-4.4.0-23-generic
  linux-tools-4.4.0-23 linux-tools-4.4.0-23-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/14.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package gcc-6-base:i386 (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
E: Sub-process /usr/bin/dpkg returned an error code (1)
debojoti@debojoti-Inspiron-15-3567:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
debojoti@debojoti-Inspiron-15-3567:~$ sudo apt-get update && sudo apt-get install build-essential software-properties-common -y && sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt-get update && sudo apt-get install gcc-snapshot -y && sudo apt-get update && sudo apt-get install gcc-6 g++-6 -y && sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 && sudo apt-get install gcc-4.8 g++-4.8 -y && sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8;

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: gcc-6-base:i386 6.0.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-78.99-generic 4.4.62
Uname: Linux 4.4.0-78-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
AptOrdering:
 gcc-6-base: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Sun Jun 4 12:20:14 2017
Dependencies:

DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-xenial-amd64-20160624-2
DpkgTerminalLog:
 dpkg: error processing package gcc-6-base:i386 (--configure):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting configuration
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
InstallationDate: Installed on 2017-03-14 (81 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
PackageArchitecture: i386
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.20
SourcePackage: gccgo-6
Title: package gcc-6-base:i386 6.0.1-0ubuntu1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Debojoti Chakraborty (chakrabortydebojoti) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gccgo-6 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.