[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packages deb...kafka



On sam, oct 28, 2000 at 05:44:06 +0300, Francois Marzat wrote:
> Il me reste encore deux mystères à éclaircir :
> 1 : que mettre dans sources.list pour que apt-get aille lire le 
> répertoire /deb où j'ai téléchargé des fichiers (actuellement
> je me debrouille avec dpkg)

D'après le man :
deb uri distribution [component1] [componenent2] [...]

The URI for the deb type must specify the base of the Debian
distribution, from which APT will find the information it needs.
distribution can specify an exact path, in which case the components
must be omitted and distribution must end with a slash (/).
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Je dirais donc :
deb file:/local/dir ./

Il faut aussi avoir créé le fichier Packages.gz correspondant à tes .deb
(man dpkg-scanpackages).

> 2 : même question pour le repertoire de lip6 suivant :
> ftp.lip6.fr/pub/X11/kde/stable/2.0/distribution/deb/Debian/dists/potato/binary-i386

Apparemment, ils n'ont pas le Packages.gz sur ce site. Utilise plutôt :
deb http://kde.tdyc.com potato kde2

> et surtout quel est le principe à respecter quand on ne
> tombe pas sur una arborescence debian standard ?

Mettre un '/' à la fin de la partie 'distribution' pour indiquer qu'il
s'agit d'un chemin exact vers le répertoire qui contient les paquets.

Olivier
-- 
What a bonanza!  An unknown beginner to be directed by Lubitsch, in a script
by Wilder and Brackett, and to play with Paramount's two superstars, Gary
Cooper and Claudette Colbert, and to be beaten up by both of them!
		-- David Niven, "Bring On the Empty Horses"



Reply to: