forcing APT-GET UPDATE to reget the package lists

Tomoki Taniguchi tomoki.taniguchi at gmail.com
Wed Jul 4 03:51:25 UTC 2007


i was looking for a way to force a reread of the package list
from each repository.  not for a way to force an upgrade of the
actual installed packages.



On 7/4/07, Alex Janssen <alex at ourwoods.org> wrote:
> 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)
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


-- 
Tomoki Taniguchi
SKYPE: taiyocable.com_taniguchi_tomoki
MSN: tomoki_taniguchi at hotmail.com
YAHOO: tomoki_taniguchi
AIM: tomoki taniguchi




More information about the ubuntu-users mailing list