Page 1 of 1

Offline installation of .deb files and updates

Posted: Mon Oct 04, 2021 3:06 pm
by AntonioPt

Hello everyone,

Gonna share my basic script to install deb files offline test it in Buster, Bionic and fossa
i call it multiple_install.sh and desktop_update.sh
1 install manualy pkg-1.9.22-noarch.pet no need in fossa
2 add this script in any folder where you have your debs
PS: If you run this in a live CD of Fossa will not work since will say that path wont exist
Ex:
/any_path/both_script
/any_path/mpv/deb_files
/any_path/vlc/deb_files
/any_path/more_apps/deb_files

Hope this can help anyone and of course still more to do since this list its mininal :)


Re: Offline installation of .deb files and updates

Posted: Tue Oct 05, 2021 9:00 am
by April

Always best if you include a file with the code in it rather than just listing out the text in your post.
That avoids mistakes like

Code: Select all

root# ./multiple_install.sh
 dint found nuthing to install 
./multiple_install.sh: line 39: 3: command not found
./multiple_install.sh: line 40: P.S.: command not found
./multiple_install.sh: line 41: desktop_update.sh: command not found
root# 

Code: Select all

echo " dint found nuthing to install "

does not do much for me confidence wise either.


Re: Offline installation of .deb files and updates

Posted: Wed Oct 06, 2021 4:09 am
by AntonioPt

Hello April,

First of all thxx for your replay.
Gonna share code now and some prints since im guessing you join bouth scripts in one :)
my instalation you gonna see that is allready install since i didnt remove nuthing just made a print to prove that is working
P.S. Still need to do some updates but for now its all i got if you got ideias,.. please fell free.
Let me know how is it works over
António Pires