Programming, for all ages and all languages.
rich_m
Member
Posts: 33 Joined: Sat Nov 25, 2006 10:05 am
Post
by rich_m » Tue Apr 01, 2008 9:47 pm
RPM is funny , or am I?
Code: Select all
[root@trisvr3 Downloads]# rpm -e MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
error: package MySQL-server-community-5.0.51a-0.rhel4.i386.rpm is not installed[root@trisvr3 Downloads]# rpm -ivh MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
warning: MySQL-server-community-5.0.51a-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
package MySQL-server-community-5.0.51a-0.rhel4 is already installed[root@trisvr3 Downloads]#
imagination is once limit......
xyzzy
Member
Posts: 391 Joined: Wed Jul 25, 2007 8:45 am
Libera.chat IRC: aejsmith
Location: London, UK
Contact:
Post
by xyzzy » Wed Apr 02, 2008 12:36 am
Just pass -f to it
Code: Select all
rpm -ivhf MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
JamesM
Member
Posts: 2935 Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:
Post
by JamesM » Wed Apr 02, 2008 1:28 am
rich_m wrote: RPM is funny , or am I?
Code: Select all
[root@trisvr3 Downloads]# rpm -e MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
error: package MySQL-server-community-5.0.51a-0.rhel4.i386.rpm is not installed[root@trisvr3 Downloads]# rpm -ivh MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
warning: MySQL-server-community-5.0.51a-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
package MySQL-server-community-5.0.51a-0.rhel4 is already installed[root@trisvr3 Downloads]#
No, you're right, RPM is a pile of balls.
rich_m
Member
Posts: 33 Joined: Sat Nov 25, 2006 10:05 am
Post
by rich_m » Wed Apr 02, 2008 1:34 am
AlexExtreme wrote: Just pass -f to it
Code: Select all
rpm -ivhf MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
Nope
Code: Select all
[root@trisvr3 Downloads]# rpm -ivhf MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
warning: MySQL-server-community-5.0.51a-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
package MySQL-server-community-5.0.51a-0.rhel4 is already installed
[root@trisvr3 Downloads]#
imagination is once limit......
rich_m
Member
Posts: 33 Joined: Sat Nov 25, 2006 10:05 am
Post
by rich_m » Wed Apr 02, 2008 10:12 pm
is'nt there any alternative to RPMs???????//
imagination is once limit......
xyzzy
Member
Posts: 391 Joined: Wed Jul 25, 2007 8:45 am
Libera.chat IRC: aejsmith
Location: London, UK
Contact:
Post
by xyzzy » Thu Apr 03, 2008 12:27 am
Try rpm -Uvh MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
Combuster
Member
Posts: 9301 Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:
Post
by Combuster » Thu Apr 03, 2008 2:17 am
rich_m wrote: is'nt there any alternative to RPMs???????//
get a
modern distribution.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[
My OS ] [
VDisk/SFS ]
JackScott
Member
Posts: 1031 Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:
Post
by JackScott » Thu Apr 03, 2008 3:28 am
Seconded. For servers, Debian is king.
pcmattman
Member
Posts: 2566 Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:
Post
by pcmattman » Tue Apr 08, 2008 8:00 pm
rich_m wrote: is'nt there any alternative to RPMs???????//
Debian. Apt-get is amazing. I miss it whenever I use non-Debian distros.
xyzzy
Member
Posts: 391 Joined: Wed Jul 25, 2007 8:45 am
Libera.chat IRC: aejsmith
Location: London, UK
Contact:
Post
by xyzzy » Wed Apr 09, 2008 12:51 am
I should point out that it's not the package manager that matters here, it's the version of the distro. Even if he had apt-get, it won't just give him the latest version automatically, it'll give him the version packaged in the distro.
pcmattman
Member
Posts: 2566 Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:
Post
by pcmattman » Wed Apr 09, 2008 12:52 am
I was just replying to his comment about RPMs
Combuster
Member
Posts: 9301 Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:
Post
by Combuster » Wed Apr 09, 2008 1:29 am
AlexExtreme wrote: I should point out that it's not the package manager that matters here, it's the version of the distro.
Try gentoo. Distro versions are not a problem there
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[
My OS ] [
VDisk/SFS ]
Steve the Pirate
Member
Posts: 152 Joined: Fri Dec 15, 2006 7:01 am
Location: Brisbane, Australia
Contact:
Post
by Steve the Pirate » Fri Apr 25, 2008 5:15 am
My server (and this computer) is running Ubuntu - I just had to do a sudo apt-get install mysql-server-5.0 php5-mysql and it was done - the only other thing I had to do was to enter a root password for the mysql server and boom, everything worked.
JackScott
Member
Posts: 1031 Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:
Post
by JackScott » Fri Apr 25, 2008 5:31 am
Combuster wrote: Try gentoo. Distro versions are not a problem there
No, but the installation is. It's hardly user friendly. I tried it today. Ghastly.