Package: dgit Version: 3.10 Severity: minor I'm uploading a native package (debian-policy) using dgit that has never used dgit before, and I'm uploading the package to experimental. This isn't really anticipated by dgit-maint-native, so I went down a path of trying to use the command there, being told that the package doesn't exist in that suite (I'm going to file another wishlist bug about that), and being told to add --new. But if I do that, I get the following output:
mithrandir:~/dvl/debian/policy$ dgit -wgf --overwrite --new push canonical suite name is experimental no version available from the archive Use of uninitialized value $objid in hash element at /usr/bin/dgit line 991. ! Push failed, while preparing your push. ! You can retry the push, after fixing the problem, if you like. I was able to guess that the problem was that --overwrite and --new aren't meaningful together, but the error message is quite opaque and flags a line in the middle of deep dgit plumbing that doesn't make the cause obvious. -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dgit depends on: ii apt 1.4.4 ii ca-certificates 20161130+nmu1 ii coreutils 8.26-3 ii curl 7.52.1-5 ii devscripts 2.17.5 ii dpkg-dev 1.18.24 ii dput-ng [dput] 1.12 ii git [git-core] 1:2.11.0-4 ii git-buildpackage 0.8.12.2 ii libdpkg-perl 1.18.24 ii libjson-perl 2.90-1 ii liblist-moreutils-perl 0.416-1+b1 ii libperl5.24 [libdigest-sha-perl] 5.24.1-2 ii libtext-glob-perl 0.10-1 ii libtext-iconv-perl 1.7-5+b4 ii libwww-perl 6.15-1 ii perl 5.24.1-2 Versions of packages dgit recommends: ii openssh-client [ssh-client] 1:7.4p1-10 Versions of packages dgit suggests: pn sbuild <none> -- no debconf information