Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".
* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.
* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.
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.