package bzrtools 1.2.0-1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #194016 reported by Gonçalo
14
Affects Status Importance Assigned to Milestone
bzrtools (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: bzrtools

Today's updates resulted in this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up bzrtools (1.2.0-1ubuntu1) ...
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/__init__.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/baz_helper.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/baz_import.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/branches.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/branchhistory.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/bzrtools.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/cbranch.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/clean_tree.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/colordiff.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/command.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/dotgraph.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/errors.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/fetch_ghosts.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/graph.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/hunk_selector.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/patch.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/patchsource.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/progress.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/release.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/rspush.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/shelf.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/shell.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/show_paths.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/terminal.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/test.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/tests/__init__.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/tests/blackbox.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/tests/clean_tree.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/tests/is_clean.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/tests/shelf_tests.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/tests/test_baz_import.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/tests/test_patch.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/tests/test_rspush.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/tests/upstream_import.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/upstream_import.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/userinteractor.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/version.py
file does not exist: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/zap.py
pycentral: pycentral bccompile: error byte-compiling package `bzrtools'
pycentral bccompile: error byte-compiling package `bzrtools'
dpkg: error processing bzrtools (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 bzrtools
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: i386
Date: Thu Feb 21 14:23:37 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: vmnet vmblock vmmon
Package: bzrtools 1.2.0-1ubuntu1
PackageArchitecture: all
SourcePackage: bzrtools
Title: package bzrtools 1.2.0-1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux monxalo-laptop 2.6.22-14-generic #1 SMP Fri Feb 1 04:59:50 UTC 2008 i686 GNU/Linux

Revision history for this message
Gonçalo (monxalo) wrote :
Revision history for this message
Martin Bergner (martin-bergner) wrote :

This is reproducible for me,

Changed in bzrtools:
status: New → Confirmed
Revision history for this message
Iain Lane (laney) wrote :

Hmm, I'm not quite sure what did it, but reinstalling python2.4, python2.5 and bzrtools in that order (with apt-get install --reinstall <packagename>) made bzrtools install cleanly. I was still seeing this bug after reinstalling python2.5, but all was well again after doing bzrtools.

Revision history for this message
Daniel Hahler (blueyed) wrote :

It appears like there was the following line in debian/install activates:
#tests/*.py usr/lib/python2.4/site-packages/bzrlib/

bzrtools installation failed because of it and in the current packages state it tries to get configured only, but the error will stay the same: as long as you haven't installed python2.4, it fails.

The workaround for me was to purge bzrtools (and the rdepend bzr-builddeb) and then reinstall it.

Changed in bzrtools:
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Durand D'souza (durand1) wrote :

Thanks for that...The purge worked for me as well.

Jelmer Vernooij (jelmer)
Changed in bzrtools (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.