[LON-CAPA-admin] LON-CAPA-systemperl screwup
Martin Siegert
siegert at sfu.ca
Mon Jan 13 20:56:30 EST 2003
Hi,
ever since /etc/cron.d/loncapa started emailing me that I have to upgrade
LON-CAPA-systemperl I am getting confused about what I actually
have installed and how /etc/cron.d/loncapa actually knows that I
do not have the correct rpm already installed.
The problem is that the version is always 3.5-1:
# rpm -q LON-CAPA-systemperl
LON-CAPA-systemperl-3.5-1
# ls LON-CAPA-systemperl*
LON-CAPA-systemperl-3.5-1.i386.rpm LON-CAPA-systemperl-3.5-rh7.i386.rpm
# rpm -qp LON-CAPA-systemperl-3.5-rh7.i386.rpm
LON-CAPA-systemperl-3.5-1
# rpm -qp LON-CAPA-systemperl-3.5-1.i386.rpm
LON-CAPA-systemperl-3.5-1
# rpm -ql LON-CAPA-systemperl > /tmp/list1
# rpm -qlp LON-CAPA-systemperl-3.5-rh7.i386.rpm > /tmp/list2
# diff -u /tmp/list1 /tmp/list2 | wc -l
0
# rpm -qlp LON-CAPA-systemperl-3.5-1.i386.rpm > /tmp/list3
# diff -u /tmp/list3 /tmp/list1 | wc -l
1421
First of all: the
# rpm -qp LON-CAPA-systemperl-3.5-rh7.i386.rpm
LON-CAPA-systemperl-3.5-1
should really be fixed. This is bad.
Secondly: from the diffs above I believe that I can safely assume
that I actually have LON-CAPA-systemperl-3.5-rh7.i386.rpm installed
and not LON-CAPA-systemperl-3.5-1.i386.rpm. Thus, the message from
/etc/cron.d/loncapa is incorrect and probably a direct consequence of
the version screwup in LON-CAPA-systemperl-3.5-rh7.i386.rpm. Correct?
Cheers,
Martin
More information about the LON-CAPA-admin
mailing list