apt-offline 1.1

Ritesh Raj Sarraf's picture

I just completed the release of apt-offline version 1.1. This release has many bug fixes, adds basic proxy support and has a new Advanced Options window for the Get operation.

apt offline advanced options




looks good, but

thanks for the tut -- the tool looks perfect, except i don't see an easy way to perform the first step:

step1) apt-offline set somefile.sig

when apt-offline is not installed on my target system (i.e. the system with no internet)

i think this will require me to download the deb pkg manually, but its not that simple: the package has a lot of dependencies. and i bet each of those dependencies has its own set. i tried googling for a simple way to download all deps .. and all the answers, of course, came back assuming i had an internet connection.

is there an easy way to get past this first step?

Ritesh Raj Sarraf's picture

Well. Long back I ensured

Well. Long back I ensured that the apt-offline package is part of disc 1 of the Debian installer images. I haven't tried, but you should. Use your installer media to install apt-offline.

For downloading and installing the .deb package, yes, there may be some dependency challenges. But there aren't very strict dependencies, that many. I've tried to define loose dependencies (Recommends) for items that we can live without too.

rrs@learner:~$ apt show apt-offline
Package: apt-offline
Version: 1.7.2
Priority: optional
Section: admin
Maintainer: Ritesh Raj Sarraf <rrs@debian.org>
Installed-Size: 318 kB
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~), python-argparse, python, apt, less, python-magic
Recommends: python-soappy, debian-archive-keyring, python-lzma
Homepage: http://apt-offline.alioth.debian.org
Tag: admin::package-management, implemented-in::shell,
 interface::commandline, protocol::ftp, protocol::http, role::program,
 scope::utility, suite::debian, use::downloading,
Download-Size: 62.6 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian testing/main amd64 Packages
Description: offline APT package manager
 apt-offline is an Offline APT Package Manager.
 apt-offline can fully update and upgrade an APT based distribution without
 connecting to the network, all of it transparent to APT.
 apt-offline can be used to generate a signature on a machine (with no network).
 This signature contains all download information required for the APT database
 system. This signature file can be used on another machine connected to the
 internet (which need not be a Debian box and can even be running windows) to
 download the updates.
 The downloaded data will contain all updates in a format understood by APT and
 this data can be used by apt-offline to update the non-networked machine.
 apt-offline can also fetch bug reports and make them available offline.

2017-04-28 / 12:05:04 ♒♒♒  ☺  

Ritesh Raj Sarraf's picture

With just Python pre

With just Python pre-installed, you should be able to get it working. But, depending on features, you may need additional packages, for example: python-lzma

Add new comment