Обсуждение: upgrading RPM query
Hi all, I've got a RH7.1 installation which came with 7.0.3 as rpms. This is what I'm running at the moment. I've just been to (a mirror of) ftp.postgresql.org which has rpms for 7.1.2 in a directory binary/v7.1.2/RPMS/redhat-7.1 which I asume is the set of RPM's that I need. However, when I read README.rpm-dist is says that the rpms with PGDG in the name are generic ones and states that dist based ones are preferable. I'm at bit confused at this, as I would have thought that the path to the RPM's would suggest that they are specific enough - no? If this is the case, can anyone suggest the best way to upgrade to 7.1.2 on my system, as the latest ones that RH have produces are for v7.0.3 (the latest you can get from their download page is v7.0.2). -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
On Tuesday 07 August 2001 11:27, Gary Stainburn wrote: > binary/v7.1.2/RPMS/redhat-7.1 [snip] > I'm at bit confused at this, as I would have thought that the path to the > RPM's would suggest that they are specific enough - no? No. It just means that RH 7.1 is the platform that binary was built for (and on). > If this is the case, can anyone suggest the best way to upgrade to 7.1.2 on > my system, as the latest ones that RH have produces are for v7.0.3 (the > latest you can get from their download page is v7.0.2). You can get 7.1 RPMs out of RedHat's RawHide that are rather recent. However, the current PGDG set is quite close to what is in RawHide. FWIW, RedHat 7.1 is currently the RPM reference platform, so the current RPMset will work fine on RH 7.1. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
Hi Lamer, I've had a look and the only 7.1.2 rpms is in beta/roswell. I dont' fancy beta stuff on my production servers. Everything else on the RedHat site is 7.0.x. You mention RawHide. What is this, and where can I find it. TIA, Gary On Wednesday 08 August 2001 3:47 am, Lamar Owen wrote: > On Tuesday 07 August 2001 11:27, Gary Stainburn wrote: > > binary/v7.1.2/RPMS/redhat-7.1 > > [snip] > > > I'm at bit confused at this, as I would have thought that the path to the > > RPM's would suggest that they are specific enough - no? > > No. It just means that RH 7.1 is the platform that binary was built for > (and on). > > > If this is the case, can anyone suggest the best way to upgrade to 7.1.2 > > on my system, as the latest ones that RH have produces are for v7.0.3 > > (the latest you can get from their download page is v7.0.2). > > You can get 7.1 RPMs out of RedHat's RawHide that are rather recent. > However, the current PGDG set is quite close to what is in RawHide. > > FWIW, RedHat 7.1 is currently the RPM reference platform, so the current > RPMset will work fine on RH 7.1. > -- > Lamar Owen > WGCR Internet Radio > 1 Peter 4:11 -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
Hi Lamar, doesn't matter, I've now got access to rpmfind again, and I've found the RPM's. I'm getting them now. BTW, sorry about the type on your name in the last post - inexcusable. Gary On Wednesday 08 August 2001 10:06 am, Gary Stainburn wrote: > Hi Lamer, > > I've had a look and the only 7.1.2 rpms is in beta/roswell. I dont' fancy > beta stuff on my production servers. Everything else on the RedHat site is > 7.0.x. > > You mention RawHide. What is this, and where can I find it. > > TIA, > > Gary > > On Wednesday 08 August 2001 3:47 am, Lamar Owen wrote: > > On Tuesday 07 August 2001 11:27, Gary Stainburn wrote: > > > binary/v7.1.2/RPMS/redhat-7.1 > > > > [snip] > > > > > I'm at bit confused at this, as I would have thought that the path to > > > the RPM's would suggest that they are specific enough - no? > > > > No. It just means that RH 7.1 is the platform that binary was built for > > (and on). > > > > > If this is the case, can anyone suggest the best way to upgrade to > > > 7.1.2 on my system, as the latest ones that RH have produces are for > > > v7.0.3 (the latest you can get from their download page is v7.0.2). > > > > You can get 7.1 RPMs out of RedHat's RawHide that are rather recent. > > However, the current PGDG set is quite close to what is in RawHide. > > > > FWIW, RedHat 7.1 is currently the RPM reference platform, so the current > > RPMset will work fine on RH 7.1. > > -- > > Lamar Owen > > WGCR Internet Radio > > 1 Peter 4:11 -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
Hmmm, I downloaded the postgresql-7.1.2 rpms and tried to install them - I had 20 lines of failed dependancies. I downloaded the RPMS for those, and ended up with 70+ lines of failed dependancies. Does anyone have any suggestions on where I should go next (excluding th pub - I've already taken on that suggestion). Gary On Wednesday 08 August 2001 4:35 pm, Gary Stainburn wrote: > Hi Lamar, > > doesn't matter, I've now got access to rpmfind again, and I've found the > RPM's. I'm getting them now. > > BTW, sorry about the type on your name in the last post - inexcusable. > > Gary > > On Wednesday 08 August 2001 10:06 am, Gary Stainburn wrote: > > Hi Lamer, > > > > I've had a look and the only 7.1.2 rpms is in beta/roswell. I dont' > > fancy beta stuff on my production servers. Everything else on the RedHat > > site is 7.0.x. > > > > You mention RawHide. What is this, and where can I find it. > > > > TIA, > > > > Gary > > > > On Wednesday 08 August 2001 3:47 am, Lamar Owen wrote: > > > On Tuesday 07 August 2001 11:27, Gary Stainburn wrote: > > > > binary/v7.1.2/RPMS/redhat-7.1 > > > > > > [snip] > > > > > > > I'm at bit confused at this, as I would have thought that the path to > > > > the RPM's would suggest that they are specific enough - no? > > > > > > No. It just means that RH 7.1 is the platform that binary was built > > > for (and on). > > > > > > > If this is the case, can anyone suggest the best way to upgrade to > > > > 7.1.2 on my system, as the latest ones that RH have produces are for > > > > v7.0.3 (the latest you can get from their download page is v7.0.2). > > > > > > You can get 7.1 RPMs out of RedHat's RawHide that are rather recent. > > > However, the current PGDG set is quite close to what is in RawHide. > > > > > > FWIW, RedHat 7.1 is currently the RPM reference platform, so the > > > current RPMset will work fine on RH 7.1. > > > -- > > > Lamar Owen > > > WGCR Internet Radio > > > 1 Peter 4:11 -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
On Wed, Aug 08, 2001 at 05:15:13PM +0100, Gary Stainburn wrote: > Hmmm, > > I downloaded the postgresql-7.1.2 rpms and tried to install them - I had 20 > lines of failed dependancies. I downloaded the RPMS for those, and ended up > with 70+ lines of failed dependancies. > > Does anyone have any suggestions on where I should go next (excluding th pub > - I've already taken on that suggestion). My guess is that you get failed dependancies because the RPM is built against newer libraries. Libraries tend to depend on other libraries and so on, so you'll end up with replacing your whole system. The two easiest options are: 1. Upgrade to a newer distribution 2. Get the SRPM and compile the RPM yourself - it will then be built against your libraries and should install without errors. (you will probably have to install some additional development packages to compile the RPM though). -- Ragnar Kjorstad
On Wednesday 08 August 2001 6:49 pm, Ragnar Kjørstad wrote: > On Wed, Aug 08, 2001 at 05:15:13PM +0100, Gary Stainburn wrote: > > Hmmm, > > > > I downloaded the postgresql-7.1.2 rpms and tried to install them - I had > > 20 lines of failed dependancies. I downloaded the RPMS for those, and > > ended up with 70+ lines of failed dependancies. > > > > Does anyone have any suggestions on where I should go next (excluding th > > pub - I've already taken on that suggestion). > > My guess is that you get failed dependancies because the RPM is built > against newer libraries. Libraries tend to depend on other libraries and > so on, so you'll end up with replacing your whole system. > > The two easiest options are: > 1. Upgrade to a newer distribution Hmm, I'm on RH7.1 installed 5 days ago! > 2. Get the SRPM and compile the RPM yourself - it will then be built > against your libraries and should install without errors. (you will > probably have to install some additional development packages to compile > the RPM though). At the risk of starting to stray OT for this list, how do you go about installing SRPMS - I've never done anything like that before. -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
Gary Stainburn wrote: > At the risk of starting to stray OT for this list, how do you go about > installing SRPMS - I've never done anything like that before. An easier way to do this would be to download the postgresql tarball. Download the following: http://www.postgresql.org/ftpsite/v7.1.2/postgresql-7.1.2.tar.gz tar zxf postgresql-7.1.2.tar.gz Read the INSTALL or README file. It will explain better than I. Alan Gutierrez - alangutierrez@hotmail.com
On Monday 13 August 2001 22:28, Alan Gutierrez wrote: > Gary Stainburn wrote: > > At the risk of starting to stray OT for this list, how do you go about > > installing SRPMS - I've never done anything like that before. > An easier way to do this would be to download the postgresql tarball. Nope. If you have enough to recompile the tarball, you just (as root): rpm --rebuild postgresql-x.y.z-rPGDG.src.rpm Make a dump of the old database at this point, if upgrading... cd /usr/src/redhat/RPMS/i386 (or whichever architecture you have) rpm -Uvh whichever-rpms-you-want.i386.rpm It's easier -- much easier -- to rebuild from source via RPM than to build and hand install from tarball, if you don't need too custom of a setup. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
Thanks for that Alan, However, as the box I was putting it onto is a new one, I am making an effort to stick to RPM's this time, as much as an academic exerciser as anything else. I actually found it quite easy to download the SRPM and build all the binary RPMs from it. It also means that if I set up any more RH71 boxes, I can simply use these RPM's Gary On Tuesday 14 August 2001 3:28 am, Alan Gutierrez wrote: > Gary Stainburn wrote: > > At the risk of starting to stray OT for this list, how do you go about > > installing SRPMS - I've never done anything like that before. > > An easier way to do this would be to download the postgresql tarball. > > Download the following: > > http://www.postgresql.org/ftpsite/v7.1.2/postgresql-7.1.2.tar.gz > > tar zxf postgresql-7.1.2.tar.gz > > Read the INSTALL or README file. It will explain better than I. > > Alan Gutierrez - alangutierrez@hotmail.com > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
On Wednesday 08 August 2001 12:15, Gary Stainburn wrote: > I downloaded the postgresql-7.1.2 rpms and tried to install them - I had 20 > lines of failed dependancies. I downloaded the RPMS for those, and ended > up with 70+ lines of failed dependancies. The current PGDG RPMset will work just fine on RedHat 7.1. There is no need to get anything else, as RH 7.1 is what I build them on (for now). Currently the PGDG set is almost identical to what RedHat has in Rawhide. As to rebuilding from SRPMS, if you have enough to compile from the tarball you simply: rpm --rebuild postgresql-7.1.2-4PGDG.src.rpm and pick up your binary RPMs from /usr/src/redhat/RPMS/i386. Much simpler than a hand compile, at least on RedHat 7.1. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
lamar.owen@wgcr.org (Lamar Owen) wrote in message news:<01081413350601.01006@lowen.wgcr.org>... > On Wednesday 08 August 2001 12:15, Gary Stainburn wrote: > > I downloaded the postgresql-7.1.2 rpms and tried to install them - I had 20 > > lines of failed dependancies. I downloaded the RPMS for those, and ended > > up with 70+ lines of failed dependancies. > > The current PGDG RPMset will work just fine on RedHat 7.1. There is no need > to get anything else, as RH 7.1 is what I build them on (for now). > > Currently the PGDG set is almost identical to what RedHat has in Rawhide. > > As to rebuilding from SRPMS, if you have enough to compile from the tarball > you simply: > rpm --rebuild postgresql-7.1.2-4PGDG.src.rpm > and pick up your binary RPMs from /usr/src/redhat/RPMS/i386. > > Much simpler than a hand compile, at least on RedHat 7.1. QUESTION: Would that method apply to a SuSE 6.4 distribution. I have had the same bad luck trying to use the binary rpm's with the latest 7.1 release. Thanks for any light shed on this "library hell". John Turner
On Monday 20 August 2001 09:13, John Turner wrote: > > As to rebuilding from SRPMS, if you have enough to compile from the > > tarball you simply: > > rpm --rebuild postgresql-7.1.2-4PGDG.src.rpm > > and pick up your binary RPMs from /usr/src/redhat/RPMS/i386. > > > > Much simpler than a hand compile, at least on RedHat 7.1. > QUESTION: > Would that method apply to a SuSE 6.4 distribution. > I have had the same bad luck trying to use the binary rpm's > with the latest 7.1 release. > Thanks for any light shed on this "library hell". > John Turner SuSE 6.4 is not something I am able to directly support -- but I _do_ know that supporting SuSE 6.4 requires a great deal of modifications to our RPM in order to get working. SuSE 7.1 and 7.2 are much better and much easier to support. However, I can't really expect anyone to upgrade for my convenience.... So, if you think you're up to trying to make the existing source RPM rebuild cleanly on SuSE 6.4, you have my blessing. I can help in a limited way -- limited because, as I said, I do not possess SuSE 6.4. And, YES, library versions under Linux distributions are as bad if not worse than Windows' 'DLL Hell' is. Well, at least mostly. RPM-based Linux distributions at least _tell_ you there's a problem..... -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
On Monday 20 August 2001 18:08, Chad R. Larson wrote: > On Mon, Aug 20, 2001 at 02:37:55PM -0400, Lamar Owen wrote: > > And, YES, library versions under Linux distributions are as bad if > > not worse than Windows' 'DLL Hell' is. Well, at least mostly. > > RPM-based Linux distributions at least _tell_ you there's a > > problem..... > About here is where I usually get up on my FreeBSD soapbox. Ok, then, use a binary built for FreeBSD 4.0 on OpenBSD 2.9. A _PostgreSQL_ binary. If you want to build everything from source there are no library problems, regardless of OS -- until you upgrade the OS. You see, there's more to it than meets the eye.... Although, older binaries usually work fine after an upgrade of RedHat, thanks to it keeping around older libs during an upgrade.... -- Lamar Owen WGCR Internet Radio 1 Peter 4:11