Need to install rsync (possibly others) on older Debian 6 box with no internet access
by plisken from LinuxQuestions.org on (#5880A)
I'm pretty new to Debian and package managers generally if I'm honest and would appreciate some information.
I have a couple of servers running Debian 6 & 7 in a production environment which are not connected to the internet so cant use;
apt-get install newPackage
but wondering if it's possible to download the package I want and install it without worrying over the install making changes or breaking something else.
would it be possible to download, for example rsync from:
https://packages.debian.org/stretch/rsync
and install with:
sudo apt install ./rsync_3.1.2-1+deb9u2_amd64.deb
My concerns are that;
1). This needs other dependencies that cant be resolved, seeing that it's isolated from the internet.
2). Installing this (and others) might break something that may not seem to me, to be related.
The other thought I had was to setup a repository, perhaps on a usb drive that I can add to /etc/apt/sources.list Is this worthwhile and/or simple enough to do? considering I'm only really wanting to add a few packages, mainly for the time being rsync.
All replies and advice is appreciated...


I have a couple of servers running Debian 6 & 7 in a production environment which are not connected to the internet so cant use;
apt-get install newPackage
but wondering if it's possible to download the package I want and install it without worrying over the install making changes or breaking something else.
would it be possible to download, for example rsync from:
https://packages.debian.org/stretch/rsync
and install with:
sudo apt install ./rsync_3.1.2-1+deb9u2_amd64.deb
My concerns are that;
1). This needs other dependencies that cant be resolved, seeing that it's isolated from the internet.
2). Installing this (and others) might break something that may not seem to me, to be related.
The other thought I had was to setup a repository, perhaps on a usb drive that I can add to /etc/apt/sources.list Is this worthwhile and/or simple enough to do? considering I'm only really wanting to add a few packages, mainly for the time being rsync.
All replies and advice is appreciated...