bzr 0.90 package blows up

Bug #135891 reported by Jamu Kakar
14
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Critical
Robert Collins

Bug Description

(Reading database ... 125182 files and directories currently installed.)
Preparing to replace bzr 0.90~rc1-1 (using .../archives/bzr_0.90-1_i386.deb) ...
Unpacking replacement bzr ...
Preparing to replace libwrap0 7.6.dbs-11build1 (using .../libwrap0_7.6.dbs-11ubuntu0.1_i386.deb) ...
Unpacking replacement libwrap0 ...
Setting up bzr (0.90-1) ...
error in control file: `Files' value not specified at /usr/sbin/install-docs line 804, </usr/share/doc-base/bzr> line 10.
dpkg: error processing bzr (--configure):
 subprocess post-installation script returned error exit status 255
Setting up libwrap0 (7.6.dbs-11ubuntu0.1) ...

Errors were encountered while processing:
 bzr
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up bzr (0.90-1) ...
error in control file: `Files' value not specified at /usr/sbin/install-docs line 804, </usr/share/doc-base/bzr> line 10.
dpkg: error processing bzr (--configure):
 subprocess post-installation script returned error exit status 255

Revision history for this message
Jamu Kakar (jkakar) wrote :

I just tried that on an up-to-date feisty system, in case that matters.

Revision history for this message
DanielBachran (dbachran) wrote :

I also run into this issue. This error causes bzr to be unusable, throwing the following error message:

---------- snip ----------
bzr: ERROR: Couldn't import bzrlib and dependencies.
Please check bzrlib is on your PYTHONPATH.

Traceback (most recent call last):
  File "/usr/bin/bzr", line 62, in <module>
    import bzrlib
ImportError: No module named bzrlib
---------- snip ----------

Due to thanks on the #bzr channel, a simple command fixed this issue:

1. Run the command: sudo bash -c "echo \"Files: /usr/share/doc/bzr/html/*.html\" >>/usr/share/doc-base/bzr"
2. Re-run dpkg --configure, e.g. by reinstaling the bzr package in Synaptic

Revision history for this message
John A Meinel (jameinel) wrote :

This is just a packaging issue.
The original package was built on sid/gutsy. Which doesn't require "Files" to be present.
But it seems all deb version earlier than that (Feisty, Dapper, etc) require that line to be present.
Dato mentioned that he has updated his build tools, but won't bother with an upload just for that.
Robert Collins said that he will update the dapper/feisty/etc repositories.

Changed in bzr:
importance: Undecided → Critical
status: New → Triaged
Changed in bzr:
assignee: nobody → lifeless
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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