YUP and RPM dependencies

Wolfgang Denk wd at denx.de
Sat Mar 18 20:53:35 EST 2000


In message <200003180622.BAA20354 at shell.faradic.net> you wrote:
>
> After I heard about the YellowDog Update Program (YUP) from someone on this
> list, I went and downloaded the RPM and installed it.  However, it
...
> But, as a side note, I'm ecstatic that this sort of app is finally out.. I


Ummm... this is a *developer* mailing list - but where, oh  where  is
the  good old Unix tradition of using the toolbox? Even if you do not
find a fancy tool with GUI and bells and whistles,  you  always  have
the toolbox right at your fingertips.

Where is the problem:

- use "rpm -qa" to get a listing of all installed packages
- use perl and/or sort, awk, sed to separate package name and version
- use wget or ncftp or ftp + expect to get a directory listing from
  your favorite FTP mirror with update packages
- use perl and/or sort, awk, sed to generate a list of packages that
  are installed in your system, and that have never versions on the
  FTP server
- generate and run the necessary commands to nstall those packages?

In ten minutes you will have a script of about 100 lines  which  will
do  exactly  what you want... And as an additional benefit you can go
ecstatic that you have written it yourself, and you probably  learned
a few new things, too.


Ummm... and BTW: is it really so difficult to  check  with  a  search
engine? I quich search at freshmeat for "update new RPM" shows

rhlupdate
   rhlupdate is a small configurable perl script that will connect to
   your favorite Red Hat site and update all of the RPMS you have
   installed. It also allows you to specify what packages not to
   upgrade.

It's there, you just have to look a bit around...

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Experience is what causes a person to make new  mistakes  instead  of
old ones.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list