Control: tag -1 +moreinfo

On Tuesday 07 October 2014 01:23 AM, Thibault, Daniel wrote:

I’m trying to use apt-offline on a fresh Beagle Bone Black (rev C). I imported the apt-offline_1.5_all.deb and installed it (using ‘sudo dpkg -i <path>/apt-offline_1.5_all.deb’). It generates signature files just fine, but when I try to install the packages into the apt cache (using ‘sudo apt-offline install <path>’), I run into a series of errors. If importing from a directory, the errors are (one for each <package>.deb in the directory):

ERROR: I couldn’t understand file type <package>.deb.

If I try to import a single package, the error becomes:

ERROR: File <path>/<package>.deb is not a valid zip file

The Beagle Bone Black Debian Wheezy installation has tar, ar, dpkg, apt, but not unzip, so I thought maybe this was what was missing. But after installing unzip manually (‘dpkg -i unzip_6.0-8_armhf.deb’), apt-offline still fails in exactly the same way. Adding a --verbose flag sheds no light, as it merely adds this output line:

VERBOSE: Namespace(allow_unauthenticated=False, func=<function installer at 0x4df0f0>, install=’...all.deb’, install_src_path=None, simulate=False, skip_bug_reports=False, verbose=True)


Can you provide the full log ? From the snippet of the verbose log, it looks like you provided it the full path to the actual deb. You are either required to give access to the directory path containing the debs, or give path to the .zip archive file name.

As for the unizp tool, apt-offline acts on the .zip archive using python libraries and not the unzip binary.

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

Reply via email to