Can't Update...HELP!

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Can't Update...HELP!

Unread post by laughingbuddha »

Erm, I have no idea what's happened but when I run asl -u I get this error:

Code: Select all

Checking for updates..
  Updating ASL: update failed                              [FAIL]

  Trying again with full debug information....
Error: Cannot find a valid baseurl for repo: plesk
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/plesk/mirrorlist.txt
And also when I run yum update I get this error:

Code: Select all

Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/plesk/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: plesk
I have no idea what has caused this, as it was updating fine last week.
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Can't Update...HELP!

Unread post by breun »

Error: Cannot find a valid baseurl for repo: plesk
Looks like you have a yum repository for Plesk configured which is using a base URL that's not valid.

Check your /etc/yum.repos.d/*.repo files (and /etc/yum.conf) for any repositories named 'plesk' and see if its settings are all up to date.

Plesk doesn't configure a yum repository itself AFAIK, so I guess you added this yourself. (Or does/did the atomic installer offer to add this at some at some point?)
Lemonbit Internet Dedicated Server Management
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Can't Update...HELP!

Unread post by laughingbuddha »

Atomic must of, because I haven't got a clue how to do it myself. Nor do I have a clue what the base URL is supose to be.

But it was fine last week, so I have no idea why its suddenly erroring out.

What is Plesk's base URL, and why would that stop asl -u from working as well? Bearing in mind it isn't updating anything because of this.
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Can't Update...HELP!

Unread post by laughingbuddha »

Just checked the plesk.repo and it is using the atomic mirror list.

Code: Select all

[plesk]
name=Plesk Server Administrator
mirrorlist=http://www.atomicorp.com/mirrorlist/centos-$releasever-$basearch
gpgcheck=0
enabled=1
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Can't Update...HELP!

Unread post by scott »

That URL is wrong, the plesk mirrorlist files live under /mirrorlist/plesk/<version>/<dist>
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Can't Update...HELP!

Unread post by laughingbuddha »

Changed it to that, still no joy:

Code: Select all

Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/plesk/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: plesk
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Can't Update...HELP!

Unread post by breun »

What are the exact contents of your /etc/yum.repos.d/plesk.repo file?

You could temporarily disable the Plesk yum repository by setting enabled=0 in /etc/yum.repos.d/plesk.repo. That should at least cause asl -u to work again.

I personally don't use the Plesk yum repository, since it doesn't carry the latest 9.x and 10.x versions and Plesk micro updates are sadly not distributed as RPM packages, so for those you'll need to use the autoinstaller (or web interface) anyway.
Lemonbit Internet Dedicated Server Management
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Can't Update...HELP!

Unread post by laughingbuddha »

Mine is a Plesk 8.6 install, and because it is a production server I'm not likely going to upgrade the Plesk version. Mostly because it would break, as Plesk tends to do.

Here's the contents:

Code: Select all

[plesk]
name=Plesk Server Administrator
mirrorlist=http://www.atomicorp.com/mirrorlist/plesk/8.6/dist-rpm-CentOS-5-i386
gpgcheck=0
enabled=1
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Can't Update...HELP!

Unread post by breun »

That URL redirects to http://www.atomicorp.com/index.php?opti ... cle&id=266 which returns HTTP 200 OK with a page saying "Oh No! We're sorry you couldnt find what you were looking for! Please try the search feature for this website which will help you find what you are looking for." I guess that page should actually return HTTP 404 Not Found, but either way http://www.atomicorp.com/mirrorlist/ple ... tOS-5-i386 currently doesn't seem to be a valid baseurl for the Plesk yum repository. I don't know if that's an error on your end or not. Scott can probably tell you.
Lemonbit Internet Dedicated Server Management
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Can't Update...HELP!

Unread post by laughingbuddha »

Support has come back saying delete the plesk.repo, but surely it was there until recently so why has it vanished now?

It seems a little strange that it has only now disapeared, does that mean you can't install Plesk using ASL anymore like I once did, which is possibly the reason the plesk.repo points to a atomicorp URL.
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Can't Update...HELP!

Unread post by scott »

it hasnt been there for a long long time. Maybe more than a year, if ever. /mirrorlist/ is a top level dir for a lot of repo data, not just plesk. If there was a repo in there it was retired when that was expanded for other repo support (atomic, atomic-testing, asl soon, etc).
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Can't Update...HELP!

Unread post by laughingbuddha »

Far enough, I bow to your greatness :)
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
Post Reply