For the developers, the following is copied from the
DpkgTerminalLog.txt:

Preparing to replace hplip-data 3.10.2-2ubuntu2 (using 
.../hplip-data_3.10.2-2ubuntu2.1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 440, in <module>
    shutil.rmtree(dir)
  File "/usr/lib/python2.6/shutil.py", line 201, in rmtree
    onerror(os.path.islink, path, sys.exc_info())
  File "/usr/lib/python2.6/shutil.py", line 199, in rmtree
    raise OSError("Cannot call rmtree on a symbolic link")
OSError: Cannot call rmtree on a symbolic link
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 440, in <module>
    shutil.rmtree(dir)
  File "/usr/lib/python2.6/shutil.py", line 201, in rmtree
    onerror(os.path.islink, path, sys.exc_info())
  File "/usr/lib/python2.6/shutil.py", line 199, in rmtree
    raise OSError("Cannot call rmtree on a symbolic link")
OSError: Cannot call rmtree on a symbolic link
dpkg: error processing / 
var/cache/apt/archives/hplip-data_3.10.2-2ubuntu2.1_all.deb (- unpack):
  subprocess new pre-removal script returned error exit status 1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/642398

Title:
  package hplip-data 3.10.2-2ubuntu2.1 failed to install/upgrade: subprocess 
new pre-removal script returned error exit status 1

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to