multiarch symlink not present in fresh installs

Bug #727106 reported by Colin Watson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Fix Released
Undecided
Unassigned
Natty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: dpkg

The /var/lib/dpkg/info/$(dpkg --print-architecture) compatibility symlink is only present on upgraded systems, and is missing on fresh installs. I believe we should have it consistently in both situations.

Tags: multiarch

Related branches

Martin Pitt (pitti)
Changed in dpkg (Ubuntu Natty):
milestone: none → natty-alpha-3
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dpkg - 1.16.0~ubuntu2

---------------
dpkg (1.16.0~ubuntu2) natty; urgency=low

  * Install multiarch symlink in /var/lib/dpkg/info on fresh installs as
    well as upgrades (LP: #727106).
 -- Colin Watson <email address hidden> Tue, 01 Mar 2011 11:35:07 +0000

Changed in dpkg (Ubuntu Natty):
status: New → Fix Released
Revision history for this message
Steven Shiau (stevenshiau) wrote :

There is still an issue, i.e. no multiarch symlink in /var/lib/dpkg/info when doing a fresh debootstrap.
How to reproduce the problem:
LANG=C debootstrap --verbose --arch=i386 --include=sysv-rc natty natty-chroot http://archive.ubuntu.com/ubuntu

# ls -alFh natty-chroot/var/lib/dpkg/info
total 26K
drwxr-xr-x 3 root root 104 Mar 7 15:33 ./
drwxr-xr-x 7 root root 472 Mar 7 15:34 ../
-rw-r--r-- 1 root root 0 Mar 7 15:33 dpkg.list
drwxr-xr-x 2 root root 26K Mar 7 15:33 i386/

The version of dpkg:
# sudo chroot natty-chroot/ dpkg -l dpkg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii dpkg 1.16.0~ubuntu3 Debian package management system

Steven.

Revision history for this message
Steve Langasek (vorlon) wrote :

This has been addressed by a new upload of debootstrap, 1.0.28ubuntu1, which installs this symlink for you. This debootstrap is also available in the lucid-backports and maverick-backports repositories.

Note that, in discussion with upstream, it is expected that the need for this symlink will disappear with the next upload of dpkg in the near future, in response to concerns raised that this layout will cause problems for upgrades in certain cases. Care will be taken at the time of that upload to ensure a smooth upgrade for users who have installed the current natty dpkg, whether they have /var/lib/dpkg/info/$arch as a symlink or a directory.

Revision history for this message
Steven Shiau (stevenshiau) wrote :

Got it. Thanks.

tags: added: multiarch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.