Re: Help with module problems on Upgrade to 2.1
- To: Gregory Guthrie <guthrie@mum.edu>
- Cc: "Oliver Elphick" <olly@lfix.co.uk>, debian-user <debian-user@lists.debian.org>, Jean Pierre LeJacq <jplejacq@quoininc.com>
- Subject: Re: Help with module problems on Upgrade to 2.1
- From: Bob Hilliard <hilliard@flinet.com>
- Date: 01 Apr 2000 17:30:52 -0400
- Message-id: <[🔎] 873dp5mrub.fsf@bobspc.flinet.com>
- In-reply-to: Gregory Guthrie's message of Sat, 01 Apr 2000 14:12:16 -0600
- References: <Gregory Guthrie's message of Fri, 31 Mar 2000 19:50:28 -0600> <Gregory Guthrie's message of Fri, 31 Mar 2000 11:49:13 -0600> <Gregory Guthrie's message of Thu, 30 Mar 2000 11:27:01 -0600> <Message from Gregory Guthrie <guthrie@mum.edu> <4.2.2.20000329194703.00a9bec0@mail.mum.edu> <4.2.2.20000330111956.00a9c100@mail.mum.edu> <4.2.2.20000331114625.00a9d460@mail.mum.edu> <4.2.2.20000331194445.00a98e50@mail.mum.edu> <[🔎] 4.2.2.20000401140518.00aa0d30@mail.mum.edu>
Gregory Guthrie <guthrie@mum.edu> writes:
> At 12:11 PM 04/01/2000 -0400, Bob Hilliard wrote:
> >Gregory Guthrie <guthrie@mum.edu> writes:
> > > Bob, thanks for the help.
> >- again!
> > > But, how does one probe into the details of:
> > > "subprocess pre-removal script returned error exit status"?
> >
> > You can look at the prerm script with `less
> >/var/lib/dpkg/info/samba.prerm'. If you can see a line in the script
> >that appears to be causing the problem, you can comment it out. If
> >you can't see the cause of the problem, you could insert `exit 0' at
> >the top of the script. Then try `dpkg --force-depends -r samba'
> >again.
> -- I checked the file, and found out that the problem is (was) that the
> pre-rm script was trying to stop two daemons, neither of which was running,
> so it would exit(1), and nothing else would work. This seems like an
> install error to me, if the daemons are not running it is OK to remove it.
>
> Anyway, I added the -oknodo to the stop commands, and then it removed fine.
> But now I cannot re-install it.
>
> Then, dselect to install samba reports that there is a dependency problem,
> that Samba depends on libpam0 (>=0.56-1)
> but libpam0 does not exist.
> (I am using a 2.1 CDROM)
It sounds like the samba on the CD has bad dependencies, or the
library versions changed between when that samba was built and when
the CD was made.
I think your best bet is to download the current slink version of
samba. At the present, that is 2.0.5a-1. It depends on samba-common
and libc6.
The apt-get update messages you quote indicate you have
http.us.debian.org in sources.list, but you say you are using the 2.1
CD. If you have the mirror in /etc/apt/sources.list, and are still on
line when you do apt-get install samba, apt should download samba and
samba-common, and then install them. Since you have removed the old
samba, apt-get update would not retrieve the samba packages.
Bob
--
_
|_) _ |_ Robert D. Hilliard <hilliard@flinet.com>
|_) (_) |_) Palm City, FL USA PGP Key ID: A8E40EB9
Reply to: