[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/breezy/git/__init__.py'

Bug #1935731 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
breezy (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi,

Install brz from Hirsute fails:

| Selecting previously unselected package python3-breezy.
| Preparing to unpack .../4-python3-breezy_3.1.0-8_amd64.deb ...
| Unpacking python3-breezy (3.1.0-8) ...
| Selecting previously unselected package brz.
| Preparing to unpack .../5-brz_3.1.0-8_all.deb ...
| Unpacking brz (3.1.0-8) ...
| Setting up python3-fastimport (0.9.8-5build1) ...
| Setting up python3-configobj (5.0.6-4) ...
| Setting up python3-patiencediff (0.2.1-1build1) ...
| Setting up python3-dulwich (0.20.15-1ubuntu1) ...
| Setting up python3-breezy (3.1.0-8) ...
| [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/breezy/git/__init__.py'
| dpkg: error processing package python3-breezy (--configure):
| installed python3-breezy package post-installation script subprocess returned error exit status 1
| dpkg: dependency problems prevent configuration of brz:
| brz depends on python3-breezy (<= 3.1.0-8.1~); however:
| Package python3-breezy is not configured yet.
| brz depends on python3-breezy (>= 3.1.0-8); however:
| Package python3-breezy is not configured yet.
|
| dpkg: error processing package brz (--configure):
| dependency problems - leaving unconfigured
| Processing triggers for man-db (2.9.4-2) ...
| No apport report written because the error message indicates its a followup error from a previous failure.
| Errors were encountered while processing:
| python3-breezy
| brz
| E: Sub-process /usr/bin/dpkg returned an error code (1)

Workaround seems to be touching / creating /usr/lib/python3/dist-packages/breezy/git/__init__.py which then allows the rest to finish up.

Should that file be packaged?

Revision history for this message
Haw Loeung (hloeung) wrote :

Sorry for the noise, this is my dpkg-divert to disable git support per LP:1868200.

Changed in breezy (Ubuntu):
status: New → Invalid
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.