Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Bug Report
Category Documentation
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 6.0.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Mark Wagie (yochananmarqos) - Wednesday, 01 March 2023, 21:42 GMT
Both options are indeed mentioned in the manual. The webpage you linked seems to be out of date, however.

See:

* man pacman | less -p --sync
* man pacman | less -p --files
* https://man.archlinux.org/man/core/pacman/pacman.8.en
Comment by Alberto Salvia Novella (es20490446e) - Thursday, 02 March 2023, 03:15 GMT
By using "man pacman" I see the same issue.

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.
Comment by Matthew Sexton (wsdmatty) - Friday, 02 June 2023, 00:27 GMT
Here's a patch adding (repo.db) and (repo.files) under --refresh options
Comment by Alberto Salvia Novella (es20490446e) - Friday, 02 June 2023, 00:54 GMT
Thanks!

Loading...