You are not logged in.
Pages: 1
so i was downloading and instaling KDE from pacman
i did
sudo pacman -S kde
to download everything
in the midle of the kde download, the kdegraphics package became corrupted, in particular the kdegraphics-3.4.0-5.pkg.tar.gz file. I have no idea how to force pacman to download a new copy of this package/file/all-of-kde
so im sure this is some easy command, but i have no idea 8(
again, thanks in advance.
Offline
As root, remove this file from the /var/cache/pacman/pkg/ directory. Then run pacman again.
Offline
Try to update your pacman database....
pacman -Sy kde
It might help
To err is human... to really foul up requires the root password.
Offline
In addition to jonathantan86 suggestion, you will probably need to adjust your extra mirror. Just move servers up and down on the list in /etc/pacman.d/extra until you get a good copy.
...pacman -Scc will clear ALL of the packages in your cache folder if you find that easier.
Offline
Perhaps the file on the mirror was being uptaded.
Offline
Thank you guys! All is working now.
Offline
As root, remove this file from the /var/cache/pacman/pkg/ directory. Then run pacman again.
that's a bit of a hack - manually messing with the pacman cache isn't the greatest idea (though it works) - it'd be better to use:
pacman -Scc
to clean out the cache
Offline
but maybe you want to keep the other packages, a pacman option -C package, which only cleans this package, would be cool
Offline
Phrakture:
How does manually deleting a package from the cache folder mess up the cache? I can't find any indication of pacman recording whether a package is in the cache folder. I always thought it just checked in the cache first for the package then download when neccessary. Maybe I'm misunderstanding you, could you clarify?
Offline
Phrakture:
How does manually deleting a package from the cache folder mess up the cache? I can't find any indication of pacman recording whether a package is in the cache folder. I always thought it just checked in the cache first for the package then download when neccessary. Maybe I'm misunderstanding you, could you clarify?
I never said it would mess anything up - but there's always the possibility - what if tomorrow, judd releases a new pacman version which actually records cached packages (for some reason)?
It's just never really a good idea to manually change something which is under control of an application... it works fine, hell, I do it sometimes... I just don't like to suggest it to people (especially those new to arch)
Offline
Pages: 1