Martin Pitt [2011-12-15 11:34 +0100]:
> Raphael Hertzog [2011-12-15 10:35 +0100]:
> > Yeah, that's not correct. The attached patch should fix this. It's
> > untested though and it would be great if you could confirm that it works
> > as expected.
> 
> I just tested it, and it works perfectly. Many thanks!

For the record, seems I spoke too soon. While it works with the
original test case now

  sudo apt-get install --reinstall libpthread-stubs0{,:i386} 
libpthread-stubs0-dev

it still fails when you do it separately:

$ LANG= sudo apt-get install --reinstall libpthread-stubs0{,:i386} 
libpthread-stubs0-dev
[...]
The following NEW packages will be installed:
  libpthread-stubs0:i386
Preparing to replace libpthread-stubs0 0.3-2.1ubuntu1 (using 
.../libpthread-stubs0_0.3-2.1ubuntu1_amd64.deb) ...
Unpacking replacement libpthread-stubs0 ...
Selecting previously unselected package libpthread-stubs0:i386.
Unpacking libpthread-stubs0:i386 (from 
.../libpthread-stubs0_0.3-2.1ubuntu1_i386.deb) ...
Preparing to replace libpthread-stubs0-dev 0.3-2.1ubuntu1 (using 
.../libpthread-stubs0-dev_0.3-2.1ubuntu1_amd64.deb) ...
Unpacking replacement libpthread-stubs0-dev ...
Setting up libpthread-stubs0 (0.3-2.1ubuntu1) ...
Setting up libpthread-stubs0:i386 (0.3-2.1ubuntu1) ...
Setting up libpthread-stubs0-dev (0.3-2.1ubuntu1) ...

$ LANG= sudo apt-get install --reinstall libpthread-stubs0-dev
[...]
Preparing to replace libpthread-stubs0-dev 0.3-2.1ubuntu1 (using 
.../libpthread-stubs0-dev_0.3-2.1ubuntu1_amd64.deb) ...
Unpacking replacement libpthread-stubs0-dev ...
(Noting disappearance of libpthread-stubs0:i386, which has been completely 
replaced.)
Setting up libpthread-stubs0-dev (0.3-2.1ubuntu1) ...
The following package disappeared from your system as
all files have been overwritten by other packages:
  libpthread-stubs0
Note: This is done automatic and on purpose by dpkg.

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

Reply via email to