Re: Help with module problems on Upgrade to 2.1
- To: Gregory Guthrie <email@example.com>
- Cc: "Oliver Elphick" <firstname.lastname@example.org>, debian-user <email@example.com>, Jean Pierre LeJacq <firstname.lastname@example.org>
- Subject: Re: Help with module problems on Upgrade to 2.1
- From: Bob Hilliard <email@example.com>
- Date: 01 Apr 2000 17:30:52 -0400
- Message-id: <firstname.lastname@example.org>
- 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 <email@example.com> <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org>
Gregory Guthrie <email@example.com> writes:
> At 12:11 PM 04/01/2000 -0400, Bob Hilliard wrote:
> >Gregory Guthrie <firstname.lastname@example.org> 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'
> -- 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
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.
|_) _ |_ Robert D. Hilliard <email@example.com>
|_) (_) |_) Palm City, FL USA PGP Key ID: A8E40EB9