Magnus,

Thanks very much for looking at this issue as it affected an unpredictable 
number of applications after a seemingly innocent
addition of libnettle6.

I don't recall any other packages being removed or upgraded when I removed 
libnettl4 (as I had just done an
apt-get upgrade so there were no newer candidates). apt-cache rdepends 
libnettle4 shows no packages.

This is a brief snapshot of package changes when I removed libnettle4:

2015-06-16 21:58:18 status installed libarchive12:i386 3.0.4-3+nmu1
2015-06-16 21:58:19 remove libgnutls28:i386 3.2.15-1 <none>
2015-06-16 21:58:19 status installed libgnutls28:i386 3.2.15-1
2015-06-16 21:58:20 status installed libc-bin:i386 2.19-18
2015-06-16 21:58:22 upgrade dnsmasq-base:i386 2.72-3 2.72-3.1+b1
2015-06-16 21:58:24 upgrade librtmp1:i386 2.4+20150115.gita107cef-1 
2.4+20150115.gita107cef-1+b2
2015-06-16 21:58:26 upgrade rtmpdump:i386 2.4+20150115.gita107cef-1 
2.4+20150115.gita107cef-1+b2
2015-06-16 21:58:29 status installed dbus:i386 1.8.18-1
2015-06-16 21:58:29 status installed man-db:i386 2.7.0.2-5
2015-06-16 21:58:30 status installed libhogweed2:i386 2.7.1-5
2015-06-16 21:58:31 remove libhogweed2:i386 2.7.1-5 <none>     
<<<<<<<<<<<<<<<<<<<<<<
2015-06-16 21:58:32 status installed libc-bin:i386 2.19-18
2015-06-16 21:58:33 upgrade wget:i386 1.16.3-2 1.16.3-2+b2
2015-06-16 21:58:36 upgrade gstreamer1.0-plugins-bad:i386 1.4.5-2 1.4.5-2+b1
2015-06-16 21:58:39 upgrade libgstreamer-plugins-bad1.0-0:i386 1.4.5-2 
1.4.5-2+b1
2015-06-16 21:58:41 upgrade libarchive13:i386 3.1.2-11 3.1.2-11+b1
2015-06-16 21:58:43 status installed man-db:i386 2.7.0.2-5
2015-06-16 21:58:47 status installed install-info:i386 5.2.0.dfsg.1-6
2015-06-16 21:58:48 status installed libnettle4:i386 2.7.1-5
2015-06-16 21:58:49 remove libnettle4:i386 2.7.1-5 <none>            
<<<<<<<<<<<<<<<<
2015-06-16 21:58:50 status installed libc-bin:i386 2.19-18


thanks,
     Jack Shaio

--------------------------------------------
On Mon, 6/22/15, Magnus Holmgren <holmg...@debian.org> wrote:

 Subject: Re: Bug#789119: libnettle6 install leaves libnettle4, causing 
segfaults on many applications
 To: "js" <jsh...@yahoo.com>, 789...@bugs.debian.org
 Date: Monday, June 22, 2015, 1:26 PM
 
 onsdagen den 17 juni 2015 21.07.40
 skrev  js:
 > I did an apt-get upgrade of my system which brought in
 libnettle6 but
 > did not remove the existing libnettle4. After this
 upgrade, many
 > applications including curl, opera-developer,
 claws-mail and amarok gave
 > segfaults in libnettle.so.4.7, when they had been
 working very well
 > before the upgrade (set portion of /var/log/messages
 below).
 
 Installing a new SOversion of a library normally doesn't
 cause the old 
 SOversion to be deinstalled. libnettle4 merely existing on
 the system cannot 
 cause the segfaults; if it is loaded it's because something
 is linked with it. 
 
 > After removing libnettle4, all these applications work
 perfectly again.
 
 Did removing libnettle4 not cause any other package to be
 removed or upgraded?
 
 > I saw that other libnettle bugs that reported this
 behavior on specific
 > applications, like bugs 788349 and 788572, recommend
 updating the
 > affected packages. But the applications above that
 segfaulted in my
 > system were all at their latest version for debian
 testing, so this is
 > not a practical solution.
 
 Note that it's not enough that the applications that crash
 are the latest 
 version; the problem likely is that one of the intermediate
 libraries are not 
 upgraded and still use libnettle4.
 
 > One solution that would have avoided this issue is if
 installing libnettle6
 > caused an existing version of libnettle4 to be removed,
 for example by
 > making libnettle6 replace/conflict with libnettle4.
 Removing libnettle4
 > worked with all the applications that segfaulted in my
 system.
 
 As noted, that shouldn't technically be necessary, but we
 may have to do it 
 anyway to help the users. Now libgnutls-deb0-28, which is
 the most common 
 culprit, has been made to conflict with libnettle4 and
 libhogweed2.
 
 -- 
 Magnus Holmgren        holmg...@debian.org
 Debian Developer


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to