You are not logged in.

#1 2009-04-01 17:45:33

Xiong Chiamiov
Member
From: central coast, california
Registered: 2008-06-18
Posts: 142
Website

could not open file /var/lib/pacman/local/glib2-2.20.0-1/depends

I update my server every now and then, and today I decided to.  My normal -Syu didn't produce any warnings until I got to the installation of packages, where several of them had errors (I didn't copy them then, and they're past my buffer now).  I then tried again (as well as some other stuff), and now I get this error at the checking dependencies stage:

could not open file /var/lib/pacman/local/glib2-2.20.0-1/depends

yaourt -Sy produces the following:

pearson ~  $  p -Sy
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 archlinuxfr is up to date
error: <-- this line many, many times
glib2-2.20.0-1: description file is missing
glib2-2.20.0-1: dependency file is missing
glib2-2.20.0-1: file list is missing

pacman -Sy appears to execute successfully.

Trying to reinstall glib2 (pacman -Sy glib2):

[normal stuff]
error: could not open file /var/lib/pacman/local/glib2-2.20.0-1/depends: No such file or directory <-- many times
Targets (1): glib2-2.20.0-1  

Total Download Size:    0.00 MB
Total Installed Size:   8.95 MB

Proceed with installation? [Y/n]  
checking package integrity...
(1/1) checking for file conflicts                   [##################################################################################] 100%
error: could not open file /var/lib/pacman/local/glib2-2.20.0-1/files: No such file or directory
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
glib2: /etc/profile.d/glib2.csh exists in filesystem
glib2: /etc/profile.d/glib2.sh exists in filesystem
glib2: /usr/share/glib-2.0/gettext/mkinstalldirs exists in filesystem
glib2: /usr/share/glib-2.0/gettext/po/Makefile.in.in exists in filesystem
glib2: /usr/share/locale/ar/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/as/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/be/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/be@latin/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/bg/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/bn/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/bn_IN/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/bs/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/ca/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/cs/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/cy/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/da/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/dz/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/el/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/en_CA/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/en_GB/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/eo/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/es/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/et/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/fa/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/fi/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/fr/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/ga/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/gl/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/gu/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/hi/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/hr/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/hy/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/id/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/is/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/it/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/ja/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/kn/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/ko/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/ku/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/lt/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/mg/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/mk/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/mn/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/ms/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/nb/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/ne/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/nn/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/oc/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/or/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/pa/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/pt_BR/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/ro/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/ru/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/si/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/sk/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/sl/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/sq/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/sr@ije/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/sr@latin/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/sv/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/ta/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/te/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/th/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/tl/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/tr/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/tt/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/vi/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/wa/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/xh/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/yi/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/zh_CN/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/zh_HK/LC_MESSAGES/glib20.mo exists in filesystem
glib2: /usr/share/locale/zh_TW/LC_MESSAGES/glib20.mo exists in filesystem
Errors occurred, no packages were upgraded.

pacman.log from today:

[2009-04-01 10:16] ==> Building image "default"
[2009-04-01 10:16] ==> Running command: /sbin/mkinitcpio -k 2.6.28-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[2009-04-01 10:16] :: Begin dry run
[2009-04-01 10:16] :: Parsing hook [base]
[2009-04-01 10:16] :: Parsing hook [udev]
[2009-04-01 10:16] :: Parsing hook [autodetect]
[2009-04-01 10:16] :: Parsing hook [pata]
[2009-04-01 10:16] :: Parsing hook [scsi]
[2009-04-01 10:16] :: Parsing hook [sata]
[2009-04-01 10:16] :: Parsing hook [keymap]
[2009-04-01 10:16] :: Parsing hook [filesystems]
[2009-04-01 10:16] :: Generating module dependencies
[2009-04-01 10:16] :: Generating image '/boot/kernel26.img'...SUCCESS
[2009-04-01 10:16] ==> SUCCESS
[2009-04-01 10:16] ==> Building image "fallback"
[2009-04-01 10:16] ==> Running command: /sbin/mkinitcpio -k 2.6.28-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
[2009-04-01 10:16] :: Begin dry run
[2009-04-01 10:16] :: Parsing hook [base]
[2009-04-01 10:16] :: Parsing hook [udev]
[2009-04-01 10:16] :: Parsing hook [pata]
[2009-04-01 10:16] :: Parsing hook [scsi]
[2009-04-01 10:17] :: Parsing hook [sata]
[2009-04-01 10:17] :: Parsing hook [keymap]
[2009-04-01 10:17] :: Parsing hook [filesystems]
[2009-04-01 10:17] :: Generating module dependencies
[2009-04-01 10:17] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
[2009-04-01 10:17] ==> SUCCESS
[2009-04-01 10:17] upgraded kernel26 (2.6.28.7-2 -> 2.6.28.8-1)
[2009-04-01 10:17] upgraded klibc-udev (139-1 -> 140-1)
[2009-04-01 10:17] upgraded libarchive (2.6.1-1 -> 2.6.2-1)
[2009-04-01 10:17] upgraded libidn (1.12-1 -> 1.13-1)
[2009-04-01 10:17] upgraded lighttpd (1.4.22-1 -> 1.4.22-2)
[2009-04-01 10:17] upgraded mkvtoolnix (2.5.3-1 -> 2.6.0-1)
[2009-04-01 10:17] upgraded namcap (2.2-1 -> 2.2-2)
[2009-04-01 10:17] upgraded nvidia-173xx-utils (173.14.17-2 -> 173.14.18-1)
[2009-04-01 10:17] In order to use the new nvidia module, exit Xserver and unload it manually.
[2009-04-01 10:17] upgraded nvidia-173xx (173.14.17-2 -> 173.14.18-1)
[2009-04-01 10:17] upgraded postgresql-libs (8.3.6-1 -> 8.3.7-1)
[2009-04-01 10:17] upgraded subversion (1.5.6-1 -> 1.6.0-2)
[2009-04-01 10:17] upgraded tzdata (2009b-1 -> 2009d-1)
[2009-04-01 10:17] upgraded udev (139-1 -> 140-2)
[2009-04-01 10:17] upgraded vlc (0.9.8a-5 -> 0.9.9-1)
[2009-04-01 10:18] starting full system upgrade
[2009-04-01 10:18] synchronizing package lists
[2009-04-01 10:29] starting full system upgrade
[2009-04-01 10:33] upgraded libtorrent-svn (1085-1 -> 1085-1)
[2009-04-01 10:37] synchronizing package lists
[2009-04-01 10:37] synchronizing package lists
[2009-04-01 10:38] synchronizing package lists
[2009-04-01 10:38] synchronizing package lists
[2009-04-01 10:39] synchronizing package lists
[2009-04-01 10:39] synchronizing package lists
[2009-04-01 10:40] starting full system upgrade
[2009-04-01 10:40] synchronizing package lists

Trying to install glib2 from ABS produces the same result as installing from the repos.  Other packages install just fine, albeit with warnings about glib2 scattered everywhere.

Last edited by Xiong Chiamiov (2009-04-01 21:25:14)

Offline

#2 2009-04-02 06:32:52

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: could not open file /var/lib/pacman/local/glib2-2.20.0-1/depends

Seems like your local db got messed up. Try reinstalling glib2. You'll need to force it:
pacman -Syf glib2

Offline

#3 2009-04-02 06:52:08

Xiong Chiamiov
Member
From: central coast, california
Registered: 2008-06-18
Posts: 142
Website

Re: could not open file /var/lib/pacman/local/glib2-2.20.0-1/depends

That seems to have done the trick, thanks.  I don't really like doing forces unless someone who knows more than I recommends it, as I see way too many threads where that has complicated things tremendously.

Offline

Board footer

Powered by FluxBB