package gcc-4.4-base 4.4.7-1ubuntu2: arch-specific README.Debian makes package not co-installable with itself

Bug #985842 reported by Daniel Horn
42
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gcc-4.4 (Debian)
Fix Released
Unknown
gcc-4.4 (Ubuntu)
Fix Released
Undecided
Unassigned

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)

Revision history for this message
Daniel Horn (danielreiterhorn) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gcc-4.4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Hartwig (wigs) wrote :

Fixed in 4.4.7-2.

Changed in gcc-4.4 (Ubuntu):
status: Confirmed → Fix Released
Daniel Hartwig (wigs)
description: updated
Revision history for this message
Daniel Hartwig (wigs) wrote :
summary: - 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
Changed in gcc-4.4 (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.