You are not logged in.

#1 2016-05-31 07:30:00

nesk
Member
Registered: 2011-03-31
Posts: 181

[solved] pacman -Syu complains about missing files

Here's what pacman outputs on pacman -Syu:

(49/49) checking for file conflicts                                                                  [############################################################] 100%
(49/49) checking available disk space                                                                [############################################################] 100%
warning: could not get file information for usr/share/doc/libxcb/
warning: could not get file information for usr/share/doc/libxcb/tutorial/
warning: could not get file information for usr/share/doc/libxcb/tutorial/index.html
warning: could not get file information for usr/share/doc/libxcb/tutorial/xcb.css
warning: could not get file information for usr/share/info/m4.info-1.gz
warning: could not get file information for usr/share/info/m4.info-2.gz
warning: could not get file information for usr/share/info/m4.info.gz
warning: could not get file information for usr/share/info/diffutils.info.gz
warning: could not get file information for usr/share/info/tar.info-1.gz
warning: could not get file information for usr/share/info/tar.info-2.gz
warning: could not get file information for usr/share/info/tar.info-3.gz
warning: could not get file information for usr/share/info/tar.info.gz
warning: could not get file information for usr/share/locale/bg/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/ca/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/cs/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/da/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/de/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/el/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/eo/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/es/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/et/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/eu/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/fi/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/fr/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/ga/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/gl/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/hr/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/hu/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/id/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/it/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/ja/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/ko/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/ky/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/ms/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/nb/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/nl/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/pl/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/pt/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/pt_BR/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/ro/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/ru/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/sk/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/sl/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/sr/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/sv/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/tr/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/uk/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/vi/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/zh_CN/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/locale/zh_TW/LC_MESSAGES/tar.mo
warning: could not get file information for usr/share/info/sed.info.gz
warning: could not get file information for usr/share/locale/af/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/ast/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/ca/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/cs/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/da/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/de/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/el/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/eo/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/es/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/et/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/eu/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/fi/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/fr/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/ga/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/gl/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/he/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/hr/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/hu/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/id/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/it/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/ja/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/ko/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/nb/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/nl/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/pl/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/pt/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/pt_BR/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/ro/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/ru/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/sk/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/sl/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/sr/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/sv/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/tr/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/uk/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/vi/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/zh_CN/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/locale/zh_TW/LC_MESSAGES/sed.mo
warning: could not get file information for usr/share/info/which.info.gz

I checked some of those files (adding the leading "/") - they do exist. So I assume pacman contains a list of files somewhere (in db?) with those wrong paths. How do I fix that?

Last edited by nesk (2016-06-02 03:49:40)

Offline

#2 2016-05-31 08:40:51

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] pacman -Syu complains about missing files

Those files are missing from your filesystem.   Use pacman -Qk to check your packages.

Offline

#3 2016-05-31 08:44:29

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [solved] pacman -Syu complains about missing files

Allan wrote:

Those files are missing from your filesystem.   Use pacman -Qk to check your packages.

No they're not. Read the post again.

I checked some of those files (adding the leading "/") - they do exist. So I assume pacman contains a list of files somewhere (in db?) with those wrong paths. How do I fix that?

Offline

#4 2016-05-31 08:59:29

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] pacman -Syu complains about missing files

pacman does not have leading / in its database.   It only gives that warning with the files do not exist or some other issue is preventing pacman from accessing their size. 

Post the output of:

ls -l /usr/share/doc/libxcb/tutorial/index.html

Edit:

Add this too...

ls -l /usr/share/locale/da/LC_MESSAGES/tar.mo

Offline

#5 2016-05-31 09:00:47

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [solved] pacman -Syu complains about missing files

ls -l /usr/share/doc/libxcb/tutorial/index.html
-rw-r--r-- 1 root root 179144 May 15  2015 /usr/share/doc/libxcb/tutorial/index.html

ls -l /usr/share/locale/da/LC_MESSAGES/tar.mo
-rw-r--r-- 1 root root 59109 May 17 21:32 /usr/share/locale/da/LC_MESSAGES/tar.mo

Last edited by nesk (2016-05-31 09:01:33)

Offline

#6 2016-05-31 09:03:13

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] pacman -Syu complains about missing files

What does this return

pacman -Qkk sed

Offline

#7 2016-05-31 09:04:39

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [solved] pacman -Syu complains about missing files

pacman -Qkk sed
sed: 124 total files, 0 altered files

Offline

#8 2016-05-31 09:05:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] pacman -Syu complains about missing files

And do you have anything in NoExtract in pacman.conf

Offline

#9 2016-05-31 09:07:06

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [solved] pacman -Syu complains about missing files

Nope
[root@arch ~]# grep NoE /etc/pacman.conf
#NoExtract   =

Offline

#10 2016-05-31 09:24:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] pacman -Syu complains about missing files

I'm lost...  this warning should only ever happen if pacman can not stat the files to get file sizes.

What happens if you reinstall 'sed'?   Does pacman stop the sed warnings?

Offline

#11 2016-05-31 09:30:52

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [solved] pacman -Syu complains about missing files

Could the disc be full?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#12 2016-05-31 09:36:15

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [solved] pacman -Syu complains about missing files

Disk is not full (52G free).

I'm still suspicious of the leading "/" - why does pacman -Syu displays

warning: could not get file information for usr/share/info/sed.info.gz

But pacman -Qk 2>&1 | egrep "^warni*." | grep xz displays

warning: xz: /usr/share/doc/xz/AUTHORS (No such file or directory)

?
Seems like in the first case pacman tries to find usr/share/info/sed.info.gz which indeed does not exist.

Offline

#13 2016-05-31 09:42:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] pacman -Syu complains about missing files

pacman works from the root of your install - this is not the issue.

Offline

#14 2016-05-31 09:44:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] pacman -Syu complains about missing files

How many missing file warnings do you get with -Qk?

Offline

#15 2016-05-31 09:46:47

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [solved] pacman -Syu complains about missing files

Allan wrote:

I'm lost...  this warning should only ever happen if pacman can not stat the files to get file sizes.

What happens if you reinstall 'sed'?   Does pacman stop the sed warnings?

All right. I reinstalled sed, will have to wait until there's something to actually upgrade on my system (otherwise pacman doesn't do this check). Will check tomorrow.

Offline

#16 2016-05-31 09:48:27

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [solved] pacman -Syu complains about missing files

Allan wrote:

How many missing file warnings do you get with -Qk?

Plenty smile

[root@arch ~]# pacman -Qk 2>&1 | egrep "^warni*." | wc -l
1483

Offline

#17 2016-05-31 09:56:53

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,093

Re: [solved] pacman -Syu complains about missing files

Did you perhaps check those files *after* performing the update? Because by then of course the issue would have fixed itself...

Last edited by arojas (2016-05-31 09:57:16)

Offline

#18 2016-05-31 09:57:15

glavin
Member
Registered: 2015-07-08
Posts: 22

Re: [solved] pacman -Syu complains about missing files

Seems you used bleachbit to cleanup unwanted translations / languages, check this thread https://bbs.archlinux.org/viewtopic.php?id=208549


Speak your mind even if your voice shakes.

Offline

#19 2016-06-01 15:41:42

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [solved] pacman -Syu complains about missing files

Allan wrote:

I'm lost...  this warning should only ever happen if pacman can not stat the files to get file sizes.

What happens if you reinstall 'sed'?   Does pacman stop the sed warnings?

I reinstalled sed yesterday and today pacman -Syu went without warnings, but sed was not among upgraded packages. Allan, do you hack pacman? Those warnings do not give me any grief per se, I was just wondering if it's a pacman bug. Any other ideas on investigating this? I can report back when warnings come up again.

Offline

#20 2016-06-01 22:08:19

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] pacman -Syu complains about missing files

I'm guessing the files were not on your system when you did your last update, but the update involved some of those packages and now the files are there.   This is not a bug, but pacman working as intended.

And yes - I write pacman.

Offline

Board footer

Powered by FluxBB