[Bug 767634] Re: dpkg regression --force-depends

Launchpad Bug Tracker 767634 at bugs.launchpad.net
Wed Sep 14 12:27:53 UTC 2011


This bug was fixed in the package dpkg - 1.16.0~ubuntu7.1

---------------
dpkg (1.16.0~ubuntu7.1) natty-proposed; urgency=low

  * src/packages.c: fix use of --force-depends so that it works again for
    foreign arch packages.  Thanks to Raphaël Hertzog for the fix.
    LP: #767634.
  * regenerate lib/dpkg/trigdeferred.c from lib/dpkg/trigdeferred.l in
    the source, to ensure we don't end up with breakage from an out-of-date
    intermediate file as happened in oneiric.

  [ Guillem Jover ]
  * d84b36a81088721b340e52664aa2c3379fea2a9a: be less strict in the face of
    unknown Priority: fields in /var/lib/dpkg/status, so dpkg doesn't fail
    to run on systems whose contents were previously permitted.
    LP: #773022.
 -- Steve Langasek <steve.langasek at ubuntu.com>   Sat, 25 Jun 2011 13:49:46 -0500

** Changed in: dpkg (Ubuntu Natty)
       Status: Fix Committed => Fix Released

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

Title:
  dpkg regression --force-depends

Status in “dpkg” package in Ubuntu:
  Fix Released
Status in “dpkg” source package in Natty:
  Fix Released

Bug description:
  SRU justification:
  Regression in dpkg introduced by multiarch.  It is not impossible to force the installation of foreign-arch packages in natty if their dependencies are not installed.

  TEST CASE:
  1. Download http://people.canonical.com/~vorlon/force-arch-does-not-work_1.0_amd64.deb or http://people.canonical.com/~vorlon/force-arch-does-not-work_1.0_i386.deb (whichever one does *not* match the arch being tested on)
  2. Try to install the package with 'dpkg -i'.  Verify that it fails.
  3. Try to install the package with 'dpkg --force-architecture -i'. Verify that it fails.
  4. Try to install the package with 'dpkg --force-architecture --force-depends -i'.  Verify that it fails.
  5. Upgrade to dpkg 1.16.0~ubuntu7.1.
  6. Try to install the package with 'dpkg -i'.  Verify that it fails.
  7. Try to install the package with 'dpkg --force-architecture -i'. Verify that it fails.
  8. Try to install the package with 'dpkg --force-architecture --force-depends -i'.  Verify that it succeeds.
  9. remove the package with 'dpkg --purge force-arch-does-not-work:i386' (or :amd64).

  Binary package hint: dpkg

  I want to install a printer driver which is made with i386
  architecture on a amd64 system.

  With sudo dpkg -i --force-architecture rebuilt_common.deb, I obtain
  the following result:

  dpkg : avertissement : problème contourné par utilisation de --force :
   l'architecture du paquet (i386) ne correspond pas à celle du système (amd64)
  (Lecture de la base de données... 94096 fichiers et répertoires déjà installés.)
  Préparation du remplacement de cnijfilter-common:i386 2.90-1 (en utilisant rebuilt_common.deb) ...
  Dépaquetage de la mise à jour de cnijfilter-common:i386 ...
  dpkg : des problèmes de dépendances empêchent la configuration de cnijfilter-common:i386 :
   cnijfilter-common:i386 dépend de libc6 (>= 2.3.4-1).
   cnijfilter-common:i386 dépend de libcups2 (>= 1.2.1).
   cnijfilter-common:i386 dépend de libpopt0 (>= 1.7).
  dpkg : erreur de traitement de cnijfilter-common:i386 (--install) :
   problèmes de dépendances - laissé non configuré
  Des erreurs ont été rencontrées pendant l'exécution :
   cnijfilter-common:i386

  Kubuntu 11.04

  This action worked perfectly with ubuntu 10.10 64 bits.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/767634/+subscriptions




More information about the foundations-bugs mailing list