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

Re: How to erase updates?



Karl Larsen wrote:
Ashley Pritchard wrote:
you use the command "rpm -e {the package you want to uninstall}" this will uninstall any pakage you want to uninstall. you can also use the add & remove utility as well to remove the programs that you do not want. On 8/7/07, *Karl Larsen* <k5di zianet com <mailto:k5di zianet com>> wrote:

I have a list from yum.log of the rpm files I want to remove so printing will work again. I tried yum remove but it wants to remove all
    of the thing not just the update.
    --

           Karl F. Larsen, AKA K5DI
           Linux User
           #450462   http://counter.li.org.

    --
    fedora-list mailing list
    fedora-list redhat com <mailto:fedora-list redhat com>
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




--
Diolch yn fawr, Ashley


    I get this when I use your method. It doesn't work!

Aug 06 13:54:19 Updated: udev.i386 113-8.fc7
Aug 06 13:55:13 Updated: pidgin.i386 2.1.0-1.fc7
Aug 06 13:55:14 Updated: strace.i386 4.5.16-1.fc7
Aug 06 13:55:21 Updated: openssl-devel.i386 0.9.8b-14.fc7
[root k5di log]# rpm -e udev.i386 113-8.fc7
error: package 113-8.fc7 is not installed
[root k5di log]# rpm -qi udev.i386 113-8.fc7
Name        : udev                         Relocations: (not relocatable)
Version     : 113                               Vendor: Fedora Project
Release : 8.fc7 Build Date: Mon 30 Jul 2007 10:37:09 AM MDT Install Date: Mon 06 Aug 2007 01:54:18 PM MDT Build Host: xenbuilder2.fedora.redhat.com Group : System Environment/Base Source RPM: udev-113-8.fc7.src.rpm
Size        : 769219                           License: GPL
Signature : DSA/SHA1, Mon 06 Aug 2007 09:49:29 AM MDT, Key ID b44269d04f2a6fd2
Packager    : Fedora Project
URL         : http://kernel.org/pub/linux/utils/kernel/hotplug/
Summary     : A userspace implementation of devfs
Description :
The udev package contains an implementation of devfs in
userspace using sysfs and netlink.
package 113-8.fc7 is not installed
[root k5di log]#


The output format from the yum logs are different from the package name that you need to pass to RPM. The version string should be separated from the package name by a dash, and the i386 shouldn't be needed (unless you're running multilib). Your command should be more like:

rpm -e udev-113-8.fc7

That should match the output you would find if you were to query RPM just by package name and not by package name + version string. On my machine:

[justin ra ~]$ rpm -q udev
udev-095-17.fc6


Justin W


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