Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge sync fails in chrooted NFS-directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Jinidog
Guru
Guru


Joined: 26 Nov 2003
Posts: 593
Location: Berlin

PostPosted: Wed May 04, 2005 7:17 pm    Post subject: emerge sync fails in chrooted NFS-directory Reply with quote

Hello,

I'm trying to create a gentoo install for my Zaurus SL5600 PDA.
I have SSH access to the zaurus and mounted a directory of my PC, where I installed an arm stage1-archive.
But I cannot emerge sync.
I'll post more information later, but perhaps someone can help me without that.

This is the damn error:
Quote:

# emerge sync
>>> starting rsync with rsync://192.168.3.1/gentoo-portage...
>>> checking server timestamp ...
Willkommen auf dem AMD2800+ RSYNC-Server!
Viel Spaß!

receiving file list ...
1 file to consider
mkstemp "/var/tmp/.timestamp.chk.XXXXXX" failed: File exists
32 100% 0.00kB/s 0:00:00

Number of files: 1
Number of files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 32
Total bytes written: 1070
Total bytes read: 194

wrote 1070 bytes read 194 bytes 842.67 bytes/sec
total size is 32 speedup is 0.03
rsync error: some files could not be transferred (code 23) at main.c(1064)
>>> retry ...

_________________
Just unused Microsoft-Software is good Microsoft-Software
Back to top
View user's profile Send private message
msalerno
Veteran
Veteran


Joined: 17 Dec 2002
Posts: 1338
Location: Sweating in South Florida

PostPosted: Wed May 04, 2005 7:57 pm    Post subject: Reply with quote

Try the debug command in emerge.

emerge -d sync

It might return somthing a bit more useful.
Back to top
View user's profile Send private message
Jinidog
Guru
Guru


Joined: 26 Nov 2003
Posts: 593
Location: Berlin

PostPosted: Wed May 04, 2005 8:11 pm    Post subject: Reply with quote

I doesn't, the message is the same.

So, some more informations.
On the PDA I mount the unpacked stage1 archive and have tried to this emerge sync.
I managed that the PDA is treated as root by the PDA.

Seems as if I have two problems.
The first is, that my local rsync-servers seems to be malfunctioning.
An rsync -v prints out the following at the bottom:

Quote:

Please see the rsync(1) and rsyncd.conf(5) man pages for full documentation
See http://rsync.samba.org/ for updates, bug reports, and answers
rsync error: syntax or usage error (code 1) at main.c(1039)


But it may be, that that is unimportant, because the same errors occur when I try to sync with a mirror in the web.

The other problem is something with creating temporary files like this timestamp.chk.XXX.
I managed a emerge-webrsync, but I got many errors like that for all the digest files.
Creating the cache totally failed.
A mktemp gives me an error "mktemp: cannot make temp file /tmp/tmp.XXXXXX: File exists"
This may have something to to with the nfs mount.
I have the following entry in my /etc/exports:
/arm 192.168.4.2(rw,all_squash,anonuid=0,anongid=0)

I mount with the option nolock, when I don't do that, errors with lockfiles occur.

Very strange the whole thing. :?
_________________
Just unused Microsoft-Software is good Microsoft-Software
Back to top
View user's profile Send private message
Jinidog
Guru
Guru


Joined: 26 Nov 2003
Posts: 593
Location: Berlin

PostPosted: Wed May 04, 2005 8:50 pm    Post subject: Reply with quote

Okay, I use a fresh stage1-tree and now the sync works.
Even a lot of faster than before.
Must be because of these nfs-options.

It's no solution, but after one day of crap it seems to work now.
_________________
Just unused Microsoft-Software is good Microsoft-Software
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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