Author Topic: Speed Test SOLVED  (Read 1664 times)

gmlinux

  • Guest
Speed Test SOLVED
« on: January 23, 2011, 02:04:40 PM »
When I go to System   Administration   Repo Speed Test   I get an error
/usr/bin/apt-sources-update.sh  no such file or directory.
I can navigate to the file and run it, but all but 2 of the tests "fail"
If I open Synaptic package manager and do a "reload" it says there are no updates.
This seems strange as there are usually some updates.
« Last Edit: January 24, 2011, 06:21:02 AM by gmlinux »

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1904
  • MLU and BLU (Bacon lovin' user)
Re: Speed Test
« Reply #1 on: January 23, 2011, 02:32:24 PM »
gmlinux, please read this: http://www.pclinuxos.com/forum/index.php/topic,85696.0.html.

Give it a couple of days, then the repositories will have synced against the ibiblio server. After that you can update and check for a speedy repo in your area. And then enjoy the great updates  ;)

Torsten
What country can preserve its liberties if its rulers are not warned from time to time that their people preserve the spirit of resistance?
Thomas Jefferson

gmlinux

  • Guest
Re: Speed Test
« Reply #2 on: January 23, 2011, 03:52:12 PM »
Wasn't aware of thta, thank you.
Will that also cure the problem of the error report that there is no such file as I stated?

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1904
  • MLU and BLU (Bacon lovin' user)
Re: Speed Test
« Reply #3 on: January 23, 2011, 04:28:37 PM »
In a few days you can check if the repos are back online. Fire up Synaptic and make sure you only have one repository marked (please don't use ibiblio). Just pick one that seems closer to where you are. Then reload - either you'll get messages like "404 not found", etc., meaning that the repos aren't back yet. Just quit Synaptic and try again later.

Otherwise apply all updates. Afterwards you should also have the speed test working, so then you can go on from there.

By the way, you can open up your file manager and navigate to the directory /usr/bin to see whether the file apt-sources-update exists (which it should by default).
What country can preserve its liberties if its rulers are not warned from time to time that their people preserve the spirit of resistance?
Thomas Jefferson

gmlinux

  • Guest
Re: Speed Test
« Reply #4 on: January 23, 2011, 06:44:55 PM »
Yes the file does exist and I went there and ran it, but just got failures.
Will wait a few days.

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9768
  • I'm Just A Dog.
Re: Speed Test
« Reply #5 on: January 23, 2011, 08:27:49 PM »
In a few days you can check if the repos are back online. Fire up Synaptic and make sure you only have one repository marked (please don't use ibiblio). Just pick one that seems closer to where you are. Then reload - either you'll get messages like "404 not found", etc., meaning that the repos aren't back yet. Just quit Synaptic and try again later.

Otherwise apply all updates. Afterwards you should also have the speed test working, so then you can go on from there.

By the way, you can open up your file manager and navigate to the directory /usr/bin to see whether the file apt-sources-update exists (which it should by default).

The way I understand it, only one repo is down, the main one. The speed test should still work.  ??? 


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Aradalf

  • Sr. Member
  • ****
  • Posts: 474
Re: Speed Test
« Reply #6 on: January 24, 2011, 01:15:00 AM »
In a few days you can check if the repos are back online. Fire up Synaptic and make sure you only have one repository marked (please don't use ibiblio). Just pick one that seems closer to where you are. Then reload - either you'll get messages like "404 not found", etc., meaning that the repos aren't back yet. Just quit Synaptic and try again later.

Otherwise apply all updates. Afterwards you should also have the speed test working, so then you can go on from there.

By the way, you can open up your file manager and navigate to the directory /usr/bin to see whether the file apt-sources-update exists (which it should by default).

The way I understand it, only one repo is down, the main one. The speed test should still work.  ??? 
The speed test doesn't work currently, because the default sync age is 5 days, and none of the repos have synced for more than a week now.

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9768
  • I'm Just A Dog.
Re: Speed Test
« Reply #7 on: January 24, 2011, 01:22:41 AM »
In a few days you can check if the repos are back online. Fire up Synaptic and make sure you only have one repository marked (please don't use ibiblio). Just pick one that seems closer to where you are. Then reload - either you'll get messages like "404 not found", etc., meaning that the repos aren't back yet. Just quit Synaptic and try again later.

Otherwise apply all updates. Afterwards you should also have the speed test working, so then you can go on from there.

By the way, you can open up your file manager and navigate to the directory /usr/bin to see whether the file apt-sources-update exists (which it should by default).

The way I understand it, only one repo is down, the main one. The speed test should still work.  ??? 
The speed test doesn't work currently, because the default sync age is 5 days, and none of the repos have synced for more than a week now.

This is logical.


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

uncleV

  • Guest
Re: Speed Test
« Reply #8 on: January 24, 2011, 01:44:35 AM »
I confirm what ongoto says about the file name.

Here in LXDE there are two files in /usr/bin:
apt-sources-update
apt-sources-update_m.sh

(edit: and I remember now the second was saved by me)

Here the repo scan gives the following:
« Last Edit: January 24, 2011, 04:19:40 AM by uncleV »

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1904
  • MLU and BLU (Bacon lovin' user)
Re: Speed Test
« Reply #9 on: January 24, 2011, 04:08:40 AM »
I should really get used to reading a post more than once. Originally I hadn't noticed the ".sh" ending mentioned in the first post  ::)

Ya see, gmlinux? You're in goods hands here  ;)
What country can preserve its liberties if its rulers are not warned from time to time that their people preserve the spirit of resistance?
Thomas Jefferson

uncleV

  • Guest
Re: Speed Test
« Reply #10 on: January 24, 2011, 04:57:33 AM »
Will that also cure the problem of the error report that there is no such file as I stated?
I am no sure if it'll do.

Some time ago this executable file was named as *.sh file but it seems now it is renamed (by updates I suppose).

You should be able to edit the line in Administration -->Repo Speed Test item. As far as I don't use Gnome I don't know how exactly it can be done; you may be ask in the Gnome section of forum about this.

So if your actual file name is apt-sources-update and the line in the menu item says apt-sources-update.sh just remove the ".sh" part in the menu item.

gmlinux

  • Guest
Re: Speed Test
« Reply #11 on: January 24, 2011, 05:23:14 AM »
WOW it's gonna take all day to digest all this info.
Looks like there is a solution here.
Thanks.

Offline Aradalf

  • Sr. Member
  • ****
  • Posts: 474
Re: Speed Test
« Reply #12 on: January 24, 2011, 07:29:14 AM »
Will that also cure the problem of the error report that there is no such file as I stated?
I am no sure if it'll do.

Some time ago this executable file was named as *.sh file but it seems now it is renamed (by updates I suppose).

You should be able to edit the line in Administration -->Repo Speed Test item. As far as I don't use Gnome I don't know how exactly it can be done; you may be ask in the Gnome section of forum about this.

So if your actual file name is apt-sources-update and the line in the menu item says apt-sources-update.sh just remove the ".sh" part in the menu item.

Or he could do it the universal way, by going into /usr/share/applications and change apt-sources-update.desktop from

[Desktop Entry]
Name=Update Package Sources List
Type=Application
Exec=/usr/bin/apt-sources-update.sh -w
Icon=synaptic
Comment=Utility for optimizing PCLinuxOS repository sources.list
Categories=X-MandrivaLinux-System-Configuration-Packaging;Settings;PackageManager;System

to

[Desktop Entry]
Name=Update Package Sources List
Type=Application
Exec=/usr/bin/apt-sources-update -w
Icon=synaptic
Comment=Utility for optimizing PCLinuxOS repository sources.list
Categories=X-MandrivaLinux-System-Configuration-Packaging;Settings;PackageManager;System
« Last Edit: January 24, 2011, 08:11:45 AM by Aradalf »

uncleV

  • Guest
Re: Speed Test
« Reply #13 on: January 24, 2011, 07:33:48 AM »
Comment[da]=Værktøj til optimering af PCLinuxOS apt sources.list
Why are you forcing him using Danish language? ???

 :P

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2108
  • Rubenus Parvus MCMXCI
Re: Speed Test
« Reply #14 on: January 24, 2011, 08:08:05 AM »
Comment[da]=Værktøj til optimering af PCLinuxOS apt sources.list
Why are you forcing him using Danish language? ???

 :P

You can read it in the post:
Quote
Or he could do it the universal way .................

 ;D  ;)
(however, I'd have done the same thing as Aradalf - but then with Dutch of course  :o)
« Last Edit: January 24, 2011, 08:16:57 AM by rubentje1991 »