You are not logged in.
Hi there
I have just installed a fresh installation of arch on a different hard disk (very long and boring reasons for doing this) everything seems to have gone well until I tried to install KDE.
the mystery error message that i keep getting is
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.which doesn't really give very much away, I tried clearing the pacman cache and installing again but again I got the same error message.
I'm at a bit of a loss as to what to do next to try and troubleshoot this?
thanks in advance for any suggestions that anyone can offer.
Mike
Last edited by 2k (2012-06-16 22:11:08)
Offline
You may need to do pacman-key --init and then pacman-key --populate archlinux
See the following announcement:
http://www.archlinux.org/news/having-pa … -packages/
If you haven't done so already.
Our enemies are your enemies, Nick. Disorder, war. It's just a matter of time before a dirty bomb goes off in Moscow, or an EMP fries Chicago. --- Alexander Pierce, Captain America: Winter Soldier
Access Denied! De-cryption failed, override denied all files sealed! --- Triskelion, Shield OS
-----
How to ask questions the smart way
Offline
I've done that already.
thanks for the suggestion though
Offline
Are you posting from that computer? In other words, is your network on that computer working?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Hi there
Yeah I'm using this computer, I'm using fluxbox at the moment as I prefer flux but my girlfriend prefers to use KDE also she likes the computer to boot into KDM *sighs*, we don't have the most reliable internet connection due to the phone line being crap and the provider / ISP won't come out to fix it. However it hasn't caused any major problems in the past.
Offline
There are some flags you could try with pacman -S, such as --verbose (-v) and --debug.
Offline
right after running pacman -S kde --debug
I get (predictably) a long output
at the start I get
debug: returning error 31 from alpm_db_get_pkg : could not find or read package
debug: returning error 31 from alpm_db_get_pkg : could not find or read package
... loads more ...
debug: returning error 31 from alpm_db_get_pkg : could not find or read package
debug: returning error 31 from alpm_db_get_pkg : could not find or read package
debug: returning error 31 from alpm_db_get_pkg : could not find or read packageand towards the end I get
debug: found cached pkg: /var/cache/pacman/pkg/kdewebdev-klinkstatus-4.8.4-1-i686.pkg.tar.xz
debug: sha256sum: 77055e942b327291d31b6bb0c481982a168a91b90fb27390c904ce9d6f27027e
debug: checking sha256sum for /var/cache/pacman/pkg/kdewebdev-klinkstatus-4.8.4-1-i686.pkg.tar.xz
debug: found cached pkg: /var/cache/pacman/pkg/kdewebdev-kommander-4.8.4-1-i686.pkg.tar.xz
debug: sha256sum: aaa72985801a451e8f96e7c0b4efc9bb54820421b5cefeb0fb06743eb385d916
debug: checking sha256sum for /var/cache/pacman/pkg/kdewebdev-kommander-4.8.4-1-i686.pkg.tar.xz
debug: returning error 33 from check_validity : invalid or corrupted package
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: freeing group cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: freeing group cache for repository 'extra'
debug: unregistering database 'community'
debug: freeing package cache for repository 'community'
debug: freeing group cache for repository 'community'If it would help I can post the whole thing but it is huge and after going through it a few times I can't see that it would help.
Just to make sure it wasn't my internet connection causing this problem I tried installing it onto my server and it installed fine.
Offline
debug: checking sha256sum for /var/cache/pacman/pkg/kdewebdev-kommander-4.8.4-1-i686.pkg.tar.xz debug: returning error 33 from check_validity : invalid or corrupted package error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded.
Try another mirror, there is probably something wrong with the kdewebdev-kommander package on the mirror you are using. A few days ago, the same happened on the kernel.org mirrors with the last emacs upgrade.
Alternatively, since you already installed it on your server, you could just copy the pacman cache from your server to your system and run the install again. That should also work.
Offline
I have copied kdewebdev-kommander-4.8.4-1-i686.pkg.tar.xz from my server to my desktop computer but it's still giving me the same error, i'll have a go at copying the entire cache
Offline
Copying the entire cache from my server appears to have worked.
I'll have a look to see why it appears that the server and my desktop are using different mirror.
anyway it's working now so i'll mark the thread solved
Thanks for everyones help
Mike
Offline