You are not logged in.

#1 2012-04-25 07:26:21

rnarch
Member
Registered: 2012-03-17
Posts: 292

KDE installation - failed to commit transaction[SOLVED]

I tried to install kde and kde-meta (in addition to xorg) as mentioned in the wiki. A lot of packages were downloaded but at time of installation, following is the error:

...
Total Installed Size:   1476.67 MiB

Proceed with installation? [Y/n]
(357/357) checking package integrity                                        [###########################################] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
[abcd@myhost ~]$

According to this post: https://bbs.archlinux.org/viewtopic.php?id=128378  and this entry in the wiki: https://wiki.archlinux.org/index.php/Pacman-key  I ran the command  'sudo pacman-key --init' after making change in pacman.conf file: 'SigLevel = Optional TrustAll'. After this, it asked for confirmation to import many keys, but still 'sudo pacman -S kde' is not working. Still the message is the same: "failed to commit transaction...". I am not sure where things are going wrong.

Last edited by rnarch (2012-04-25 17:07:50)

Offline

#2 2012-04-25 08:15:08

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: KDE installation - failed to commit transaction[SOLVED]

It could potentially be a corrupted package. Running pacman in debug mode (--debug) should tell you which package the integrity check is failing on. Remove that package from your pacman cache and then try installing again (so the package gets downloaded again).


Burninate!

Offline

#3 2012-04-25 14:29:49

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: KDE installation - failed to commit transaction[SOLVED]

Thanks for helping.
I checked in /var/cache/pacman/pkg folder and one pkg was only partly downloaded. Replacing that corrected the problem. --debug command was telling that there are corrupted or invalid packages but did not specify which was the culprit package.
The kde and kde-meta are finally installed and working well.

Offline

#4 2012-04-25 16:00:33

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: KDE installation - failed to commit transaction[SOLVED]

Good to hear you managed to get it up and running.

Don't forget to mark your thread as [SOLVED].


Burninate!

Offline

#5 2012-04-25 17:08:08

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: KDE installation - failed to commit transaction[SOLVED]

Marked SOLVED.

Offline

Board footer

Powered by FluxBB