On one of my machines yum hung up while installing the updates and could not be interrupted or killed. I rebooted the machine the next day, but now a 'yum update' reports:
Error: Missing Dependency: openssh = 3.9p1-8.RHEL4.12 is needed by package openssh-askpass-gnome and Error: Missing Dependency: rpm = 4.3.3-13_nonptl is needed by package rpm-build
even though rpm -q says those version are installed:
#rpm -q rpm openssh rpm-4.3.3-13_nonptl openssh-3.9p1-8.RHEL4.12
Now what?
On 9/1/06, Les Mikesell lesmikesell@gmail.com wrote:
On one of my machines yum hung up while installing the updates and could not be interrupted or killed. I rebooted the machine the next day, but now a 'yum update' reports:
Error: Missing Dependency: openssh = 3.9p1-8.RHEL4.12 is needed by package openssh-askpass-gnome and Error: Missing Dependency: rpm = 4.3.3-13_nonptl is needed by package rpm-build
even though rpm -q says those version are installed:
#rpm -q rpm openssh rpm-4.3.3-13_nonptl openssh-3.9p1-8.RHEL4.12
Now what?
Maybe you can try yum clean all so you can start a complete process again.
On Fri, 2006-09-01 at 17:01 -0400, Guillermo Garron wrote:
On one of my machines yum hung up while installing the updates and could not be interrupted or killed. I rebooted the machine the next day, but now a 'yum update' reports:
Error: Missing Dependency: openssh = 3.9p1-8.RHEL4.12 is needed by package openssh-askpass-gnome and Error: Missing Dependency: rpm = 4.3.3-13_nonptl is needed by package rpm-build
even though rpm -q says those version are installed:
#rpm -q rpm openssh rpm-4.3.3-13_nonptl openssh-3.9p1-8.RHEL4.12
Now what?
Maybe you can try yum clean all so you can start a complete process again.
I already tried that with no luck. I even did a yum update up2date up2date -u and it complains that it needs the same packages but that they are already installed...
It looks like I have duplicates, so maybe an rpm -q to find the versions and rpm -e to remove one will fix things so the rest of the updates will work. Now how do I tell if there are any other duplicates besides the ones that happened to be noticed by the dependency checks?
-- Les Mikesell lesmikesell@gmail.com
On 9/1/06, Les Mikesell lesmikesell@gmail.com wrote:
On Fri, 2006-09-01 at 17:01 -0400, Guillermo Garron wrote:
On one of my machines yum hung up while installing the updates and could not be interrupted or killed. I rebooted the machine the next day, but now a 'yum update' reports:
Error: Missing Dependency: openssh = 3.9p1-8.RHEL4.12 is needed by package openssh-askpass-gnome and Error: Missing Dependency: rpm = 4.3.3-13_nonptl is needed by package rpm-build
even though rpm -q says those version are installed:
#rpm -q rpm openssh rpm-4.3.3-13_nonptl openssh-3.9p1-8.RHEL4.12
Now what?
Maybe you can try yum clean all so you can start a complete process again.
I already tried that with no luck. I even did a yum update up2date up2date -u and it complains that it needs the same packages but that they are already installed...
It looks like I have duplicates, so maybe an rpm -q to find the versions and rpm -e to remove one will fix things so the rest of the updates will work. Now how do I tell if there are any other duplicates besides the ones that happened to be noticed by the dependency checks?
can you try a $ rpm -qa > file.txt after that work on that file to find duplicates.?
Les Mikesell spake the following on 9/1/2006 12:56 PM:
On one of my machines yum hung up while installing the updates and could not be interrupted or killed. I rebooted the machine the next day, but now a 'yum update' reports:
Error: Missing Dependency: openssh = 3.9p1-8.RHEL4.12 is needed by package openssh-askpass-gnome and Error: Missing Dependency: rpm = 4.3.3-13_nonptl is needed by package rpm-build
even though rpm -q says those version are installed:
#rpm -q rpm openssh rpm-4.3.3-13_nonptl openssh-3.9p1-8.RHEL4.12
Now what?
This came across yesterday, and it helped me; <quote> I ran that script as well just a few minutes ago and it got rid of all my dups. Everything seems to be good now, but I'll have to keep this all in mind for the next time around.
The script is just this in case you still can't get to it:
for file in `rpm -qa --queryformat="%{NAME} %{ARCH}\n" | sort | uniq -c | grep -v " 1 " | cut -c 9- | cut -d" " -f1`; do rpm -q --last $file | tail -1 | cut -d" " -f1; done | grep -v gpg-pubkey | xargs rpm -e --justdb --nodeps 2> /tmp/dupes
</quote> Fix the wrap so it is on one line, you could even throw it in a script just in case.