On Sun, 27 Aug 2000, John Summerfield wrote:

>I built an rpm from source. As I'm building on and for an AMD K6, I said, 
>"--target=k6."
>
>I duly created /u02/summer/redhat/RPMSi586-pc-linux-gnu/k6/fetchmail-5.5.1-1.k6
>.rpm, but find I can't install it:
>
>[root@dugite /root]# rpm --upgrade  /u02/summer/redhat/RPMSi586-pc-linux-gnu/k6
>/fetchmail-5.5
>.1-1.k6.rpm
>package fetchmail-5.5.1-1 is for a different architecture
>
>unless I specify --ignorearch
>
>What must I do to avoid having to specify this option each time?

Edit /usr/lib/rpm/rpmrc... it is more or less self explanatory.

This begs a question...

Why is rpmrc in /usr/lib/rpm/?  Should it not make more sense in
/var/lib/rpm/?  I mean this is a configuration file, and it is in
/usr which is sometimes mounted read-only.  Not a very good idea
IMHO.  It would make _much_ more sense under /var/...

If your /usr is read only, move the file to /var/lib/rpm and make
a symlink in /usr/lib/rpm..

TTYL




--
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

Want to run Microsoft Windows software in Linux?  You can!  VMware allows 
you to install and run other operating systems inside a window in X windows.
You can install Windows 95/98/NT/2000, FreeBSD, Solaris, and many more.
3D Games do not work yet, but virtually all office and productivity software
runs excellent.           http://www.vmware.com



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to