You are not logged in.
hello guys, currently at my house i do not have internet connection and i am scared to leave my desktop without updates for a long time.... most likely i will run into troubles if i do so. I have also an archlinux laptop that i update daily at work. I am wondering if there is anything i can do to update my desktop without internet connection
Offline
Offline
You can copy the packages from a USB drive and pacman -U.
Offline
thing is that my two systems have different packages installed so if i copy the cache from laptop to desktop there will be tons of missing packages... is there another way to do it? Id need a way to figure out all the packages i have on the desktop and then download them with the laptop
Last edited by InvisibleRasta (2020-01-26 19:48:03)
Offline
Check the pacman manpage.
"pacman -Qqn" will list all installed "native" packages w/o versions (ie. in required form) and "pacman -Sw" will only download packages…
Offline
From man pacman: pacman -Sw $(pacman -Qqn)
Last edited by webcapcha (2020-01-26 20:49:27)
Ukrainian
Offline
If a package gains new dependencies what would pick those up? Would it not be safer to not upgrade the system until it has internet access.
Offline
I have a maybe dangerous idea. You could copy the pacman database of the isolated system to the laptop and then download packages with "pacman -Syuw --dbpath ....". Take care not to destroy your laptop installation, though.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
If a package gains new dependencies what would pick those up? Would it not be safer to not upgrade the system until it has internet access.
pacman -Sw without -dd will do dependency resolution for packages you need to install, the same way pacman -S normally would.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline