You are not logged in.
Since today "pacman -Syu" gives me..
error: could not open file /var/lib/pacman/current//xdg-utils-1.0.1-1/desc: No such file or directory
What's this?
Last edited by kel_p (2007-06-18 19:47:17)
Offline
Looks like a file in your current DB is missing.
Try a 'pacman -Syyu', which forces DB redownloading.
Offline
Error just disappeared the next day
Thanks.
Last edited by kel_p (2007-06-18 19:48:31)
Offline
i have similar problem..... but error packages are random...
[vk@mercury ~]$ sudo pacman -Syu
:: Synchronizing package databases...
current is up to date
extra 267.4K 736.8K/s 00:00:00 [#####################] 100%
community is up to date
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/desc: No such file or directory
local database is up to date
[vk@mercury ~]$ sudo pacman -Sf xrestop
resolving dependencies...
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directorydone.
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
looking for inter-conflicts...
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/depends: No such file or directorydone.
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/desc: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/desc: No such file or directory
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/desc: No such file or directory
Targets: xrestop-0.4-1
Total Package Size: 0.10 MB
Proceed with installation? [Y/n] Y
error: could not open file /var/lib/pacman/community//xrestop-0.4-1/desc: No such file or directory
:: Retrieving packages from community...
xrestop 7.4K 148.0K/s 00:00:00 [#####################] 100%
checking package integrity...
:: Archive xrestop-0.4-1.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n] n
error: failed to commit transaction (corrupted package)
archive xrestop-0.4-1.pkg.tar.gz is corrupted (bad MD5 or SHA1 checksum)
errors occurred, no packages were upgraded.
[vk@mercury ~]$ sudo pacman -Syy
:: Synchronizing package databases...
current 71.3K 429.5K/s 00:00:00 [#####################] 100%
extra 267.4K 703.1K/s 00:00:00 [#####################] 100%
community 272.4K 705.2K/s 00:00:00 [#####################] 100%
error: could not extract /var/lib/pacman/community//xmms2-20070528-1/desc: Can't stat existing object: No such file or directory
error: failed to update community (unexpected system error)
local database is up to date
[vk@mercury ~]$ sudo pacman -Syy
:: Synchronizing package databases...
current 71.3K 442.7K/s 00:00:00 [#####################] 100%
extra 267.4K 714.7K/s 00:00:00 [#####################] 100%
community 272.4K 556.9K/s 00:00:00 [#####################] 100%
error: could not extract /var/lib/pacman/community//xmms2-20070528-1/desc: Can't stat existing object: No such file or directory
error: failed to update community (unexpected system error)
local database is up to date
[vk@mercury ~]$ sudo pacman -Sf xmms2
resolving dependencies...
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directorydone.
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
looking for inter-conflicts...
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/depends: No such file or directorydone.
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/desc: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/desc: No such file or directory
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/desc: No such file or directory
Targets: xmms2-20070528-1
Total Package Size: 0.10 MB
Proceed with installation? [Y/n] Y
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/desc: No such file or directory
:: Retrieving packages from community...
xmms2 1519.7K 570.4K/s 00:00:03 [#####################] 100%
checking package integrity...
:: Archive xmms2-20070528-1.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n] Y
error: failed to commit transaction (corrupted package)
archive xmms2-20070528-1.pkg.tar.gz was corrupted (bad MD5 or SHA1 checksum)
errors occurred, no packages were upgraded.
[vk@mercury ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
current is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/community//xmms2-20070528-1/desc: No such file or directory
local database is up to date
[vk@mercury ~]$
etc, etc ...
I'm using Belnet.be mirror.
Last edited by w0c45_x86 (2007-06-26 10:51:27)
Offline
hmm, using pacman -Syy , it shouldn't check if it's up to date.. It should redownload in any cases.
I don't know why it doesn't work for you, it works fine here.
Maybe you could check with --debug output to see if there is anything interesting.
Otherwise I think you could just rm -r /var/lib/pacman/community/ , and try again ?
/var/lib/pacman/local is very important, it contains all informations about your installed packages.
But the other directories can generally be safely deleted, they just contain the list of packages in sync repos, which is hosted on all mirrors (eg community.db.tar.gz in this case).
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
I have tried another mirror and removing /var/lib/pacman/community/ too.... here is debug
[vk@mercury /]$ sudo rm -r /var/lib/pacman/community/
[vk@mercury /]$ sudo pacman -Syy --debug
debug: config: new section 'options'
debug: config: logfile: /var/log/pacman.log
debug: config: holdpkg: pacman
debug: config: holdpkg: glibc
debug: config: new section 'current'
debug: registering database 'current'
debug: opening database 'current'
debug: opening database from path '/var/lib/pacman/current/'
debug: config: including /etc/pacman.d/current
debug: attempt to re-register the 'current' database, using existing
debug: adding new server to database 'current': protocol 'http', server 'mirror.archlinux.de', path '/current/os/i686'
debug: adding new server to database 'current': protocol 'ftp', server 'ftp.sh.cvut.cz', path '/MIRRORS/arch/current/os/i686'
debug: adding new server to database 'current': protocol 'ftp', server 'ftp.belnet.be', path '/packages/archlinux/current/os/i686'
debug: config: new section 'extra'
debug: registering database 'extra'
debug: opening database 'extra'
debug: opening database from path '/var/lib/pacman/extra/'
debug: config: including /etc/pacman.d/extra
debug: attempt to re-register the 'extra' database, using existing
debug: adding new server to database 'extra': protocol 'http', server 'mirror.archlinux.de', path '/extra/os/i686'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.belnet.be', path '/packages/archlinux/extra/os/i686'
debug: config: new section 'community'
debug: registering database 'community'
debug: database directory '/var/lib/pacman//community' does not exist, creating it
debug: opening database 'community'
debug: opening database from path '/var/lib/pacman/community/'
debug: config: including /etc/pacman.d/community
debug: attempt to re-register the 'community' database, using existing
debug: adding new server to database 'community': protocol 'http', server 'mirror.archlinux.de', path '/community/os/i686'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.belnet.be', path '/packages/archlinux/community/os/i686'
debug: registering database 'local'
debug: opening database 'local'
debug: opening database from path '/var/lib/pacman/local/'
:: Synchronizing package databases...
debug: logaction called: synchronizing package lists
debug: file path: '/current/os/i686/current.db.tar.gz'
debug: using 'current.db.tar.gz' for download progresslooking up mirror.archlinux.de
connecting to mirror.archlinux.de:80
requesting http://mirror.archlinux.de/current/os/i686/current.db.tar.gz
debug: connected to mirror.archlinux.de successfully
debug: sync: new mtime for current: 20070625230650
debug: flushing database /var/lib/pacman/current//
debug: loading package cache for repository 'current'
debug: freeing package cache for repository 'current'
debug: unpacking database '/var/lib/pacman/current.db.tar.gz'
debug: file path: '/extra/os/i686/extra.db.tar.gz'
debug: using 'extra.db.tar.gz' for download progresslooking up mirror.archlinux.de
connecting to mirror.archlinux.de:80
requesting http://mirror.archlinux.de/extra/os/i686/extra.db.tar.gz
debug: connected to mirror.archlinux.de successfully
debug: sync: new mtime for extra: 20070626093719
debug: flushing database /var/lib/pacman/extra//
debug: loading package cache for repository 'extra'
debug: freeing package cache for repository 'extra'
debug: unpacking database '/var/lib/pacman/extra.db.tar.gz'
debug: file path: '/community/os/i686/community.db.tar.gz'
debug: using 'community.db.tar.gz' for download progresslooking up mirror.archlinux.de
connecting to mirror.archlinux.de:80
requesting http://mirror.archlinux.de/community/os/i686/community.db.tar.gz
debug: connected to mirror.archlinux.de successfully
debug: sync: new mtime for community: 20070626130044
debug: flushing database /var/lib/pacman/community//
debug: loading package cache for repository 'community'
debug: error: pkgcache is NULL for db 'community'
debug: unpacking database '/var/lib/pacman/community.db.tar.gz'
error: could not extract /var/lib/pacman/community//xloadimage-4.1-4/desc: Can't stat existing object: No such file or directory
debug: returning error 2 from _alpm_db_install : unexpected system error
error: failed to update community (unexpected system error)
local database is up to date
debug: unregistering database 'local'
debug: closing database 'local'
debug: removing DB current, 3 remaining...
debug: unregistering database 'current'
debug: closing database 'current'
debug: removing DB extra, 2 remaining...
debug: unregistering database 'extra'
debug: closing database 'extra'
debug: removing DB community, 1 remaining...
debug: unregistering database 'community'
debug: closing database 'community'
[vk@mercury /]$
Offline
Well, that's odd.. pacman 3.0.5-2 ?
Anyway, since I can't reproduce it, it's really very hard to see what's wrong.
Maybe this last output could be more useful to someone more experienced than me though,
so please file a bug (including this last output), and saying pacman version. thanks
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Well, that's odd.. pacman 3.0.5-2 ?
Anyway, since I can't reproduce it, it's really very hard to see what's wrong.
Maybe this last output could be more useful to someone more experienced than me though,
so please file a bug (including this last output), and saying pacman version. thanks
Offline