On Tuesday 20 August 2002 07:28 am, Fran�ois Pons wrote: > 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.
Fair enough. On a small side note, the man pages and the --help command line options are not in sync (--list is not in the man pages). -Elliott
