You are not logged in.
So I was trying to install anki…
$ sudo pacman -Syu anki
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
error: could not parse package description file 'gogglesmm-0.12.6-1/depends' from db 'community'
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "python2-sqlalchemy", a dependency of "anki"
warning: cannot resolve "python-simplejson", a dependency of "anki"
:: The following package cannot be upgraded due to unresolvable dependencies:
anki
Do you want to skip the above package for this upgrade? [y/N]
error: failed to prepare transaction (unexpected error)
It seems like pacman isn't able to fetch packages from community?
Any ideas how to fix this?
I took a look at this thread but it didn't solve my problem (unless I did it wrong?) & I found nothing else on the internet about this :\
Last edited by bygmhra (2012-09-19 00:17:32)
Offline
Post the output of 'pacman -Q pacman;
Offline
$ pacman -Q pacman
pacman 4.0.3-3
Offline
Yes, it's /usr/bin/pacman
Offline
sudo /usr/bin/pacman -Syu gives me the same error
how do I check the version of /usr/bin/pacman?
I tried
$ pacman -Q /usr/bin/pacman
error: package '/usr/bin/pacman' was not found
warning: '/usr/bin/pacman' is a file, you might want to use -p/--file.
so then I tried this, but I think it's wrong
$ pacman -Q --file /usr/bin/pacman
error: could not load package '/usr/bin/pacman': cannot open package file
Offline
What about '/usr/bin/pacman --version'?
Offline
$ /usr/bin/pacman --version
.--. Pacman v4.0.3 - libalpm v7.0.3
/ _.-' .-. .-. .-. Copyright (C) 2006-2012 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'
This program may be freely redistributed under
the terms of the GNU General Public License.
Offline
Force a redownload of the community database with "pacman -Syy". If that does not work, try a different mirror.
Offline
Ah thank you! It's fixed
initially pacman -Syy didn't change anything
so I then specified a mirror in my /etc/pacman.conf, ran another pacman -Syy on a whim, and then
commented out the mirror I had just added
and that error is now gone
Thanks everyone for your help
Offline
I'm still getting this exact error, and this thread is the only thing a search turns up... It just started doing this a day or 2 ago too, weird.
I have the latest pacman and about 20 mirrors specified in /etc/pacman.d/mirrorlist.
I've tried removing and adding different combos of mirrors but no luck.
Also should note that I have an updated mirrorlist from the pacman mirror generator page.
Last edited by deviouskoopa (2012-09-19 21:09:49)
Offline
same problem...
error: could not parse package description file 'gogglesmm-0.12.6-1/depends' from db 'community'
and the mirror used is
//mirrors.kernel.org/archlinux/
Offline
fixed mine... after reading https://bbs.archlinux.org/viewtopic.php?id=149280 i removed kernel.org mirror and it works!
Offline
ok fixed... thank you.
Offline