[ILUG] How to fix "Package already installed"

P at draigBrady.com P at draigBrady.com
Fri Apr 23 10:04:16 IST 2004


Frank Murphy wrote:
> Tried to install
> wxBase-2.3.3-1.i386.rpm
> 
> If gave an error & failed by the time I searched for FC1 Disc3
> (which it asked for)
> 
> Now if I try to install I get
> "Package already installed"
> How do I overcome this.

There's an RPM cheat sheet here:
http://www.pixelbeat.org/cmdline.html
But in summary you probably want to upgrade
rather than install? I.E. rpm -Uvh rather than -ivh

-- 
Pádraig Brady - http://www.pixelbeat.org
--- Following generated by rotagator ---

Math in shell

You can use bc, python, expr etc. to do math in the shell.
Note expr can only parse and output integers.

precision=2 num1=1.23; num2=3.21
answer=`echo "scale=${precision}; $num2/$num1" | bc`
answer=`echo "print '%.${precision}f' % ($num2/$num1)" | python`
answer=`expr 1 / 2`
--



More information about the ILUG mailing list