Skip to content
Snippets Groups Projects
Commit b1687a3d authored by mmoebius/ALUG's avatar mmoebius/ALUG
Browse files

Script to create an offline APT repository

Put all your .deb - files in a directory "pool" , say /path/to/debarchive/pool
Run this on a shell:
$ cd /path/to/debarchive
$ bash mkdebarchive.sh

* disconnect Network
$ apt-get update
$ apt-get install <stuff>
* win, win and win again.

TODO: Order of APT source files. /etc/apt/sources.list seems to be prefered
      over any /etc/apt/sources.list.d/foo.list .
      Maybe workaround: clear /etc/apt/sources.list; move contents to
                        /etc/apt/sources.list.d/99original.list .
parent 14b5705b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment