dupload(1)
π dupload β the Debian package upload tool, bestie edition
okay so this is the manual for dupload, brought to you by the Debian Project (manual section 1, iykyk). Pull up a chair, grab a strawberry π, and let's get your packages uploaded.
β¨ NAME β¨
dupload β the Debian package upload tool. that's it, that's the vibe.
β¨ SYNOPSIS β¨
dupload [options...] [changes-file|directory...]
β¨ DESCRIPTION β¨
so dupload is the tool that lets people who maintain Debian packages actually get those packages uploaded to a Debian repository, easily. no cap. π
here's the whole flow, step by step, because she is thorough:
dupload checks every non-option argument to find readable files or directories. it parses those files as .changes files β or, if you handed it directories, it goes looking for .changes files inside them.
she will warn you if a file's name doesn't end with .changes. shes not mad, shes just disappointed. after that, further processing happens by changing into the directories of the changes files.
then she tests the available checksums and the size for every file listed in the .changes file, and if she finds a mismatch, that's a fail, periodt. if all of that goes fine, dupload checks whether there's an .upload file with the basename of the .changes file. and if the file you're trying to upload is recorded as already having been uploaded to the specified host? she skips it. π
once the list of files to upload is done, dupload tries to connect to the server and upload. every single successfully uploaded file gets recorded in the .upload log file. π
and if all files of a package are processed, the .changes file gets mailed to the announcement address specified in the configuration file β check the Announcement section below for all of that.
π¦ Upload methods
the default transfer method is ftp. the alternative methods are http, https, scp/SSH, scpb/SSH, rsync/SSH and copy.
if you're using an upload queue, use ftp because it's fast. if you're using an authenticated host, always use https, or one of scp or rsync via SSH, because ftp transmits the password in clear text. yes, in the open. we do not do that. π
ftpβ if no login (username) is defined in the configuration file,anonymousis used. the password is derived from your login name and your hostname, which is the common thing for anonymous FTP logins. and for anonymous logins only, you can provide the"password"in the configuration file.
for logins other than anonymous, you get asked for the password. and for security reasons there is no way to supply it via the command-line or the environment. none. don't ask.
http(since 2.9.9) /https(since 2.9.9) β there is no default login nor password. if you specify a login, a password will be fetched frompasswordcmdβ or, if that is not defined, via the Secret Service interface β otherwise it will be prompted. π«Άscp(since 1.8) /scpb(since 1.17) β the default login is delegated to SSH and its own configuration.
the scp/SSH method only works properly if no password is required (go look at ssh(1)). when you use scp, it is recommended to set the "method" keyword to scpb, which will transfer all files in a batch. β¨
rsync(since 2.4.1) β the default login is delegated to SSH and its own configuration.copy(since 2.9.0) β thecopymethod works by simply copying the files to another directory in the local filesystem. lowkey the simplest one, and honestly? iconic.
πΈ Announcement
if the host has been configured to send announcement mails, the .changes file will be sent to the specified addresses. π¬
the contents of all the following files are prepended to the announcement mail body, if present:
package.announcepackage_upstream-version.announcepackage_upstream-version-revision.announce
where upstream-version and revision are to be replaced with actual version numbers. so, for example, if your package is called foobar, has upstream version 3.14, and Debian revision 2:
- if you only want the announcement to be made with only ONE upload, you name it
foobar_3.14-2.announce. - if you want it to be made with every upload of a particular upstream version, name it
foobar_3.14.announce. - if you want it made with every upload of a given package, name it
foobar.announce.
by default, the announcement addresses are unset, because dinstall sends mails instead. so like, chill.
π OPTIONS π
-t,--to_nickname_ β upload to thenickname'd host.nicknameis the key for doing lookups in the config file. you can use thedefault_hostconfiguration option to specify a host without--to.-c,--configfile_filename_ β read the file _filename_ as a configuration file, in addition to the global configuration file.-f,--forceβ upload regardless of the transfers logged as already completed. she's not checking the receipts this time.-k,--keepβ keep going, skipping packages whose checksums does not match.-q,--quietβ be quiet, i.e., suppress normal output and progress bars. π€«-d,--debug[_level_] β enable more verbose output from theftp,scpandscpbmethods.
for scp and scpb (since 2.10.2) a -v per level is passed to the scp command.
--noβ dry run, no files are changed, no upload is attempted, only tell what we would do. main character energy only, zero commitment. π--nostatsβ suppress printing download statistics. since version 2.10.2.--mta_pathname_ β use _pathname_ as the sendmail compatible MTA. the MTA specified must support the-foption to set the envelope sender address, and the-Foption to set the sender's full name. the default is/usr/sbin/sendmail. since version 2.9.8.--nomailβ suppress announcement for this run. you can send it later by just callingduploadagain w/o this option. note that this option is by default implied for all hosts with thedinstall_runsoption set to1.--mailonlyβ acts as if--nohas been specified, but sends the announcements, unconditionally.--noarchiveβ adds anX-No-Archive: yesheader so that the announcement will not be archived. you can use the per-hostarchiveoption in the configuration file.--skip-hooks_hook[,...]_ β skip running the comma-separated list of hooks. the hook names can be the filename or the absolute pathname for the hook command, excluding any argument. this option can be specified multiple times. since version 2.11.0. π-p,--printβ print the"database"as read from the config files and exit. if a host is specified via option--to, only this host's entry is displayed.--helpβ prints the program usage message and exits.-V,--Versionβ prints version and exits.
π FILES π
/etc/dupload.conf~/.dupload.conf--configfile_config-file_
the configuration files are loaded if available in the order listed, overriding previous files.
package.announcepackage_upstream-version.announcepackage_upstream-version-revision.announce
if present, they will all be read to prepend to the announcement mail.
.changes.dsc.orig.tar.*.debian.tar.*.diff.*.deb
the .changes file to upload and all of its referenced files. the whole squad. π«Ά
package_version_arch.upload
the file where dupload writes the upload log.
π ENVIRONMENT π
DUPLOAD_SKIP_HOOKSβ a comma-separated list of hooks to skip running. the--skip-hooksoption overrides this setting. since version 2.11.0.
π BUGS π
dupload is tested on Debian systems only. it should not require too much effort to make it run under others systems, though. so likeβ¦ no cap, only Debian is the certified vibe. π
β SEE ALSO β
okay bestie that's the whole manual, you're officially certified π§ and yes, the footer tea: this is version 2.14.0, dated 2026-05-10, and it's the dupload(1) page for real. go upload something iconic, mwah πβ¨
π¦ where this page comes from
- ubuntu stonking: dupload 2.14.0 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms