Your message dated Sat, 24 Mar 2012 17:53:16 +0100
with message-id <[email protected]>
and subject line Re: Bug#659505: Switching to identical package for other arch 
treated as disappearance
has caused the Debian Bug report #659505,
regarding Switching to identical package for other arch treated as disappearance
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
659505: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659505
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Version: 1.16.2

On Tue, 2012-03-06 at 05:42:17 +0100, Guillem Jover wrote:
> On Sat, 2012-02-11 at 17:07:39 +0000, Ben Hutchings wrote:
> > 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-
> [...]
> 
> > Despite what the final message says, the files for
> > linux-image-3.2.0-1-amd64:i386 are installed at this point.
> 
> This should be fixed now as a side effect of the proper cross-grading
> support I implemented some weeks ago, the bogus disappearing was due to
> the previous broken in-core db layout. I just tested this locally now to
> make sure that's the case though, here's the session (on amd64 though,
> but it should be equivalent):

> [example session]

Closing now.

regards,
guillem


--- End Message ---

Reply via email to