here I have some more info about the package hplip, that fails to
install (and breaks my system):

> sudo dpkg --debug=77777 -i 
> /var/cache/apt/archives/hplip_2.8.2-0ubuntu4_i386.deb 
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci'
(Reading database ... 333445 files and directories currently installed.)
Preparing to replace hplip 2.8.2-0ubuntu3 (using 
.../hplip_2.8.2-0ubuntu4_i386.deb) ...
D020000: trigproc_activate_packageprocessing pkg=hplip
D000200: process_archive conffile `/etc/hp/hplip.conf' in package hplip - conff 
?
D000020: process_archive conffile `/etc/hp/hplip.conf' package=hplip same 
hash=c1d107d83a9b9dfd46a8a0f60f29cb7b
D000200: process_archive conffile `/etc/sane.d/dll.d/hplip' in package hplip - 
conff ?
D000200: process_archive conffile `/etc/sane.d/dll.d/hplip' in package hplip - 
conff ? not `/etc/hp/hplip.conf'
D000020: process_archive conffile `/etc/sane.d/dll.d/hplip' package=hplip same 
hash=60fc397b1570c0694184588f86d56807
D000200: process_archive conffile `/etc/udev/rules.d/55-hpmud.rules' in package 
hplip - conff ?
D000200: process_archive conffile `/etc/udev/rules.d/55-hpmud.rules' in package 
hplip - conff ? not `/etc/hp/hplip.conf'
D000200: process_archive conffile `/etc/udev/rules.d/55-hpmud.rules' in package 
hplip - conff ? not `/etc/sane.d/dll.d/hplip'
D000020: process_archive conffile `/etc/udev/rules.d/55-hpmud.rules' 
package=hplip same hash=f34755a9501df981465e09f979139389
D000200: oldconffsetflags `/etc/hp/hplip.conf' namenode 0xaf9f99c flags 5
D000200: oldconffsetflags `/etc/sane.d/dll.d/hplip' namenode 0xaf9f9d8 flags 5
D000200: oldconffsetflags `/etc/udev/rules.d/55-hpmud.rules' namenode 0xaf9fa14 
flags 5
D000200: oldconffsetflags `/etc/udev/rules.d/45-hplip.rules' namenode 0xaf9fddc 
flags 4
D000001: process_archive oldversionstatus=broken due to postinst failure
D000002: fork/exec /var/lib/dpkg/info/hplip.prerm ( upgrade 2.8.2-0ubuntu4 )
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 ...
D000002: fork/exec /var/lib/dpkg/tmp.ci/prerm ( failed-upgrade 2.8.2-0ubuntu3 )
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 
(--install):
 subprocess new pre-removal script returned error exit status 1
D020000: post_script_tasks - ensure_diversions; trig_incorporate
D000002: fork/exec /var/lib/dpkg/info/hplip.postinst ( abort-upgrade 
2.8.2-0ubuntu4 )
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
D020000: post_script_tasks - ensure_diversions; trig_incorporate
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci'
D000010: ensure_pathname_nonexisting running rm -rf
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/reassemble.deb'
D010000: trigproc_run_deferred

-- 
Error while upgrading Hardy - hplip_2.8.2-0ubuntu4_i386.deb - Sub-process 
/usr/bin/dpkg returned an error code (1)
https://bugs.launchpad.net/bugs/206931
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to