On Monday 06 October 2014 09:31 PM, Thibault, Daniel wrote:

Package: apt-offline

Version: 1.5

The apt-offline man pages conclude with :

NOTE: On a freshly installed box, that was installed without

the network, the package database is null. In that case, you

first need to run apt-offline with just the --update option to

ensure that you have a meaningful package database

However, if one tries to follow these instructions, this happens:

$ sudo apt-offline --update

usage: apt-offline [-h] [--verbose] [--simulate] [-v] {set,get,install} ...

apt-offline: error: too few arguments

The “freshly installed box” (a Beagle Bone Black) does have a seeded /var/lib/apt/lists (with *_Packages, *_Packages.gz, *_Release, *_Release.gpg, and *_Translation-en files).


Ummm... You need to run the --update option along with the 'set' command. The final resultant will be:

$ sudo apt-offline set /tmp/set.uris --update


--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Reply via email to