[Bug 1130709] Re: python-apt needs to be multiarched

Steve Langasek steve.langasek at canonical.com
Tue May 21 22:14:58 UTC 2013


** Description changed:

-   affects ubuntu/python-apt
-   subscribe jpugh
-   subscribe dpitkin
-   subscribe vorlon
-   subscribe
+ affects ubuntu/python-apt
+   subscribe jpugh
+   subscribe dpitkin
+   subscribe vorlon
+   subscribe
  
  Currently, on amd64, it is impossible to express a dependency between an i386
  package and the native python-apt -- attempting to install the package forces
  python-apt:i386 to be installed, and python-apt:amd64 to be removed.
  
- -- 
+ --
  Kind regards,
  Loong Jin
+ 
+ [Test case]
+ 1. install the 'equivs' package
+ 2. create a dummy template package:
+ $ cat > template
+ Section: misc
+ Priority: optional
+ Standards-Version: 3.9.2
+ 
+ Package: python-apt-test
+ Architecture: i386
+ Depends: python-apt:any
+ Description: test package for bug #1130709
+  Nothing much
+ ^D
+ $ equivs-build --arch=i386 template
+ 3. unpack the package on an amd64 system:
+ $ sudo dpkg --unpack python-apt-test_1.0_i386.deb
+ 4. Verify that the package dependencies cannot be installed correctly:
+ $ sudo apt-get -f install
+ 5. Remove the package again with 'sudo dpkg --purge python-apt-test'.
+ 6. Upgrade to -proposed.
+ 7. install the package again with 'sudo dpkg --unpack python-apt-test_1.0_i386.deb'
+ 8. Verify that the dependencies are now satisfied correctly when running 'sudo apt-get -f install'.

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

Title:
  python-apt needs to be multiarched

Status in “python-apt” package in Ubuntu:
  Fix Released
Status in “python-defaults” package in Ubuntu:
  Invalid
Status in “python2.7” package in Ubuntu:
  Invalid
Status in “python3-defaults” package in Ubuntu:
  Invalid
Status in “python3.2” package in Ubuntu:
  Invalid
Status in “python-apt” source package in Precise:
  Fix Committed
Status in “python-defaults” source package in Precise:
  Fix Committed
Status in “python2.7” source package in Precise:
  Fix Committed
Status in “python3-defaults” source package in Precise:
  Fix Committed
Status in “python3.2” source package in Precise:
  Fix Committed
Status in “python-apt” source package in Quantal:
  Fix Committed
Status in “python-defaults” source package in Quantal:
  Fix Committed
Status in “python2.7” source package in Quantal:
  Fix Committed
Status in “python3-defaults” source package in Quantal:
  Fix Committed
Status in “python3.2” source package in Quantal:
  Fix Committed
Status in “python-apt” source package in Raring:
  Fix Released
Status in “python-defaults” source package in Raring:
  Invalid
Status in “python2.7” source package in Raring:
  Invalid
Status in “python3-defaults” source package in Raring:
  Invalid
Status in “python3.2” source package in Raring:
  Invalid

Bug description:
  affects ubuntu/python-apt
    subscribe jpugh
    subscribe dpitkin
    subscribe vorlon
    subscribe

  Currently, on amd64, it is impossible to express a dependency between an i386
  package and the native python-apt -- attempting to install the package forces
  python-apt:i386 to be installed, and python-apt:amd64 to be removed.

  --
  Kind regards,
  Loong Jin

  [Test case]
  1. install the 'equivs' package
  2. create a dummy template package:
  $ cat > template
  Section: misc
  Priority: optional
  Standards-Version: 3.9.2

  Package: python-apt-test
  Architecture: i386
  Depends: python-apt:any
  Description: test package for bug #1130709
   Nothing much
  ^D
  $ equivs-build --arch=i386 template
  3. unpack the package on an amd64 system:
  $ sudo dpkg --unpack python-apt-test_1.0_i386.deb
  4. Verify that the package dependencies cannot be installed correctly:
  $ sudo apt-get -f install
  5. Remove the package again with 'sudo dpkg --purge python-apt-test'.
  6. Upgrade to -proposed.
  7. install the package again with 'sudo dpkg --unpack python-apt-test_1.0_i386.deb'
  8. Verify that the dependencies are now satisfied correctly when running 'sudo apt-get -f install'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1130709/+subscriptions




More information about the foundations-bugs mailing list