[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Problems with *.src.rpm

On Mon, 10 Mar 2003, Kurt B. Kaiser wrote:

> contact.me@hittozu.net writes:
> > I have a quite "big" problem: I got some packages .src.rpm, I copy
> > them into /usr/src/redhat/SRPM , then give rpm --rebuilddb
> > packet_name.src.rpm, it works but the *.rpm isn't in
> > /usr/src/redhat/RPMS/i386 what's the problem? I really don't manage
> > it..
> The correct command is rpm --rebuild  not rpm --rebuilddb !
> > And the question is not finished :-((( I downloaded some *i386.rpm
> >packages from freshrpms.net , try to install them with rpm -i
> >packet_name.i386.rpm and the output error is: "not an rpm package (or
> >package manifest)"...what's the reason?
> Please read the man pages again.
> It's a little confusing, but rpm -i is only used to position .src.rpm
> files in the /usr/src/redhat/ tree for custom building.  If you just
> want to install binary rpms, i.e. i386.rpm you should use, for
> example,

Don't confuse a newbie!  -i is for install, i.e. you just install a
package.  -U is for upgrade, i.e. you install a package and remove any
older version.

I agree, usually you do a -U, but for kernel packages -i is highly 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []