Re: How to get yum to only install < i586?

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

 



On 10/27/07, seandarcy <seandarcy2@xxxxxxxxx> wrote:
> Kam Leo wrote:
> > On 10/26/07, seandarcy <seandarcy2@xxxxxxxxx> wrote:
> >> I'm running fc6 on an old i586 machine. yum updates the kernel
> >> correctly, and glibc.
> >>
> >> But, it continues to install openssl.i686, which cause no end of
> >> trouble, because this a remote machine. openssl.i686 hoses sshd and rpm.
> >>   So someone actually has to crawl though a long shaftway, and set the
> >> machine to allow telnet.
> >>
> >> I have exactarch=1. Somthing I'm missing?
> >>
> >> sean
> >
> > What does "uname -p" produce and how is the architecture specified in
> > the .repo files?
> >
>
> uname -p
> i586
>
> cat fedora-updates.repo
> [updates]
> name=Fedora Core $releasever - $basearch - Updates
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
> mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
> .........
>
> Thanks for any help.
>
> sean
>

I'm surprised that your box is installing the i686 files. I've got a
K6-2 cpu box and openssl
packages are all i386. Did you clone the disc or install from a backup?

>From yum documentation, i.e. "man yum.conf":

exactarch

    * Either '1' or '0'. Set to '1' to make yum update only update the
architectures of packages that you have installed. ie: with this
enabled yum will not install an i686 package to update an i386
package. Default is '1'.

Based on the above the best bet seems to be to

1. find all i686 packages, e.g.

rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n' | grep i686 | sort

2. download the i386 packages (same version),

3. use rpm or yum to remove the i686 packages,

4. install the i386 packages.

Hope that works for you.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux