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

Simon Andric 1023474 at bugs.launchpad.net
Fri Jul 13 22:11:36 UTC 2012


Current status: 21 updates [+13].
root at avatar:~# sudo aptitude full-upgrade
The following NEW packages will be installed:
  libmagick++5{a} 
The following packages will be upgraded:
  cups-filters dvdauthor gdb libcupsfilters1 libpstoedit0c2a linux-firmware 
  nvidia-common project-neon-amarok project-neon-amarok-dbg 
  project-neon-oxygen-gtk2 project-neon-oxygen-gtk2-dbg pstoedit 
  python-pyasn1 python3 python3-dbg scribus-trunk ubuntu-drivers-common vlc 
  vlc-nox{b} vlc-plugin-notify vlc-plugin-pulse 
The following partially installed packages will be configured:
  python3-aptdaemon.pkcompat python3-software-properties 
  software-properties-common software-properties-gtk 
  software-properties-kde 
21 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 150 MB of archives. After unpacking 812 kB will be used.
The following packages have unmet dependencies:
 vlc-nox : Depends: libupnp3 (>= 1.4.3) which is a virtual package.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     vlc                         
2)     vlc-nox                     
3)     vlc-plugin-notify           
4)     vlc-plugin-pulse            


Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     vlc [2.0.2-1 (now, quantal)]                       
2)     vlc-nox [2.0.2-1 (now, quantal)]                   
3)     vlc-plugin-notify [2.0.2-1 (now, quantal)]         
4)     vlc-plugin-pulse [2.0.2-1 (now, quantal)]          

     Leave the following dependencies unresolved:         
5)     vlc recommends vlc-plugin-notify (= 2.0.2-2~ppa1)  


Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
  libmagick++5{a} 
The following packages will be upgraded:
  cups-filters dvdauthor gdb libcupsfilters1 libpstoedit0c2a linux-firmware 
  nvidia-common project-neon-amarok project-neon-amarok-dbg 
  project-neon-oxygen-gtk2 project-neon-oxygen-gtk2-dbg pstoedit 
  python-pyasn1 python3 python3-dbg scribus-trunk ubuntu-drivers-common 
The following partially installed packages will be configured:
  python3-aptdaemon.pkcompat python3-software-properties 
  software-properties-common software-properties-gtk 
  software-properties-kde 
