[Bug 312730] Re: etckeeper fails to upgrade to 0.22
Daniel Hahler
launchpad at thequod.de
Wed Dec 31 16:49:51 UTC 2008
** Description changed:
Binary package hint: etckeeper
During updating Jaunty, etckeeper fails to upgrade.
+
+ This appears to be a problem with pycentral, where some directory already exists (as (dangling) symlink):
+ $ ls -ld /usr/lib/python2.5/site-packages/bzrlib/plugins/etckeeper
+ lrwxrwxrwx 1 root root 43 2008-06-08 13:56 /usr/lib/python2.5/site-packages/bzrlib/plugins/etckeeper -> /home/user/ubuntu/etckeeper/git/etckeeper
+
+ My workaround has been to manually remove the dangling symlink
+ (/usr/lib/python2.5/site-packages/bzrlib/plugins/etckeeper), which has
+ been created probably when I installed etckeeper from upstream git
+ manually(?!)..
+
ERROR:
Preparing to replace etckeeper 0.21 (using .../etckeeper_0.22_all.deb) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1891, in <module>
main()
File "/usr/bin/pycentral", line 1885, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1349, in run
pkg.prepare(used_runtimes, old_used_runtimes, old_pkg)
File "/usr/bin/pycentral", line 998, in prepare
os.makedirs(d2)
File "/usr/lib/python2.5/os.py", line 171, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/usr/lib/python2.5/site-packages/bzrlib/plugins/etckeeper'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 85, in apport_excepthook
os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 17] File exists: '/var/crash/_usr_bin_pycentral.0.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1891, in <module>
main()
File "/usr/bin/pycentral", line 1885, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1349, in run
pkg.prepare(used_runtimes, old_used_runtimes, old_pkg)
File "/usr/bin/pycentral", line 998, in prepare
os.makedirs(d2)
File "/usr/lib/python2.5/os.py", line 171, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/usr/lib/python2.5/site-packages/bzrlib/plugins/etckeeper'
dpkg: error processing /var/cache/apt/archives/etckeeper_0.22_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess pre-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: etckeeper 0.21
PackageArchitecture: all
SourcePackage: etckeeper
Title: package etckeeper 0.21 failed to install/upgrade: subprocess pre-installation script returned error exit status 1
Uname: Linux 2.6.27-8-generic i686
--
etckeeper fails to upgrade to 0.22
https://bugs.launchpad.net/bugs/312730
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list