FS#19475 - [pkgtools] pkgfile --update errors out if /var/lock not present
Attached to Project:
Community Packages
Opened by Ivan Stojic (stojic) - Saturday, 15 May 2010, 20:30 GMT
Last edited by Gavin Bisesi (Daenyth) - Sunday, 16 May 2010, 01:09 GMT
Opened by Ivan Stojic (stojic) - Saturday, 15 May 2010, 20:30 GMT
Last edited by Gavin Bisesi (Daenyth) - Sunday, 16 May 2010, 01:09 GMT
|
Details
Just installed pkgfile and ran pkg_file --update (as
root):
# pkg_file --update /usr/bin/pkgfile: line 144: /var/lock/pkgfile: No such file or directory # mkdir /var/lock # pkg_file --update Updating [core] file list... Extracting [core] file list... Done Updating [extra] file list... Extracting [extra] file list... Done Updating [community] file list... Extracting [community] file list... Done After creating /var/lock directory pkgfile works. pkgtools version is 18-1 |
This task depends upon
Anyway, this isn't really a bug if the dir is supposed to be there, I'll ascribe this to PEBCAK, although I am absolutely certain that I didn't delete it. Maybe arch at the end of 2009 missed /var/lock? ;-)