<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Matthew Flaschen wrote:
<blockquote cite="mid468B1D96.5020400@gatech.edu" type="cite">
<pre wrap="">David Vincent wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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...
</pre>
</blockquote>
<pre wrap=""><!---->
>From where? You've hidden the repository list, not the downloaded
packages lists.
</pre>
</blockquote>
The question was: <br>
<pre wrap="">> is there a way to force apt-get update
<span class="moz-txt-citetags">> </span>to reget a package list even if it thinks
<span class="moz-txt-citetags">> </span>it's the same one that it has previously downloaded?
The commands I suggested will (ungracefully) force APT to delete its already downloaded lists of packages available from each repo and then download them again. Yes, I hid the repo list but if you take a look at the second last line I then un-hide it again.
-d
</pre>
</body>
</html>