Moderators, translator
455
edits
(Added explanation on -Syu vs -Syyu) |
(Rephrasing and added mention of default and the recommended) |
||
Line 47: | Line 47: | ||
This can present an awkward scenario where the local metadata is newer than the mirror but it contains older content. | This can present an awkward scenario where the local metadata is newer than the mirror but it contains older content. | ||
This may then generate 404 errors because the local metadata | This inconsistency may then generate '''HTTP 404 Not Found''' errors because the local metadata could contain references to package versions which no longer exist. | ||
The doubled ''' | The doubled '''yy''' is to mitigate such possible issues - especially when you switch branch or mirror. | ||
It is | It is bad practise to indiscrimately use '''-Syyu''' for update scenarios, but - pamac mirrorlist timer rewrites the mirrorlist on a weekly or bi-weekly basis - thus increasing the possibility of having inconsistent metadata - in which case the doubled '''yy''' makes sense - which is also why it is used in the pacman-mirrors man page. | ||
To further the inconsistency - pamac uses copies of the pacman database - which has caused confusion before - pamac and pacman being in disagreement over available updates. | To further the inconsistency - pamac uses copies of the pacman database - which has caused confusion before - pamac and pacman being in disagreement over available updates. | ||
The commands presented in this document uses the syntax '''-Syu''' thus leaving it to the user to add the extra '''-Syyu''' only in case where it is strictly necessary. | |||
==TL:DR - Samples please== <!--T:13--> | ==TL:DR - Samples please== <!--T:13--> |