How to recover static libraries through jumpdrive
#2
Check man pacman.

Quote: --sysroot <dir>
Specify an alternative system root. Pacman will chroot and chdir into the system root prior to running. This allows mounted guest systems to be properly operated on. Any
other paths given will be interpreted as relative to the system root. Requires root privileges.
Quote:QUERY OPTIONS (APPLY TO -Q)
...
-k, --check
Check that all files owned by the given package(s) are present on the system. If packages are not specified or filter flags are not provided, check all installed packages.
Specifying this option twice will perform more detailed file checking (including permissions, file sizes, and modification times) for packages that contain the needed mtree
file.

'sudo pacman --sysroot <mountpoint> -Qk' will check for missing files in all installed packages.

If you find packages with missing files, 'sudo pacman --sysroot <mntpnt> -S <list of packages>' will reinstall the packages you specify.

Arch doesn't typically package static versions of libraries, and they'd only be relevant if you were building a statically linked executable against them. Did you mean dynamic libraries?
  Reply


Messages In This Thread
RE: How to recover static libraries through jumpdrive - by Dendrocalamus64 - 11-18-2021, 04:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to install arch with jumpdrive, but jumpdrive isn't booting pineuser0 5 4,191 09-14-2021, 08:59 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)