[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#618288: apt doesn't honor multiarch version requirements when configuring



On Mon, Mar 14, 2011 at 08:49:04PM -0700, Steve Langasek wrote:
> > I fear its related to immediate configuration:
> > Could you try with -o APT::Immediate-Configure=0 ?

> > And, how tries APT to call dpkg exactly? (with/without immediate)
> > -o Debug::pkgDPkgPM=1

> Yes, I agree that this is probably caused by immediate configuration. 
> Unfortunately I can't easily rerun this to reproduce the problem, because I
> encountered this in my active chroot which is now up to date.  There are
> only a small number of Multi-Arch: same packages in the world with which I
> can test currently. :-)  But I'll try your test case and see what happens.

Here's the test case output.  Probably not what you were looking for. :)

$ ./test-multiarch-same 
Reading package lists...
Building dependency tree...
Selected version '1' (stable [amd64]) for 'libsame'
Selected version '1' (stable [i386]) for 'libsame:i386'
The following NEW packages will be installed:
  libsame libsame:i386
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2452 B of archives.
After this operation, 90.1 kB of additional disk space will be used.
Selecting previously deselected package libsame.
(Reading database ... 0 files and directories currently installed.)
Unpacking libsame (from .../pool/libsame_1_amd64.deb) ...
Selecting previously deselected package libsame:i386.
Unpacking libsame:i386 (from .../pool/libsame_1_i386.deb) ...
dpkg: error processing /tmp/tmp.Sa4KGCgH5t/aptarchive/pool/libsame_1_i386.deb (--unpack):
 './usr/share/doc/libsame/changelog' is different from the same file on the system
Errors were encountered while processing:
 /tmp/tmp.Sa4KGCgH5t/aptarchive/pool/libsame_1_i386.deb
E: Sub-process fakeroot returned an error code (1)
$

I guess the test framework needs some updates to be usable with multiarch. 
Well, let's try plugging in $(date -R -d '12:00').

Now I get this:

$ ./test-multiarch-same 
Reading package lists...
Building dependency tree...
Selected version '1' (stable [amd64]) for 'libsame'
Selected version '1' (stable [i386]) for 'libsame:i386'
The following NEW packages will be installed:
  libsame libsame:i386
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2446 B of archives.
After this operation, 90.1 kB of additional disk space will be used.
Selecting previously deselected package libsame.
(Reading database ... 0 files and directories currently installed.)
Unpacking libsame (from .../pool/libsame_1_amd64.deb) ...
Selecting previously deselected package libsame:i386.
Unpacking libsame:i386 (from .../pool/libsame_1_i386.deb) ...
(Noting disappearance of libsame, which has been completely replaced.)
dpkg: error: --configure needs at least one package name argument

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
E: Sub-process fakeroot returned an error code (2)
$

multi-arch: same package with no arch-dependent contents, so it gets
disappeared, heh.

Sorry, that's as far as I can go with this at the moment.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: