[Bug 896817] Re: [precise] dpkg can't force installation of multiarch packages with different contents

Raphaël Hertzog hertzog at debian.org
Sun Nov 27 21:33:19 UTC 2011


** Changed in: dpkg (Ubuntu)
   Importance: Undecided => Medium

** Changed in: dpkg (Ubuntu)
       Status: New => Triaged

-- 
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/896817

Title:
  [precise] dpkg can't force installation of multiarch packages with
  different contents

Status in “dpkg” package in Ubuntu:
  Triaged

Bug description:
  Thanks to bug 893826 I'm getting this on my precise setup:

  $ sudo dpkg -i /var/cache/apt/archives/libqt4-declarative_4%3a4.7.4-1ubuntu4_amd64.deb 
  (Reading database ... 527084 files and directories currently installed.)
  Preparing to replace libqt4-declarative 4:4.7.4-1ubuntu3 (using .../libqt4-declarative_4%3a4.7.4-1ubuntu4_amd64.deb) ...
  Unpacking replacement libqt4-declarative ...
  dpkg: error processing /var/cache/apt/archives/libqt4-declarative_4%3a4.7.4-1ubuntu4_amd64.deb (--install):
   './usr/share/doc/libqt4-declarative/LGPL_EXCEPTION.txt' is different from the same file on the system
  Errors were encountered while processing:
   /var/cache/apt/archives/libqt4-declarative_4%3a4.7.4-1ubuntu4_amd64.deb

  ok, bug acknowledged, now install the package anyway since I know the
  files are in fact the same:

  $ sudo dpkg --force-all -i /var/cache/apt/archives/libqt4-declarative_4%3a4.7.4-1ubuntu4_amd64.deb
  (Reading database ... 527084 files and directories currently installed.)
  Preparing to replace libqt4-declarative 4:4.7.4-1ubuntu3 (using .../libqt4-declarative_4%3a4.7.4-1ubuntu4_amd64.deb) ...
  Unpacking replacement libqt4-declarative ...
  dpkg: error processing /var/cache/apt/archives/libqt4-declarative_4%3a4.7.4-1ubuntu4_amd64.deb (--install):
   './usr/share/doc/libqt4-declarative/LGPL_EXCEPTION.txt' is different from the same file on the system
  Errors were encountered while processing:
   /var/cache/apt/archives/libqt4-declarative_4%3a4.7.4-1ubuntu4_amd64.deb

  dpkg shouldn't error out there, as now I can't fix my dependencies if
  I don't want to remove the respective i386 packages and this doesn't
  have any more chances to break the system than using --force-overwrite
  with 2 not-multiarch packages.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: dpkg 1.16.1.1ubuntu3
  ProcVersionSignature: Ubuntu 3.1.0-2.3-generic 3.1.0
  Uname: Linux 3.1.0-2-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.26-0ubuntu1
  Architecture: amd64
  Date: Sun Nov 27 11:16:05 2011
  InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111007)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   LANGUAGE=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: dpkg
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list