Elliott Martin <[EMAIL PROTECTED]> writes: > I stumbled upon something interesting today while trying to update the > XFree86* packages. For some reason, urpmi --auto-select is telling me that > everything has already been updated, but rpmdrake lists a good number of > packages that have updates, but that's another issue... > > I ran the command: > > rpm -q `urpmq Xfree8 | cut -d ':' -f 2` | grep -v not > > to get a list of the installed packages so I could update them, but urpmq is > spitting its' output somewhere other than stdout, and rpm tells me to provide > it with some arguments.
It is not a problem of urpmq, you use it badly, it exits with error so it is normal stdout is not used. The following script should do what you are expected to have I guess : rpm -q `urpmq --list | grep -i Xfree8 | sort | uniq` | grep -v not François.