You are not logged in.
I have a folder "/mnt/Programming/PacmanPackages" which contains packages downloaded using pacman for future offline installation. However, when I use
repo-add ./custom.db.tar.gz ./*
I get the following output (Only showing the end of the output, since there are alot of packages):
==> Adding package './zlib-1:1.2.11-4-x86_64.pkg.tar.xz'
-> Adding package signature...
-> Computing checksums...
-> Creating 'desc' db entry...
-> Creating 'files' db entry...
==> ERROR: './zlib-1:1.2.11-4-x86_64.pkg.tar.xz.sig' is not a package file, skipping
==> Adding package './zstd-1.5.0-1-x86_64.pkg.tar.zst'
-> Adding package signature...
-> Computing checksums...
-> Creating 'desc' db entry...
-> Creating 'files' db entry...
==> ERROR: './zstd-1.5.0-1-x86_64.pkg.tar.zst.sig' is not a package file, skipping
==> No packages modified, nothing to do.
As you can see, at the end it says no packages modified,nothing to do.
When I try to use the repo to install packages that I know are supposed to be in the repo it says:
error: target not found: wget
Please help me fix this.
Notes:
- I followed this guide Pacman Tips and Tricks Installing packages from a CD/DVD or USB stick
- I am new, so please ignore any mistakes.
Last edited by rizwanmustafa (2021-09-18 09:55:06)
Offline
Ok, so apparently repo-add is not creating an updated database file because it came across an error. What worked for me is the following command:
repo-add ./custom.db.tar.gz ./*.pkg.tar.zst
. You can repeat this command wiith other extensions like ".pkg.tar.xz" and it will succesfully add the packages.
Offline