mirror of
https://github.com/Jguer/yay
synced 2024-09-28 20:33:30 +00:00
Update README.md (#2458)
Update the README to prevent partial upgrades. Partial upgrades are dangerous on Arch Linux. Partial upgrades may occur when a `-y` operation is given without a corresponding `-u` operation. Quote from the ArchWiki: > Do not use: > `pacman -Sy package` > `pacman -Sy` followed by `pacman -S` package (Note the absence of `-S**u**` in the installation of the package.) > `pacman -Syuw` (Note that `pacman -Syuw` does imply the same risks like pacman -Sy`, as it will update the pacman sync database without installing the newer packages.) https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported
This commit is contained in:
parent
e19700234f
commit
9ed9b0b4e1
|
@ -35,10 +35,10 @@ If you are migrating from another AUR helper, you can simply install Yay with th
|
|||
The initial installation of Yay can be done by cloning the PKGBUILD and
|
||||
building with makepkg:
|
||||
|
||||
We start with updating the package lists and make sure we have the `base-devel` package group installed.
|
||||
We make sure we have the `base-devel` package group installed.
|
||||
|
||||
```sh
|
||||
pacman -Sy --needed git base-devel
|
||||
pacman -S --needed git base-devel
|
||||
git clone https://aur.archlinux.org/yay.git
|
||||
cd yay
|
||||
makepkg -si
|
||||
|
|
Loading…
Reference in a new issue