Pkgfile --update question

The pkgfile package updated today and it said i should run pkgfile --update because the database format has changed. Is it important that I run this command or can i ignore this?

If you use pkgfile to search for files etc. then it is a good idea to have its database updated to correspond to what is available in the repositories.

sudo pkgfile --update

pkgfile has also a systemd timer/service that you can enable if you want the databases be updated automatically.

sudo systemctl enable --now pkgfile-update.timer

1 Like

From man pkgfile:

It is recommended to create a daily cron job with this
command to ensure accurate results.

ran sudo pkgfile --update and here is the results, it looks like it worked

[cc@computer ~]$ sudo pkgfile --update
[sudo] password for cc: 
:: Updating 4 repos...
  download complete: multilib             [   220.9 KiB   557K/s  3 remaining]
  download complete: core                 [  1301.4 KiB  1859K/s  2 remaining]
  download complete: endeavouros          [   139.8 KiB  98.8K/s  1 remaining]
  download complete: extra                [    45.2 MiB  7.60M/s  0 remaining]
:: download complete in 5.94s             <    46.8 MiB  7.87M/s  4 files    >
:: waiting for 1 repo to finish repacking...
2 Likes

thanks for the help @manuel and @cactux

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.