3 ms·
You're still losing the information about what you had pinned before by unpinning, unless you can dig it out of dpkg.log after the fact. Oh, that's why I menti
by icebraining 11y ago
You're still losing the information about what you had pinned before by unpinning, unless you can dig it out of dpkg.log after the fact.
Oh, that's why I mentioned Ansible in my previous comment. I have a version controlled file with:
- apt: pkg=lib1 version=11.6
- apt: pkg=app version=33
...
To rollback, I can just revert to the right commit and re-run ansible-playbook.
As for multiple parallel versions installed, sure you can. All you need to do is packaging them using different prefixes. What you can't do is blindly use packages from the main repos; those are built to be used to support the OS programs, not yours. But even those are often made to have multiple parallel version: I have python 2.7 and python 3 installed, both from Debian's main repo.