Re: Yum update problems: fixed Livna, now what?

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

 



Dotan Cohen wrote:
On 11/7/05, Paul Howarth <paul@xxxxxxxxxxxx> wrote:

Dotan Cohen wrote:

Isn't there a way to see what depends on something before I -e it? I
just did a man rpm but didn't see an option for checking. How is that
done?

A simple way of doing this is just to run the "rpm -e" as a non-root
user. If there are dependency issues, rpm will tell you. If not, the
remove will fail because you're not root.

Paul.



Nice trick. I take it that this means that I cannot -e it?

[dotancohen@localhost ~]$ rpm -e dbus-qt
error: Failed dependencies:
        libdbus-qt-1.so.1 is needed by (installed) k3b-0.12.5-1.0.fc4.kde.i386
        dbus-qt = 0.33-3.1.fc4.kde is needed by (installed)
dbus-devel-0.33-3.1.fc4.kde.i386
[dotancohen@localhost ~]$ rpm -e dbus-devel
error: can't create transaction lock on /var/lib/rpm/__db.000

Yes, that's rpm not working as a not-root user.

[dotancohen@localhost ~]$ rpm -e libdbus-qt
error: package libdbus-qt is not installed

libdbus-qt-1.so.1 is something that is "provided" by dbus-qt and required by (installed) k3b. To remove libdbus-qt-1.so.1, you would have to remove the package that provides it:

$ rpm -q --whatprovides libdbus-qt-1.so.1
dbus-qt-0.33-3.1.fc4.kde

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux