** Description changed: + 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) + 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). + 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é + problèmes de dépendances - laissé non configuré Des erreurs ont été rencontrées pendant l'exécution : - cnijfilter-common:i386 + cnijfilter-common:i386 Kubuntu 11.04 This action worked perfectly with ubuntu 10.10 64 bits.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/767634 Title: dpkg regression --force-depends To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/767634/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
