Failed to start pkgfile database update - Message on boot

I have Manajaro Gnome installed, and al is OK except from the following message which displays on boot:

“Failed to start pkgfile database update”.

I don’t know what this means. Is it anything to be concerned about, and can I prevent it from displaying?

I found this thread, does it apply to my situation?

Many thanks.

Hi,

I had this issue a while back, the thread may be helpful:

It just updates the database on daily bases.

Nothing special… On my system it is just used by:

$ pactree -d1 -r pkgfile                                                                  ✔
pkgfile
├─debtap
└─manjaro-zsh-config

Where does it display?

Anyway… that could happen if no network is available. It will just retry on the next day.

My Manjaro Cheat-Sheet-Entry tells:
nss-lookup.target MUST be enabled.

Entry for:
/usr/lib/systemd/system/pkgfile-update.service
should read:

[Unit]
Description=pkgfile database update
RequiresMountsFor="/var/cache/pkgfile"
[After=network-online.target]
After=network-online.target nss-lookup.target
Wants=network-online.target

[Service]
Type=oneshot
ExecStart=/usr/bin/pkgfile -u
Nice=19
StandardOutput=null
StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
CapabilityBoundingSet=
NoNewPrivileges=yes

else correct it…

It displays when booting up - top left corner of display. Can I remove / turn off this message? Thank you.

I amended this file on my system to match yours. This appears to have fixed the problem. Thank you.

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