FS#77697 - [pacman] Undocumented difference between "--sync --refresh" and "--files --refresh"
Attached to Project:
Pacman
Opened by Alberto Salvia Novella (es20490446e) - Wednesday, 01 March 2023, 19:33 GMT
Last edited by Allan McRae (Allan) - Monday, 11 September 2023, 13:00 GMT
Opened by Alberto Salvia Novella (es20490446e) - Wednesday, 01 March 2023, 19:33 GMT
Last edited by Allan McRae (Allan) - Monday, 11 September 2023, 13:00 GMT
|
Details
- "--sync --refresh" downloads "repo.db"
- "--files --refresh" downloads "repo.files" But that's not mentioned in the manual: https://archlinux.org/pacman/pacman.8.html |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 11 September 2023, 13:00 GMT
Reason for closing: Implemented
Additional comments about closing: git commit 5f43ac85f65461711f719bbf5991860888fd3608
Monday, 11 September 2023, 13:00 GMT
Reason for closing: Implemented
Additional comments about closing: git commit 5f43ac85f65461711f719bbf5991860888fd3608
See:
* man pacman | less -p --sync
* man pacman | less -p --files
* https://man.archlinux.org/man/core/pacman/pacman.8.en
It says:
-y, --refresh: Download a fresh copy of the master package database from the server(s) defined in pacman.conf"(5). This should typically be used each time you use --sysupgrade" or -u". Passing two --refresh" or -y" flags will force a refresh of all package databases, even if they appear to be up-to-date.
-y, --refresh: Download fresh package databases from the server. Use twice to force a refresh even if databases are up to date.
Which doesn't mention a thing about which kind of database it is downloading.