Bug#768651: libaudio2: fails to update - trying to overwrite shared '/usr/share/doc/libaudio2/changelog.Debian.gz'

2014-11-09 Thread Michael Franzl
I can confirm this. I just ran apt-get dist-upgrade in Debian Jessie. My 
output:


Preparing to unpack .../libaudio2_1.9.4-1+b1_amd64.deb ...
Unpacking libaudio2:amd64 (1.9.4-1+b1) over (1.9.4-1) ...
dpkg: error processing archive 
/var/cache/apt/archives/libaudio2_1.9.4-1+b1_amd64.deb (--unpack):
 trying to overwrite shared 
'/usr/share/doc/libaudio2/changelog.Debian.gz', which is different from 
other instances of package libaudio2:amd64

Errors were encountered while processing:
 /var/cache/apt/archives/libaudio2_1.9.4-1+b1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Adding the -f option didn't help.

Michael


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#768651: libaudio2: fails to update - trying to overwrite shared '/usr/share/doc/libaudio2/changelog.Debian.gz'

2014-11-09 Thread Ricardo Martin Camarero

Hi,

Same problem upgrading my Jessie laptop this morning, you can workaround 
the problem by forcing the installation of libaudio2 (amd64):


apt-get install -f -o Dpkg::Options::=--force-overwrite libaudio2

Then continue with normal upgrading process.

Regards!


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#768651: libaudio2: fails to update - trying to overwrite shared '/usr/share/doc/libaudio2/changelog.Debian.gz'

2014-11-09 Thread Vlad Orlov
Hi,

I have no idea why a package with such a serious issue has been allowed
to migrate to Testing, but here's a fix anyway: get the previous version
(both amd64 and i386) from snapshot.debian.org [1] and install it via dpkg.

After that, you can hold it for a while using apt-mark (preventing it from the
upgrade).


[1] http://snapshot.debian.org/package/nas/1.9.4-1/#libaudio2_1.9.4-1

Bug#768651: libaudio2: fails to update - trying to overwrite shared '/usr/share/doc/libaudio2/changelog.Debian.gz'

2014-11-08 Thread James Cowgill
Package: libaudio2
Version: 1.9.4-1+b1
Severity: serious

Hi,

During a package upgrade I received this error:

Preparing to unpack .../libaudio2_1.9.4-1+b1_amd64.deb ...
Unpacking libaudio2:amd64 (1.9.4-1+b1) over (1.9.4-1) ...
dpkg: error processing archive 
/var/cache/apt/archives/libaudio2_1.9.4-1+b1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libaudio2/changelog.Debian.gz', 
which is different from other instances of package libaudio2:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libaudio2_1.9.4-1+b1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package.  Trying to recover:
dpkg: error processing package libaudio2:i386 (--configure):
 package libaudio2:i386 1.9.4-1+b1 cannot be configured because libaudio2:amd64 
is at a different version (1.9.4-1)
Errors were encountered while processing:
 libaudio2:i386

This was after libaudio2:i386 had been unpacked.

It seems that this package isn't binNMU safe. Since the changelogs of
binNMUed packages are different, they can't be installed in the same
place in multiarch same packages. I think dh_installchangelogs would
handle this case for you, but in this package the changelog is installed
manually.

Thanks,
James

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org