Buster ==> Bullseye Upgrade: Don't install unwanted packages
Posted: 2022-05-20 10:17
I am in the process of upgrading to Bullseye.
When doing I see that apache2 is going to be installed. I do not want apache on my system, I have nginx already running.
How can I prevent this?
Is it safe to do and then do the upgrade?
(( Also: I see many packages that the upgrade wants to install, like libdrm & some graphics drivers.
This is frustrating because if I did not have them on buster then why is the upgrade trying to install them for bullseye? This is an internet facing machine that I want to keep as minimal and clean as possible.
Why is Debian doing this? ))
When doing
Code: Select all
apt full-upgrade
How can I prevent this?
Is it safe to do
Code: Select all
apt-mark hold apache2, apt-mark hold apache2-bin, etc.
(( Also: I see many packages that the upgrade wants to install, like libdrm & some graphics drivers.
This is frustrating because if I did not have them on buster then why is the upgrade trying to install them for bullseye? This is an internet facing machine that I want to keep as minimal and clean as possible.
Why is Debian doing this? ))