reassign 594908 debian-faq quit Hi FAQ maintainers,
[reordered for convenience] Vincent Lefevre wrote: > $ dpkg --compare-versions '1.2.3-2+b1' le '1.2.3-2local1' > zsh: exit 1 dpkg --compare-versions '1.2.3-2+b1' le '1.2.3-2local1' > > and both apt-get and aptitude want to upgrade the local version. That is as designed, and as described in policy. > I've patched a package and rebuilt it as documented on > > http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html#s-sourcebuild > > i.e. with "dch -l local ..." before the build itself. But dpkg regards > the local package as older than the official package: The relevant text is: Then create a dedicated version of your own build (so that you won't get confused later when Debian itself releases a new version) dch -l local 'Blah blah blah' Surely something like "-l +local" would make more sense. Thoughts? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org