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

Details

Summary 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.
Comment by Dan McGee (toofishes) - Tuesday, 01 March 2011, 19:30 GMT
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.

Loading...