forcing APT-GET UPDATE to reget the package lists
David Vincent
dvincent at sleepdeprived.ca
Wed Jul 4 03:42:35 UTC 2007
Tomoki Taniguchi wrote:
> 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?
>
sudo mv /etc/apt/sources.list /etc/apt/sources.list.backup
sudo touch /etc/apt/sources.list
sudo apt-get update
sudo rm /etc/apt/sources.list
sudo mv /etc/apt/sources.list.backup /etc/apt/sources.list
sudo apt-get update
...will delete any downloaded lists you have and force apt to go out and
download the latest copies...
> and also also where is the downloaded package list
> stored on the system?
>
http://www.debian.org/doc/manuals/apt-howto/index.en.html#contents
...might help.
-d
More information about the ubuntu-users
mailing list