--caplookup support in textui

Bug #555258 reported by Elan Ruusamäe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
poldek
In Progress
Undecided
Cactus

Bug Description

please add support for resolving Provides (and others) caps lookup in text ui mode as well.

works from commandline:
"poldek -u db-java-devel --caplookup"

does not work from text ui:
poldek:/all-avail> ins db-java-devel --caplookup
ins: unrecognized option '--caplookup'
Try `ins --help' or `ins --usage' for more information.

Revision history for this message
Cactus (uzi18) wrote :
Changed in poldek:
assignee: nobody → Cactus (uzi18)
status: New → In Progress
Revision history for this message
Elan Ruusamäe (glen666) wrote :

patch looks okay, however i can't test it as poldek@HEAD does not build.

Revision history for this message
Elan Ruusamäe (glen666) wrote :

--caplookup option seems to exist now, but i can't install a file based on that path:

poldek:/all-avail> ins --caplookup /usr/lib/nagios/plugins/check_file_age
error: /usr/lib/nagios/plugins/check_file_age: no such package
There were errors
poldek:/all-avail> search -f /usr/lib/nagios/plugins/check_file_age
Searching packages..........................................done.
1 package(s) found:
nagios-plugin-check_file_age-2.1.1-4.x86_64
poldek:/all-avail>

afaik it worked from commandline, but seems not today:
# poldek --up -u --caplookup /usr/lib/nagios/plugins/check_file_age
error: /usr/lib/nagios/plugins/check_file_age: no such package

# poldek -u nagios-plugin-check_file_age
# rpm -qf /usr/lib/nagios/plugins/check_file_age
nagios-plugin-check_file_age-2.1.1-4.x86_64

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.