table of Contents
Ubuntu official software source
Right click does not show to open the command line window
Bash: ./xxxx.sh insufficient permissions
ubuntu official software source
Open the text file that requires permission in the text ratio editor
Replace sources.list with Alibaba source
When updating the source (launchpad.net source), the Hash checksum does not match
How to install the old version of openjdk7?
Correspondence between Ubuntu versions code
Ubuntu official software source
Reference: https://packages.ubuntu.com/xenial/amd64/libusb-1.0-0-dev/download
I found that aptitude was originally the official recommended package manager. It seems that the official is not very optimistic about apt.
IBus input method problem
Reference: https://forum.ubuntu.org.cn/viewtopic.php?t=462077
Reference: https://blog.csdn.net/xiaofei19900927/article/details/79631323
Reference: https://blog.csdn.net/jirryzhang/article/details/78722800
Reference: https://blog.csdn.net/qq_35189442/article/details/90291330
To type Chinese confusion, turn off ShuangPin in the input method preferences, enable JianPin, and restart the system
Right click does not show to open the command line window
Reference: https://blog.csdn.net/xiangshangbashaonian/article/details/82831896
It's actually a matter of one line of command:
sudo apt-get install nautilus-open-terminal
Bash: ./xxxx.sh insufficient permissions
Move to other directories that can modify permissions for operations, such as /,/home, etc.
deb software market
Reference: https://linux.cn/article-8201-1.html
ubuntu official software source
Reference: https://packages.ubuntu.com/xenial/all/dpkg-dev/download
Open the text file that requires permission in the text ratio editor
sudo gedit <filePath>
Replace sources.list with Alibaba source
Reference: https://opsx.alibaba.com/mirror
Reference: https://developer.aliyun.com/mirror
Directly put the default (regular matching form)
http://.*?.ubuntu.com/
Replace with
http://mirrors.aliyun.com/
Can
The specific replacement rules are shown in the figure below
After that, save and execute
sudo apt update
Or (aptitude installed)
sudo aptitude update
When updating the source (launchpad.net source), the Hash checksum does not match
Reference: https://forum.ubuntu.org.cn/viewtopic.php?t=465499
Reference: https://www.jianshu.com/p/4ee6a75c7d36
In fact, broadband operators intercepted the download address and replaced it with the IP address of their own cache server. The specific test method is to open the error link in the browser, and you can find that the source address is not ppa.launchpad.net, and It is an IP address, this IP address is the operator's cache server address (the Great Wall broadband used in my community, I believe anyone who has used this garbage broadband knows the urgency of broadband)
This is the address after connecting my mobile phone hotspot. The source is obviously the original ppa.launchpad.net address, which is the same as the address bar above. After that, the update command is executed again as expected, and the execution is very smooth
How to install the old version of openjdk7?
The official source of openjdk7 has long been unsearchable, so you need to use other ways to obtain
ppa scheme:
deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main
Note: Trusty is a 14.04 system, please check the corresponding code for other versions of the system. Here I am looking for the method: directly find the official source suffix in the sources.list file of your own ubuntu system, and just copy it directly.
ubuntu scheme:
I just discovered that ubuntu also has a source station dedicated to serving the old version of ubuntu, reference: https://blog.csdn.net/anhuizhj/article/details/82900719
Specifically, replace http://.*?.ubuntu.com/ in /etc/apt/sources.list with http://old-releases.ubuntu.com/
It is the same as replacing it with Aliyuan above.
Then execute sudo apt-get install openjdk-7-jdk normally .
System backup to ISO
Reference: https://blog.csdn.net/weixin_39871788/article/details/82926696
Correspondence between Ubuntu versions code
Reference: http://www.mamicode.com/info-detail-2403104.html
From the above reference, I accidentally learned that the original official source only has the LTS version and the latest version released version, and the third-party source should also be the same as the official source.
And the non-LTS version of the last half a year ago can neither use official sources nor third-party sources, what should I do?
In fact, ubuntu has also taken into account, ubuntu has set up a source station specifically for these versions: http://old-releases.ubuntu.com/
That is the ubuntu solution I mentioned above