offline install

 

 

dpkg --get-selections > mylist

dpkg --set-selections < mylist

 

get_pkg
#!/bin/bash
PACKAGE=$1
URI=`apt-cache show $PACKAGE | grep "Filename:" | cut -f 2 -d " " | grep "pool/main"`
wget  http://192.168.123.12:3142/debian/$URI

 

Creative Commons license icon Creative Commons license icon