Forum › Forums › New users › New Users and General Questions › Easiest way to install BorgBackup with its dependencies with no direct Internet?
- This topic has 4 replies, 2 voices, and was last updated May 17-5:54 pm by THX11384EB.
-
AuthorPosts
-
May 16, 2021 at 11:54 pm #59570Member
THX11384EB
I have an old air-gapped laptop with Antix 17.4.1 that I’m using to keep secure OTP 2FA keys and things like that. I would like to use BorgBackup on this laptop to backup the data in a password-protected repository on an SD card. My question is what is the easiest way to install BorgBackup with any dependencies without connecting my laptop to the Internet? Thanks.
I suppose these Debian packages are applicable but they don’t seem to include the dependencies and the dependencies don’t include their own dependencies and so on forever: https://packages.debian.org/search?keywords=borgbackup&searchon=names&exact=1&suite=all§ion=all
There are binaries and sourcecode here: https://github.com/borgbackup/borg/releases but the README file gives no instructions on how to install. There is a link to this website https://asciinema.org/a/28691?autoplay=1&speed=2 but the instructions don’t work; typing “borg” after following the instructions give “command not found”. Thanks for any direction.
May 17, 2021 at 1:11 am #59577Anonymous
::download the debfile for v1.0.9-1 borgbackup which matches architecture of the air-gapped system:
http://archive.debian.org/debian/pool/main/b/borgbackup/download from here http://ftp.us.debian.org/debian/pool/main/p/python-llfuse/
python3-llfuse_1.2+dfsg-1 _MYARCHITECTURE_ .debdownload from here http://ftp.us.debian.org/debian/pool/main/m/msgpack-python/
python3-msgpack_0.4.8-1 _MYARCHITECTURE_ .debafter copying the .deb files onto the air-gapped system:
sudo apt install /path/to/sneakernetted/debfile
(borgbackup depends on the 2 python* packages, so install those first)the dependencies don’t include their own dependencies
antiX17 Full, when I ran “sudo apt install –simulate borgbackup”
those 2 mentioned packages were the only additional items shown as to-be-installedMay 17, 2021 at 12:59 pm #59603MemberTHX11384EB
::Thanks Skidoo. Unfortunately, I think it’s dependencies all the way down!
sean@antix1:~/Desktop $ sudo apt install ~/Desktop/python3-msgpack_0.4.8-1_i386.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'python3-msgpack:i386' instead of '/home/sean/Desktop/python3-msgpack_0.4.8-1_i386.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: python3-msgpack:i386 : Depends: python3:i386 (< 3.6) but it is not going to be installed Depends: python3:i386 (>= 3.5~) but it is not going to be installed E: Unable to correct problems, you have held broken packages. sean@antix1:~/Desktop $ sudo apt install ~/Desktop/python-llfuse-dbg_1.2+dfsg-1_i386.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'python-llfuse-dbg:i386' instead of '/home/sean/Desktop/python-llfuse-dbg_1.2+dfsg-1_i386.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: python-llfuse-dbg:i386 : Depends: python-llfuse:i386 (= 1.2+dfsg-1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. sean@antix1:~/Desktop- This reply was modified 1 year, 11 months ago by THX11384EB.
May 17, 2021 at 1:52 pm #59605Anonymous
::Here’s a GUI utility program written by Xecure
https://gitlab.com/nXecure/my-offline-repo
(for related discussions, search the antixforum: “my-offline-repo” or “offline”)On a machine that has internet access, you could temporarily modify your /etc/apt/sources.list.d/ lists (so that they point to stretch aka oldstable repositories) and use the my-off-line-repo utility to automatically download all the chained dependencies… then copy ’em to the air-gapped machine.
May 17, 2021 at 5:54 pm #59625MemberTHX11384EB
-
AuthorPosts
- You must be logged in to reply to this topic.