You are not logged in.

#1 2017-10-10 18:50:14

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

[SOLVED] apt-get -download doesn't work

Anyone have an idea why this isn't working:

apt-get man page:

−d, −−download−only
Download only; package files are only retrieved, not unpacked or installed. Configuration Item:
APT::Get::Download−Only.

Sample:

 10 Oct 17 @ 15:45:58 ~
   $ sudo apt-get -d conky-all
E: Command line option 'd' [from -d] is not known.
 
 10 Oct 17 @ 15:48:19 ~
   $ sudo apt-get --download-only conky-all
E: Command line option --download-only is not understood
 
 10 Oct 17 @ 15:48:41 ~
   $ 

Last edited by Sector11 (2017-10-12 04:54:44)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2 2017-10-10 19:12:17

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] apt-get -download doesn't work

Try:

apt-get download conky-all

If you need more, add some deb-src lines to /etc/apt/sources.list and use:

apt-get source conky-all

Offline

#3 2017-10-11 09:22:08

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] apt-get -download doesn't work

Or:

$ sudo apt-get -d install conky-all

Basically, you pretend to install package, and then instruct apt-get to download it, only.

Beware: there is however difference between this '-d' command and 'download' command above by HoaS: his variant will download only conky-all package, into the current dir. My variant will download both conky-all, and all packages on which conky-all depends (if any), into the '/var/cache/apt/archives' directory.

Last edited by iMBeCil (2017-10-11 09:52:13)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#4 2017-10-12 04:46:30

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: [SOLVED] apt-get -download doesn't work

−d and −−download−only are options. They need to be used along with some command.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#5 2017-10-12 04:54:01

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] apt-get -download doesn't work

iMBeCil wrote:

Or:

$ sudo apt-get -d install conky-all

Basically, you pretend to install package, and then instruct apt-get to download it, only.

Beware: there is however difference between this '-d' command and 'download' command above by HoaS: his variant will download only conky-all package, into the current dir. My variant will download both conky-all, and all packages on which conky-all depends (if any), into the '/var/cache/apt/archives' directory.

johnraff wrote:

−d and −−download−only are options. They need to be used along with some command.

Thank you gentlemen that works just fine.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#6 2017-10-12 06:20:24

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] apt-get -download doesn't work

you're elcome Sector, glad to help.


Postpone all your duties; if you die, you won't have to do them ..

Offline

Board footer

Powered by FluxBB