← Back to team overview

touch-packages team mailing list archive

[Bug 1378010] Re: package python2.7 2.7.8-9.fakesync failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration

 

** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1378010

Title:
  package python2.7 2.7.8-9.fakesync failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting configuration

Status in “python2.7” package in Ubuntu:
  New

Bug description:
  root@owncloud-utopic-vm:~# lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu Utopic Unicorn (development branch)
  Release:	14.10
  Codename:	utopic

  root@owncloud-utopic-vm:~# uname -a
  Linux owncloud-utopic-vm 3.16.0-20-generic #27-Ubuntu SMP Wed Oct 1 17:35:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

  
  I tried

  root@owncloud-utopic-vm:~# dpkg --configure -a
  dpkg: error processing package python2.7 (--configure):
   package is in a very bad inconsistent state; you should
   reinstall it before attempting configuration
  Errors were encountered while processing:
   python2.7

  
  Also

  root@owncloud-utopic-vm:~# dpkg-reconfigure python2.7
  /usr/sbin/dpkg-reconfigure: python2.7 is broken or not fully installed

  
  But this fixed it for me:

  root@owncloud-utopic-vm:~# apt-get download python2.7
  Get:1 http://ca.archive.ubuntu.com/ubuntu/ utopic/main python2.7 amd64 2.7.8-9.fakesync [205 kB]
  Fetched 205 kB in 0s (208 kB/s)    

  root@owncloud-utopic-vm:~# dpkg -i python2.7_2.7.8-9.fakesync_amd64.deb 
  (Reading database ... 287514 files and directories currently installed.)
  Preparing to unpack python2.7_2.7.8-9.fakesync_amd64.deb ...
  Unpacking python2.7 (2.7.8-9.fakesync) over (2.7.8-9.fakesync) ...
  Setting up python2.7 (2.7.8-9.fakesync) ...
  Processing triggers for man-db (2.7.0.2-1) ...
  Processing triggers for menu (2.1.47ubuntu1) ...
  Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
  Processing triggers for desktop-file-utils (0.22-1ubuntu2) ...
  Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu3) ...
  Rebuilding /usr/share/applications/bamf-2.index...
  Processing triggers for mime-support (3.55ubuntu1) ...

  
  I finished off with

  root@owncloud-utopic-vm:~# apt-get install -f
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  root@owncloud-utopic-vm:~# apt-get dist-upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  The following packages will be upgraded:
    python-imaging python-pil xdiagnose
  3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/367 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue? [Y/n] y
  (Reading database ... 287514 files and directories currently installed.)
  Preparing to unpack .../python-pil_2.6.0-1_amd64.deb ...
  Unpacking python-pil:amd64 (2.6.0-1) over (2.6.0~rc1-1) ...
  Preparing to unpack .../python-imaging_2.6.0-1_all.deb ...
  Unpacking python-imaging (2.6.0-1) over (2.6.0~rc1-1) ...
  Preparing to unpack .../xdiagnose_3.6.6_all.deb ...
  Unpacking xdiagnose (3.6.6) over (3.6.5) ...
  Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
  Processing triggers for desktop-file-utils (0.22-1ubuntu2) ...
  Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu3) ...
  Rebuilding /usr/share/applications/bamf-2.index...
  Processing triggers for mime-support (3.55ubuntu1) ...
  Processing triggers for ureadahead (0.100.0-16) ...
  ureadahead will be reprofiled on next reboot
  Setting up python-pil:amd64 (2.6.0-1) ...
  Setting up python-imaging (2.6.0-1) ...
  Setting up xdiagnose (3.6.6) ...

  
  So, I'm all fixed up now.  Hope this helps someone else.

  --Bob.

  ProblemType: Package
  DistroRelease: Ubuntu 14.10
  Package: python2.7 2.7.8-9.fakesync
  ProcVersionSignature: Ubuntu 3.16.0-20.27-generic 3.16.3
  Uname: Linux 3.16.0-20-generic x86_64
  ApportVersion: 2.14.7-0ubuntu3
  Architecture: amd64
  Date: Mon Oct  6 11:53:13 2014
  DuplicateSignature: package:python2.7:2.7.8-9.fakesync: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 2014-10-05 (1 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140923)
  SourcePackage: python2.7
  Title: package python2.7 2.7.8-9.fakesync 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1378010/+subscriptions


References