Difference between revisions of "Pacman-mirrors/fr"

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 30: Line 30:
La manière exacte dont l'application génère la liste des miroirs est contrôlée en fournissant des arguments sur la ligne de commande.
La manière exacte dont l'application génère la liste des miroirs est contrôlée en fournissant des arguments sur la ligne de commande.


<div class="mw-translate-fuzzy">
=== '''IMPORTANT''' ===
=== '''IMPORTANT''' ===
{{Astuce|Chaque exécution de pacman-mirrors vous oblige à synchroniser votre base de données et à mettre à jour votre système.}}
{{Astuce|Chaque exécution de pacman-mirrors vous oblige à synchroniser votre base de données et à mettre à jour votre système.}}
</div>


<div class="mw-translate-fuzzy">
<div lang="en" dir="ltr" class="mw-content-ltr">
Only in the event that '''Last-Modifed''' on the mirror is newer - pacman requests the complete file.
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
This can present an awkward scenario where the local metadata is newer than the mirror but it contains older content.
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
This inconsistency may then generate '''HTTP 404 Not Found''' errors because the local metadata could contain references to package versions which no longer exist.
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
The doubled '''yy''' is to mitigate such possible issues - especially when you switch branch or mirror.
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>
 
<div class="mw-translate-fuzzy">
$ sudo pacman -Syyu
$ sudo pacman -Syyu
</div>
</div>
8,560

edits