Artix Linux Forum

Artix Linux => Package management => Topic started by: txlogicguy on 17 July 2022, 05:57:21

Title: many warning messages every time I do a system upgrade
Post by: txlogicguy on 17 July 2022, 05:57:21
For a couple of months now, every time I do a system upgrade I get a bunch of warning messages like these:
Code: [Select]
warning: could not get file information for usr/share/man/man3/stringprep_profile.3.gz
warning: could not get file information for usr/share/man/man3/stringprep_strerror.3.gz
warning: could not get file information for usr/share/man/man3/stringprep_ucs4_nfkc_normalize.3.gz
warning: could not get file information for usr/share/man/man3/stringprep_ucs4_to_utf8.3.gz
warning: could not get file information for usr/share/man/man3/stringprep_unichar_to_utf8.3.gz
warning: could not get file information for usr/share/man/man3/stringprep_utf8_nfkc_normalize.3.gz
warning: could not get file information for usr/share/man/man3/stringprep_utf8_to_locale.3.gz
warning: could not get file information for usr/share/man/man3/stringprep_utf8_to_ucs4.3.gz
warning: could not get file information for usr/share/man/man3/stringprep_utf8_to_unichar.3.gz
warning: could not get file information for usr/share/man/man3/tld_check_4.3.gz
warning: could not get file information for usr/share/man/man3/tld_check_4t.3.gz
warning: could not get file information for usr/share/man/man3/tld_check_4tz.3.gz
warning: could not get file information for usr/share/man/man3/tld_check_4z.3.gz
warning: could not get file information for usr/share/man/man3/tld_check_8z.3.gz
warning: could not get file information for usr/share/man/man3/tld_check_lz.3.gz
warning: could not get file information for usr/share/man/man3/tld_default_table.3.gz
warning: could not get file information for usr/share/man/man3/tld_get_4.3.gz
warning: could not get file information for usr/share/man/man3/tld_get_4z.3.gz
warning: could not get file information for usr/share/man/man3/tld_get_table.3.gz
warning: could not get file information for usr/share/man/man3/tld_get_z.3.gz
warning: could not get file information for usr/share/man/man3/tld_strerror.3.gz
These files really do exist but the true path name is:
Code: [Select]
/usr/share/man/man3/tld_strerror.3.gz
for example, not
Code: [Select]
usr/share/man/man3/tld_strerror.3.gz

I've tried running pacman from the filesystem root directory ("/"), but I still got those same warning messages.

Is anyone else experiencing this?
Is there a fix for these warning messages?
(They might be benign because the upgrade also completes successfully but maybe there is some processing that is not getting done.)

Charles Bailey
Title: Re: many warning messages every time I do a system upgrade
Post by: vaapicon on 18 July 2022, 02:10:32
The warnings you posted are for files in the libidn package. Is this package the only one you are getting a warning for?

You could use one liner below to get a list of packages that are "supposedly" missinfg files. Run as root.
Code: [Select]
 pacman -Qk  2>&1 1>/dev/null|awk '/No such file/{print $2}'|sed 's/://'|uniq
Title: Re: many warning messages every time I do a system upgrade
Post by: Dudemanguy on 18 July 2022, 03:53:28
The path name omitting the leading / is normal. Pacman just works like that internally. That message just means that for whatever reason, pacman could not find those files that are supposed to be owned by the package. When you actually performed the upgrade, those files are installed which is why you are now able to find them. Now, the exact same messages shouldn't be happening every time. And really, you shouldn't be seeing messages like this unless you are somehow deleting files.
Title: Re: many warning messages every time I do a system upgrade
Post by: Hitman on 18 July 2022, 14:44:32
And really, you shouldn't be seeing messages like this unless you are somehow deleting files.
Yeah exactly, for instance when bleachbit deletes the manfiles for other languages i get that pacman warning for those files when updating.