[Wlug] APT install question

Aaron Haviland orion at parsed.net
Sat Dec 30 14:50:10 EST 2006


Andy Stewart wrote, on Dec 30, 2006 at 12:30 EST:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mike Perry wrote:
> > Hmmm weird. I just tried to install cpufrequtils on my box and I didn't
> > run into that problem. Sounds like a fluke to me. Try deleting the
> > package from the cache '/var/cache/apt/archives' and reinstalling as
> > Aaron detailed.
> 
> HI guys,
> 
> Thanks for the helpful suggestions.
> 
> 1) I have modified my /etc/apt/sources.list - it is not the standard one
> from Kubuntu.  Most of what I wanted to install couldn't be found with
> the standard list, so I updated it with some automated website I found
> via google.

It might be worth it to track down which archive the package is being
downloaded from... you won't know where to send a bug report to
otherwise!

> 2) I deleted the package from the /var/cache/apt/archives directory and
> attempted a reinstall after I ran apt-get update.  Version 002-1 was
> downloaded and the problem recurred.
> 
> 3) I googled for "cpufrequtils debian" and found version 002-2 of the
> package, which I manually downloaded and installed.  It noticed the
> missing /etc/init.d/cpufrequtils file and it asked me if I wanted to
> install a new one.  I did, and now all seems to be fixed.
> 
> 4) When I apt-get remove the cpufrequtils package, it does not delete
> the /etc/init.d/cpufrequtils file - this is strange - I expected it to
> delete any/all files related to the package.   This is true in both
> versions of the package.

dpkg allows for various states of package removal. Just removing the
package will not touch conffiles (or is it config files? There's a
distinction between the two terms). If you "apt-get remove --purge
$PACKAGE" the package it will delete those as well. If you've already
removed it, you must run "dpkg --purge $PACKAGE" to purge the conffiles
(or is it config files?) as APT will complain that the package is
already removed.

-- 
Aaron Haviland                                 cell:  [617] 947 - 3629
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.wlug.org/pipermail/wlug/attachments/20061230/ab562b86/attachment.bin 


More information about the Wlug mailing list