You are not logged in.
Pages: 1
Hi guys,
I have a problem with pacman. I have very small root directory 10 Gb only, I didn`t want to loose pacman cache, so I moved directory /var/cache/pacman to another disk and create symlink, using this command sudo ln -s /.. /var/cache.
Today I tried to update system and new version of pacman (pacman-5.0.2-2-x86_64.pkg.tar.xz) was available, but I got these errors
"error: could not open file /var/cache/pacman/pkg/pacman-5.0.2-2-x86_64.pkg.tar.xz: No such file or directory
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded."
When I tried to run update again I got "pacman: command not found"
I have all cache files but pacman was removed itself.
Yaourt is also not working.
Is there any other way to install pacman again, except run live cd? How to avoid such situations in a future?
Offline
Offline
Pages: 1