forcing APT-GET UPDATE to reget the package lists

Alex Janssen alex at ourwoods.org
Wed Jul 4 02:35:56 UTC 2007


Tomoki Taniguchi said the following on 07/03/2007 09:51 PM:
> is there a way to force apt-get update
> to reget a package list even if it thinks
> it's the same one that it has previously downloaded?
>
> and also also where is the downloaded package list
> stored on the system?
>
> TIA,
> Tomoki
>
>   
Try reading the man page for apt-get.  i.e.; man apt-get
Files are listed near the end.
Maybe something like ...

sudo apt-get check
-check is a diagnostic tool; it updates the package cache and checks for 
broken dependencies.

sudo apt-get clean
-clean clears out the local repository of retrieved package files.  Thus 
it would have to be downloaded to be reinstalled.

sudo apt-get --re-install install <pkgname>
-reinstalls the package pkgname

Read the man page first.

-- 
Ourwoods.org
 If you can't enjoy yourself, enjoy somebody else. - Anonymous (229)





More information about the ubuntu-users mailing list