Re: Help with module problems on Upgrade to 2.1
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)
More details below.
Thanks, as now apt-get is happy, and dselect, but samba won't
install.
I find this curious as you reported that your samba only had libc6 and
netbase dependencies; and I am surprised that anything ins 2.1 is libc5
dependent. Perhaps I have some old dselect files on the system from
pre-upgrade??
Thanks,
Greg
-------------------------------------
csgrg.root(504) >> apt-get
install samba
Updating package status cache...done
Checking system integrity...ok
E: Package samba has no installation candidate
csgrg.root(501) >> dselect
Debian Linux `dselect' package handling frontend.
--- Xtr net
samba 1.9.16p11-3
<none>
samba removed (configs
remain); remove (was: remove). Extra
samba - no description available.
description of samba
Package: samba
Status: deinstall ok config-files
Priority: extra
Section: net
Installed-Size: 1455
Maintainer: Klee Dienes <klee@debian.org>
Version: 1.9.16p11-3
Config-Version: 1.9.16p11-3
Depends: netbase (>= 2.02), ldso (>= 1.8.0-0), libc5 (>=
5.4.0-0), libpam0 (>= 0
csgrg.root(501) >> apt-get install samba
Updating package status cache...done
Checking system integrity...ok
E: Package samba has no installation candidate
csgrg.root(501) >> apt-get update
Get
http://http.us.debian.org
stable/contrib Packages
Get http://non-us.debian.org stable/non-US Packages
Get http://http.us.debian.org stable/main Packages
Get http://http.us.debian.org stable/non-free Packages
Updating package file cache...done
Updating package status cache...done
Checking system integrity...ok
csgrg.root(502) >> apt-get check
Updating package file cache...done
Updating package status cache...done
Checking system integrity...ok
csgrg.root(503) >> apt-get -f dist-upgrade
Updating package status cache...done
Checking system integrity...ok
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
csgrg.root(504) >> apt-get install samba
Updating package status cache...done
Checking system integrity...ok
E: Package samba has no installation candidate
--------------------------------------------------------
Dr. Gregory Guthrie
guthrie@mum.edu (515)472-1125 Fax: -1103
Computer Science Department
College of Science and Technology
Maharishi University of Management
(Maharishi International University 1971-1995)
--------------------------------------------------------
Reply to: