How do you update the headers of the system?
fclee at highstream.net
fclee at highstream.net
Sat Mar 26 16:15:30 MST 2005
Apparently I don't have rpmbuild so I tried using YUM:
[ric at localhost ric]$ rbmbuild --help
bash: rbmbuild: command not found
[ric at localhost ric]$ yum list
Gathering header information file(s) from server(s)
Server: Yellow Dog Linux 4.0 Base
Error - /var/cache/yum/base/header.info cannot be found
Please ask your sysadmin to update the headers on this system.
[ric at localhost ric]$ yum check-update
Gathering header information file(s) from server(s)
Server: Yellow Dog Linux 4.0 Base
Error - /var/cache/yum/base/header.info cannot be found
Please ask your sysadmin to update the headers on this system.
So my next question:
1) How can I update the headers so that I can use YUM do get rpmbuild
downloaded?
Regards,
Ric.
Quoting Andrew <virgule88 at videotron.ca>:
> On Sat, 2005-03-26 at 11:51, Frederick C.Lee wrote:
>
> You installed a source rpm. That is not an actual package one can
> install and use the software right off it. This would have been a
> ppc.rpm file. You must compile it first then install and use.
>
> The easiest way is to use rpmbuild: (yum can install it if not already
> installed) Since you'll need write privileges in /usr/src/yellowdog/*
> tree do this as root:
>
> #] rpmbuild --rebuild qgis-0.6.0-0.src.rpm [ENTER]
>
> This will compile the source and create ppc.rpm files(s) in
> /usr/rsc/yellowdog/RPMS/ppc/ which you will install like you did with
> step 3)
>
> > Greetings:
> > I have a rpm package that I had downloaded. I followed the "Red
> > Hat Linux for Dummies" (being that YDL is a RHL derivative)
> > instructions for installing a RPM. All I got was the .gz file as the
> > result.
> >
> >
> > 1) Locate the rpm package to install:
> > [ric at localhost ric]$ ls
> > Apple Desktop qgis-0.6.0-0.src.rpm
> >
> > 2) Check the status of any previous target rpm installation:
> > [ric at localhost ric]$ rpm -qls qgis*
> > package qgis-0.6.0-0.src.rpm is not installed
> >
> > 3) Install the package per instruction:
> > [ric at localhost ric]$ rpm -ivh qgis*
> > error: cannot write to %sourcedir /usr/src/yellowdog/SOURCES
> >
> > 3a) It failed. Okay, via Super User.
> > [ric at localhost ric]$ su
> > Password:
> > [root at localhost ric]# ls /usr/src/yellowdog/SOURCES
> > qgis-0.6.0.tar.gz
> > [root at localhost ric]# rpm -ivh qgis*
> > 1:qgis ###########################################
> > [100%]
> >
> >
> > 4) I appeared to have installed very quickly (a second or two). Did it
> > REALLY INSTALL?
> > Query to check:
> > [root at localhost ric]# rpm -qi qgis*
> > package qgis-0.6.0-0.src.rpm is not installed
> >
> > 5) That's odd. Check yellowdog sources:
> > [root at localhost ric]# ls /usr/src/yellowdog/SOURCES
> > qgis-0.6.0.tar.gz
> > [root at localhost ric]#
> >
> > ------------
> >
> > Okay.
> > So, all I got was the .gz package. And it didn't unpack or de-archive.
> > Now what do I do?
> >
> > How do I check for a de-archiving routine? Or is it necessary?
> > Since all the other Red Hat RPM packages have
> > already been installed and hence, probably de-archived as well.
> >
> > So what's missing?
> >
> > Regards,
> > Ric.
> >
> > _______________________________________________
> > yellowdog-newbie mailing list
> > yellowdog-newbie at lists.terrasoftsolutions.com
> > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie
>
> _______________________________________________
> yellowdog-newbie mailing list
> yellowdog-newbie at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie
>
More information about the yellowdog-newbie
mailing list