Bug#764248: apt-offline man concludes with incorrect recommendations

2014-10-07 Thread Ritesh Raj Sarraf

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."



Bug#764248: apt-offline man concludes with incorrect recommendations

2014-10-06 Thread Thibault, Daniel
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).