chiark / gitweb /
awful debugging hacking
[dpkg] / man / es / dpkg-name.man
1 .\" dpkg manual page - dpkg-name(1)
2 .\"
3 .\" Copyright © 1995-1996 Erick Branderhorst
4 .\" Copyright © 2007-2013, 2015 Guillem Jover <guillem@debian.org>
5 .\"
6 .\" This is free software; you can redistribute it and/or modify
7 .\" it under the terms of the GNU General Public License as published by
8 .\" the Free Software Foundation; either version 2 of the License, or
9 .\" (at your option) any later version.
10 .\"
11 .\" This is distributed in the hope that it will be useful,
12 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
13 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 .\" GNU General Public License for more details.
15 .\"
16 .\" You should have received a copy of the GNU General Public License
17 .\" along with this program.  If not, see <https://www.gnu.org/licenses/>.
18 .
19 .\"*******************************************************************
20 .\"
21 .\" This file was generated with po4a. Translate the source file.
22 .\"
23 .\"*******************************************************************
24 .TH dpkg\-name 1 %RELEASE_DATE% %VERSION% "Herramientas de dpkg"
25 .nh
26 .SH NOMBRE
27 dpkg\-name \- Renombra paquetes de Debian a nombres completos de paquete
28 .
29 .SH SINOPSIS
30 \fBdpkg\-name\fP [\fIopción\fP...] [\fB\-\-\fP] \fIfichero\fP...
31 .
32 .SH DESCRIPCIÓN
33 .PP
34 Esta pagina de manual documenta el uso de \fBdpkg\-name\fP, que ofrece una forma
35 sencilla de renombrar paquetes de \fBDebian\fP a sus nombres completos de
36 paquete. Un nombre completo de paquete consiste de
37 \fIpaquete\fP\fB_\fP\fIversión\fP\fB_\fP\fIarquitectura\fP\fB.\fP\fItipo\-paquete\fP tal y como se
38 define en el fichero de control del paquete. La parte de \fIversión\fP del
39 nombre de fichero incluye la información de la versión de la fuente
40 original, opcionalmente seguido de un guión, y la información de la
41 revisión. La parte de \fItipo\-paquete\fP se extrae de ese campo, de existir. De
42 no ser así, se usa \fBdeb\fP por omisión.
43 .
44 .SH OPCIONES
45 .TP 
46 \fB\-a\fP, \fB\-\-no\-architecture\fP
47 El nombre del fichero de destino no incluirá información sobre la
48 arquitectura.
49 .TP 
50 \fB\-k\fP, \fB\-\-symlink\fP
51 Crea un enlace simbólico en vez de mover el fichero.
52 .TP 
53 \fB\-o\fP, \fB\-\-overwrite\fP
54 Los ficheros existentes se sobreescribirán si poseen el mismo nombre que el
55 fichero de destino.
56 .TP 
57 \fB\-s\fP, \fB\-\-subdir\fP [\fIdirectorio\fP]
58 Files will be moved into a subdirectory. If the directory given as argument
59 exists the files will be moved into that directory otherwise the name of the
60 target directory is extracted from the section field in the control part of
61 the package. The target directory will be
62 «unstable/binary\-\fIarchitecture\fP/\fIsection\fP».  If the section is not found
63 in the control, then \fBno\-section\fP is assumed, and in this case, as well as
64 for sections \fBnon\-free\fP and \fBcontrib\fP the target directory is
65 «\fIsection\fP/binary\-\fIarchitecture\fP».  The section field is not required so a
66 lot of packages will find their way to the \fBno\-section\fP area.  Use this
67 option with care, it's messy.
68 .TP 
69 \fB\-c\fP, \fB\-\-create\-dir\fP
70 This option can used together with the \fB\-s\fP option. If a target directory
71 isn't found it will be created automatically.  \fBUse this option with care.\fP
72 .TP 
73 \fB\-?\fP, \fB\-\-help\fP
74 Muestra el modo de uso y termina.
75 .TP 
76 \fB\-v\fP, \fB\-\-version\fP
77 Muestra la versión y termina.
78 .
79 .SH FALLOS
80 Some packages don't follow the name structure
81 \fIpackage\fP\fB_\fP\fIversion\fP\fB_\fP\fIarchitecture\fP\fB.deb\fP.  Packages renamed by
82 \fBdpkg\-name\fP will follow this structure. Generally this will have no impact
83 on how packages are installed by \fBdselect\fP(1)/\fBdpkg\fP(1), but other
84 installation tools might depend on this naming structure.
85 .
86 .SH EJEMPLOS
87 .TP 
88 \fBdpkg\-name bar\-foo.deb\fP
89 The file \fBbar\-foo.deb\fP will be renamed to bar\-foo_1.0\-2_i386.deb or
90 something similar (depending on whatever information is in the control part
91 of \fBbar\-foo.deb\fP).
92 .TP 
93 \fBfind /root/debian/ \-name '*.deb' | xargs \-n 1 dpkg\-name \-a\fPç
94 All files with the extension \fBdeb\fP in the directory /root/debian and its
95 subdirectory's will be renamed by \fBdpkg\-name\fP if required into names with
96 no architecture information.
97 .TP 
98 \fBfind \-name '*.deb' | xargs \-n 1 dpkg\-name \-a \-o \-s \-c\fP
99 \fBNo haga esto.\fP Su archivo se corromperá completamente debido a que una
100 gran cantidad de paquetes no incluyen una sección de información. \fBNo haga
101 esto.\fP
102 .TP 
103 \fBdpkg\-deb \-\-build debian\-tmp && dpkg\-name \-o \-s .. debian\-tmp.deb\fP
104 Puede utilizar esto al construir paquetes nuevos.
105 .
106 .SH "VÉASE TAMBIÉN"
107 \fBdeb\fP(5), \fBdeb\-control\fP(5), \fBdpkg\fP(1), \fBdpkg\-deb\fP(1), \fBfind\fP(1),
108 \fBxargs\fP(1).
109 .SH TRADUCTOR
110 Rudy Godoy <rudy@kernel\-panik.org>,
111 Rubén Porras <nahoo@inicia.es>,
112 Bruno Barrera C. <bruno.barrera@igloo.cl>,
113 Carlos Izquierdo <gheesh@ertis.net>,
114 Esteban Manchado y
115 NOK.
116 Debian L10n Spanish <debian\-l10n\-spanish@lists.debian.org>.
117 .br
118 Revisiones por Santiago Vila <sanvila@unex.es>,
119 Javier Fernández\-Sanguino, Rubén Porras,
120 Luis Uribe y Omar Campagne.