View previous topic :: View next topic |
Author |
Message |
Tihocan n00b
Joined: 14 Sep 2003 Posts: 18
|
Posted: Thu Sep 18, 2003 10:44 am Post subject: [RSYNC] besoin d'aide |
|
|
Bonjour,
1er pbl:
j'ai fait une betise, j'ai fait poiinter sync sur un truc qui n'etait pas une liste de package:
Code: | SYNC=rsync://oss.sgi.com/xfsftp emerge -uv rsync |
je me suis rendu compte du truc qd rsync a voulut telecharger un iso...
Le probleme et qu'il avait deja telecharge des truc ... j'ai decouverts que tout est dans /usr/portage
qqun pourrait'il me dire ou rsync range ce qu'il telecharge et comment il fonctionne.
NE sachant pas exactement ce qui a ete telecharge je peux
> soit aller voir le contenu de rsync://oss.sgi.com/xfsftp mais comment ?
> soit utiser un log du dernier rsync ? ou se trouve t'il ?
> soit tenter une comande genre Code: | SYNC=rsync://oss.sgi.com/xfsftp emerge unmerge rsync | est ce que ça pourrait marcher ?
------------------------------------------------------------------------------------
2e pbl: (cause de ma betise)
je voulais emerger xfsprogs or les ebuild de gentoo essaye de telecharger la version 2.3.9 or sur le ftp il ne reste que la version plus recente 2.5.4
j'ai donc telecharger cette version dans distfiles, puis j'ai essaye d'emerger .. PB emerge voulais tjrs la 2.3.9 !?
j'ai donc voulut mettre a jour la liste des package.
mais le rsync n'a pas suffit
alors j'ai delirer avec le rsync du pbl1.
Comment faire pour emerge une version plus recente d'un package ? Ou trouver l'ebuild qui va bien ? |
|
Back to top |
|
|
yuk159 Veteran
Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Thu Sep 18, 2003 11:02 am Post subject: |
|
|
Alors pour le premier probleme tout ce que emerge telecharge se trouve dans /usr/portage/distfiles/, et oui tu peux tout virer sans probleme.
Pour le deuxieme ca m'a l'air mal partit, il n'y a pas d'ebuild de la version que tu souhaite, donc il va falloir que tu le compile a la main _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
|
Tihocan n00b
Joined: 14 Sep 2003 Posts: 18
|
Posted: Thu Sep 18, 2003 11:10 am Post subject: |
|
|
En fait g regarde et ce bien pire que ca les trucs telecharges par la 1er commande sont dans /portage directement et comme je c pas exactement tout ce qui a ete telecharge c la ****
donc j'ai penssé au trois possibilitées en haut y en a t'il une de bonne? Qqun a une autre idée? |
|
Back to top |
|
|
yuk159 Veteran
Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Thu Sep 18, 2003 11:19 am Post subject: |
|
|
Par default il n'existe pas de dossier /portage mais on peut modifier la "racine" de portage.
Je ne comprend pas ce que tu veux faire : puisque que a chaque emerge rsync tout le contenu de la "racine" de portage (a part distfiles/) et si on peut dire efface et remplace. _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
|
broly Guru
Joined: 21 Feb 2003 Posts: 345 Location: cachan 94
|
Posted: Thu Sep 18, 2003 11:22 am Post subject: |
|
|
voila ce que j'ai chez moi si ca peux t'aider a faire le tri :
Code: |
> cd /usr/portage ; ls -lF
total 199
drwxr-xr-x 103 root root 2744 Sep 2 22:39 app-admin/
drwxr-xr-x 41 root root 1040 Sep 2 22:39 app-arch/
drwxr-xr-x 10 root root 240 Sep 2 22:39 app-benchmarks/
drwxr-xr-x 32 root root 848 Sep 2 22:39 app-cdr/
drwxr-xr-x 32 root root 864 Sep 2 22:39 app-crypt/
drwxr-xr-x 81 root root 2792 Sep 2 20:07 app-dicts/
drwxr-xr-x 62 root root 1944 Sep 2 22:39 app-doc/
drwxr-xr-x 58 root root 1472 Sep 2 22:39 app-editors/
drwxr-xr-x 82 root root 2088 Sep 2 22:39 app-emacs/
drwxr-xr-x 91 root root 2472 Sep 2 22:39 app-emulation/
drwxr-xr-x 334 root root 9552 Sep 2 22:39 app-games/
drwxr-xr-x 16 root root 432 Jul 22 23:05 app-gnustep/
drwxr-xr-x 146 root root 4464 Sep 2 22:39 app-i18n/
drwxr-xr-x 165 root root 4248 Sep 2 22:39 app-misc/
drwxr-xr-x 27 root root 688 Sep 2 22:39 app-office/
drwxr-xr-x 18 root root 512 Sep 2 22:39 app-pda/
drwxr-xr-x 19 root root 496 Sep 2 16:09 app-portage/
drwxr-xr-x 92 root root 2376 Sep 2 22:39 app-sci/
drwxr-xr-x 21 root root 520 Jul 27 11:07 app-shells/
drwxr-xr-x 138 root root 3696 Sep 2 22:39 app-text/
drwxr-xr-x 11 root root 280 Aug 12 04:37 app-vim/
drwxr-xr-x 115 root root 3016 Sep 2 22:39 app-xemacs/
drwxr-xr-x 14 root root 360 Aug 18 00:39 dev-ada/
drwxr-xr-x 14 root root 392 Aug 31 09:44 dev-cpp/
drwxr-xr-x 36 root root 952 Sep 2 22:39 dev-db/
drwxr-xr-x 7 root root 168 Sep 2 22:39 dev-dotnet/
drwxr-xr-x 19 root root 496 Aug 17 23:08 dev-games/
drwxr-xr-x 7 root root 176 Jul 28 16:39 dev-haskell/
drwxr-xr-x 87 root root 2440 Sep 2 22:39 dev-java/
drwxr-xr-x 61 root root 1528 Sep 2 22:39 dev-lang/
drwxr-xr-x 160 root root 4120 Sep 2 22:39 dev-libs/
drwxr-xr-x 61 root root 1680 Sep 2 22:39 dev-lisp/
drwxr-xr-x 12 root root 320 Jul 22 23:06 dev-ml/
drwxr-xr-x 315 root root 9808 Sep 2 22:39 dev-perl/
drwxr-xr-x 34 root root 1032 Aug 4 02:49 dev-php/
drwxr-xr-x 114 root root 3160 Sep 2 22:39 dev-python/
drwxr-xr-x 53 root root 1536 Sep 2 22:39 dev-ruby/
drwxr-xr-x 20 root root 496 Sep 2 22:39 dev-tcltk/
drwxr-xr-x 19 root root 488 Jul 24 07:08 dev-tex/
drwxr-xr-x 138 root root 3600 Sep 2 22:39 dev-util/
drwxr-xr-x 3 root root 72 Sep 17 23:43 distfiles/
drwxr-xr-x 2 root root 2592 Sep 2 22:39 eclass/
drwxr-xr-x 5 root root 136 Jul 22 23:07 fresco-base/
drwxr-xr-x 36 root root 1024 Sep 2 22:39 gnome-base/
drwxr-xr-x 52 root root 1536 Sep 2 22:39 gnome-extra/
-rw-r--r-- 1 root root 129 Jan 3 2003 header.txt
drwxr-xr-x 20 root root 528 Sep 2 22:39 kde-base/
drwxr-xr-x 2 root root 6992 Sep 2 22:10 licenses/
drwxr-xr-x 29 root root 920 Sep 2 22:39 media-fonts/
drwxr-xr-x 90 root root 2328 Sep 2 22:39 media-gfx/
drwxr-xr-x 166 root root 4400 Sep 2 22:39 media-libs/
drwxr-xr-x 70 root root 2128 Sep 2 22:39 media-plugins/
drwxr-xr-x 5 root root 136 Jul 22 23:07 media-radio/
drwxr-xr-x 203 root root 5360 Sep 2 22:39 media-sound/
drwxr-xr-x 19 root root 488 Sep 2 16:39 media-tv/
drwxr-xr-x 87 root root 2352 Sep 2 22:39 media-video/
drwxr-xr-x 3 root root 168 Sep 2 22:41 metadata/
drwxr-xr-x 108 root root 2816 Sep 2 22:39 net-analyzer/
drwxr-xr-x 31 root root 848 Sep 2 22:39 net-dialup/
drwxr-xr-x 20 root root 520 Sep 2 22:39 net-dns/
drwxr-xr-x 20 root root 568 Aug 31 22:40 net-firewall/
drwxr-xr-x 16 root root 424 Sep 2 22:39 net-fs/
drwxr-xr-x 23 root root 568 Sep 2 22:39 net-ftp/
drwxr-xr-x 40 root root 1008 Sep 2 22:39 net-im/
drwxr-xr-x 24 root root 640 Sep 2 22:39 net-irc/
drwxr-xr-x 35 root root 928 Sep 2 22:39 net-libs/
drwxr-xr-x 121 root root 3344 Sep 2 22:39 net-mail/
drwxr-xr-x 215 root root 5648 Sep 2 22:39 net-misc/
drwxr-xr-x 10 root root 264 Sep 2 22:39 net-nds/
drwxr-xr-x 17 root root 416 Jul 22 23:09 net-news/
drwxr-xr-x 41 root root 1080 Sep 2 22:39 net-p2p/
drwxr-xr-x 26 root root 696 Sep 2 22:39 net-print/
drwxr-xr-x 24 root root 696 Sep 2 22:39 net-wireless/
drwxr-xr-x 120 root root 3304 Sep 2 22:39 net-www/
drwxr-xr-x 37 root root 1080 Jul 22 23:09 net-zope/
drwxr-xr-x 29 root root 1192 Sep 2 22:39 profiles/
drwxr-xr-x 2 root root 368 Aug 10 03:14 scripts/
drwxr-xr-x 9 root root 288 Aug 12 04:39 sec-policy/
-rw-r--r-- 1 root root 3674 Feb 25 2003 skel.ChangeLog
-rw-r--r-- 1 root root 5988 Sep 2 08:39 skel.ebuild
-rw-r--r-- 1 root root 821 Jul 2 14:06 skel.metadata.xml
drwxr-xr-x 218 root root 5888 Sep 2 22:39 sys-apps/
drwxr-xr-x 18 root root 480 Sep 2 22:39 sys-cluster/
drwxr-xr-x 36 root root 920 Sep 2 22:39 sys-devel/
drwxr-xr-x 44 root root 1424 Sep 2 22:39 sys-kernel/
drwxr-xr-x 32 root root 872 Sep 2 22:39 sys-libs/
drwxr-xr-x 7 root root 192 Sep 2 22:39 x11-base/
drwxr-xr-x 49 root root 1312 Sep 2 22:39 x11-libs/
drwxr-xr-x 136 root root 3616 Sep 2 22:39 x11-misc/
drwxr-xr-x 136 root root 3944 Sep 2 22:39 x11-plugins/
drwxr-xr-x 17 root root 456 Sep 2 22:39 x11-terms/
drwxr-xr-x 72 root root 2448 Sep 2 22:39 x11-themes/
drwxr-xr-x 48 root root 1256 Sep 2 22:39 x11-wm/
drwxr-xr-x 15 root root 432 Jul 22 23:10 xfce-base/
drwxr-xr-x 15 root root 480 Aug 15 14:51 xfce-extra/
|
|
|
Back to top |
|
|
Tihocan n00b
Joined: 14 Sep 2003 Posts: 18
|
Posted: Thu Sep 18, 2003 11:44 am Post subject: |
|
|
merci broly si je trouve pas d'autre solution je l'utiliserais.
par portage je voulais dir /usr/portage (distfiles en fait partie)
en fait a cause du emerge rsync tout est dans /urs/portage.
donc n'ya t'il pas un log pour la commande rsync ou le emerge rsync ?
comment visualiser le contenu de rsync://oss.sgi.com/xfsftp ? |
|
Back to top |
|
|
yuk159 Veteran
Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Thu Sep 18, 2003 12:10 pm Post subject: |
|
|
Bon j'ai tres certainement rien compris donc je vais passer la main.
Mais tout de meme : tu pourrais si ca te chante faire un rm -rf /usr/portage/* etant donne que tout le contenu de /usr/portage serai mis a jour au prochain emerge rsync _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
|
Tihocan n00b
Joined: 14 Sep 2003 Posts: 18
|
Posted: Thu Sep 18, 2003 12:21 pm Post subject: |
|
|
En fait j'hesitais a faire ca car je ne sais pas ce que /usr/portage contient ?
Si il n'y a rien d'important genre info sur les package installés c'est bon sinon je peux po le supprimer.
Dans tout les cas j'aimerais savoir si la commande emerge ou rsync fait des fichier log lors de sont utilisation? |
|
Back to top |
|
|
gim Guru
Joined: 29 Apr 2003 Posts: 418 Location: milky-way
|
Posted: Thu Sep 18, 2003 12:41 pm Post subject: |
|
|
Tihocan wrote: | Si il n'y a rien d'important genre info sur les package installés c'est bon sinon je peux po le supprimer. |
Non ces infos sont dans /var/db/pkg/ (c'est celui là qu'il ne faut pas supprimer )
Tihocan wrote: | Dans tout les cas j'aimerais savoir si la commande emerge ou rsync fait des fichier log lors de sont utilisation? |
Oui, /var/log/emerge.log ... |
|
Back to top |
|
|
yuk159 Veteran
Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Thu Sep 18, 2003 12:43 pm Post subject: |
|
|
Je te conseil de lire les docs suivante sur le fonctionnement de portage :
http://www.gentoo.org/doc/fr/portage-user.xml
http://www.gentoo.org/doc/fr/portage-manual.xml
Tihocan wrote: | En fait j'hesitais a faire ca car je ne sais pas ce que /usr/portage contient ?
|
Alors pour ce qui concerne les infos sur les softs installe elle ne sont pas stocke a cet endroit (gim a repondu entre temp)
/usr/portage/ contient principalement des ebuilds, ce sont les scripts qui aide portage a installer les paquet que tu lui demande,c'est a dire que sous gentoo, sans ebuild tu n'a qu'un seul choix (enfin presque) c'est de compiler tes paquet a la main, renoncant par la meme a faire gerer le paquet par portage (pas de mise a jour via emerge possible donc) emerge ne saura pas que tu a installe ce paquet.
[EDIT] sauf ci tu cree toi meme un ebuild pour ton paquet _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
|
yuk159 Veteran
Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Thu Sep 18, 2003 12:54 pm Post subject: |
|
|
Je te conseil aussi ce lien : https://forums.gentoo.org/viewtopic.php?t=75295
Notement les explications de yaubi et le chti script de TGL _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
|
yoyo Bodhisattva
Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Thu Sep 18, 2003 1:06 pm Post subject: |
|
|
Je pense que tu peux supprimer tout le contenu de /usr/portage sans risque comme te l'ont indiqué yuk159 et gim.
Ensuite, tu mets ta variable SYNC à jour dans ton /etc/make.conf (l'adresse "officielle" pour l'europe est : SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage").
Enfin, un petit "emerge rsync" te remettra tout ton arbre en ordre.
Le fait de mettre à jour ton arbre mettra à jour tes ebuilds et lorsque tu voudras installer "xfsprogs", emerge ira chercher la version 2.5.4, celle qui se trouve justement sur les serveurs ftp (magique non ???).
Bon courage et bienvenue sous Gentoo |
|
Back to top |
|
|
yuk159 Veteran
Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Thu Sep 18, 2003 1:12 pm Post subject: |
|
|
yoyo wrote: | Le fait de mettre à jour ton arbre mettra à jour tes ebuilds et lorsque tu voudras installer "xfsprogs", emerge ira chercher la version 2.5.4, celle qui se trouve justement sur les serveurs ftp (magique non ???).
|
Beu pourkoa je l'ai pas moi la derniere version ??
Tu me dira ...de toute facon j'utilise un gaming sur des partitions reiserfs _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
|
yoyo Bodhisattva
Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Thu Sep 18, 2003 1:21 pm Post subject: |
|
|
yuk159 wrote: | Beu pourkoa je l'ai pas moi la derniere version ?? |
Autant pour moi, la version stable de xfsprogs est la xfsprogs-2.3.9.
Par contre elle est bien présente sur les ftp (j'ai testé et ça download bien la version 2.3.9)
yuk159 wrote: | Tu me dira ...de toute facon j'utilise un gaming sur des partitions reiserfs |
Moi aussi, moi aussi ... On ouvre un club ???
J'ai aussi les 2.6.0-test4 et 5 mais le bootsplash ne fonctionne pas . |
|
Back to top |
|
|
yuk159 Veteran
Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Thu Sep 18, 2003 1:25 pm Post subject: |
|
|
[off]
Pour le club faudrai trouver un nom
Pis sans bootsplash je suis un peu perdu maintenant
[/off] _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
|
yoyo Bodhisattva
Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Thu Sep 18, 2003 1:34 pm Post subject: |
|
|
yuk159 wrote: | [off]
Pour le club faudrai trouver un nom
[/off] |
[off_aussi]
gamingonreiser@gentoo.fr
[/off_aussi] |
|
Back to top |
|
|
Tihocan n00b
Joined: 14 Sep 2003 Posts: 18
|
Posted: Thu Sep 18, 2003 2:21 pm Post subject: |
|
|
merci pour tout votre aide
j'ai supprimé /usr/portage/* et ça n'a pas possé de pbl
emerge rsync a tout régénéré |
|
Back to top |
|
|
yuk159 Veteran
Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Thu Sep 18, 2003 3:07 pm Post subject: |
|
|
@Tihocan Ceci est donc un thread (resolu) ... merci
@yoyo: _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
|
|