how did I brea yum?

JB jb.1234abcd at gmail.com
Wed Dec 1 23:23:30 UTC 2010


Greg Woods <woods <at> ucar.edu> writes:

> ...
 
Just a few quick suggestions.

Check any pending config files updates (.rpmsave, .rpmnew,  etc):
# find /etc -iname "*.rpm*"

Check anything unusual in plug-ins, protections, etc.
This will be shown in the top 2-4 lines of e.g.
$ yum list rdesktop  

Turn on debugging or error levels when executing failing commands.
$ man yum
...
-d [number]
    Sets the debugging level to [number] - turns up or down the amount of
    things that are printed. Practical range: 0 - 10
    Configuration Option: debuglevel 
-e [number]
    Sets the error level to [number] Practical range 0 - 10. 0 means print
    only critical errors about which you must be told. 1 means print all
    errors, even ones that are not overly important. 1+ means print more
    errors (if any) -e 0 is good for cron jobs.
    Configuration Option: errorlevel 
...

Give this a shot:
$ man yum
...
update
...
If the --obsoletes flag is present yum will include package obsoletes in
 its calculations - this makes it better for distro-version changes, for
 example: upgrading from somelinux 8.0 to somelinux 9. 
...
--obsoletes
    This option only has affect for an update, it enables yum's obsoletes
    processing logic. For more information see the update command above.
    Configuration Option: obsoletes 
...

Please verify format of this entry (I am on a different OS right now ...).
# yum --help
# yum --obsoletes update

You can even run the above with this option:
--noplugins
    Run with all plugins disabled.
    Configuration Option: plugins

# yum --noplugins --obsoletes update

JB




More information about the users mailing list