You are not logged in.

#1 2009-07-26 05:08:54

valpa
Member
Registered: 2008-07-05
Posts: 8

how can I survive from pacman -S policykit error ?? [solved]

I'm installing Xorg with "pacman -S xorg", after download all packages, it shows

policykit-0.9.9-i686.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n]

and I select Y, but it says:

error: failed to commit transaction (invalid or corrupted package)
policykit-0.9.9-i686.pkg.tar.gz is invalid or corrupted
Errors occurred, no packages were upgraded.

then I install policykit itself:  pacman -S policykit
same error occurs.

How can I do with it??
It seems have been download to my PC but cannot install it.

Last edited by valpa (2009-07-26 05:54:53)

Offline

#2 2009-07-26 05:12:41

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: how can I survive from pacman -S policykit error ?? [solved]

Go to /var/cache/pacman/pkg and delete the .part file of

policykit-0.9.9-i686.pkg.tar.gz.part

Then

pacman -S xorg

~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#3 2009-07-26 05:49:13

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: how can I survive from pacman -S policykit error ?? [solved]

Or If you would like to delete all the cache, just use pacman -Sc(c)

Offline

#4 2009-07-26 05:54:33

valpa
Member
Registered: 2008-07-05
Posts: 8

Re: how can I survive from pacman -S policykit error ?? [solved]

solved, thanks guys

I just switch to another mirror and use "pacman -w policykit" to download it then install it with "-S"

Offline

Board footer

Powered by FluxBB