[CLUE-Tech] upgrading rpm (continued and resolution)

Carl Schelin co_bofh at yahoo.com
Sat Nov 20 22:10:44 MST 2004


(another delay; fscking netgear has failed and I have
to recable. second FPOS netgear to fail out of two. no
more netgears for me.)

After the last run, I poked around on the 'net and
found a nice little urpmi help page. With that, I used
urpmi [package] to install the necessary packages out
of /var/cache/urpmi/rpm until I found the problem
packages. Here's the output:

================
To satisfy dependencies, the following packages are
going to be installed (16 MB):
glibc-2.3.1-10.1.91mdk.i586
glibc-devel-2.3.1-10.1.91mdk.i586
Is this OK? (Y/n) 
The following packages have bad signatures:
/var/cache/urpmi/rpms/glibc-devel-2.3.1-10.1.91mdk.i586.rpm
/var/cache/urpmi/rpms/glibc-2.3.1-10.1.91mdk.i586.rpm
Do you want to continue installation ? (y/N) 
installing
/var/cache/urpmi/rpms/glibc-devel-2.3.1-10.1.91mdk.i586.rpm
/var/cache/urpmi/rpms/glibc-2.3.1-10.1.91mdk.i586.rpm

Installation failed:
	 conflicts with 
	 conflicts with 
	 conflicts with 
	 conflicts with 
	 conflicts with 
==============

Alrighty then. Maybe I'll just ignore that for the
moment and see if there are any updates:

==============
[root at troll cschelin]# urpmi.update -a
retrieving description file of "jpackage.free"...
retrieving source hdlist (or synthesis) of
"jpackage.free"...
...retrieving failed: Undefined subroutine
&Date::Manip::ParseDate called at
/usr/lib/perl5/vendor_perl/5.8.0/urpm.pm line 234,
<CURL> line 2.

retrieve of source hdlist (or synthesis) failed
no hdlist file found for medium "jpackage.free"
examining synthesis file
[/var/lib/urpmi/synthesis.hdlist.jpackage.free.cz]
retrieving description file of "plf"...
retrieving source hdlist (or synthesis) of "plf"...
...retrieving failed: Undefined subroutine
&Date::Manip::ParseDate called at
/usr/lib/perl5/vendor_perl/5.8.0/urpm.pm line 234,
<CURL> line 2.

retrieve of source hdlist (or synthesis) failed
no hdlist file found for medium "plf"
examining synthesis file
[/var/lib/urpmi/synthesis.hdlist.plf.cz]
retrieving description file of "club"...
retrieving source hdlist (or synthesis) of "club"...
...retrieving failed: Undefined subroutine
&Date::Manip::ParseDate called at
/usr/lib/perl5/vendor_perl/5.8.0/urpm.pm line 234,
<CURL> line 2.

retrieve of source hdlist (or synthesis) failed
no hdlist file found for medium "club"
examining synthesis file
[/var/lib/urpmi/synthesis.hdlist.club.cz]
retrieving description file of "updates"...
retrieving source hdlist (or synthesis) of
"updates"...
...retrieving failed: Undefined subroutine
&Date::Manip::ParseDate called at
/usr/lib/perl5/vendor_perl/5.8.0/urpm.pm line 234,
<CURL> line 2.

retrieve of source hdlist (or synthesis) failed
no hdlist file found for medium "updates"
examining synthesis file
[/var/lib/urpmi/synthesis.hdlist.updates.cz]
retrieving description file of "main"...
retrieving source hdlist (or synthesis) of "main"...
...retrieving failed: Undefined subroutine
&Date::Manip::ParseDate called at
/usr/lib/perl5/vendor_perl/5.8.0/urpm.pm line 234,
<CURL> line 2.

retrieve of source hdlist (or synthesis) failed
no hdlist file found for medium "main"
examining synthesis file
[/var/lib/urpmi/synthesis.hdlist.main.cz]
retrieving description file of "contrib"...
retrieving source hdlist (or synthesis) of
"contrib"...
...retrieving failed: Undefined subroutine
&Date::Manip::ParseDate called at
/usr/lib/perl5/vendor_perl/5.8.0/urpm.pm line 234,
<CURL> line 2.

retrieve of source hdlist (or synthesis) failed
no hdlist file found for medium "contrib"
examining synthesis file
[/var/lib/urpmi/synthesis.hdlist.contrib.cz]

===================

Well, shoot.

Looks like a problem with the perl-URPM forced
upgrade. Since I have a problem with glibc, maybe I'll
simply reverse the upgrades.

===================
[root at troll back]# rpm --upgrade --oldpackage --nodeps
rpmtools-4.5-9mdk.i586.rpm
[root at troll back]# rpm --upgrade --oldpackage --nodeps
rpm-build-4.0.4-28mdk.i586.rpm
..ooOO{ Hmm, better not downgrade rpm until popt is
done }
[root at troll back]# rpm --upgrade --oldpackage --nodeps
popt-1.6.4-28mdk.i586.rpm
[root at troll back]# rpm --upgrade --oldpackage --nodeps
rpm-4.0.4-28mdk.i586.rpm
rpm: relocation error: /usr/lib/librpmdb-4.2.so:
undefined symbol: poptSaveInt

=========================

Plus other perl scripts aren't running. You must have
to upgrade the rest of the perl stuff when upgrading
perl-base. Like I said, it makes sense to do it.

But now I'm really stuck. I'm hunting source but
rpm.org discusses version 3 and version 2. The version
4 directories, and specifically version 4.0.4 is
empty.

As a last resort, I copied the rpm file from the
failing linux box (the reason I'm building a new box)
and it seems to have worked although there's a failure
when trying to downgrade to 4.0.4. It apparently keeps
finding directories instead of files so I deleted them
as it kicked them out as an error and finally it
'upgraded'.

Now I ran urpmi.update -a and it worked perfectly.
urpmi --auto-select downloaded
urpmi-4.4.5-3mdk.noarch.rpm and
freetype2-2.1.3-12plf.i586.rpm. It failed again with
the perl-URPM dependency so I went in to the
/var/cache/urpmi/rpm and manually upgraded the four
packages. glibc and glibc-devel both upgraded as did
freetype.

So I'm left with the one file that I cannot upgrade
and hopefully not a bunch of remnants hanging around
ready to break something.

Thanks for watching, especially if you got this far.

Carl


		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 




More information about the clue-tech mailing list