Re: yum be killing me, this is totally strange... totally

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

 



On 05-Jan-2007 08:56.54 (GMT), Ric Moore wrote:
 > [root@iam log]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{ARCH} \\n" |
 > grep kmod-nvidia | sort
 > kmod-nvidia-1.0.9631-i686
 > kmod-nvidia-1.0.9631-i686 <---tried something I got off the web.

If you are going to paste the output of rpm -q into rpm -e, the format is:

rpm -qa --queryformat '%{name}-%{version}-%{release}.%{arch}\n'

 > [root@iam log]# rpm -e kmod-nvidia-1.0.9631-i686 <---tried to erase it
 > error: package kmod-nvidia-1.0.9631-i686 is not installed  <-- no go

You can't specify architecture with -%{arch} at the end of a package, it's
denoted by a period. And you're missing the release.

You could probably do:

rpm -e kmod-nvidia.i686

Beware that if you have multiple versions installed, it'll remove all of
them if you don't specify the version and release.

 > I finally got the sucker, but I have no clue how I got two of 'em.

Packages can be upgraded in two ways - one package replaces the old package,
or the new package sits side-by-side.

If the latter is true, all files in the package must not conflict with the
previous versions.

Kernels install side-by-side, so you can have a new release as well as an
old release. kmod-* packages also work this way, otherwise you wouldn't be
able to install a newer kernel and have working kmod-* packages for both
versions.

In short, what happened was perfectly valid :)

-- 
rob andrews                       :: pgp 0x01e00563 :: rob@xxxxxxxxxxxxx

[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