Re: APT can't recognize Packages.gz?
On Thu, Jun 23, 2005 at 07:31:33PM -0500, Mr Mike wrote:
> On Fri, 2005-06-24 at 04:29 +1200, Chris Bannister wrote:
> > On Tue, Jun 21, 2005 at 04:53:25PM -0500, Mr Mike wrote:
> > 'apt-get update' updates the Packages.gz for source and binary depending
> > on your deb and deb-src lines in your sources.list file.
> > Is that machine hooked up to the net?
> >
> > I would cd (as root) to /directory/where/*debs/are then
> > apt-get update (just in case ;-)
>
> So.. running apt-get update in a dir full of binary *.deb package files
> creates a source for them? Why do you need dpkg-scanpackages then to
> greate the Packages.gz file?
No, you can be in any directory to 'apt-get update'. I could have said
apt-get update
cd to /directory/where/*debs/are
dpkg -i *deb
rm *deb
How did those *.deb package files get in that directory?
> > dpkg -i *deb then
> > rm *deb (unless you want to keep them, but why would you? :-)
Ok, what happens when you 'apt-get update'?
--
Chris.
======
Reply to: