up2date seems to be broken on one of my Nahant Update 4
servers. It was
applying 8 updates yesterday and when it got to the
kernel-smp-devel
package the connection timed out. Now when I "up2date
-u" I get package
conflict errors and there seems to be data missing from the
error
message (pasted below).
RHN claims that I need to apply security updates for php and
xorg-x11
(RHSA-2007:0076 & 0003) but up2date complains that I
already have them
when I try to "up2date -i" them by name. An
"up2date --undo" produced
an AttributeError and I'll paste portions of
/var/log/up2date below
showing the packages that were updated including the error.
I also
tried "up2date -p" and "rpm --rebuilddb"
which didn't seem to make any
difference.
Thanks,
John
# up2date -u
Fetching Obsoletes list for channel: rhel-i386-es-4...
Fetching rpm headers...
########################################
Name Version Rel
----------------------------------------------------------
php 4.3.9
3.22.3
i386
xorg-x11 6.8.2
1.EL.13.37.5
i386
xorg-x11-deprecated-libs 6.8.2
1.EL.13.37.5
i386
xorg-x11-devel 6.8.2
1.EL.13.37.5
i386
xorg-x11-libs 6.8.2
1.EL.13.37.5
i386
xorg-x11-xfs 6.8.2
1.EL.13.37.5
i386
Testing package set / solving RPM inter-dependencies...
########################################
RPM package conflict error. The message was:
Test install failed because of package conflicts:
The following packages were added to your selection to
satisfy dependencies:
Name Version
Release
------------------------------------------------------------
--
php-ldap 4.3.9
3.22.3
php-pear 4.3.9
3.22.3
xorg-x11-deprecated-libs-devel 6.8.2
1.EL.13.37.5
package xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.37.5 is
already
installed
package php-pear-4.3.9-3.22.3 is already installed
package php-ldap-4.3.9-3.22.3 is already installed
#
----
[Wed Feb 21 06:58:31 2007] up2date availablePackageList from
network
[Wed Feb 21 06:58:35 2007] up2date solving dep for:
['kernel-ib',
'kernel-ib', '
kernel-ib']
[Wed Feb 21 07:01:32 2007] up2date installing packages:
['bind-libs-9.2.4-24.EL4
', 'bind-utils-9.2.4-24.EL4', 'dbus-0.22-12.EL.8',
'dbus-devel-0.22-12.EL.8', 'd
bus-glib-0.22-12.EL.8', 'dbus-python-0.22-12.EL.8',
'dbus-x11-0.22-12.EL.8', 'fe
tchmail-6.2.5-6.el4.5', 'firefox-1.5.0.9-0.1.el4',
'gnomemeeting-1.0.2-9', 'gnup
g-1.2.6-8', 'gtk2-2.4.13-22', 'kernel-2.6.9-42.0.8.EL',
'kernel-devel-2.6.9-42.0
.8.EL', 'kernel-hugemem-devel-2.6.9-42.0.8.EL',
'kernel-smp-2.6.9-42.0.8.EL', 'k
ernel-smp-devel-2.6.9-42.0.8.EL', 'libgsf-1.10.1-2',
'libibverbs-1.0.3-1', 'libm
thca-1.0.2-1', 'libsdp-0.9.0-1', 'php-4.3.9-3.22.3',
'php-ldap-4.3.9-3.22.3', 'p
hp-pear-4.3.9-3.22.3', 'postgresql-libs-7.4.16-1.RHEL4.1',
'samba-3.0.10-1.4E.11
', 'samba-client-3.0.10-1.4E.11',
'samba-common-3.0.10-1.4E.11',
'seamonkey-nspr
-1.0.7-0.1.el4', 'seamonkey-nss-1.0.7-0.1.el4',
'tar-1.14-12.RHEL4',
'tzdata-200
6m-3.el4', 'xorg-x11-6.8.2-1.EL.13.37.5',
'xorg-x11-Mesa-libGL-6.8.2-1.EL.13.37.
5', 'xorg-x11-Mesa-libGLU-6.8.2-1.EL.13.37.5',
'xorg-x11-deprecated-libs-6.8.2-1
.EL.13.37.5',
'xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.37.5',
'xorg-x11-dev
el-6.8.2-1.EL.13.37.5',
'xorg-x11-font-utils-6.8.2-1.EL.13.37.5',
'xorg-x11-libs
-6.8.2-1.EL.13.37.5', 'xorg-x11-tools-6.8.2-1.EL.13.37.5',
'xorg-x11-twm-6.8.2-1
.EL.13.37.5', 'xorg-x11-xauth-6.8.2-1.EL.13.37.5',
'xorg-x11-xdm-6.8.2-1.EL.13.3
7.5', 'xorg-x11-xfs-6.8.2-1.EL.13.37.5', 'kernel-ib-1.0-1']
[Wed Feb 21 09:39:35 2007] up2date Updating package profile
[Wed Feb 21 10:48:46 2007] up2date updating login info
[Wed Feb 21 10:48:46 2007] up2date logging into up2date
server
[Wed Feb 21 10:48:47 2007] up2date successfully retrieved
authentication
token f
rom up2date server
[Wed Feb 21 10:48:47 2007] up2date availablePackageList from
network
[Wed Feb 21 10:48:50 2007] up2date solving dep for: ['php',
'php',
'xorg-x11-dep
recated-libs', 'xorg-x11-devel']
[Wed Feb 21 10:48:54 2007] up2date RPM package conflict
error.
...
The rest of the error is from the first pasting above.
--
John Fulton, Linux Administrator, Lafayette College ITS
610-330-5650, Pardee Hall Room 11, Easton PA 18042-1775
_______________________________________________
rhn-users mailing list
rhn-users redhat.com
htt
ps://www.redhat.com/mailman/listinfo/rhn-users
|
Alfred,
Thanks for your advice. I was able to fix the system.
First I tried:
rpm --rebuilddb
rm -rf /var/spool/up2date/*
up2date-nox -pvvv --hardware
up2date-nox -lvvv
up2date-nox -uvvv
But had the same issue. RedHat support suggested that I
remove the
packages that up2date was complaining about with:
rpm -e --justdb --nodeps --noscripts --notriggers
php-pear-4.3.9-3.22.3
rpm -e --justdb --nodeps --noscripts --notriggers
php-ldap-4.3.9-3.22.3
rpm -e --justdb --nodeps --noscripts --notriggers
xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.37.5
I was able to then have a normal 'up2date -u' and it seems
to be
fixed.
John
Alfred Hovdestad wrote:
> On some older systems (RH8 and RH9), I occasionally had
to delete the
> temporary files in /var/lib/rpm/ and rebuild the rpmdb
database:
>
>
> rm -f /var/lib/rpm/__db*
> rpm --rebuilddb
> rpm -vv --rebuilddb /* if you want lots of output */
>
> It's been a while since I have had to do this, but it
might help (and it
> shouldn't hurt).
>
> Alfred Hovdestad
>
>
>
>
>
> John Fulton wrote:
>> up2date seems to be broken on one of my Nahant
Update 4 servers. It was
>> applying 8 updates yesterday and when it got to the
kernel-smp-devel
>> package the connection timed out. Now when I
"up2date -u" I get package
>> conflict errors and there seems to be data missing
from the error
>> message (pasted below).
>>
>> RHN claims that I need to apply security updates
for php and xorg-x11
>> (RHSA-2007:0076 & 0003) but up2date complains
that I already have them
>> when I try to "up2date -i" them by name.
An "up2date --undo" produced
>> an AttributeError and I'll paste portions of
/var/log/up2date below
>> showing the packages that were updated including
the error. I also
>> tried "up2date -p" and "rpm
--rebuilddb" which didn't seem to make any
>> difference.
>>
>> Thanks,
>> John
>>
>
> _______________________________________________
> rhn-users mailing list
> rhn-users redhat.com
> htt
ps://www.redhat.com/mailman/listinfo/rhn-users
--
John Fulton, Linux Administrator, Lafayette College ITS
610-330-5650, Pardee Hall Room 11, Easton PA 18042-1775
_______________________________________________
rhn-users mailing list
rhn-users redhat.com
htt
ps://www.redhat.com/mailman/listinfo/rhn-users
|