--On Tuesday, February 25, 2003 06:15:30 PM +0000 Noel Sant
<noel.sant@ntlworld.com> wrote:
> I am running Red Hat Linux 8.0 and I want to install Shorewall. I have
> downloaded it as LATEST.rpm. I downloaded it to
> /root/downloads/shorewall. When I issue "rpm -qip LATEST.rpm" I
get
> "Name: shorewall; Version: 1.3.14".
>
> The "Installation and Upgrade" page at shorewall.net says "*
Install the
> RPM (rpm -ivh <shorewall rpm>)." Obviously it doesn''t
work as is (I did
> try it!). Replacing <shorewall.rpm> with LATEST.rpm starts to work,
and I
> get: [root@patrician shorewall]# rpm -ivh LATEST.rpm
> Preparing... ###########################################
> [100%] 1:shorewall
> ########################################### [100%] X<--- and the cursor
> sticks here.
>
> Half-an-hour later I had to log out (Ctrl-C and Ctrl-D didn''t
work). Now
> querying shorewall (and LATEST) both say ...not installed. So what did I
> do wrong?
>
> Maybe I have to put it in a particular directory before installing it?
> But surely not. One can install from a CD, or even via ftp.
>
> Perhaps I should have renamed LATEST.rpm to shorewall.rpm? But rpm knows
> what the packages name really is if you -qip it.
>
> And what state has this left the installation in? If I was sure it had
> failed I''d try again after renaming it, but I''m afraid
that might really
> muck things up!
>
This is a well-known RPM problem on RH8.0 -- in can happen installing any
RPM.
a) Kill all current rpm processes (killall -9 rpm).
b) rm -f /var/lib/rpm/__db*
c) rpm --rebuilddb
Then install the RPM.
--
Tom Eastep \ Shorewall - iptables made easy
Shoreline, \ http://www.shorewall.net
Washington USA \ teastep@shorewall.net