Re: Is there a way to force an update/upgrade in yum?

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

 



On 08/01/2013 03:55 PM, Marko Vojinovic wrote:
If all else fails, I'd use "rpm -e firefox" and subsequently "yum
install firefox". I know it's not the cleanest and most proper way to
deal with it, but I believe that rpm would actually do what it's told to
do. After that it would be up to yum to figure out its own database...

Which is what I eventually used, although I added --nodeps, just to be safe.

And, this gave me a chance to test another yum-related program that had been having problems: originally, you could run needs-restarting without root. Later, it would crash if a regular user ran it, because it didn't check to see if it had the access it needed. Now, if you're not root, it complains about not being able to read from a large number of directories in /proc, but I can now confirm that it does end up with the right answer. There's a bugzilla out about this, and two of us are trying to persuade the maintainer that if nothing else, the exit code should reflect the fact that it wasn't run as root. (There are scripts that might run it and interpret the error messages as programs that need to be restarted; having an exit code that tells it that it didn't have root privs can help prevent confusion.)
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux