outdated activity

http://www.iloveubuntu.net/may-9th-2013-sees-end-life-ubuntu-804-hardy-
heron-server-ubuntu-1004-lucid-lynx-desktop-and-ubuntu

** Changed in: python-qt3 (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/206931

Title:
  Error while upgrading Hardy - hplip_2.8.2-0ubuntu4_i386.deb - Sub-
  process /usr/bin/dpkg returned an error code (1)

Status in “hplip” package in Ubuntu:
  Invalid
Status in “python-qt3” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: hplip

  I installed Hardy Alpha 6, upgraded to Beta and today I get the new packages 
to update the system. I had problem while installing the package hplip. Here we 
go...
  >sudo apt-get dist-upgrade
  ...
  Extracting templates from packages: 100%
  Preconfiguring packages ...
  Selecting previously deselected package hplip.
  (Reading database ... 333435 files and directories currently installed.)
  Preparing to replace hplip 2.8.2-0ubuntu3 (using 
.../hplip_2.8.2-0ubuntu4_i386.deb) ...
  Traceback (most recent call last):
    File "/usr/sbin/update-python-modules", line 348, in <module>
      post_change_stuff(py)
    File "/usr/sbin/update-python-modules", line 224, in post_change_stuff
      file(initfile,"w").close()
  IOError: [Errno 20] Not a directory: 
'/var/lib/python-support/python2.5/miro/__init__.py'
  dpkg: warning - old pre-removal script returned error exit status 1
  dpkg - trying script from the new package instead ...
  Traceback (most recent call last):
    File "/usr/sbin/update-python-modules", line 348, in <module>
      post_change_stuff(py)
    File "/usr/sbin/update-python-modules", line 224, in post_change_stuff
      file(initfile,"w").close()
  IOError: [Errno 20] Not a directory: 
'/var/lib/python-support/python2.5/miro/__init__.py'
  dpkg: error processing /var/cache/apt/archives/hplip_2.8.2-0ubuntu4_i386.deb 
(--unpack):
   subprocess new pre-removal script returned error exit status 1
  Traceback (most recent call last):
    File "/usr/sbin/update-python-modules", line 344, in <module>
      bytecompile_all(py)
    File "/usr/sbin/update-python-modules", line 238, in bytecompile_all
      post_change_stuff(py)
    File "/usr/sbin/update-python-modules", line 224, in post_change_stuff
      file(initfile,"w").close()
  IOError: [Errno 20] Not a directory: 
'/var/lib/python-support/python2.5/miro/__init__.py'
  dpkg: error while cleaning up:
   subprocess post-installation script returned error exit status 1
  Preparing to replace tzdata 2008a-1ubuntu1 (using 
.../tzdata_2008b-1ubuntu1_all.deb) ...
  Unpacking replacement tzdata ...
  Errors were encountered while processing:
   /var/cache/apt/archives/hplip_2.8.2-0ubuntu4_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  I tried to remove the package hplip without success:
  > sudo apt-get remove -f hplip
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer 
required:
    cupsddk libgalago1.0-cil libgalago3 libwv-1.2-3 cupsddk-drivers 
libavahi1.0-cil libgsf0.0-cil
  Use 'apt-get autoremove' to remove them.
  The following packages will be REMOVED:
    hplip
  0 upgraded, 0 newly installed, 1 to remove and 39 not upgraded.
  2 not fully installed or removed.
  After this operation, 709kB disk space will be freed.
  Do you want to continue [Y/n]? 
  dpkg: error processing hplip (--remove):
   Package is in a very bad inconsistent state - you should
   reinstall it before attempting a removal.
  Errors were encountered while processing:
   hplip
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  >sudo dpkg --remove --force-remove-reinstreq hplip
  dpkg - warning, overriding problem because --force enabled:
   Package is in a very bad inconsistent state - you should
   reinstall it before attempting a removal.
  (Reading database ... 333434 files and directories currently installed.)
  Removing hplip ...
  Traceback (most recent call last):
    File "/usr/sbin/update-python-modules", line 348, in <module>
      post_change_stuff(py)
    File "/usr/sbin/update-python-modules", line 224, in post_change_stuff
      file(initfile,"w").close()
  IOError: [Errno 20] Not a directory: 
'/var/lib/python-support/python2.5/miro/__init__.py'
  dpkg: error processing hplip (--remove):
   subprocess pre-removal script returned error exit status 1
  Traceback (most recent call last):
    File "/usr/sbin/update-python-modules", line 344, in <module>
      bytecompile_all(py)
    File "/usr/sbin/update-python-modules", line 238, in bytecompile_all
      post_change_stuff(py)
    File "/usr/sbin/update-python-modules", line 224, in post_change_stuff
      file(initfile,"w").close()
  IOError: [Errno 20] Not a directory: 
'/var/lib/python-support/python2.5/miro/__init__.py'
  dpkg: error while cleaning up:
   subprocess post-installation script returned error exit status 1
  Errors were encountered while processing:
   hplip

  >lsb_release -rd
  Description:  Ubuntu hardy (development branch)
  Release:      8.04

  > apt-cache policy hplip
  hplip:
    Installed: 2.8.2-0ubuntu3
    Candidate: 2.8.2-0ubuntu4
    Version table:
       2.8.2-0ubuntu4 0
          500 http://ar.archive.ubuntu.com hardy/main Packages
   *** 2.8.2-0ubuntu3 0
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/206931/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to