17 packages upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 145 MB of archives. After unpacking 770 kB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://si.archive.ubuntu.com/ubuntu/ quantal/main python3-dbg all 3.2.3-3ubuntu1 [1,178 B]
Get: 2 http://si.archive.ubuntu.com/ubuntu/ quantal/main python3 all 3.2.3-3ubuntu1 [33.0 kB]
Get: 3 http://si.archive.ubuntu.com/ubuntu/ quantal/main ubuntu-drivers-common i386 1:0.2.64 [31.9 kB]
Get: 4 http://si.archive.ubuntu.com/ubuntu/ quantal/main nvidia-common i386 1:0.2.64 [1,276 B]
Get: 5 http://si.archive.ubuntu.com/ubuntu/ quantal/main libcupsfilters1 i386 1.0.18-2build3 [58.7 kB]
Get: 6 http://ppa.launchpad.net/neon/ppa/ubuntu/ precise/main project-neon-amarok-dbg i386 2+git20120713+r30669-28~precise1 [30.8 MB]
Get: 7 http://si.archive.ubuntu.com/ubuntu/ quantal/main libmagick++5 i386 8:6.7.7.10-2ubuntu3 [143 kB]
Get: 8 http://si.archive.ubuntu.com/ubuntu/ quantal/main cups-filters i386 1.0.18-2build3 [356 kB]
Get: 9 http://si.archive.ubuntu.com/ubuntu/ quantal/universe dvdauthor i386 0.7.0-1.1build2 [237 kB]
Get: 10 http://si.archive.ubuntu.com/ubuntu/ quantal/main gdb i386 7.4-2012.06-0ubuntu2 [2,105 kB]
Get: 11 http://si.archive.ubuntu.com/ubuntu/ quantal/universe libpstoedit0c2a i386 3.60-2build1 [383 kB]
Get: 12 http://si.archive.ubuntu.com/ubuntu/ quantal/main linux-firmware all 1.84 [24.5 MB]
Get: 13 http://ppa.launchpad.net/neon/ppa/ubuntu/ precise/main project-neon-amarok i386 2+git20120713+r30669-28~precise1 [8,206 kB]
Get: 14 http://si.archive.ubuntu.com/ubuntu/ quantal/universe pstoedit i386 3.60-2build1 [131 kB]
Get: 15 http://si.archive.ubuntu.com/ubuntu/ quantal/main python-pyasn1 all 0.1.3-1 [47.0 kB]
Get: 16 http://ppa.launchpad.net/neon/ppa/ubuntu/ precise/main project-neon-oxygen-gtk2-dbg i386 2+git20120713+r1815-1~precise1 [1,913 kB]
Get: 17 http://ppa.launchpad.net/neon/ppa/ubuntu/ precise/main project-neon-oxygen-gtk2 i386 2+git20120713+r1815-1~precise1 [611 kB]
Get: 18 http://ppa.launchpad.net/scribus/ppa/ubuntu/ quantal/main scribus-trunk i386 1.5.0svn201207131945-23~quantal1 [75.1 MB]
Fetched 145 MB in 2min 2s (1,180 kB/s)                                          
(Reading database ... 403176 files and directories currently installed.)
Preparing to replace libcupsfilters1:i386 1.0.18-2build2 (using .../libcupsfilters1_1.0.18-2build3_i386.deb) ...
Unpacking replacement libcupsfilters1:i386 ...
Selecting previously unselected package libmagick++5:i386.
Unpacking libmagick++5:i386 (from .../libmagick++5_8%3a6.7.7.10-2ubuntu3_i386.deb) ...
Preparing to replace cups-filters 1.0.18-2build2 (using .../cups-filters_1.0.18-2build3_i386.deb) ...
Unpacking replacement cups-filters ...
Preparing to replace dvdauthor 0.7.0-1.1build1 (using .../dvdauthor_0.7.0-1.1build2_i386.deb) ...
Unpacking replacement dvdauthor ...
Preparing to replace gdb 7.4-2012.06-0ubuntu1 (using .../gdb_7.4-2012.06-0ubuntu2_i386.deb) ...
Unpacking replacement gdb ...
Preparing to replace libpstoedit0c2a 3.60-2 (using .../libpstoedit0c2a_3.60-2build1_i386.deb) ...
Unpacking replacement libpstoedit0c2a ...
Preparing to replace linux-firmware 1.83 (using .../linux-firmware_1.84_all.deb) ...
Unpacking replacement linux-firmware ...
Preparing to replace project-neon-amarok-dbg 2+git20120712+r30667-28~precise1 (using .../project-neon-amarok-dbg_2+git20120713+r30669-28~precise1_i386.deb) ...
Unpacking replacement project-neon-amarok-dbg ...
Preparing to replace project-neon-amarok 2+git20120712+r30667-28~precise1 (using .../project-neon-amarok_2+git20120713+r30669-28~precise1_i386.deb) ...
Unpacking replacement project-neon-amarok ...
Preparing to replace project-neon-oxygen-gtk2-dbg 2+git20120709+r1814-1~precise1 (using .../project-neon-oxygen-gtk2-dbg_2+git20120713+r1815-1~precise1_i386.deb) ...
Unpacking replacement project-neon-oxygen-gtk2-dbg ...
Preparing to replace project-neon-oxygen-gtk2 2+git20120709+r1814-1~precise1 (using .../project-neon-oxygen-gtk2_2+git20120713+r1815-1~precise1_i386.deb) ...
Unpacking replacement project-neon-oxygen-gtk2 ...
Preparing to replace pstoedit 3.60-2 (using .../pstoedit_3.60-2build1_i386.deb) ...
Unpacking replacement pstoedit ...
Preparing to replace python-pyasn1 0.0.11a-1ubuntu1 (using .../python-pyasn1_0.1.3-1_all.deb) ...
Unpacking replacement python-pyasn1 ...
Preparing to replace scribus-trunk 1.5.0svn201207121947-23~quantal1 (using .../scribus-trunk_1.5.0svn201207131945-23~quantal1_i386.deb) ...
Unpacking replacement scribus-trunk ...
Processing triggers for cups ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 2 changed doc-base files...
Registering documents with scrollkeeper...
Processing triggers for shared-mime-info ...
Unknown media type in type 'chemical/x-alchemy'
Unknown media type in type 'chemical/x-cache'
Unknown media type in type 'chemical/x-cactvs-ascii'
Unknown media type in type 'chemical/x-cactvs-binary'
Unknown media type in type 'chemical/x-cactvs-table'
Unknown media type in type 'chemical/x-cdx'
Unknown media type in type 'chemical/x-cdxml'
Unknown media type in type 'chemical/x-chem3d'
Unknown media type in type 'chemical/x-cif'
Unknown media type in type 'chemical/x-cml'
Unknown media type in type 'chemical/x-daylight-smiles'
Unknown media type in type 'chemical/x-dmol'
Unknown media type in type 'chemical/x-gamess-input'
Unknown media type in type 'chemical/x-gamess-output'
Unknown media type in type 'chemical/x-gaussian-input'
Unknown media type in type 'chemical/x-gaussian-log'
Unknown media type in type 'chemical/x-genbank'
Unknown media type in type 'chemical/x-gulp'
Unknown media type in type 'chemical/x-hin'
Unknown media type in type 'chemical/x-inchi'
Unknown media type in type 'chemical/x-inchi-xml'
Unknown media type in type 'chemical/x-jcamp-dx'
Unknown media type in type 'chemical/x-macromodel-input'
Unknown media type in type 'chemical/x-mdl-molfile'
Unknown media type in type 'chemical/x-mdl-rdfile'
Unknown media type in type 'chemical/x-mdl-rxnfile'
Unknown media type in type 'chemical/x-mdl-sdfile'
Unknown media type in type 'chemical/x-mdl-tgf'
Unknown media type in type 'chemical/x-mmcif'
Unknown media type in type 'chemical/x-mol2'
Unknown media type in type 'chemical/x-mopac-graph'
Unknown media type in type 'chemical/x-mopac-input'
Unknown media type in type 'chemical/x-mopac-out'
Unknown media type in type 'chemical/x-msi-car'
Unknown media type in type 'chemical/x-msi-hessian'
Unknown media type in type 'chemical/x-msi-mdf'
Unknown media type in type 'chemical/x-msi-msi'
Unknown media type in type 'chemical/x-ncbi-asn1'
Unknown media type in type 'chemical/x-ncbi-asn1-binary'
Unknown media type in type 'chemical/x-ncbi-asn1-xml'
Unknown media type in type 'chemical/x-pdb'
Unknown media type in type 'chemical/x-shelx'
Unknown media type in type 'chemical/x-vmd'
Unknown media type in type 'chemical/x-xyz'
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for desktop-file-utils ...
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-3ubuntu1.

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 nvidia-common:
 nvidia-common depends on ubuntu-drivers-common; however:
  Package ubuntu-drivers-common is not configured yet.

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
    error processing nvidia-common (--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 depends 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-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 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
Setting up libcupsfilters1:i386 (1.0.18-2build3) ...
Setting up libmagick++5:i386 (8:6.7.7.10-2ubuntu3) ...
Setting up cups-filters (1.0.18-2build3) ...

Setting up dvdauthor (0.7.0-1.1build2) ...
Setting up gdb (7.4-2012.06-0ubuntu2) ...
Setting up libpstoedit0c2a (3.60-2build1) ...
Setting up linux-firmware (1.84) ...
Setting up project-neon-amarok (2+git20120713+r30669-28~precise1) ...
Setting up project-neon-amarok-dbg (2+git20120713+r30669-28~precise1) ...
Setting up project-neon-oxygen-gtk2 (2+git20120713+r1815-1~precise1) ...
Setting up project-neon-oxygen-gtk2-dbg (2+git20120713+r1815-1~precise1) ...
Setting up pstoedit (3.60-2build1) ...
Setting up python-pyasn1 (0.1.3-1) ...
Setting up scribus-trunk (1.5.0svn201207131945-23~quantal1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 python3
 python3-dbg
 ubuntu-drivers-common
 nvidia-common
 python3-software-properties
 software-properties-common
 software-properties-gtk
 software-properties-kde
 python3-aptdaemon.pkcompat
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
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.

dpkg: error processing software-properties-kde (--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.

dpkg: error processing software-properties-common (--configure):
 dependency problems - leaving unconfigured
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-3ubuntu1.

dpkg: error processing python3 (--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 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-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-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 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-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
Errors were encountered while processing:
 software-properties-kde
 software-properties-common
 python3
 ubuntu-drivers-common
 nvidia-common
 python3-software-properties
 software-properties-gtk
 python3-aptdaemon.pkcompat
 python3-dbg
                                         
Current status: 8 updates [-13].
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