[pacman-dev] Issue while testing largefile support

Dan McGee dpmcgee at gmail.com
Tue Jul 10 11:23:32 EDT 2007


Interesting debug output while testing largefile support in pacman
(http://bugs.archlinux.org/task/7578):

[14:55:58] debug: config: finished parsing /usr/local/etc/pacman.conf

[14:55:58] debug: registering database 'local'
[14:55:58] debug: opening database 'local'
[14:55:58] debug: opening database from path '/usr/local/var/lib/pacman/local/'
loading package data... [14:55:58] debug: loading target
'largepackage-1-3-i686.pkg.tar.gz'
[14:55:58] debug: reading 'largepackage' metadata
done.
checking dependencies... [14:56:58] debug: looking for unsatisfied dependencies
[14:56:58] debug: loading package cache for repository 'local'
[14:56:58] debug: cannot find package installed 'largepackage'
[14:56:58] debug: looking for conflicts
[14:56:58] debug: checkconflicts: db vs target 'largepackage'
[14:56:59] debug: sorting by dependencies
[14:56:59] debug: started sorting dependencies
[14:56:59] debug: sorting dependencies finished
done.
checking for file conflicts... [14:56:59] debug: looking for file conflicts
[14:56:59] debug: searching for filesystem conflicts: largepackage
[14:56:59] debug: /opt/ is a directory, not a conflict
[14:56:59] debug: /opt/largefile is a directory, not a conflict
done.
installing largepackage... [14:56:59] debug: adding package largepackage-1-3
[14:56:59] debug: extracting files
[14:56:59] debug: decompression progress: 0.001907% (40960 / -2146827972)
[14:56:59] debug: decompression progress: 0.001907% (40960 / -2146827972)
[14:56:59] debug: decompression progress: 0.001907% (40960 / -2146827972)
[14:56:59] debug: extracting /opt/
[14:56:59] debug: warning extracting opt/ (Already exists: File exists)
[14:56:59] debug: decompression progress: 0.001907% (40960 / -2146827972)
[14:56:59] debug: extracting /opt/largefile
[14:59:25] debug: updating database
[14:59:25] debug: adding database entry 'largepackage'
[14:59:25] debug: writing largepackage-1-3 DESC information back to db
[14:59:25] debug: writing largepackage-1-3 FILES information back to db
[14:59:25] debug: writing largepackage-1-3 DEPENDS information back to db
[14:59:25] debug: adding entry 'largepackage' in 'local' cache
[14:59:25] debug: package has no dependencies, no other packages to update
done.
[14:59:25] debug: running "ldconfig -r /"

Here is the package filelist:
opt/ (directory)
opt/largefile (a 2GB sized normal file)

Notice what the above output says- that /opt/largefile is a directory,
not a conflict. Clearly a problem here. This is pacman built off my
working branch, so not including any recent patches from Andrew or
Chantry with regards to the overwrite stuff.

-Dan




More information about the pacman-dev mailing list