View previous topic :: View next topic |
Author |
Message |
Andreas O. Tux's lil' helper
Joined: 04 Jan 2003 Posts: 132 Location: Welthauptstadt der Biere
|
Posted: Thu Jan 05, 2017 9:38 am Post subject: [gelöst:] emerge --sync klappt nicht mehr |
|
|
Seit meinem letzten großen Update klappt plötzlich
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
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:
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 |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2284 Location: Adendorf, Germany
|
Posted: Thu Jan 05, 2017 1:10 pm Post subject: |
|
|
Also das Verzeichnis /var/tmp hat bei mir: Code: | drwxrwxrwx 2 nobody nogroup 40 5. Jan 13:43 /var/tmp |
_________________ Important German:- "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
- "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
|
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Thu Jan 05, 2017 1:41 pm Post subject: |
|
|
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 |
|
|
Marlo Veteran
Joined: 26 Jul 2003 Posts: 1591
|
Posted: Thu Jan 05, 2017 5:43 pm Post subject: |
|
|
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.
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 |
|
|
Andreas O. Tux's lil' helper
Joined: 04 Jan 2003 Posts: 132 Location: Welthauptstadt der Biere
|
Posted: Thu Jan 05, 2017 6:51 pm Post subject: |
|
|
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 |
|
|
Andreas O. Tux's lil' helper
Joined: 04 Jan 2003 Posts: 132 Location: Welthauptstadt der Biere
|
Posted: Thu Jan 05, 2017 7:56 pm Post subject: |
|
|
Hallo Marlo,
git habe ich nun installiert, zum Rest komme ich erst in den nächsten Tagen.
Danke schonmal!
Andreas |
|
Back to top |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2284 Location: Adendorf, Germany
|
Posted: Fri Jan 06, 2017 10:22 am Post subject: |
|
|
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:- "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
- "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
|
|
Back to top |
|
|
Andreas O. Tux's lil' helper
Joined: 04 Jan 2003 Posts: 132 Location: Welthauptstadt der Biere
|
Posted: Fri Jan 06, 2017 9:25 pm Post subject: |
|
|
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 |
|
|
Child_of_Sun_24 Guru
Joined: 28 Jul 2004 Posts: 578
|
Posted: Sun Jan 08, 2017 3:04 pm Post subject: |
|
|
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 |
|
|
|