[Bug 896817] [NEW] [precise] dpkg can't force installation of multiarch packages with different contents
Philip Muškovac
yofel at gmx.net
Sun Nov 27 10:23:52 UTC 2011
Public bug reported:
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)
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise
--
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:
New
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