You are not logged in.
Pages: 1
In the wiki http://wiki.archlinux.org/index.php/Pac … g_packages it is said that:
Note: Do not refresh the package list when installing packages (i.e. pacman -Sy package_name); this can lead to dependency issues.[1] Upgrade explicitly first; before installing new packages.
Does this mean that I should upgrade the system with
pacman -Syueverytime I want to install a new package?
Offline
I think it just means you should use "pacman -S" instead of "pacman -Sy" for installing packages.
Offline
I think it just means you should use "pacman -S" instead of "pacman -Sy" for installing packages.
I understood that part. The confusing bit is this one
Upgrade explicitly first; before installing new packages.
Thanks.
Last edited by dabd (2010-05-14 12:58:23)
Offline
"pacman -S pkg" is safe. It will fail if the package has been updated and then you should do a full system update.
Doing regular full updates in Arch is a good thing.
Offline
yes, running a 'pacman -Syu' before you install new packages helps to ensure that all your new installed packages will not have any dependency issues.
Offline
yes, running a 'pacman -Syu' before you install new packages helps to ensure that all your new installed packages will not have any dependency issues.
I understand that, but I also read somewhere that you should be careful about doing a full system upgrade, because arch is a rolling release distribution.
If I understood correctly, everytime I need to install a new package, I might break my system in two ways:
1. Updating the package list with 'pacman -Sy'
2. Upgrading the system with 'pacman -Syu'
Which one could potentially cause less damage?
Offline
"pacman -S pkg" is safe. It will fail if the package has been updated and then you should do a full system update.
Doing regular full updates in Arch is a good thing.
Ok, thanks.
Offline
I also read somewhere that you should be careful about doing a full system upgrade
Indeed you should - careful like this.
Offline
Pages: 1