This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
commit 6c45a0a42932f0156506ad9fbbb9b85c16ec2499 Author: Guillem Jover <guil...@debian.org> Date: Mon Feb 5 19:22:20 2018 +0100 dpkg: Increment the line number on --set-selections on unknown packages When the package is not known, we do an early skip to the next loop iteration, but forgot to increment the line number, which means that these will be off. Closes: #888983 Reported-by: Heinz Repp <heinz.r...@arcor.de> --- debian/changelog | 2 ++ src/select.c | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index ad63a24..00495d0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -36,6 +36,8 @@ dpkg (1.19.1) UNRELEASED; urgency=medium * Export architecture variables by default from architecture.mk, as documented in dpkg-architecture(1). Closes: #88896 Thanks to Jack Bates <wdz...@nottheoilrig.com> + * Increment the line number on dpkg --set-selections on unknown packages. + Reported by Heinz Repp <heinz.r...@arcor.de>. Closes: #888983 * Architecture support: - Add support for riscv64 CPU. Closes: #822914 Thanks to Manuel A. Fernandez Montecelo <m...@debian.org> diff --git a/src/select.c b/src/select.c index 8d88449..6faf67d 100644 --- a/src/select.c +++ b/src/select.c @@ -183,6 +183,7 @@ setselections(const char *const *argv) !pkg_is_informative(pkg, &pkg->available)) { db_possibly_outdated = true; warning(_("package not in status nor available database at line %d: %.250s"), lno, namevb.buf); + lno++; continue; } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/dpkg/dpkg.git