Hi,
I have just upgraded the plesk to 9.0.1 version on our server (Red Hat Enterprise Linux ES release 4 (Nahant Update 6)) and need to upgrade php 4 to php 5 and also upgrade mysql server version 4 to version 5.
According to the wiki I ran:
wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh
Got the following:
Atomic Archive installer, version 1.0.14
Configuring the [atomic] yum archive for this system
Installing the Atomic GPG key: OK
Downloading atomic-release-1.0-10.el4.art.noarch.rpm: OK
Would you like to add the Plesk yum repository to the system?
Enable Plesk repository? (y/n) [Default: n]: y
Plesk 8.6 and 9.0 repositories are available:
NOTE: Plesk 9 repos are only available for rhel/centos 4 and 5
Enable Plesk 8.6 or 9.0? (8/9) [Default: 8]: 9
The Atomic Rocket Turtle archive has now been installed and configured for your system
The following channels are available:
atomic - [ACTIVATED] - contains the stable tree of ART packages
atomic-testing - [DISABLED] - contains the testing tree of ART packages
atomic-bleeding - [DISABLED] - contains the development tree of ART packages
but when I ran "yum update" I get error:
yum update
Setting up Update Process
Setting up repositories
Cannot find a valid baseurl for repo: plesk
Error: Cannot find a valid baseurl for repo: plesk
What am I doing wrong? Please help. Thanks!
Cannot find a valid baseurl for repo: plesk
Re: Cannot find a valid baseurl for repo: plesk
Sounds similar to a glitch which caught me out when I first set-up Atomic repo. Check the baseurl in /etc/yum.repos.d/plesk.repo, replace $releasever with 4. Should look like (NB: yours will have a different Plesk version):
Code: Select all
http://3es.atomicrocketturtle.com/channels/plesk/8.6.0/redhat/4/$basearch
Re: Cannot find a valid baseurl for repo: plesk
Thanks! Its connecting to the repository. But using the yum update command is not updating the PHP 4 to PHP 5.
What else do I need to do to upgrade to PHP5?
yum update
Setting up Update Process
Setting up repositories
plesk 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 90 kB 00:00
plesk : ################################################## 243/243
Added 243 new packages, deleted 0 old in 0.96 seconds
Excluding Packages from Plesk Server Administrator
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-Text-Iconv to pack into transaction set.
perl-Text-Iconv-1.2-70.95 100% |=========================| 2.5 kB 00:00
---> Package perl-Text-Iconv.i386 0:1.2-70.95787 set to be updated
---> Downloading header for psa-qmail-rblsmtpd to pack into transaction set.
psa-qmail-rblsmtpd-0.70-r 100% |=========================| 87 kB 00:00
---> Package psa-qmail-rblsmtpd.i586 0:0.70-rhel4.build90090127.18 set to be updated
---> Downloading header for psa-qmail to pack into transaction set.
psa-qmail-1.03-rhel4.buil 100% |=========================| 241 kB 00:00
---> Package psa-qmail.i586 1:1.03-rhel4.build90090127.18 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
perl-Text-Iconv i386 1.2-70.95787 plesk 31 k
psa-qmail i586 1:1.03-rhel4.build90090127.18 plesk 645 k
psa-qmail-rblsmtpd i586 0.70-rhel4.build90090127.18 plesk 102 k
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 3 Package(s)
Remove 0 Package(s)
Total download size: 777 k
I was trying to following this link to upgrade: http://www.atomicorp.com/wiki/index.php/PHP
What else do I need to do to upgrade to PHP5?
yum update
Setting up Update Process
Setting up repositories
plesk 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 90 kB 00:00
plesk : ################################################## 243/243
Added 243 new packages, deleted 0 old in 0.96 seconds
Excluding Packages from Plesk Server Administrator
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-Text-Iconv to pack into transaction set.
perl-Text-Iconv-1.2-70.95 100% |=========================| 2.5 kB 00:00
---> Package perl-Text-Iconv.i386 0:1.2-70.95787 set to be updated
---> Downloading header for psa-qmail-rblsmtpd to pack into transaction set.
psa-qmail-rblsmtpd-0.70-r 100% |=========================| 87 kB 00:00
---> Package psa-qmail-rblsmtpd.i586 0:0.70-rhel4.build90090127.18 set to be updated
---> Downloading header for psa-qmail to pack into transaction set.
psa-qmail-1.03-rhel4.buil 100% |=========================| 241 kB 00:00
---> Package psa-qmail.i586 1:1.03-rhel4.build90090127.18 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
perl-Text-Iconv i386 1.2-70.95787 plesk 31 k
psa-qmail i586 1:1.03-rhel4.build90090127.18 plesk 645 k
psa-qmail-rblsmtpd i586 0.70-rhel4.build90090127.18 plesk 102 k
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 3 Package(s)
Remove 0 Package(s)
Total download size: 777 k
I was trying to following this link to upgrade: http://www.atomicorp.com/wiki/index.php/PHP
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Cannot find a valid baseurl for repo: plesk
that tells me you've only got one repository configured, the plesk one. Try running "up2date -u" and see what you get
Re: Cannot find a valid baseurl for repo: plesk
yes, atomic.repo file was missing and I got the yum update to run but now getting the following errors:
--> Processing Dependency: libgnutls.so.11(GNUTLS_REL_1_0_9) for package: wireshark
--> Processing Dependency: libgnutls.so.11 for package: wireshark
--> Finished Dependency Resolution
Error: Missing Dependency: libgnutls.so.11 is needed by package wireshark
Error: Missing Dependency: libgnutls.so.11(GNUTLS_REL_1_0_9) is needed by package wireshark
I guess I can exclude the gnults but will that break anything? Will wireshark stop working?
--> Processing Dependency: libgnutls.so.11(GNUTLS_REL_1_0_9) for package: wireshark
--> Processing Dependency: libgnutls.so.11 for package: wireshark
--> Finished Dependency Resolution
Error: Missing Dependency: libgnutls.so.11 is needed by package wireshark
Error: Missing Dependency: libgnutls.so.11(GNUTLS_REL_1_0_9) is needed by package wireshark
I guess I can exclude the gnults but will that break anything? Will wireshark stop working?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Cannot find a valid baseurl for repo: plesk
Yup, its linked against an older gnutls all right. We put out an update for that to integrate with OpenVAS, so short term you'd need to remove wireshark.
Re: Cannot find a valid baseurl for repo: plesk
Thanks for the tip, Kalimari.Kalimari wrote:Check the baseurl in /etc/yum.repos.d/plesk.repo, replace $releasever with 4.
This fixed one of my issues.
