LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

SOLUTION Re: [ILUG] Debian dpkg --configure fails

SOLUTION Re: [ILUG] Debian dpkg --configure fails

Michael Thompson michaelnt at gmail.com
Tue Feb 1 16:31:03 GMT 2005


On Tue, 1 Feb 2005 16:19:36 +0000, Michael Thompson <michaelnt at gmail.com> wrote:
> On Tue, 1 Feb 2005 16:07:56 +0000, John Madden <maddenj+ilug at skynet.ie> wrote:
> > On (01/02/05 15:36), Michael Thompson didst pronounce:
> > >
> > > Nope that doesn't work, when I run the install step it seems to
> > > remember that I have previously configure this package so doesn't ask
> > > me thoose questions again.
> > >
> > apt-get remove cacti && dpkg --purge cacti
> >
> > then re-install it. The --purge will remove all its config files, which
> > are sometimes kept after an uninstall.
> 
> No the post removal script fails.
> 
> Purging configuration files for cacti ...
> ERROR 1045: Access denied for user: 'root at localhost' (Using password: YES)
> dpkg: error processing cacti (--purge):
>  subprocess post-removal script returned error exit status 1
> Errors were encountered while processing:
>  cacti
> 
> Looking at the script, /var/lib/dpkg/info/cacti.postrm where are the

I edited the /var/lib/dpkg/info/cacti.postrm script to remove the
mysql commands and then the dpkg --purge worked but I'd still like to
know where the answers to the configuration questions get saved?

Thanks, Michael



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell