[Bug 985842] Re: package gcc-4.4-base 4.4.7-1ubuntu2 failed to install/upgrade: './usr/share/doc/gcc-4.4-base/README.Debian.gz' is different from the same file on the system: removing the file fixes the issue
Daniel Hartwig
mandyke at gmail.com
Tue Oct 2 09:20:37 UTC 2012
** Patch added: "r6092-arch-readme.patch"
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/985842/+attachment/3364370/+files/r6092-arch-readme.patch
** Summary changed:
- package gcc-4.4-base 4.4.7-1ubuntu2 failed to install/upgrade: './usr/share/doc/gcc-4.4-base/README.Debian.gz' is different from the same file on the system: removing the file fixes the issue
+ package gcc-4.4-base 4.4.7-1ubuntu2: arch-specific README.Debian makes package not co-installable with itself
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.4 in Ubuntu.
https://bugs.launchpad.net/bugs/985842
Title:
package gcc-4.4-base 4.4.7-1ubuntu2: arch-specific README.Debian makes
package not co-installable with itself
Status in “gcc-4.4” package in Ubuntu:
Fix Released
Status in “gcc-4.4” package in Debian:
Unknown
Bug description:
[Impact]
The contents of README.Debian.gz are arch-specific (see debbugs
#650102). Even though it is Multi-Arch: same, the package
gcc-4.4-base can not be co-installed with itself.
The fix is renaming README.Debian to README.Debian.$(DEB_TARGET_ARCH).
[Test Case]
On Precise with amd64 and i386:
# apt-get install -y gcc-4.4-base:amd64 gcc-4.4-base:i386
…
Unpacking replacement gcc-4.4-base ...
dpkg: error processing /var/cache/apt/archives/gcc-4.4-base_4.4.7-1ubuntu2_amd64.deb (--unpack):
'./usr/share/doc/gcc-4.4-base/README.Debian.gz' is different from the same file on the system
[Regression Potential]
May invalidate existing references to the file.
[Workaround]
removing the file that the installer claimed had changed and then
rerunning apt-get upgrade fixes the issue for me
[Original Report]
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: gcc-4.4-base 4.4.7-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Thu Apr 19 12:19:46 2012
Dependencies:
DuplicateSignature:
Unpacking replacement gcc-4.4-base ...
dpkg: error processing /var/cache/apt/archives/gcc-4.4-base_4.4.7-1ubuntu2_amd64.deb (--unpack):
'./usr/share/doc/gcc-4.4-base/README.Debian.gz' is different from the same file on the system
ErrorMessage: './usr/share/doc/gcc-4.4-base/README.Debian.gz' is different from the same file on the system
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
SourcePackage: gcc-4.4
Title: package gcc-4.4-base 4.4.7-1ubuntu2 failed to install/upgrade: './usr/share/doc/gcc-4.4-base/README.Debian.gz' is different from the same file on the system
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/985842/+subscriptions
More information about the foundations-bugs
mailing list