Hi all,
.deb repackaged should not upgrade with any external source so they should marked on hold. Easy but not possible to do within postinst obviously. Not in a straight way, at least. Am I wrong?
This seems quite sane but it keeps the package in hold even if the users lately decide to upgrade it (possibly with a fixed version).
echo 'APT::Update::Post-Invoke { "apt-mark hold pippo || true"; };' >> /etc/apt/apt.conf.d/99isar-repackage-hold
My first try was to fork a process in post that waits the installation ends and then marks the package in hold.
Opinions about?
Best regards, R.