Bug#722217: legacy304 also
Wendy J. Elmer
webe3vt at aim.com
Fri Dec 20 16:32:18 UTC 2013
On Fri, 2013-12-20 at 06:21 +0100, Andreas Beckmann wrote:>
I am running legacy304, so it is not just legacy173.I
cannot reproduce any of these bugs in chroots ...D
id anyone investigate what is failing in the preinst?
> Inserting 'set -x' instead of 'exit 0' into the preinst would be more
> helpful to debug this.
>
> There must be something being run from the libc6 preinst that
> (indirectly) links against libGL ... otherwise I see no way how to
> segfault in libnvidia-tls
>
>
> update-alternatives --confix glx
>
> and selecting mesa-diverted should allow the upgrade to succeed,
> afterwards run it once more and select auto again ...
>
>
> Andreas
I have done some testing and I have a sequence that can reproduce the
problem every time.
Note: I currently have and up to date system with libc6 at version
2.17-97:
1. In synaptic mark libc6 for re-installation.
2. synaptic will ask to mark libc6:i386 as a required change so I select
mark(this is an amd64 system).
3. click apply in synaptic
4. synaptic will say libc6 and libc6:i386 are to be re-installed
5. click on apply
6. the installation segfaults in the pre-installation script of
libc6_2.17-97_i386.deb (screenshot attached)
7. note at this point the system is broken and applications like emacs
do not work
8. build a lib6:i386 package with set -x in preinst and dpkg -i it.
9. segfaults on the line "+
exec /usr/share/debconf/frontend /var/lib/dpkg/tmp.ci/preinst upgrade
2.17-97"
10. run apt-get -f install
11. libc6:amd64 not fully installed or removed, apt-get -f install fixes
it
12. note emacs works again at this point and also dpkg -i of previously
segfaulting libc6:i386 also works without error
Note: if I try to reinstall libc6:i386 by itself from from synaptic,
there is no problem. The problem only occurs when reinstalling libc6 in
synaptic and it also marks libc6:i386 as required.
It is like it starts upgrading libc6 and gets the system in a weird
state when it tries to upgrade libc6:i386 and that fails and then the
whole system is broken.
I can reproduce the sequence over and over so let me know if any other
information would be useful.
Brent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20131220/3b0a3ef4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libc6_synaptic.png
Type: image/png
Size: 39775 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20131220/3b0a3ef4/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpkg_segfault.png
Type: image/png
Size: 339262 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20131220/3b0a3ef4/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apt_get_f.png
Type: image/png
Size: 321874 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20131220/3b0a3ef4/attachment-0005.png>
More information about the pkg-nvidia-devel
mailing list