dpkg-name - Online Linux Manual PageSection : 1
Updated : 2021-04-13
Source : 1.20.9
Note : dpkg suite
NAMEdpkg−name − rename Debian packages to full package names
SYNOPSISdpkg-name [option...] [−−] file...
DESCRIPTIONThis manual page documents the dpkg-name program which provides an easy way to rename Debian packages into their full package names. A full package name consists of package_version_architecture.package-type as specified in the control file of the package. The version part of the filename consists of the upstream version information optionally followed by a hyphen and the revision information. The package-type part comes from that field if present or fallbacks to deb.
OPTIONS−a, −−no−architecture The destination filename will not have the architecture information. −k, −−symlink Create a symlink, instead of moving. −o, −−overwrite Existing files will be overwritten if they have the same name as the destination filename. −s, −−subdir [dir] Files will be moved into a subdirectory. If the directory given as argument exists the files will be moved into that directory otherwise the name of the target directory is extracted from the section field in the control part of the package. The target directory will be «unstable/binary−architecture/section». If the section is not found in the control, then no-section is assumed, and in this case, as well as for sections non-free and contrib the target directory is «section/binary−architecture». The section field is not required so a lot of packages will find their way to the no-section area. Warning: Use this option with care, it is messy. −c, −−create−dir This option can used together with the −s option. If a target directory isn't found it will be created automatically. Warning: Use this option with care. −?, −−help Show the usage message and exit. −v, −−version Show the version and exit.
ENVIRONMENTDPKG_COLORS Sets the color mode (since dpkg 1.18.5). The currently accepted values are: auto (default), always and never. DPKG_NLS If set, it will be used to decide whether to activate Native Language Support, also known as internationalization (or i18n) support (since dpkg 1.19.0). The accepted values are: 0 and 1 (default).
BUGSSome packages don't follow the name structure package_version_architecture.deb. Packages renamed by dpkg-name will follow this structure. Generally this will have no impact on how packages are installed by dselect(1)/dpkg(1), but other installation tools might depend on this naming structure.
EXAMPLESdpkg-name bar−foo.deb The file bar−foo.deb will be renamed to bar−foo_1.0−2_i386.deb or something similar (depending on whatever information is in the control part of bar−foo.deb). find /root/debian/ −name '*.deb' | xargs −n 1 dpkg-name −a All files with the extension deb in the directory /root/debian and its subdirectory's will be renamed by dpkg-name if required into names with no architecture information. find −name '*.deb' | xargs −n 1 dpkg-name −a −o −s −c Don't do this. Your archive will be messed up completely because a lot of packages don't come with section information. Don't do this. dpkg-deb −−build debian-tmp && dpkg-name −o −s .. debian−tmp.deb This can be used when building new packages.
SEE ALSOdeb(5), deb-control(5), dpkg(1), dpkg-deb(1), find(1), xargs(1). 0
Johanes Gumabo
Data Size : 15,994 byte
man-dpkg-name.1Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 201,055
Visitor ID : :
Visitor IP : 3.144.109.147 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|dpkg-name.1|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|dpkg-name.1|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|dpkg-name.1|43|br══─}─══|'br══─}─══
) (htmlprn|149|dpkg-name.1|43|'br══─}─══ |'br══─}─══
)