[Bug 1023474] Re: dh_python3 mangles shebangs to use Python

Simon Andric 1023474 at bugs.launchpad.net
Mon Jul 16 00:59:11 UTC 2012


this:

fani at avatar:~/Documents$ sudo -i
[sudo] password for fani: 
root at avatar:~# sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  python3 python3-dbg
Suggested packages:
  python3-doc python3-tk
The following packages will be upgraded:
  python3 python3-dbg
2 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
14 not fully installed or removed.
Need to get 0 B/34.4 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of python3:
 python3 depends on python3-minimal (= 3.2.3-2ubuntu1); however:
  Version of python3-minimal on system is 3.2.3-4.

dpkg: error processing python3 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-dbg:
 python3-dbg depends on python3 (= 3.2.3-2ubuntu1); however:
  Package python3 is not configured yet.

dpkg: error processing python3-dbg (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-drivers-common:
 ubuntu-drivers-common depends on python3 (>= 3.2); however:
  Package python3 is not configured yet.

dpkg: error processing ubuntu-drivers-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-distupgrade:
 python3-distupgrade depends on python3 (>= 3.2.3-3~); however:
  Version of python3 on system is 3.2.3-2ubuntu1.

dpkg: No apport report written because MaxReports is reached already
                                                                    No apport report written because MaxReports is reached already
                                                            No apport report written because MaxReports is reached already
                                                    No apport report written because MaxReports is reached already
                                            No apport report written because MaxReports is reached already
                                    No apport report written because MaxReports is reached already
                            No apport report written because MaxReports is reached already
                    No apport report written because MaxReports is reached already
            No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
                                                                  No apport report written because MaxReports is reached already
                                                          No apport report written because MaxReports is reached already
                                                  error processing python3-distupgrade (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pyqt4:
 python3-pyqt4 depends on python3 (>= 3.2.3-3~); however:
  Version of python3 on system is 3.2.3-2ubuntu1.
 python3-pyqt4 depends on python3 (<< 3.3); however:
  Package python3 is not configured yet.

dpkg: error processing python3-pyqt4 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-software-properties:
 python3-software-properties depends on python3 (>= 3.2.3-3~); however:
  Version of python3 on system is 3.2.3-2ubuntu1.

dpkg: error processing python3-software-properties (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of software-properties-common:
 software-properties-common depends on python3 (>= 3.2.3-3~); however:
  Version of python3 on system is 3.2.3-2ubuntu1.
 software-properties-common depNo apport report written because MaxReports is reached already
                       No apport report written because MaxReports is reached already
               ends on python3-software-properties; however:
  Package python3-software-properties is not configured yet.

dpkg: error processing software-properties-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of software-properties-gtk:
 software-properties-gtk depends on python3 (>= 3.2.3-3~); however:
  Version of python3 on system is 3.2.3-2ubuntu1.
 software-properties-gtk depends on python3-software-properties; however:
  Package python3-software-properties is not configured yet.
 software-properties-gtk depends on software-properties-common; however:
  Package software-properties-common is not configured yet.

dpkg: error processing software-properties-gtk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of software-properties-kde:
 software-properties-kde depends on python3 (>= 3.2.3-3~); however:
  Version of python3 on system is 3.2.3-2ubuntu1.
 software-properties-kde depends on python3-pyqt4; however:
  Package python3-pyqt4 is not configured yet.
 software-properties-kde depends on python3-software-properties; however:
  Package python3-software-properties is not configured yet.
 software-properties-kde depends on software-properties-common; however:
  Package software-properties-common is not configured yet.

dpkg: error processing software-properties-kde (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-release-upgrader-core:
 ubuntu-release-upgrader-core depends on python3 (>= 3.2); however:
  Package python3 is not configured yet.
 ubuntu-release-upgrader-core depends on python3-distupgrade (= 1:0.170ubuntu1); however:
  Package python3-distupgrade is not configured yet.

dpkg: error processing ubuntu-release-upgrader-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-release-upgrader-qt:
 ubuntu-release-upgrader-qt depends on ubuntu-release-upgrader-core (= 1:0.170ubuntu1); however:
  Package ubuntu-release-upgrader-core is not configured yet.

dpkg: error processing ubuntu-release-upgrader-qt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-common:
 nvidia-common depends on ubuntu-drivers-common; however:
  Package ubuntu-drivers-common is not configured yet.

dpkg: error processing nvidia-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-aptdaemon.pkcompat:
 python3-aptdaemon.pkcompat depends on python3 (>= 3.2); however:
  Package python3 is not configured yet.

dpkg: error processing python3-aptdaemon.pkcompat (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pyqt4-dbg:
 python3-pyqt4-dbg depends on python3-dbg; however:
  Package python3-dbg is not configured yet.
 python3-pyqt4-dbg depends on python3-pyqt4 (= 4.9.3-3); however:
  Package python3-pyqt4 is not configured yet.

dpkg: error processing python3-pyqt4-dbg (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3
 python3-dbg
 ubuntu-drivers-common
 python3-distupgrade
 python3-pyqt4
 python3-software-properties
 software-properties-common
 software-properties-gtk
 software-properties-kde
 ubuntu-release-upgrader-core
 ubuntu-release-upgrader-qt
 nvidia-common
 python3-aptdaemon.pkcompat
 python3-pyqt4-dbg
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at avatar:~#

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

Title:
  dh_python3 mangles shebangs to use Python

Status in “python3-defaults” package in Ubuntu:
  Fix Released
Status in “ubiquity” package in Ubuntu:
  Fix Released
Status in “update-manager” package in Ubuntu:
  Fix Released

Bug description:
  The latest ubiquity and update-manager are accidentally installed as
  Python 2 apps because dh_python3 is changing the shebang lines to be
  /usr/bin/python.

  It seems to be a bad regular expression that was not updated from
  dh_python2 days.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1023474/+subscriptions




More information about the foundations-bugs mailing list