Author Topic: Repositories and Synaptic  (Read 1666 times)

Offline gjtoth

  • Jr. Member
  • **
  • Posts: 17
Repositories and Synaptic
« on: September 10, 2010, 06:53:33 PM »
I've got everything going fairly well now and was going to install checkgmail.  I checked the repo speed and all but two failed.  I selected one of the two, went for a reload, and Synaptic locks up.

I rebooted and tried apt-get update in the root terminal.  Nada.

Now what?

AndrzejL

  • Guest
Re: Repositories and Synaptic
« Reply #1 on: September 10, 2010, 07:07:03 PM »
Hi gjtoth.

Open konsole and type in:

su [ENTER]
root's password [ENTER]
rm -f /var/lib/rpm/__db.* [ENTER]
rpm -vv --rebuilddb [ENTER]
apt-get update [ENTER]
apt-get dist-upgrade [ENTER]

When the upgrades will finish downloading and installing type in

apt-get install checkgmail [ENTER]

now type in

ldconfig [ENTER]
updatedb [ENTER]
cd / [ENTER]
touch /forcefsck [ENTER]
reboot [ENTER]

After reboot which may take bit longer (partitions will be checked for errors) try firing up synaptic and searching for packages.

Solution taken from here after searching for Synaptic hangs phrase.

Regards.

Andy
« Last Edit: September 10, 2010, 07:15:56 PM by AndrzejL »

Offline gjtoth

  • Jr. Member
  • **
  • Posts: 17
Re: Repositories and Synaptic
« Reply #2 on: September 10, 2010, 07:38:11 PM »
All I had to do was delete all the _db.* files in /var/lib/rpm and then run the second command warren gave rpm -vv --rebuilddb   


Worked like a charm.  Thanks for the help.  You saved me a reinstall.

AndrzejL

  • Guest
Re: Repositories and Synaptic
« Reply #3 on: September 10, 2010, 07:41:49 PM »
Glad You are sorted. Dont forget to mark thread as solved.

Andy

Offline wayne1932

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1089
Re: Repositories and Synaptic
« Reply #4 on: September 11, 2010, 09:32:15 AM »
This isn't solved yet.  Something is wrong in the chain of search for repospeedtest.   

I have a partition on my harddrive which is simply my setup as I like it, no data, just root and guest.  When PCLOS updates I also update this one and make a new livecd for reinstall if I bork my main install.  I just ran the repo speed test from this partition and it said it had retrieved the repo list, but then failed to go to anything except a couple with 504Bps speed. Obviously not good since my pass account and at least one other repo on my sources.lst works.
If it ain't broke, DON'T fix it!  If ya cain't fix it, ya gotta stand it.  If ya cain't stand it..............Visit the forum and search.

AndrzejL

  • Guest
Re: Repositories and Synaptic
« Reply #5 on: September 11, 2010, 10:07:51 AM »
This isn't solved yet.  Something is wrong in the chain of search for repospeedtest.   

Sorry - I can't cofirm. I always use pclosusers or heanet and never used repo speed test.

Andy

Offline old_guy

  • Hero Member
  • *****
  • Posts: 705
Re: Repositories and Synaptic
« Reply #6 on: September 11, 2010, 10:44:53 AM »
I just tested - and the speed test is not working properly, but synaptic and my internet connection are OK.
Never too old to learn.

AndrzejL

  • Guest
Re: Repositories and Synaptic
« Reply #7 on: September 11, 2010, 10:45:57 AM »
Ah ok - this must be reported to travisn000...

Regards.

Andy

Offline corazon

  • Full Member
  • ***
  • Posts: 133
Re: Repositories and Synaptic
« Reply #8 on: September 12, 2010, 12:41:52 AM »
I updated a few apps, ran the speed test, switched to the fastest repo, then synaptic only
showed installed files, would not reload, or respond to menus. So I just reinstalled. only takes
30 minutes, including coffee break :)
Cheers

uncleV

  • Guest
Re: Repositories and Synaptic
« Reply #9 on: September 12, 2010, 01:24:30 AM »
I confirm the Repository Speed Test problem. Tested 2 times now:
1. Found only two repos at speed <1000 bytes/sec.
2. It found only one repo working at 262 bytes/sec in Japan. All others failed.

