Don's Pages and my Music

Friday, September 3, 2010

Using Yum --SkipBroken

Skip broken


The yum --skip-broken command can save you allot of headaches when you have a stubborn App that doesn't want to update. But, you want to keep the App and update the rest.

Skip broken is a feature in yum to skip packages from the transaction there have dependency problems or introduce problems to the installed packages

How to use.

add the '--skip-broken' option to the yum command line to activate the skip broken feature. yum update --skip-broken

Helping to make it better.

If there is a situation where skip broken bail out then please check the upstream yum version to help make it better.

Commands:

git clone http://yum.baseurl.org/git/yum.git cd yum git checkout --track -b yum-3_2_X origin/yum-3_2_X sudo ./yummain.py --skip-broken -d7 <the yum command causing troubles>

If you find Problems. Please start a ticket on this site, http://yum.baseurl.org/wiki/SkipBroken or on http://bugzilla.redhat.com if you are running Fedora

Download the above in Plain Text format.

Go there...
http://yum.baseurl.org/wiki/SkipBroken


Do this First... Make sure you have Skip-Broken installed on your System.

Type the following command as root user:

# yum -y install yum-skip-broken

Then you can use --skip-broken...

If you have an Update to an App, that is hanging up your Updates in the Fedora GUI Update App. Then you can Run this Command and Yum will Just Update the Apps that don't produce Errors, for now... Usually Later on the Problems will be fixed by the Upstream App Maintainers and you can do the hanging updates later.

Command:

# yum -y update --skip-broken

If you are wanting to Upgrade your Distro. From say, Fedora 13 to Fedora 14. Use this Command. (After you have installed and allowed the Preupgrade Package to do it's work).

Read More about PreUpgrade... http://fedoraproject.org/wiki/PreUpgrade

Upgrade Command:

# yum -y upgrade --skip-broken

This is where I got the Commands...
http://www.cyberciti.biz/faq/centos-rhel-fedora-yum-missing-dependency/

I like to use --skip-broken in my Yum Install Scripts, to make them finish running. This way I can install most of the apps from one of my Fedora Systems on another Fedora System. I use this when I am Re-Installing a Fedora OS and when I want to Duplicate a System. First I, List installed packages with YUM. Then I make an Install Script that I can use to automatically install all of the Apps in my Apps List. Read More here, Don's favorite Fedora Apps. My Apps Lists are long and can take 2 or 3 hours on my High Speed (18mbps) Internet Connection. But, it saves weeks of work. Since it took me a long time to Research and Install each App Separately...

Don

Fedora, using Yum and --skip-broken to install Don's Favorite Fedora Apps
DonsDeals: Don's favorite Fedora Apps...
DonsDeals: List installed packages with YUM
DonsDeals: Using Yum --SkipBroken

DonsDeals yum update links... 

donsdeals yum update - Google Search

DonsDeals: Yum & RPM FAQ — Fedora Unity Project

DonsDeals: yum Fedora Linux Howto - Linux / UNIX Forum

DonsDeals: Yum update without kernel - FedoraForum.org

DonsDeals: How To: Install ATI Catalyst (fglrx) Drivers - I fixed my Broken ATI Driver this way too.

Outta Sites Freeware Open Source Shareware Software

Time-for-linux-tutorials--linuxplanet - Info Beasiswa @SitusBeasiswa.Com

donsdeals yum update skip broken - Google Search

DonsDeals: SkipBroken - yum - Trac -

yum problems: Skip Packages With Broken Dependencies When Upgrading System

DonsDeals: How to use PreUpgrade - FedoraProject

How to use PreUpgrade - FedoraProject

Featured Articles on cyberciti.biz:
20 Linux System Monitoring Tools Every SysAdmin Should Know
20 Linux Server Hardening Security Tips
My 10 UNIX Command Line Mistakes
The Novice Guide To Buying A Linux Laptop
10 Greatest Open Source Software Of 2009
Top 5 Email Client For Linux, Mac OS X, and Windows Users
Top 20 OpenSSH Server Best Security Practices
Top 10 Open Source Web-Based Project Management Software
Top 5 Linux Video Editor Software

No comments:

Post a Comment