I have to use offline installation on a machine. So I tried installing maxima, using the pacman -U *.zst approach, having obtained the dependencies from a repository using an online machine. However, this requires an older sbcl (2.3.7-1) package than could be obtained from the repository (2.3.8-1), hence pacman fails because it wants to use the older version. Does this make the pacman -U *.zst approach unsuitable in this case, or is it unsuitable generally as these dependency issues almost always arise?
There is no guarantee such offline installation will be succesful.
Perhaps this comment on a recent thread can help you
Consult pacman(8) — Arch manual pages
caveats
While it is technically possible to innstall a package using this approach, it is error prone and may create weird issues or errors on the target system.
These errors is due to the rolling base of a Manjaro system.
The dependencies of any given package may already be present as a dependency for another package.
If a dependency is updated without the depending package(s) being updated as well, those depending package(s) may cease to fu…
If the system you want to sync is completely offline there was a recent topic on creating a copy of the stable branch repo for such purpose.
There has been a few questions over the years on this exact topic.
This can be done using rsync - for some testing purpose I created the script to mimic an incomplete manjaro mirror with only stable branch.
The script must be amended as the variables was for my hosted setup
#!/bin/sh
#######################################################
####
#### Variables to amend
####
TARGET="/var/www/nix.dk/public_html/repos/manjaro"
TMP="/var/www/nix.dk/.cache/manjaro"
LOCK="/var/www/nix.dk/.cache/rsy…
You could provide a script with the disk
When you label the disk you have the option of mounting by specifying the label - this removes any obstacles relating to mountpoint as you already know the device
man mount
#!/usr/bin/env bash
## sample script for updating a remote system with no network
## using a labeled filesystem on a portable medium
## mount using label e.g. ManjaroRepo
sudo mount /dev/disk/by-label/ManjaroRepo /mnt
## start the python http server
python -m http.server -d /mnt 8…
2 Likes
zbe
17 September 2023 15:41
3
Partial updates are unsupported. And that is exactly what you are doing by updating only a part of the system.
Thank you both for the replies, a local offline repository it is. Thank you.
system
Closed
20 September 2023 10:05
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.