dpkg (1.18.25) stretch; urgency=medium
[dpkg] / man / it / 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% "suite dpkg"
25 .nh
26 .SH NOME
27 dpkg\-name \- rinomina i pacchetti Debian in nomi completi di pacchetto
28 .
29 .SH SINTASSI
30 \fBdpkg\-name\fP [\fIopzione\fP...] [\fB\-\-\fP] \fIfile\fP...
31 .
32 .SH DESCRIZIONE
33 .PP
34 Questa pagina di manuale documenta il programma \fBdpkg\-name\fP, che fornisce
35 un modo facile per rinominare i pacchetti \fBDebian\fP nei loro nomi di
36 pacchetto completi. Un nome di pacchetto completo ha la forma
37 \fIpacchetto\fP\fB_\fP\fIversione\fP\fB_\fP\fIarchitettura\fP\fB.\fP\fItipo\-pacchetto\fP, così
38 come specificato nel file control del pacchetto. La parte \fIversione\fP del
39 nome del file è formata dall'informazione sulla versione originale del
40 software seguita facoltativamente da un trattino e dalle informazioni sulla
41 revisione. La parte \fItipo\-pacchetto\fP viene presa dal campo «package\-type»
42 se esiste, altrimenti viene usato il valore predefinito \fBdeb\fP.
43 .
44 .SH OPZIONI
45 .TP
46 \fB\-a\fP, \fB\-\-no\-architecture\fP
47 Il nome del file di destinazione non conterrà le informazioni
48 sull'architettura.
49 .TP
50 \fB\-k\fP, \fB\-\-symlink\fP
51 Crea un collegamento simbolico, invece di spostare.
52 .TP
53 \fB\-o\fP, \fB\-\-overwrite\fP
54 I file esistenti verranno sovrascritti se hanno lo stesso nome del file di
55 destinazione.
56 .TP
57 \fB\-s\fP, \fB\-\-subdir\fP [\fIdir\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 Questa opzione può essere usata insieme all'opzione \fB\-s\fP. Se non viene
71 trovata una directory target, verrà creata automaticamente. \fBUsare questa
72 opzione con cautela.\fP
73 .TP
74 \fB\-?\fP, \fB\-\-help\fP
75 Mostra il messaggio sull'uso ed esce.
76 .TP
77 \fB\-v\fP, \fB\-\-version\fP
78 Mostra la versione ed esce.
79 .
80 .SH BUG
81 Alcuni pacchetti non seguono la struttura dei nomi
82 \fIpacchetto\fP\fB_\fP\fIversione\fP\fB_\fP\fIarchitettura\fP\fB.deb\fP. I pacchetti
83 rinominati con \fBdpkg\-name\fP seguiranno questa struttura. Generalmente ciò
84 non ha effetto su come i pacchetti vengono installati da \fBdselect\fP(1) o
85 \fBdpkg\fP(1), ma altri strumenti di installazione possono fare affidamento su
86 questa struttura dei nomi.
87 .
88 .SH ESEMPI
89 .TP
90 \fBdpkg\-name pinco\-pallo.deb\fP
91 The file \fBbar\-foo.deb\fP will be renamed to bar\-foo_1.0\-2_i386.deb or
92 something similar (depending on whatever information is in the control part
93 of \fBbar\-foo.deb\fP).
94 .TP
95 \fBfind /root/debian/ \-name '*.deb' | xargs \-n 1 dpkg\-name \-a\fP
96 All files with the extension \fBdeb\fP in the directory /root/debian and its
97 subdirectory's will be renamed by \fBdpkg\-name\fP if required into names with
98 no architecture information.
99 .TP
100 \fBfind \-name '*.deb' | xargs \-n 1 dpkg\-name \-a \-o \-s \-c\fP
101 \fBNon usarlo.\fP Se lo si fa, il proprio archivio verrà completamente
102 stravolto perché molti pacchetti vengono forniti senza l'informazione sulla
103 sezione. \fBNon usarlo.\fP
104 .TP
105 \fBdpkg\-deb \-\-build debian\-tmp && dpkg\-name \-o \-s .. debian\-tmp.deb\fP
106 Questo può essere usato quando si creano nuovi pacchetti.
107 .
108 .SH "VEDERE ANCHE"
109 \fBdeb\fP(5), \fBdeb\-control\fP(5), \fBdpkg\fP(1), \fBdpkg\-deb\fP(1), \fBfind\fP(1),
110 \fBxargs\fP(1).