#764273 apt-offline missing a dependency?

#764273#5
Date:
2014-10-06 19:53:15 UTC
From:
To:
Version: 1.5

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)

#764273#10
Date:
2014-10-07 08:39:27 UTC
From:
To:
Control: tag -1 +moreinfo

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.

#764273#17
Date:
2014-10-07 13:33:06 UTC
From:
To:
   According to dpkg-query, the following python packages are installed:

libpython2.7
python
python-apt
python-apt-common
python-cairo
python-chardet
python-configobj
python-dbus
python-dbus-dev
python-debian
python-gi
python-glade2
python-gnupginterface
python-gobject
python-gobject-2
python-gtk2
python-minimal
python-notify
python-numpy
python-opencv
python-pip
python-pkg-resources
python-pycurl
python-serial
python-setuptools
python-support
python-urwid
python-wicd
python2.6
python2.6-minimal
python2.7
python2.7-dev
python2.7-minimal

   Additionally, the following package is merely unpacked:

python-software-properties

   So what is missing?  Could it be python-packagekit?

Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
RDDC - Centre de recherches de Valcartier | DRDC - Valcartier Research Centre
2459 route de la Bravoure
Québec QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ<http://www.travelgis.com/map.asp?addr=918V%20QSDJ> <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada | Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>

#764273#22
Date:
2014-10-08 10:25:42 UTC
From:
To:
I cannot reproduce this problem.


15:52:59 rrs@learner:~$ apt-offline get /tmp/set.uris

Fetching APT Data

Downloading icewm-common 1.3.8-1 - 295 KiB
icewm-common 1.3.8-1 done.
Downloading icewm 1.3.8-1 - 414 KiB
icewm 1.3.8-1 done.

Downloaded data to /tmp/apt-offline-downloads-10493

15:53:51 rrs@learner:~$ sudo apt-offline install
/tmp/apt-offline-downloads-10493
/var/cache/apt/archives/icewm_1.3.8-1_amd64.deb file synced.
/var/cache/apt/archives/icewm-common_1.3.8-1_amd64.deb file synced.

15:54:12 rrs@learner:~$ apt-offline --version
1.5

#764273#27
Date:
2014-10-08 13:51:31 UTC
From:
To:
Envoyé : 8 octobre 2014 06:26
   Yeah, it seems to be very specific to the http://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone47/ Debian Wheezy image used for the BeagleBone Black rev. C.  Please list the python packages your test system(s) have installed, so I can try to identify the missing one(s). I'm hoping this is all it will take to fix this.

Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
RDDC - Centre de recherches de Valcartier | DRDC - Valcartier Research Centre
2459 route de la Bravoure
Québec QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ<http://www.travelgis.com/map.asp?addr=918V%20QSDJ> <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada | Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>

#764273#32
Date:
2014-10-09 07:27:02 UTC
From:
To:
Whatever is required is already a dependency, and is mentioned in the
package's dependency relation. Are you using the official package, or
the source ?

#764273#37
Date:
2014-10-09 13:02:19 UTC
From:
To:
Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
RDDC - Centre de recherches de Valcartier | DRDC - Valcartier Research Centre
2459 route de la Bravoure
Québec QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
[Valcartier]\\vsi-wdut-o980, [Valcartier]\\edge
NAC : 918V QSDJ<http://www.travelgis.com/map.asp?addr=918V%20QSDJ> <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada | Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>

#764273#42
Date:
2014-10-09 13:19:29 UTC
From:
To:
Well. In that case I'm not sure where the problem might be. You will
have to narrow it down yourself.

#764273#47
Date:
2014-10-09 13:23:50 UTC
From:
To:
Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
RDDC - Centre de recherches de Valcartier | DRDC - Valcartier Research Centre
2459 route de la Bravoure
Québec QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada | Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>