Fw: need help purging

Scott Edwards supadupa at gmail.com
Wed Jun 18 09:59:54 MDT 2008


On Jun 16+18, 2008, Dr. Scott S. Jones <scott at fyrenice.com> wrote:
> I had installed, but never configured or run slapd a few months ago.
>
> Now, I want to upgrade my system to etch, but I run into the following
> issues when attempting this task:
> I need help figuring out how to get around these error messages.
>
> fyrenice:/home/scott/mydata/dox/fm# apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies.
>  slapd: Depends: libldap-2.3-0 (= 2.3.30-5) but 2.3.30-5+etch1 is installed
>  E: Unmet dependencies. Try using -f.
>  fyrenice:/home/scott/mydata/dox/fm# apt-get -f install
>  Reading package lists... Done
>  Building dependency tree... Done
>  Correcting dependencies...Done
>  The following extra packages will be installed:
>    slapd
>    The following packages will be upgraded:
>      slapd
>      1 upgraded, 0 newly installed, 0 to remove and 261 not upgraded.
>      17 not fully installed or removed.
>      Need to get 0B/1174kB of archives.
>      After unpacking 0B of additional disk space will be used.
>      Do you want to continue [Y/n]? Y
>      Reading changelogs... Done
>      Preconfiguring packages ...
>      Setting up libblkid1 (1.39+1.40-WIP-2006.11.14+dfsg-2etch1) ...
>
>      (Reading database ...
>      dpkg: serious warning: files list file for package `slapd' missing,
>      assuming package has no files currently installed.
>      193136 files and directories currently installed.)
>      Preparing to replace slapd 2.3.30-5 (using
>      .../slapd_2.3.30-5+etch1_i386.deb) ...
>      start-stop-daemon: stat /usr/sbin/slapd: No such file or directory (No
>      such file or directory)
>      dpkg: error processing
>      /var/cache/apt/archives/slapd_2.3.30-5+etch1_i386.deb (--unpack):
>       subprocess pre-installation script returned error exit status 2
>       Errors were encountered while processing:
>        /var/cache/apt/archives/slapd_2.3.30-5+etch1_i386.deb
>        E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I am just curious if you would know how I could purge slapd from my system
> and file lists so I can proceed?
>
> scott
> --
> "If you can't afford Prevention now, how will you afford disease later?"

The files list for slapd is missing. Try reinstalling slapd, then purge it.

reinstall: apt-get install --reinstall slapd
purge: apt-get remove --purge slapd

Also, the You might want to run 'apt-get -f install' to correct these.
 message isn't far off. most times it suggests that, it will work.

Good luck,


Scott Edwards



More information about the PLUG mailing list