- To: "Grant Parnell" <gripz@xxxxxxxxxxx>
- Subject: Re: [SLUG] Is this normal: redhat9 with mutiple versions of the same app installed by "up2date"
- From: "The Salisburys" <rojee@xxxxxxxxxxxxxx>
- Date: Wed, 12 May 2004 22:01:11 +1000
- Cc: slug@xxxxxxxxxxx
>
> hwdata and httpd should only have one
version.
> rpm -Uvh --force hwdata-0.89-1.1.i386.rpm
> might do the
trick there. .
yes ! worked ! fixed
>
> As for httpd ... if you haven't
done much setup then erase all and
> re-install. 'man rpm' will tell you
a command line option to apply to all
> matching packages.
tried the following..................
[root@front rog]#[root@front rog]# rpm -Uvh --force
/var/spool/up2date/httpd-2.0.40-21.11.i386.rpm
Preparing...
########################################### [100%] 1:httpd
########################################### [100%]service httpd does not
support chkconfig
error: %post(httpd-2.0.40-21.11) scriptlet failed, exit
status 1
[root@front rog]
stange:
............. httpd does not support
chkconfig !!!!!!!!!!!!!!!
>
> Otherwise... 'rpm -V' with the specific versions
might tell you which
> files are ok. If everything in the later version is
OK then you
> essentially just have an RPM database problem.
tried the following......... reduced data
.........
[root@front rog]# rpm -V
httpd-2.0.40-21.11
S.5....T c /etc/httpd/conf/httpd.conf
S.5....T c
/etc/rc.d/init.d/httpd
[root@front rog]# rpm -V httpd-2.0.40-21.9
|wc -l
61
[root@front rog]# rpm -V
httpd-2.0.40-21 |wc -l
61
[root@front
rog]#[root@front rog]# rpm -V httpd-2.0.40-21 |grep -v "[.][.][.][.][.]" |wc
-l
56
[root@front rog]#[root@front rog]# rpm -V
httpd-2.0.40-21.9 |grep -v "[.][.][.][.][.]" |wc -l
54
[root@front rog]# rpm -V httpd-2.0.40-21.11
|grep -v "[.][.][.][.][.]" |wc -l
2
which tells me theres an issue with the start/stop
script ( i had changed
httpd.conf) ..
S.5....T c /etc/rc.d/init.d/httpd
httpd-2.0.40-21.9 looks
woeful #got to erase
httpd-2.0.40-21 looks
woeful #got to erase
httpd-2.0.40-21.11 looks OK (only
2 files with probs)
> There's another option to
> only
update the rpm database and not touch the rest of the filesystem.
> It's
impossible for these versions to all be concurrently installed in
>
default locations really.
They all DO share the same file locations
So thanks Grant ... i will try "yum" ..............
Cheers
Roger
>
> On Wed, 12 May 2004, The Salisbury's wrote:
>
> > I am having trouble with httpd.
> >
> > I
queried the RPM database & noticed 3 versions of httpd .
>
>
> > Also "hwdata" & "kernel ......."
> >
>
> The only way I have upgraded httpd & kernels is by Redhats
online
> > "up2date" app.
> >
> > Are these
mutiple entries NORMAL ? or should erase the older versions.
> >
> > below are the 2 command sequences that shows the
info ...... the op
> > of first CLI I manually put
into egrep. Obvious!
> > As per:
> >
> > [root@front
conf]# rpm -qa |sed 's/[-][0-9].*$//' |sort |uniq
-d
> > httpd
> > hwdata
> > kernel
> >
XFree86
> >
> >
> > [root@front conf]#
> >
[root@front conf]# rpm -qa |egrep
"^httpd|^hwdata|^kernel" |sort
> > httpd-2.0.40-21
> >
httpd-2.0.40-21.11
> > httpd-2.0.40-21.9
> >
hwdata-0.75-1
> > hwdata-0.89-1.1
> >
kernel-2.4.20-28.9
> > kernel-2.4.20-30.9
> >
kernel-2.4.20-31.9
> > kernel-2.4.20-8
> > [root@front
conf]#
> >
> > Thanks
> > Roger Salisbury
>
>
> >
> >
> >
>
> --
>
---<GRiP>---
> Electronic Hobbyist, Former Arcadia BBS nut,
Occasional nudist,
> Linux Guru, SLUG Secretary, AUUG and Linux Australia
member, Sydney
> Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver
& rave music
> lover, Big kid that refuses to grow up. I'd make a
good family pet,
> take me home today!
>
Some people actually read these
things it seems.
>