Précédent   Forum des professionnels en informatique > Systèmes > Autres systèmes > Unix > BSD
BSD Forum d'entraide sur les systèmes BSD. Avant de poster -> FAQ BSD et cours BSD
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 31/10/2004, 15h07   #1
Invité régulier
 
Inscription : septembre 2004
Messages : 14
Détails du profil
Informations personnelles :
Localisation : France, Var (Provence Alpes Côte d'Azur)

Informations forums :
Inscription : septembre 2004
Messages : 14
Points : 6
Points : 6
Par défaut [FreeBSD] Utilisation de Cvsup

Bonjour.

J'ai un problème avec la maj des ports par cvsup. J'ai executé les opérations suivantes, suivant les instructions http://www.freebsd.org/doc/fr_FR.ISO8859-1/books/handbook/cvsup.html :
1. Installer le logiciel porté net/cvsup-whithout-gui
2. En tant que root, copier /usr/share/examples/cvsup/ports-supfile sur /root
3. Editez ports-supfile. remplaçant CHANGE_THIS.FreeBSD.org par cvsup.fr.FreeBSD.org
5. Lancez cvsup: # cvsup -g -L 2 /root/ports-supfile

Il a alors téléchargé tout pendant un bon moment, mais depuis le système de port ne marche plus: dans le /usr/ports y'a plus que des readme.html. Pourtant le repertoire indiqué pour les ports dans le fichier de conf de cvsup est /usr
le fichier /root/port-supfile
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.29 2003/11/16 17:55:54 ceri Exp $
#
# This file contains all of the "CVSup collections" that make up the
# FreeBSD-current ports collection.
#
# CVSup (CVS Update Protocol) allows you to download the latest CVS
# tree (or any branch of development therefrom) to your system easily
# and efficiently (far more so than with sup, which CVSup is aimed
# at replacing).  If you're running CVSup interactively, and are
# currently using an X display server, you should run CVSup as follows
# to keep your CVS tree up-to-date:
#
#       cvsup ports-supfile
#
# If not running X, or invoking cvsup from a non-interactive script, then
# run it as follows:
#
#       cvsup -g -L 2 ports-supfile
#
# You may wish to change some of the settings in this file to better
# suit your system:
#
# host=cvsup2.fr.FreeBSD.org
#               This specifies the server host which will supply the
#               file updates.  You must change it to one of the CVSup
#               mirror sites listed in the FreeBSD Handbook at
#               http://www.freebsd.org/doc/handbook/mirrors.html.
#               You can override this setting on the command line
#               with cvsup's "-h host" option.
#
# base=/usr
#               This specifies the root where CVSup will store information
#               about the collections you have transferred to your system.
#               A setting of "/usr" will generate this information in
#               /usr/sup.  Even if you are CVSupping a large number of
#               collections, you will be hard pressed to generate more than
#               ~1MB of data in this directory.  You can override the
#               "base" setting on the command line with cvsup's "-b base"
#               option.  This directory must exist in order to run CVSup.
#
# prefix=/usr
#               This specifies where to place the requested files.  A
#               setting of "/usr" will place all of the files requested
#               in "/usr/ports" (e.g., "/usr/ports/devel", "/usr/ports/lang").
#               The prefix directory must exist in order to run CVSup.

# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup2.fr.FreeBSD.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default release=cvs tag=RELENG_5_3
*default delete use-rel-suffix

# If you seem to be limited by CPU rather than network or disk bandwidth, try
# commenting out the following line.  (Normally, today's CPUs are fast enough
# that you want to run compression.)
#*default compress

## Ports Collection.
#
# The easiest way to get the ports tree is to use the "ports-all"
# mega-collection.  It includes all of the individual "ports-*"
# collections,
ports-all

# These are the individual collections that make up "ports-all".  If you
# use these, be sure to comment out "ports-all" above.
#
# Be sure to ALWAYS cvsup the ports-base collection if you use any of the
# other individual collections below. ports-base is a mandatory collection
# for the ports collection, and your ports may not build correctly if it
# is not kept up to date.
#ports-base
Sauriez-vous d'où vient le problème?
capitaine_choc est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 01/11/2004, 11h35   #2
Membre émérite
 
Inscription : mai 2002
Messages : 727
Détails du profil
Informations forums :
Inscription : mai 2002
Messages : 727
Points : 982
Points : 982
Tu as essayé de faire la synchro depuis un serveur US ? Il me semble avoir eu un problème similaire, et depuis, j'utilise cvsup.freebsd.org ... (A utiliser dans la matinée de préférence ) ...

Sinon, astuce du jour : Dans /etc/make.conf, ajoute :
Code :
1
2
3
4
5
SUP=/usr/local/bin/cvsup
SUP_UPDATE=yes
SUPHOST=cvsup.FreeBSD.org
SUPFILE=/usr/share/examples/cvsup/stable-supfile
PORTSUPFILE=/usr/share/examples/cvsup/ports-supfile
puis cd /usr/ports et make update... Attention, ca ne met a jour que le Port Tree ! Pour les applications, c'est une autre histoire.... CF la section FreeBSD de la F.A.Q. Linux
__________________

Smortex

Les FAQ Assembleur - Linux
In The Beginning Was The Command Line Neal Stephenson
Smortex est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 01/11/2004, 11h49   #3
Invité régulier
 
Inscription : septembre 2004
Messages : 14
Détails du profil
Informations personnelles :
Localisation : France, Var (Provence Alpes Côte d'Azur)

Informations forums :
Inscription : septembre 2004
Messages : 14
Points : 6
Points : 6
problème résolu: fallait pas modifier le tag. Je l'aie donc remis à l'origine et refait la maj des ports ça roulez
capitaine_choc est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 07h54.


 
 
 
 
Partenaires

Hébergement Web