Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to emerge --sync due to TypeError: unsubscriptable ob
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
miamicanes
n00b
n00b


Joined: 19 Feb 2007
Posts: 13

PostPosted: Mon Feb 19, 2007 8:27 pm    Post subject: unable to emerge --sync due to TypeError: unsubscriptable ob Reply with quote

Well, I've now made it to section 6 of the Gentoo Handbook, but I've run into a new problem. When I got to step 6b and ran emerge --sync to update the Portage tree, it ran for about 2 hours and ultimately ended with:

... (off the screen)
deleting x11-misc/xxkb/files/readme

Number of files: 145008
Number of files transferred: 60578
Total file size: 163024872 bytes
Total transferred file size: 81532920 bytes
Literal data: 81533163 bytes
Matched data: 0 bytes
File list size: 3291930
Total bytes sent: 1211709
Total bytes received: 87555733

sent 1211709 bytes received 87555733 bytes 39199.58 bytes/sec
total size is 163024872 speedup is 1.84

>>> Updating Portage cache:
Traceback (most recent call last):
File "/usr/bin/emerge", line 3004, in ?
conf = portage.config(config_profile_path=portage.settings.profile_path[:], \
TypeError: unsubscriptable object


any suggestions what to try next?

If it matters, it's an ancient Toshiba 300CDS laptop with P-166, 96mb ram, 128mb swapfile, 2.1-gig hard drive, and 2-gig PCMCIA microdrive that's mounted as /mnt/gentoo/usr/portage and is holding all the portage files unzipped from the .bz2 file. At one point while the script was running (about 45 minutes before it ended), I noticed that it said something about a timeout, but it scrolled off the screen too quickly to read.
Back to top
View user's profile Send private message
miamicanes
n00b
n00b


Joined: 19 Feb 2007
Posts: 13

PostPosted: Mon Feb 19, 2007 11:18 pm    Post subject: Reply with quote

Well, a little good news. Even though rsync blocking wasn't my problem, I decided to try emerge-webrsync instead.

It appears to have worked:
Code:
...
deleting x11-misc/xac/files/digest-xac-0.6_pre3
deleting x11-misc/xxkb/files/readme

Number of files: 144728
Number of files transferred: 60727
total file size: 162669396 bytes
Total transferred file size: 82608357
Literal data: 82608357 bytes
Matched data: 0 bytes
File list size: 3552371
File list generation time: 362.129 seconds
File list transfer time: 0.018 seconds
Total bytes sent: 89385454
Total bytes received: 1767426

sent 89385454 bytes  received 1767426 bytes  15352.06 bytes/sec
total size is 162669396  speedup is 1.78
cleaning up
transferring metadata/cache
skipping sync

>>> Updating Portage cache: 100%

* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.
* Please run 'emerge portage' and then update ALL of your
* configuration files.
* To update portage, run 'emerge portage'

*** Completed websync, please now perform a normal rsync if possible.
   Update is current as of the YYYYMMDD: 20070218


Still no idea why the problem happened with the first attempt, though. Nor any idea of why it wants me to now perform a normal rsync...
Back to top
View user's profile Send private message
donjames
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 251
Location: 32°9'50" N 94°50'54" W

PostPosted: Tue Feb 20, 2007 2:22 pm    Post subject: Reply with quote

Hi,

I got the same error running emerge --sync. Ran emerge-webrsync and everything seems to be working right.

I wonder what happened?

Sincerely,

Don James

miamicanes wrote:
Well, a little good news. Even though rsync blocking wasn't my problem, I decided to try emerge-webrsync instead.

It appears to have worked:
Code:
...
deleting x11-misc/xac/files/digest-xac-0.6_pre3
deleting x11-misc/xxkb/files/readme

Number of files: 144728
Number of files transferred: 60727
total file size: 162669396 bytes
Total transferred file size: 82608357
Literal data: 82608357 bytes
Matched data: 0 bytes
File list size: 3552371
File list generation time: 362.129 seconds
File list transfer time: 0.018 seconds
Total bytes sent: 89385454
Total bytes received: 1767426

sent 89385454 bytes  received 1767426 bytes  15352.06 bytes/sec
total size is 162669396  speedup is 1.78
cleaning up
transferring metadata/cache
skipping sync

>>> Updating Portage cache: 100%

* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.
* Please run 'emerge portage' and then update ALL of your
* configuration files.
* To update portage, run 'emerge portage'

*** Completed websync, please now perform a normal rsync if possible.
   Update is current as of the YYYYMMDD: 20070218


Still no idea why the problem happened with the first attempt, though. Nor any idea of why it wants me to now perform a normal rsync...
Back to top
View user's profile Send private message
lalebarde
Guru
Guru


Joined: 03 Sep 2006
Posts: 464
Location: France, Haute-Garonne

PostPosted: Sat Mar 03, 2007 6:43 am    Post subject: Reply with quote

Hi

I have exactly the same problem 8O . I am going to do the same as you did.

Best regards


Laurent
Back to top
View user's profile Send private message
big
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2007
Posts: 87

PostPosted: Sat Mar 03, 2007 7:20 am    Post subject: Reply with quote

no problem with SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" .
i tried it just now.
_________________
be big,no bug
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum