ld.so.conf prevents libc6 from upgrading in a 32-bit chroot on amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
When I upgrade libc6 on my amd64 host, I get following message:
These libraries were found in /var/chroot/
libc.so.6
libdl.so.2
libm.so.6
libpthread.so.0
librt.so.1
Another copy of the C library was found via /etc/ld.so.conf.
It is not safe to upgrade the C library in this situation;
please remove the directory from /etc/ld.so.conf and try again.
I need /var/chroot/
and run ia32 applications. Every libc6 upgrade I have to remove this path from
ld.so.conf and add it back when upgrade is finished. Could you add a dialog "Are
you sure that it is OK to go on?" with default answer "No!" when you find
another copy of libc6?
May be, you can check that this "another copy of the C library" is not amd64
library?
Changed in glibc: | |
assignee: | jbailey → nobody |
That error is produced by the libc6 preinst script dpkg/info/ libc6.preinst) around line 135.
(/var/lib/
It does actually check to see if the ld.so.conf paths begin with /emul/ which
appears to be related to ia64.
So, you could symlink /emul/ to your chroot and change the ld.so.conf paths.
libc upgrades will then work.