[pacman-dev] pacman -Qo with different root

Allan McRae allan at archlinux.org
Tue Jul 24 22:12:36 EDT 2012


On 23/07/12 15:04, Allan McRae wrote:
> Does this even work or am I missing something completely...
> 
>> mkdir -p ~/root/var/lib/pacman
>> sudo pacman-maint -r ~/root -Sy bash
>> pacman-maint -r ~/root -Qo /bin/bash
> error: No package owns /bin/bash
> 
> That is using pacman 4.0.x from the maint branch.
> 

My stupidness...

pacman -Qo -r ~/root -Qo ~/root/bin/bash




More information about the pacman-dev mailing list