Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249976 - app-portage/portage-utils-0.1.29: qlist doesn't give slot information for package in different ROOT
Summary: app-portage/portage-utils-0.1.29: qlist doesn't give slot information for pac...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-05 21:10 UTC by Pascal Poudrier
Modified: 2010-06-08 05:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Poudrier 2008-12-05 21:10:52 UTC
with portage 2.2_RC16, I can get slot information from package on the main system with the following command : qlist -S (give every packages installed and their slots).

If I do the same but in a different root :
ROOT=/vservers/test qlist -S, I only get installed packages without their slot.

Thank's

Reproducible: Always

Steps to Reproduce:

Actual Results:  
no package slots is given

Expected Results:  
Should give packages slots
Comment 1 solar (RETIRED) gentoo-dev 2008-12-05 22:11:59 UTC
try again with a trailing slash on ROOT variable like ROOT=/foo/ qlist -CLS
Comment 2 Pascal Poudrier 2008-12-07 15:52:08 UTC
Yes, it's working.

It is the right way to use a different ROOT ? I mean to always put a trailing slash ?

I use ROOT since at least 3 years and I never had to do that before.

Thanks
Comment 4 Pascal Poudrier 2009-01-14 16:17:46 UTC
(In reply to comment #3)
> Can you try this?
> http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?r1=1.158&r2=1.159&makepatch=1&diff_format=u
> 

Hi, sorry for this long delay, I was very busy. Can you guide me on how can I apply this patch with portage ?

thanks
Comment 5 SpanKY gentoo-dev 2010-06-08 05:31:54 UTC
should be fixed with newer versions already in the tree at this point