[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt has wrong links



On Monday 17 July 2006 12:56, Chuckk Hubbard wrote:
> On 7/16/06, John O'Hagan <johnohagan@iprimus.com.au> wrote:
> > On Monday 17 July 2006 02:51, Chuckk Hubbard wrote:
> > [...]
> >
> > > Can anyone tell me just what the error messages I was getting to start
> > > with meant?
> > >
> > > ---------------------------------
> > > W: Couldn't stat source package list http://demudi.agnula.org
> > > demudi/main/updates Packages
> > > (/var/lib/apt/lists/demudi.agnula.org_packages_demudi_dists_demudi_main
> > >_upd ates_binary-i386_Packages) - stat (2 No such file or directory)
> > > ---------------------------------
> >
> > I think it means that a package-list file on your system is non-existent,
> > incomplete or corrupt, due to an interrupted download, a mirror problem,
> > filesystem corruption or whatever. It can normally be fixed by re-running
> > apt-get update. (Stat is a command which displays files.)
>
> Sorry to dwell on this, but- so it was looking for the files to match
> the URLs it was checking?  And when I hit "reload" it replaces the
> files...

I don't use synaptic so I don't know what "reload" means in that context, but 
as you probably know, synaptic is a front-end for apt-get, so I'll try to 
give my non-expert understanding of it, hoping that any apt-get gurus will 
correct my errors.

Each Debian-style mirror has a file called Packages which contains an up-to 
date list of packages available in that repository. When you do apt-get 
update, for each mirror in sources.list that file is copied into 
your /var/lib/apt/lists directory, overwriting any older files with the same 
name. Apt-get reads these files so it knows what it is looking for when doing 
installs. If a Packages file is not there or not right, you get an error like 
the one above. 

HTH,

John



Reply to: