Cannot find a valid baseurl for repo: plesk

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
infineo
New Forum User
New Forum User
Posts: 3
Joined: Tue Feb 17, 2009 3:42 am

Cannot find a valid baseurl for repo: plesk

Unread post by infineo »

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!
Kalimari
Forum Regular
Forum Regular
Posts: 526
Joined: Wed Jan 02, 2008 3:21 pm
Location: United Kingdom

Re: Cannot find a valid baseurl for repo: plesk

Unread post by Kalimari »

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
infineo
New Forum User
New Forum User
Posts: 3
Joined: Tue Feb 17, 2009 3:42 am

Re: Cannot find a valid baseurl for repo: plesk

Unread post by infineo »

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
scott
Atomicorp Staff - Site Admin
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

Unread post by scott »

that tells me you've only got one repository configured, the plesk one. Try running "up2date -u" and see what you get
infineo
New Forum User
New Forum User
Posts: 3
Joined: Tue Feb 17, 2009 3:42 am

Re: Cannot find a valid baseurl for repo: plesk

Unread post by infineo »

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?
scott
Atomicorp Staff - Site Admin
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

Unread post by scott »

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.
Vampyre
New Forum User
New Forum User
Posts: 2
Joined: Mon May 18, 2009 9:31 am

Re: Cannot find a valid baseurl for repo: plesk

Unread post by Vampyre »

Kalimari wrote:Check the baseurl in /etc/yum.repos.d/plesk.repo, replace $releasever with 4.
Thanks for the tip, Kalimari.
This fixed one of my issues. :)
Post Reply