FS#31222 - [pkgtools] pkgconflict not really working

Attached to Project: Community Packages
Opened by Ali Kaasinen (vanukas) - Tuesday, 21 August 2012, 11:21 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 17 January 2013, 01:38 GMT
Task Type Bug Report
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 0
Private No

Details

Description:

This 'pkgconflict' python(3) script isn't really working. It actually fails in a total of three different ways. First off, the missing '/var/cache/pkgtools/lists/' directory since the "pkgfile" split produces this:

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 56, in read_file_lists
repos = (p for p in os.listdir(list_base) if not p.endswith(".tar.gz"))
OSError: [Errno 2] No such file or directory: '/var/cache/pkgtools/lists'

Then, when symlinking to '/var/cache/pkgfile/' it still fails because the files there aren't actually in .tar.gz format.

Finally, you're going to find out that this tool is actually meant for just .pkg.tar.gz packages.

Additional info:
* pkgtools 24-3
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Thursday, 17 January 2013, 01:38 GMT
Reason for closing:  Upstream
Additional comments about closing:  Not a packaging issue.
Comment by Dave Reisner (falconindy) - Tuesday, 21 August 2012, 16:56 GMT
This isn't my package, or my code.

Loading...