kdaprivacy.blogg.se

Centos packages
Centos packages












centos packages

You can also block packages via their architecture here. Let us try to install the blocked package, nginx. Press Ctrl + X to save the file when finished and enter Y when prompted. This is especially useful for holding back graphics drivers. The locked package will remain on the same version even if you upgrade your system. If you want to exclude more than one packages, you can separate their names by space. If you want to stop all nginx packages then you can use the * character. If you want to hold a package, for example, nginx from being installed, updated or removed, append the following line at the end of the file. Ĭachedir=/var/cache/yum/$basearch/$releasever To lock a package permanently from being installed, updated or removed, we can use the /etc/yum.conf file. Method 1 – Permanently Disable Package Install/Updates (Using yum.conf)

  • You need a non sudo user to run the commands.
  • All of these methods will involve the yum ( Yellow dog Updater, Modified) package manager. So remain on alert as holding packages for long can introduce security issues. Note: It is easy to forget what packages you have held after some time even when their bugfree versions are out. In this tutorial, we will cover how to block certain packages from being installed or upgraded and how to block specific versions of packages or kernels from being installed. And it is a pain to upgrade each package individually. You don’t want that package to upgrade the next time you run sudo yum upgrade. Why would you want to do this? Well, sometimes you find out that a package’s updated version is buggy.

    centos packages centos packages

    But sometimes occasions arise when you need granular control over which package you want to install or upgrade and which package to block from being upgraded automatically. You can install, upgrade and remove any software/package from your Linux system with a single command. Package manager is probably the most useful tool for a Linux user.














    Centos packages