You are not logged in.

#1 2021-09-18 09:46:42

rizwanmustafa
Member
Registered: 2021-08-20
Posts: 2

[SOLVED] repo-add not adding .tar.zst packages

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

#2 2021-09-18 09:54:23

rizwanmustafa
Member
Registered: 2021-08-20
Posts: 2

Re: [SOLVED] repo-add not adding .tar.zst packages

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

#3 2021-09-19 15:08:53

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [SOLVED] repo-add not adding .tar.zst packages

According to the error message, it's complaining about the .sig files, not any of the package files (be it .zst or .xz).


pkgshackscfgblag

Offline

Board footer

Powered by FluxBB