Categories
How to disable installation of a package in Ubuntu?
Can you please tell me how you can prevent the installation of a certain package through apt-get install, even if it is required to install other packages? Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Put in /etc/apt/preferences.d/ (any name, for example the name of this package) a file with the content
Package: (имя пакета) Pin: origin "" Pin-Priority: -1
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question