[mythtv-users] HELP! Unable to remove apcd package ubuntu edgy.

Michael MacLeod mikemacleod at gmail.com
Thu May 10 19:43:24 UTC 2007


"Stopping APC Smart UPS Daemon: apcdinvoke-rc.d: initscript apcd, action
"stop" failed."

Looks to me like it may not be able to stop the daemon, and this isn't
prepared to remove the package. Check out that pre-removal script and
see what it does and why it's failing. I forget where in /var the
scripts are kept, but they're in there somewhere. If it's failing for
a silly reason you can just alter the script and it'll go.

On 5/10/07, William Munson <william_munson at bellsouth.net> wrote:
> David Campbell wrote:
> > William Munson wrote:
> >
> >> I mistakenly installed the apcd package from ubuntu universe and now
> >> need to remove it however apt-get gives me an error when trying to
> >> remove it. Now I am unable to install the correct package to
> >> control/monitor my APC ups supply. HELP!!!!!!!
> >>
> >> I even tried to force the removal with no luck. What can I do other than
> >> erase the drive and start over?
> >>
> >
> > what is the error?
> >
>
> That would help wouldn't it?
>
> root at mythtv:/dev/mapper# apt-get -f remove apcd
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer
> required:
>   apcd
> Use 'apt-get autoremove' to remove them.
> The following packages will be REMOVED:
>   apcd
> 0 upgraded, 0 newly installed, 1 to remove and 18 not upgraded.
> Need to get 0B of archives.
> After unpacking 127kB disk space will be freed.
> Do you want to continue [Y/n]?
> (Reading database ... 165000 files and directories currently installed.)
> Removing apcd ...
> Stopping APC Smart UPS Daemon: apcdinvoke-rc.d: initscript apcd, action
> "stop" failed.
> dpkg: error processing apcd (--remove):
>  subprocess pre-removal script returned error exit status 1
> Starting APC Smart UPS Daemon: apcd.
> Errors were encountered while processing:
>  apcd
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> root at mythtv:/dev/mapper#
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


More information about the mythtv-users mailing list