Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to prohibit Software updates in Ubuntu system

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How does Ubuntu prohibit software updates? Ubuntu system software upgrade, want to achieve specified software does not participate in the update upgrade, how to achieve it? Below we will take a look at the skills of not upgrading the specified software. Friends who need it can refer to it.

Ubuntu system using apt-get upgrade, want to keep part of the software for the current version, do not participate in the upgrade, how to set it? Let's take a look at how to use commands to achieve this, see below for details.

1. Tips for not upgrading specified software 1. Take synergy as an example, you need to use sudo or root

Open the terminal and enter:

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

2. Query the status (hold) of software packages that are locked and not updated in Ubuntu system, with the command:sudo dpkg --get-selections| grep hold Check whether the lock is successful

or use

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

3, is the lock (hold) software package to restore the upgradeable state, command:

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

After launching Ubuntu, we click on the Settings button in the upper right corner of the screen, as shown in the figure.

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

3. After entering all settings, we find the system. Under the system, we find "software and updates."

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

5. In the automatic check update, after we click, select "Never", as shown in the figure.

6, after that, because Ubuntu is a very secure system, so we need authorization, we enter the password here, click "authorization".

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

The above is the Ubuntu system does not upgrade the specified software skills

Original text from: https://www.linuxprobe.com/preventsoftware-updates-inubuntu.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report