Re: Is there any way to 'force' a yum install/update?

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

 



Would this do it?

Download rpm you want to install.

yum erase package

#to get rid of the old one. this will be a problem if it is too low
level hence no -y, in case you need to chicken out. Or you could
always make a list of things that got uninstalled along with it and
reinstall them after. Then

yum localinstall new.package.rpm

localinstall installs an  rpm located on the local host instead of the
repository so that yum's database stays up to date/knows about it. yum
will also use the repositories to satisfy any missing dependencies.

This is the best way to install packages that are not yet in the
repositories - get or make a binary rpm (from source rpm or maybe from
the zip file if you are an rpm wiz), then use localinstall to install
it.

I saw a nice trick in a linux cookbook or server hacks book that
showed a script that basically audited your system for libraries and
binaries that were not known about by rpm and yum and built an empty
rpm that just updated the dependencies and clued in the databases
about the orphans. Personally, I try hard to avoid installing anything
without yum, so I haven't actually transcribed the script (it was
long).

Dave

On 10/20/07, Chris G <cl@xxxxxxxx> wrote:
> Is there any way to force a yum install or update to work even when it
> normally fails because of some errors?
>
> I am trying to install a 32-bit version of a library on a 64-bit
> system and it fails only because the manual pages conflict with the
> already installed 64-bit library manual pages.

-- 
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