LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Alex Wallis <awol@prepaidonline.com.au>
  To  : linuxsa@linuxsa.org.au <linuxsa@linuxsa.org.au>
  Date: Fri, 25 Apr 2003 17:23:18 +0930

Re: problem installing postgresql with rpm

Luke Vanderfluit wrote:
> 
> Hi all, how's it going?
> 
> I have a problem trying to install postgresql with RPM
> 
> here's what happens:
> 
> rpm -ivh postgresql-7.2.2-1.i386.rpm
> warning: postgresql-7.2.2-1.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
> Preparing...                ########################################### [100%]
>         package postgresql-7.2.2-1 is already installed
> 
> rpm -e postgresql-7.2.2-1.i386.rpm
> error: package postgresql-7.2.2-1.i386.rpm is not installed

What you meant is rpm -e postgresql-7.2.2-1 as you dont include the
.i386.rpm part in the uninstall command. Otherwise you would have
installed postgresql-7.2.2-1.i386.rpm.i386.rpm

> 
> rpm -qa postgres
> returns nothing

Try rpm -qa | grep postgesql 

Or rpm -q postgresql

> 
> I have checked everywhere but postgres isn't installed. I can do it with the
> --force option but still there's no change.

NEVER EVER use --force or --nodeps options unless you fully understand
the consequences of your actions as you can easily render the rpmdb
useless.

> 
> What's going on?
> can someone tell me.
> It looks like something with the rpm database is amiss.
> 
> ====================
> I also tried installing mysql
> these rpms
> mysql-3.23.52-3.i386.rpm
> mysql-devel-3.23.52-3.i386.rpm
> mysql-server-3.23.52-3.i386.rpm
> ===
> rpm --force -ivh mysql*.rpm

NEVER EVER use --force or --nodeps options unless you fully understand
the consequences of your actions as you can easily render the rpmdb
useless.

> 
> error: mysql-3.23.52-3.i386.rpm: V3 DSA signature: BAD, key ID db42a60e
> error: mysql-3.23.52-3.i386.rpm cannot be installed
> warning: mysql-devel-3.23.52-3.i386.rpm: V3 DSA signature: NOKEY, key ID
> db42a60e
> error: mysql-server-3.23.52-3.i386.rpm: V3 DSA signature: BAD, key ID db42a60e
> error: mysql-server-3.23.52-3.i386.rpm cannot be installed
> 
> ===========================
> any clues anyone?
> 

You dont say what distro you're using? That look like redhat though.

If it's redhat try the up2date command to painlessly install software.
(man up2date) You will need to register with the redhat network though,
but it IS free if you fill out a simple survey every 60 days. e.g.
up2date mysql-server

If you're using Mandrake then urpmi is what you want. (man urpmi)

On suse there's a nice ftp installer in the yast utility I believe.

For all the rpm based distro's you can also use apt-get available at
http://apt.freshrpms.net/ and it even has a gui called synaptic to make
life even more simplified. Just install the apt- and apt-devel rpm's and
then do apt-get update ; apt-get install synaptic
And run apt-get update frequently and often to keep your system in sync
with the remote repository.

HTH

Alex
-- 
`When you say "I wrote a program that crashed Windows", people just
stare at you blankly and say "Hey, I got those with the system, *for
free*".'
(By Linus Torvalds)

-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page