2
头图

0. Basic environment

Category: Notebook Model: Great Wall of China NF14C
Hardware platform: Feiteng processor (ArmV8 instruction set)
System: Galaxy Kirin OS V10 SP1 (2203)

Key words:
Xinchuang, Kylin system, linux, PKS, Galaxy Kylin, Feiteng, arm

1. Requirement Background

Under normal circumstances, when we finish using the system or need to restart, click the menu to restart or shutdown can be executed. However, under the Kylin system PKS, the restart or shutdown will be blocked, and only actions such as lock or logout can be performed. This setting is to prevent the system from being damaged when the system is updated in the background, but it seriously affects the user experience, and it does not display what is downloaded in the update like windows, or perform actions when shutting down or starting up like windows.
Only one installation under the Linux system can be performed at the same time. This is the essence of the problem. The main reason for this problem is that the system itself checks, downloads and installs packages in the background.

2. Force shutdown or restart

When the shutdown or restart is blocked, we can go back to the desktop to open the command line and use the command to force shutdown or restart.

 sudo reboot #重启
sudo shutdown now #关机

3. Turn off system background update

3.1 Update Settings in Control Panel

Click Start | Settings menu to open Control Panel

图片.png

point update category
图片.png
Turn off all automatic updates and background downloads.
图片.png

3.2 Update settings in the app store

Open the app store
图片.png
Click on Settings in the menu
图片.png
Cancel all update settings
图片.png

3.3 Use the command line to keep the system up to date

 sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y

4. Make a certain version not update

The built-in WPS in the system needs to be charged. We uninstall it and download the personal free version from the official website. If no special treatment is done, it will continue to be updated to the version of the app store.
In order to avoid updating to the repository version when updating, you can use the following operation to lock and not update

 dpkg -l | grep wps #查看系统中wps软件名字

sudo echo "wps-office hold" | sudo dpkg --set-selections #锁定wps不更新版本

sudo dpkg --get-selections | grep hold #查询wps是否成功锁定

The content of this article is what the author finds relatively troublesome in the actual use process. It is a reference for everyone. I hope that Kylin Software Company can improve the content of this article in the future.

Kylin system column:
https://segmentfault.com/blog/kylinos
Article published in SegmentFault
Contact email: 1179611323@qq.com
Group: 662512340
Release log:
20220703 first release


码上世界
79 声望290 粉丝

码农极客,2004年接触Linux世界。爱技术的IT的男