Package: dpkg
Version: 1.16.2~wipmultiarch
Severity: normal

I usually build linux-2.6 on amd64, but also test the binaries on an
i386 installation.  I've been installing with --force-architecture up
until now.  APT would basically ignore the foreign package; dpkg was
also happy to do this 'upgrade' to the same version with architecture
i386.

However, with multi-arch, this happens:

$ sudo apt-get install linux-image-3.2.0-1-amd64:i386 
linux-image-3.2.0-1-amd64:amd64-
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-cssutils-doc python-encutils libaccess-bridge-java-jni xulrunner-9.0
  libaccess-bridge-java libboost-thread1.48.0 libboost-serialization1.48.0
  libboost-date-time1.48.0 libcupsdriver1 libaudiofile0 libmozjs8d libyajl1
Use 'apt-get autoremove' to remove them.
Suggested packages:
  linux-doc-3.2
The following packages will be REMOVED:
  linux-image-3.2.0-1-amd64:amd64
The following NEW packages will be installed:
  linux-image-3.2.0-1-amd64
0 upgraded, 1 newly installed, 1 to remove and 174 not upgraded.
Need to get 23.1 MB of archives.
After this operation, 606 kB disk space will be freed.
Do you want to continue [Y/n]? 
Get:1 http://cdn.debian.net/debian/ sid/main linux-image-3.2.0-1-amd64 i386 
3.2.4-1 [23.1 MB]
Fetched 23.1 MB in 58s (396 kB/s)                                              
Preconfiguring packages ...
(Reading database ... 223126 files and directories currently installed.)
Removing linux-image-3.2.0-1-amd64 ...
Ok, proceeding with removing running kernel image.
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 3.2.0-1-amd64 
/boot/vmlinuz-3.2.0-1-amd64
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-1-amd64 
/boot/vmlinuz-3.2.0-1-amd64
update-initramfs: Deleting /boot/initrd.img-3.2.0-1-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-1-amd64 
/boot/vmlinuz-3.2.0-1-amd64
Generating grub.cfg ...
Found background image: .background_cache.png
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
Found iPXE image: /ipxe.lkrn
File descriptor 46 (/var/log/apt/history.log) leaked on lvs invocation. Parent 
PID 8501: /bin/sh
grep: input file `/boot/grub/grub.cfg.new' is also the output
done
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz 
You may need to re-run your boot loader
The link /initrd.img is a damaged link
Removing symbolic link initrd.img 
You may need to re-run your boot loader
Selecting previously unselected package linux-image-3.2.0-1-amd64.
(Reading database ... 219676 files and directories currently installed.)
Unpacking linux-image-3.2.0-1-amd64 (from 
.../linux-image-3.2.0-1-amd64_3.2.4-1_i386.deb) ...
(Noting disappearance of linux-image-3.2.0-1-amd64, which has been completely 
replaced.)
The following package disappeared from your system as
all files have been overwritten by other packages:
  linux-image-3.2.0-1-amd64
Note: This is done automatic and on purpose by dpkg.

Despite what the final message says, the files for
linux-image-3.2.0-1-amd64:i386 are installed at this point.

The dpkg.log for this:

2012-02-11 16:52:03 startup packages remove
2012-02-11 16:52:03 status installed linux-image-3.2.0-1-amd64 3.2.2-1
2012-02-11 16:52:03 remove linux-image-3.2.0-1-amd64 3.2.2-1 <none>
2012-02-11 16:52:03 status half-configured linux-image-3.2.0-1-amd64 3.2.2-1
2012-02-11 16:52:11 status half-installed linux-image-3.2.0-1-amd64 3.2.2-1
2012-02-11 16:52:18 status config-files linux-image-3.2.0-1-amd64 3.2.2-1
2012-02-11 16:52:19 status config-files linux-image-3.2.0-1-amd64 3.2.2-1
2012-02-11 16:52:20 startup archives unpack
2012-02-11 16:52:20 install linux-image-3.2.0-1-amd64 <none> 3.2.4-1
2012-02-11 16:52:20 status half-installed linux-image-3.2.0-1-amd64 3.2.4-1
2012-02-11 16:52:26 disappear linux-image-3.2.0-1-amd64 3.2.2-1 3.2.2-1
2012-02-11 16:52:26 status not-installed linux-image-3.2.0-1-amd64 <none>
2012-02-11 16:52:26 status unpacked linux-image-3.2.0-1-amd64 3.2.4-1
2012-02-11 16:52:26 status unpacked linux-image-3.2.0-1-amd64 3.2.4-1

Ben.

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

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

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-1
ii  libc6        2.13-26
ii  libselinux1  2.1.0-4.1
ii  tar          1.26-4
ii  xz-utils     5.1.1alpha+20110809-3
ii  zlib1g       1:1.2.3.4.dfsg-3

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  0.8.15.9

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to