FS#27387 - [pkgtools] pkgconflict & whoneeds: can we please have a standard way of printing help / usage info?

Attached to Project: Community Packages
Opened by Karol Błażewicz (karol) - Thursday, 01 December 2011, 18:48 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 17 November 2012, 15:03 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

[karol@black ~]$ pkgconflict -h
Traceback (most recent call last):
File "/usr/bin/pkgconflict", line 89, in <module>
known_files = read_file_lists(FILELIST_DIR)
File "/usr/bin/pkgconflict", line 59, in read_file_lists
packages = os.listdir(repopath)
OSError: [Errno 20] Not a directory: '/var/cache/pkgtools/lists/core.db'
[karol@black ~]$ pkgconflict
Usage: /usr/bin/pkgconflict <PACKAGEFILE>


[karol@black ~]$ whoneeds -h
error: could not get information on -h
[karol@black ~]$ whoneeds
error: unexpected number of arguments
Usage: whoneeds <package-name>


I'm using pkgtools 23-2.


It's a similar issue to  FS#27258 .
Should it be categorized as 'Upstream bug', like  FS#23446 ?
This task depends upon

Closed by  Jelle van der Waa (jelly)
Saturday, 17 November 2012, 15:03 GMT
Reason for closing:  Upstream
Additional comments about closing:  it's an upstream bugreport, please report it at github

Loading...