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.
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.
FS#23090 - Upgrade to pacman-git can't read local db
Attached to Project:
Pacman
Opened by Jan Lieven (phara0h) - Tuesday, 01 March 2011, 18:59 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 01 March 2011, 19:43 GMT
Opened by Jan Lieven (phara0h) - Tuesday, 01 March 2011, 18:59 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 01 March 2011, 19:43 GMT
|
DetailsSummary and Info:
After upgrading from core/pacman to pacman-git pacman isnt able to read the lcoal DB anymore. Could be related to XFS. The attached tarball contains my /var/lib/pacman/local/ (chowned to uid 1000, gid 100 pacman -Q --debug --> http://ix.io/1vt Steps to Reproduce: - install pacman-git - run pacman-db-upgrade - run pacman -Q - get an ampty list. |
This task depends upon
Closed by Dan McGee (toofishes)
Tuesday, 01 March 2011, 19:43 GMT
Reason for closing: Fixed
Additional comments about closing: Commit b12be99c8925e758554076 in master.
Tuesday, 01 March 2011, 19:43 GMT
Reason for closing: Fixed
Additional comments about closing: Commit b12be99c8925e758554076 in master.

Short version of the problem: entry->d_type is always 0 (DT_UNKNOWN) on XFS, so we need to not always shortcut ourselves here and fall back to stat if available.