At the same time
Quote
[root@localhost uncleV]# apt-get update
Get:1 http://gnustep.ethz.ch pclinuxos/2010 release [2378B]
Fetched 2378B in 0s (18.2kB/s)
Hit http://gnustep.ethz.ch pclinuxos/2010/main pkglist
Hit http://gnustep.ethz.ch pclinuxos/2010/main release
...
...
and Synaptic is reloading at a decent speed and downloading at about 5 MB/s.
It seems to me the Repository Speed Test doesn't recognise speeds over 1000 bytes/sec thus assuming them as fail.

(No updates so far? Or it is a bug too?)
« Last Edit: September 13, 2010, 01:50:42 AM by uncleV »

AndrzejL

  • Guest
Re: Repositories and Synaptic
« Reply #10 on: September 12, 2010, 03:42:48 AM »
I confirm the Repository Speed Test problem. Tested 2 times now:
1. Found only two repos at speed <1000 bytes/sec.
2. It found only one repo working at 262 bytes/sec in Japan. All others failed.

At the same time
Quote
[root@localhost uncleV]# apt-get update
Get:1 http://gnustep.ethz.ch pclinuxos/2010 release [2378B]
Fetched 2378B in 0s (18.2kB/s)
Hit http://gnustep.ethz.ch pclinuxos/2010/main pkglist
Hit http://gnustep.ethz.ch pclinuxos/2010/main release
...
...
and Synaptic is reloading at a decent speed.
It seems to me the Repository Speed Test doesn't recognise speeds over 1000 bytes/sec thus assuming them as fail.

(No updates so far? Or it is a bug too?)

Hi Dudes.

Texstar is VERY busy upgrading over 1500 packages - rebuilding them against new python...

Patience. Patience and bit more patience. Next upgrade will be hugeeeeeeeeeee... soon after that I bet there will be a bit of whining (J/K LOL) and some bug fixes and soon after that I bet there will be normal set of upgrades that will contain repospeedtest package.

Regards.

Andy

Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1098
  • Make Love Not War
Re: Repositories and Synaptic
« Reply #11 on: September 12, 2010, 07:43:27 PM »
Yes, another thread confirms broken repospeedtest.
Got to temporarily revert to manually choosing repo from synaptic list.
Meanwhile appreciating how cool repospeedtest is!  :D
Acer Aspire, Intel core2 2.20GHz, ‎Graphics nVidia ‎G98M [GeForce G 105M], 2gb ram, Wireless Intel Link 5100

Why, any 5 year old child could understand this.
Somebody bring me a 5 year old.
Groucho

uncleV

  • Guest
Hacking Repository Speed Test!!! :)
« Reply #12 on: September 13, 2010, 07:40:44 AM »
I confirm the Repository Speed Test problem.

It seems to me the Repository Speed Test doesn't recognise speeds over 1000 bytes/sec thus assuming them as fail.

No, the problem is because all files in repos are older than 10 days. But you can't choose more than 10 days old repository files...

So if somebody is sure he wants Repository Speed Test working before the new updates:
Find /usr/bin/apt-sources-update.sh and in line 282 change --max-value=10 (days) to more. 30 works here.
But I didn't update the speed list, just curious ;)

--------------------------------------------
And they see we are tortured but keep silence... Bad boys! ;D

 :D   8)
« Last Edit: September 13, 2010, 08:30:05 AM by uncleV »

AndrzejL

  • Guest
Re: Repositories and Synaptic
« Reply #13 on: September 13, 2010, 09:34:45 AM »
UncleVil am I dreaming? You finally did something useful? LOL just kidding You grumpy Troll ;)!

Andy

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2343
Re: Hacking Repository Speed Test!!! :)
« Reply #14 on: September 13, 2010, 09:43:17 AM »

So if somebody is sure he wants Repository Speed Test working before the new updates:
Repository Speed Test is pretty much irrelevant, as long as I can keep my PASS access...   :P

Retired Senior Chief, Retired Software Engineer, Active GrandPa