[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with module problems on Upgrade to 2.1



Bob, thanks for the help.

I tried it, to little avail.

(session below). I can't tell if
1) just better tool usage is needed,
2) my configuration is broken, and if so how to recover,
3) the tools are broken (less likely..)

But, how does one probe into the details of:
  "subprocess pre-removal script returned error exit status"?

Any more ideas, I'm stuck!

Greg


csgrg.root(501) >> dpkg -r samba
(Reading database ... 15436 files and directories currently installed.)
Removing samba ...
dpkg: error processing samba (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 samba

csgrg.root(503) >> dpkg --force-depends -r samba
(Reading database ... 15436 files and directories currently installed.)
Removing samba ...
dpkg: error processing samba (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 samba
csgrg.root(504) >> exit

csgrg.root(501) >> apt-get check
Updating package file cache...done
Updating package status cache...done
Checking system integrity...dependency error
Checking system integrity...dependency error
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages are broken - this means they have unmet
dependencies:
  samba: Depends:libpam0



At 03:58 PM 03/31/2000 -0500, Bob Hilliard wrote:
Gregory Guthrie <guthrie@mum.edu> writes:
> At 02:19 PM 03/30/2000 -0500, Bob Hilliard wrote:
> >Gregory Guthrie <guthrie@mum.edu> writes:
> >
> > > I took a new CDrom (2.1) and did re-deselect, which did a lot of upgrades
> > > to various stuff.
> > >
> >...
> > >   dependency problems - not removing
> > > Errors were encountered while processing:
> > >   samba
> > >   libpam0
> > >   libpam-util
> >
> >      Try `dpkg --force-depends --purge libpam0 libpam-util', then do
> >apt-get install samba
> -- Bob, thanks, I tried it, and now get: (see below).

     It looks like you got rid of libpam0 and libpam-util.  apt-get is
picky about having a broken system, but dpkg is less so, especially
with the forcing options.  You might try dpkg -i <path>samba* (unlike
apt, dpkg requires a full pathname to the .deb for installation, but
just the package name for purge, remove, or configure).

     I don't have a recent slink Packages file.  In the one I have,
samba has no dependencies other than netbase and libc6.  If that is no
longer true, it should tell you what dependencies it needs.  You can
append them to the dpkg command line above.

     It might be necessary to remove samba with `dpkg -r samba'.  If
dpkg refuses, try ` dpkg --force-depends -r samba'.  If this doesn't
work look at `dpkg --help' and `dpkg --force-help' for other
possibilities. 

     After samba is removed, `apt-get install samba' should work,
automatically installing any missing dependencies. 
 
Bob
--
   _
  |_)  _  |_       Robert D. Hilliard    <hilliard@flinet.com>
  |_) (_) |_)      Palm City, FL  USA    PGP Key ID: A8E40EB9

--------------------------------------------------------
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)
        http://www.mum.edu/cs_dept
--------------------------------------------------------
Reply to: