Fwd: Re: [Comm-en] Install issue

Michael Shigorin mike at osdn.org.ua
Wed Feb 11 10:11:32 MSK 2004


hmm... better put it here too :-)  misaimed...

----- Forwarded message from Michael Shigorin <mike at osdn.org.ua> -----

Date: Wed, 11 Feb 2004 09:09:56 +0200
From: Michael Shigorin <mike at osdn.org.ua>
To: "James F." <anathema890 at hotmail.com>
Subject: Re: [Comm-en] Install issue

On Tue, Feb 10, 2004 at 03:31:02PM -0700, James F. wrote:
> I don't mean to ask so many questions

np :)

> but do I download all of the xfree86 rpms, or just one?

Do rpm -qa | grep ^XFree86 to find out which ones to upgrade;
in fact, if you're on kind of broadband (so that it won't
interrupt), you can try this scriptlet:

#!/bin/sh
pkglist=""
prefix="ftp://212.13.100.3/pub/shrek/ALTLinux/master22/RPMS.master/"
suffix="-4.3.0-alt7.M22.i586.rpm"
rpm -qa --queryformat '%{NAME}\n' \
| grep ^XFree86 \
| while read i; do
    pkglist="$pkglist $prefix$i$suffix"
  done
rpm -Fvh $pkglist

"I didn't actually test this!" :-)

*OR* you could use the benefit of that collection being a
repository, use http://search.altlinux.ru/apt/sources.list-shrek
(just add to your /etc/apt/sources.list) and 

	apt-get update; apt-get install XFree86

should handle this issue.

> If just one, which one?

A set of, accordingly to already installed. (so we've looked at
three ways for doing that -- rpm -Fvh XFree*4.3.0*, Funky Script
(tm) and apt-get)

> Also, how do I FTP from the shell?

lftp is my favourite client :)

----- End forwarded message -----

-- 
 ---- WBR, Michael Shigorin <mike at altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/



More information about the community-en mailing list