1
0
mirror of https://github.com/Jguer/yay synced 2024-07-01 07:56:37 +00:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Absobel
7bd8f0ba82
Merge 60ab4eae6a into 9ed9b0b4e1 2024-06-20 14:36:33 +02:00
Marcus B Spencer
9ed9b0b4e1
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
2024-06-20 14:15:14 +02:00
Absobel
60ab4eae6a fix: added missing spaces 2024-03-06 16:54:02 +01:00
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -3,7 +3,7 @@ package topo
import "errors"
var (
ErrSelfReferential = errors.New("self-referential dependencies not allowed")
ErrConflictingAlias = errors.New("alias already defined")
ErrCircular = errors.New("circular dependencies not allowed")
ErrSelfReferential = errors.New(" self-referential dependencies not allowed")
ErrConflictingAlias = errors.New(" alias already defined")
ErrCircular = errors.New(" circular dependencies not allowed")
)