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

Re: Easy way to downalod .deb files?



>>>>> "Grant" == Grant Edwards <grante@visi.com> writes:

Grant> Is there a simple way to download .deb files from the archive?  I
Grant> tried using "apt-get --download-only install foboar" (or someting
Grant> like that, don't have a Debian system handy right now).  But,
Grant> apt-get refused to download the package since it was already
Grant> installed.  I don't want to install the package, just download
Grant> it.

Try adding --reinstall to your command line, and see if that works.

Grant> I know I can search through the package listing cache and find
Grant> the http/ftp path, but I was hoping there was a method that would
Grant> more easily lend itself to automation.

apt-cache show <package>

Look for the "filename" field, which will be a relative filename (I'm
not entirely sure relative to what, but it shouldn't be too hard to
figure out).

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

Attachment: pgpIlIHSl50Ep.pgp
Description: PGP signature


Reply to: