Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst:] emerge --sync klappt nicht mehr
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Andreas O.
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2003
Posts: 132
Location: Welthauptstadt der Biere

PostPosted: Thu Jan 05, 2017 9:38 am    Post subject: [gelöst:] emerge --sync klappt nicht mehr Reply with quote

Seit meinem letzten großen Update klappt plötzlich
Code:
emerge --sync

nicht mehr:
Code:
>>> Syncing repository 'gentoo' into '/usr/portage'...
>>> Starting rsync with rsync://134.147.32.114/gentoo-portage...
receiving incremental file list
rsync: mkstemp "/var/tmp/.tmp7i9cisff.aFkyWm" failed: Permission denied (13)

Number of files: 1 (reg: 1)
Number of created files: 0
Number of regular 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: 33
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 109
Total bytes received: 134

sent 109 bytes  received 134 bytes  162.00 bytes/sec
total size is 32  speedup is 0.13
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1650) [generator=3.1.2]
>>> Retrying...


>>> Starting retry 1 of 1 with rsync://[2a05:3e00:1:1003::32:114]/gentoo-portage
rsync: failed to connect to 2a05:3e00:1:1003::32:114 (2a05:3e00:1:1003::32:114): Network is unreachable (101)
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
>>> Retrying...
!!! Exhausted addresses for rsync10.de.gentoo.org

Wegen des Berechtigungsproblems:
Code:
rsync: mkstemp "/var/tmp/.tmp7i9cisff.aFkyWm" failed: Permission denied (13)

hatte ich auch schon mal:
Code:
chown -R portage:portage /usr/portage

durchgeführt, ansonsten sollte root doch in /var/tmp Zugriff haben, oder soll hier auch noch die Berechtigung auf 'portage' geändert werden?
Ich habe nun schon diverse Server über
Code:
mirrorselect -i

ausgewählt, offensichtlich haben Änderungen in /etc/portage/make.conf bezüglich der rsync-Server keine Auswirkungen mehr, so dass ich auch unter /etc/portage/repos.conf/gentoo.conf diverse Server ausprobiert habe...
Ist das nun wirklich ein Zugriffsproblem oder kann es tatsächlich sein, dass alle probierten Server 'down' sind oder warum auch immer nun alle Anfragen ablehnen?
Heute hatte ich beispielsweise erst 1x emerge --sync durchgeführt - aber auch wenn ich z. B. 5x am Tag versuche zu 'rsyncen', sollte ich doch deswegen nicht gleich ausgesperrt werden?

Hier nun meine /etc/portage/make.conf:
Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j4" #CPU-Anzahl+1
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="bindist mmx sse sse2 X nls -gnome -kde -systemd -libav"
#neu: CPU_FLAGS_X86="bindist mmx sse sse2 X nls -gnome -kde -systemd"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
#SYNC= siehe nun unter: /etc/portage/repos.conf/gentoo.conf
GENTOO_MIRRORS="rsync://rsync.gentoo.org/gentoo-portage/"
LINGUAS="de"
L10N="de"
VIDEO_CARDS="radeon"
INPUT_DEVICES="evdev"eine /etc/portage/make.conf:

und meine /etc/portage/repos.conf/gentoo.conf:
Code:

[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = rsync
#sync-uri = rsync://rsync.de.gentoo.org/gentoo-portage
sync-uri = rsync://rsync10.de.gentoo.org/gentoo-portage
#sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes

# for daily squashfs snapshots
#sync-type = squashdelta
#sync-uri = mirror://gentoo/../snapshots/squashfs


So hatte ich auch schon Server von 1&1 etc. ausprobiert, immer kamen ähnliche Fehlermeldungen!??
So blieb mir letztendlich nur noch ein:
Code:
emerge-webrsync

um Portage wieder auf den neuesten Stand zu bringen...
emerge --sync funktioniert schon seit Ende Dezember nicht mehr.

Bei den Update-News wüsste ich nicht, dass ich diesbezüglich was überlesen habe - oder doch?


Last edited by Andreas O. on Fri Jan 06, 2017 9:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Thu Jan 05, 2017 1:10 pm    Post subject: Reply with quote

Also das Verzeichnis /var/tmp hat bei mir:
Code:
drwxrwxrwx 2 nobody nogroup 40  5. Jan 13:43 /var/tmp

_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Thu Jan 05, 2017 1:41 pm    Post subject: Reply with quote

Quote:
drwxrwxrwx 2 nobody nogroup 40 5. Jan 13:43 /var/tmp

Fehlt da nicht noch ein "t" (sticky-bit)? (---> chmod 01777 /var/tmp)
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Thu Jan 05, 2017 5:43 pm    Post subject: Reply with quote

Hallo Andreas O.

ist schon ne Weile her, aber ich glaube mich zu erinnern, dass es eine Umstellung von rsync auf git gibt.
Den finalen Artikel habe ich auf die Schnelle nicht gefunden. :((

Aber versuche doch mal das Folgende, der Geschwindigkeitszuwachs ist enorm.
tux ~ # cat /etc/portage/repos.conf/gentoo.conf wrote:

[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = git
sync-uri = https://github.com/gentoo/gentoo.git
auto-sync = yes
GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/"


Die MIRRORS nach eigenem Gusto setzen.


Nach einem reboot mit einem emerge --sync oder eix --sync ausprobieren.

PS: Ev. muss noch dev-vcs/git installiert werden.
PPS: https://forums.gentoo.org/viewtopic-p-7931524.html und http://www.gossamer-threads.com/lists/gentoo/user/300824?page=last
Grüße
Ma
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Andreas O.
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2003
Posts: 132
Location: Welthauptstadt der Biere

PostPosted: Thu Jan 05, 2017 6:51 pm    Post subject: Reply with quote

Yamakuzure wrote:
Also das Verzeichnis /var/tmp hat bei mir:
Code:
drwxrwxrwx 2 nobody nogroup 40  5. Jan 13:43 /var/tmp

Und bei mir:
Code:
drwxr-xr-x 2 anderl  users
drwxr-xr-x 2 root    root
drwxrwxr-x 5 portage portage
Back to top
View user's profile Send private message
Andreas O.
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2003
Posts: 132
Location: Welthauptstadt der Biere

PostPosted: Thu Jan 05, 2017 7:56 pm    Post subject: Reply with quote

Marlo wrote:
Hallo Andreas O.

ist schon ne Weile her, aber ich glaube mich zu erinnern, dass es eine Umstellung von rsync auf git gibt.
Den finalen Artikel habe ich auf die Schnelle nicht gefunden. :((

Aber versuche doch mal das Folgende, der Geschwindigkeitszuwachs ist enorm.
tux ~ # cat /etc/portage/repos.conf/gentoo.conf wrote:

[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = git
sync-uri = https://github.com/gentoo/gentoo.git
auto-sync = yes
GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/"


Die MIRRORS nach eigenem Gusto setzen.


Nach einem reboot mit einem emerge --sync oder eix --sync ausprobieren.

PS: Ev. muss noch dev-vcs/git installiert werden.
PPS: https://forums.gentoo.org/viewtopic-p-7931524.html und http://www.gossamer-threads.com/lists/gentoo/user/300824?page=last
Grüße
Ma

Hallo Marlo,
git habe ich nun installiert, zum Rest komme ich erst in den nächsten Tagen.
Danke schonmal!

Andreas
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Fri Jan 06, 2017 10:22 am    Post subject: Reply with quote

bug_report wrote:
Quote:
drwxrwxrwx 2 nobody nogroup 40 5. Jan 13:43 /var/tmp

Fehlt da nicht noch ein "t" (sticky-bit)? (---> chmod 01777 /var/tmp)
Würde ich auf einem System, auf dem sich in der Tat mehrere Benutzer einloggen, durchaus setzen.
Auf einem Single-User-System ist das, glaube ich, nicht unbedingt notwendig, oder?
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
Andreas O.
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2003
Posts: 132
Location: Welthauptstadt der Biere

PostPosted: Fri Jan 06, 2017 9:25 pm    Post subject: Reply with quote

Marlo wrote:
Hallo Andreas O.

ist schon ne Weile her, aber ich glaube mich zu erinnern, dass es eine Umstellung von rsync auf git gibt.
Den finalen Artikel habe ich auf die Schnelle nicht gefunden. :((

Aber versuche doch mal das Folgende, der Geschwindigkeitszuwachs ist enorm.
tux ~ # cat /etc/portage/repos.conf/gentoo.conf wrote:

[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = git
sync-uri = https://github.com/gentoo/gentoo.git
auto-sync = yes
GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/"


Die MIRRORS nach eigenem Gusto setzen.


Nach einem reboot mit einem emerge --sync oder eix --sync ausprobieren.

PS: Ev. muss noch dev-vcs/git installiert werden.
PPS: https://forums.gentoo.org/viewtopic-p-7931524.html und http://www.gossamer-threads.com/lists/gentoo/user/300824?page=last
Grüße
Ma

Hallo Marlo,

nachdem ich ursprünglich diese Fehlermeldung hatte:
Code:
emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
/usr/bin/git clone --depth 1 https://github.com/gentoo/gentoo.git .
fatal: Zielpfad '.' existiert bereits und ist kein leeres Verzeichnis.
!!! git clone error in /usr/portage

wurde ich schließlich in diesem Beitrag fündig:
https://forums.gentoo.org/viewtopic-t-1026524.html
xaviermiller hatte die richtige Lösung dazu:
Quote:
genoobish,

To migrate from a rsync'ed repository to git, just remove it before the sync :
Code:
cd /usr/portage && rm -rf * .gitignore
cd
emerge --sync

_________________
Kind regards,
Xavier Miller


Danke nochmal für die Hilfe :)

Andreas
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Sun Jan 08, 2017 3:04 pm    Post subject: Reply with quote

Marlo wrote:
Hallo Andreas O.

ist schon ne Weile her, aber ich glaube mich zu erinnern, dass es eine Umstellung von rsync auf git gibt.
Den finalen Artikel habe ich auf die Schnelle nicht gefunden. :((

Aber versuche doch mal das Folgende, der Geschwindigkeitszuwachs ist enorm.
tux ~ # cat /etc/portage/repos.conf/gentoo.conf wrote:

[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = git
sync-uri = https://github.com/gentoo/gentoo.git
auto-sync = yes
GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/"


Die MIRRORS nach eigenem Gusto setzen.


Nach einem reboot mit einem emerge --sync oder eix --sync ausprobieren.

PS: Ev. muss noch dev-vcs/git installiert werden.
PPS: https://forums.gentoo.org/viewtopic-p-7931524.html und http://www.gossamer-threads.com/lists/gentoo/user/300824?page=last
Grüße
Ma


Man soll
sync-uri = https://github.com/gentoo-mirror/gentoo
benutzen, der gentoo/gentoo.git ist für Developer vorbehalten und soll möglichst nicht auf Standardrechnern eingesetzt werden um den Traffic gering zu halten.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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