I tried the following, since I apply custom patches to some packages:
apt-get upgrade shows packages to upgrade, I download the sources using apt-get source, apply my patches, rebuild, install (using
Then the latest version is installed. But even after apt-get update the packages I built manually and installed using dpkg still shows up in the upgrades and therefore would be overwritten again.
How can I fix that?