Re: cups and samba stop working after upgrade to etch
On Mon, Apr 23, 2007 at 17:00:03 -0400, Bill Shofner wrote:
> > >>>>> On Fri, Apr 20, 2007 at 11:25:26 -0400, Bill Shofner wrote:
> >
> > After upgrading my sarge box to etch, I cannot print and samba no
> > longer works. When I re-boot I get the following message from root:
> >
> > The Samba 'panic action' script, /usr/share/samba/panic-action, was
> > called for PID 2540 (/usr/sbin/smbd).
[...]
> L550r:/home/bill# aptitude install -f
> Reading package lists... Done
> Building dependency tree... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> Reading task descriptions... Done
> Building tag database... Done
> The following packages are BROKEN:
> alsaplayer alsaplayer-common balsa dirmngr foomatic-db-hpijs
> foomatic-filters-ppds g-wrap gksu gnome-bin gnucash gnupg2 gpgsm
> gstreamer0.10-plugins-base gstreamer0.10-plugins-good
> gstreamer0.10-plugins-ugly guile-1.6-dev guile-1.6-slib guile-library
> hpijs-ppds kdemultimedia-kfile-plugins kfax kommander libakode2
> libasound2-plugins libavcodec0d libavcodeccvs51 libegroupwise6 libft-perl
> libglade-gnome0 libglade0 libgnomeprint-bin libgnomeprint15 libgnomeui32
> libgnorba27 libmime-perl libofx1 libopensc1 libpt-plugins-avc
> libpt-plugins-dc libxine1 mplayer xscreensaver-gl
[ snip: lots of library dependency problems ]
> Score is -1616
>
> Accept this solution? [Y/n/q/?] y
> The following packages will be REMOVED:
> alien alsaplayer-esd cupsomatic-ppd debhelper debian-reference-common
> debian-reference-en dfontmgr flashplayer-mozilla gcc-3.3-doc gcc-3.4-doc
> gconf gnome-audio hwdata intltool-debian libbonobo2 libdirectfb-0.9-20
> libdivxdecore0 libefs1 libgal2.2-1 libgal2.2-common libgal23 libgconf11
> libgdk-pixbuf-gnome2 libghttp1 libglade-perl libgnome-vfs-common
> libgnome-vfs0 libgnome2-doc libguppi16 libgwrapguile1 libimlib2
> libkpathsea3 liboaf0 libofx0c102 libopenct0 libsqlite0
> libswt-mozilla3-java libswt-mozilla3-jni libsysfs1 libt1-5 libwww0 oaf
> po-debconf realplayer samba-doc ttf-freefont w32codecs webmin
> webmin-inetd
> 0 packages upgraded, 0 newly installed, 49 to remove and 0 not upgraded.
> Need to get 0B of archives. After unpacking 116MB will be freed.
> Do you want to continue? [Y/n/?] y
Keep a copy of this list. You should try to reinstall these packages
once your system is fixed. (Only the ones that are not "lib..."; the
libraries should be installed automatically). I have the feeling that
the dependency problems were caused by debian-multimedia stuff. Please
post your full /etc/apt/sources.list.
[ snip: the packages are removed ]
> L550r:/home/bill# aptitude search '~b'
> L550r:/home/bill#
>
> The above 2 lines seem to indicate that the broken packages have been fixed
> or removed,
Just to be clear: Something like that should never happen for an upgrade to the
next stable Debian release. We have to figure out where it went wrong.
Unfortunately I cannot tell if the underlying problem is also responsible for
your samba troubles.
> so I did:
>
> L550r:/home/bill# aptitude purge samba
[ snip: seems to go well ]
> L550r:/home/bill# aptitude install samba
[...]
> Setting up samba (3.0.24-6) ...
> Generating /etc/default/samba...
> Starting Samba daemons: nmbd smbd.
>
> Since the smbldap-tools package was recommended I decided to install it.
>
> L550r:/home/bill# aptitude install smbldap-tools
[...]
> The following NEW packages will be installed:
> libconvert-asn1-perl libcrypt-smbhash-perl libdigest-md4-perl
> libdigest-sha1-perl libio-socket-ssl-perl libjcode-pm-perl
> libnet-ldap-perl libunicode-map-perl libunicode-map8-perl
> libunicode-maputf8-perl libunicode-string-perl smbldap-tools
> 0 packages upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
[ snip: all seems to go well ]
> Since there was no error message when samba was re-installed and
> re-started, I hoped samba was OK, but that is not the case - got this mail
> message again:
[...]
> The Samba 'panic action' script, /usr/share/samba/panic-action,
> was called for PID 8977 (/usr/sbin/smbd).
>
> This means there was a problem with the program, such as a segfault.
> Below is a backtrace for this process generated with gdb, which shows
> the state of the program at the time the error occurred. The Samba log
> files may contain additional information about the problem.
>
> If the problem persists, you are encouraged to first install the
> samba-dbg package, which contains the debugging symbols for the Samba
> binaries. Then submit the provided information as a bug report to
> Debian. For information about the procedure for submitting bug reports,
> please see http://www.debian.org/Bugs/Reporting or the reportbug(1)
> manual page.
>
> (no debugging symbols found)
> Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> [Thread debugging using libthread_db enabled]
> [New Thread -1212938560 (LWP 8977)]
> 0xb7f6d410 in ?? ()
> #0 0xb7f6d410 in ?? ()
> #1 0x00000001 in ?? ()
> #2 0x00000000 in ?? ()
What is the output of "apt-cache policy libc6"? (I don't remember if we
checked this one already.)
Also, I am starting to wonder if this could be related to bug #389494.
One more thing to try is to get rid of samba completely:
aptitude --purge-unused purge samba samba-common smbclient webmin-samba smbldap-tools
and then to reinstall only these packages:
aptitude install samba samba-common smbclient
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Reply to: