Home > System Tutorial > LINUX > body text

How to disable software updates in Ubuntu system? Tips for not upgrading specified software

王林
Release: 2024-01-07 15:21:57
forward
921 people have browsed it

When upgrading the Ubuntu system using apt-get, if you want to keep some software as the current version and not participate in the upgrade, how should you set it up? Let's take a look at how to use commands to achieve this. Please see the introduction below for details.

1. Tips on not upgrading specified software

1. Taking synergy as an example, you need to use sudo or root

Open the terminal and enter:

sudo echo synergy hold | sudo dpkg --set-selections

Ubuntu系统怎么禁止软件更新? 不升级指定软件的技巧

2. Query the status of software packages that are locked and not updated in the Ubuntu system (hold). The command is:

sudo dpkg --get-selections | grep hold Check whether the lock is successful

or use

sudo dpkg --get-selections | more Query the status of all software in the system

Ubuntu系统怎么禁止软件更新? 不升级指定软件的技巧

3. The locked (hold) software package is restored to the upgradeable state, command:

sudo echo synergy install | sudo dpkg --set-selections

Ubuntu系统怎么禁止软件更新? 不升级指定软件的技巧

2. Turn off automatic update detection

1. After starting Ubuntu, we click the settings button in the upper right corner of the screen, as shown in the picture.

2. In the drop-down menu, we need to select "System Settings", as shown in the picture.

3. After entering all settings, we find the system. Under the system, we find "Software and Updates".

4. After clicking to open, we can see the interface as shown in the figure. We click the "Update" option.

5. In the automatic check for updates, after we click, select "Never", as shown in the picture.

6. After that, because Ubuntu is a very secure system, we need to authorize it. After we enter the password here, click "Authorization".

7. After authorization, we can click "CloseClose" below.

The above is the detailed content of How to disable software updates in Ubuntu system? Tips for not upgrading specified software. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!