[pacman-dev] [PATCH] '-Spp and -Supp' options were added to generate uri list without the downloaded package uris

Xyne xyne at archlinux.ca
Tue Sep 8 20:32:20 EDT 2009


> Here are some output of the patch just sent to the ML.
> 
> $ pacman -Sp --print-format "%r/%n-%v : %l [%s]" kdelibs
> extra/qt-4.5.2-6 :
> http://mir1.archlinuxfr.org/archlinux/extra/os/i686/qt-4.5.2-6-i686.pkg.tar.gz
> [28914122]
> extra/ilmbase-1.0.1-1 :
> http://mir1.archlinuxfr.org/archlinux/extra/os/i686/ilmbase-1.0.1-1-i686.pkg.tar.gz
> [0]
> extra/openexr-1.6.1-1 :
> http://mir1.archlinuxfr.org/archlinux/extra/os/i686/openexr-1.6.1-1-i686.pkg.tar.gz
> [0]
> 
> $ pacman -Up --print-format "%r/%n-%v : %l [%s]"
> /var/cache/pacman/pkg/bash-4.0.028-1-i686.pkg.tar.gz
> local/bash-4.0.028-1 :
> /var/cache/pacman/pkg/bash-4.0.028-1-i686.pkg.tar.gz [0,93]
> 
> $ pacman -Sp --print-format "%r/%n-%v : %l [%s]" bash
> core/bash-4.0.028-1 :
> http://mir1.archlinuxfr.org/archlinux/core/os/i686/bash-4.0.028-1-i686.pkg.tar.gz
> [0,00]
> 
> $ pacman -Rdp --print-format "%r/%n-%v : %l [%s]" bash
> local/bash-4.0.028-1 : bash-4.0.028-1 [2,60]
> 

Nice work. Thank you for implementing this.


More information about the pacman-dev mailing list