Re: stolid package-system
M G Berberich <email@example.com> wrote:
>I wanted a mutt with slang-support, so I took the mutt sources, made a
>new package and installed it. I now have a problem: Every time I make
>an update, the the system replaces my 'mutt_1.2.5-4_i386.deb' with
>'mutt_1.2.5-4.deb' from the debian-server.
Yep, packages from the archive are used in preference to local ones.
You could add an entry in debian/changelog with a version number of
something like 1.2.5-4.1 (any security updates or other non-maintainer
uploads will have that version number and will then overwrite yours).
Alternatively, you could just put the package on hold, either in dselect
(with the '=' key) or using something like 'echo "mutt hold" | dpkg
>I made the package with:
> dpkg-source -x; debian/rules build; debian/rules binary
Normally you don't need 'debian/rules build' as well, since the binary
target should depend on it. Also, you should use 'fakeroot debian/rules
binary' or 'dpkg-buildpackage -rfakeroot' instead so that you don't have
to build the package as root.
Colin Watson [firstname.lastname@example.org]