Solution:
Locate /usr/lib/Python 3/dist packages/rospkg/OS_detect.Py
, replace all Ubuntu characters with deepin
Solution:
Locate /usr/lib/Python 3/dist packages/rospkg/OS_detect.Py
, replace all Ubuntu characters with deepin
Background: deep in 20.2 system app store can only edit files after downloading typora, but can’t save files and convert file formats (such as exporting PDF, word, etc.) without any error prompt, just can’t convert.
Cause analysis: the typora downloaded from the deep in app store comes with its own pandoc plug-in, so there is no problem that there is no pandoc; The deepin version of TA is 20.0, but it can be used normally. I use the command line to run typora for operation, and there is no error related to file conversion or saving. Subjective conjecture is that the latest version of deepin is incompatible with the app store’s typora version.
resolvent:
Uninstall the app store, and download and install it from the official website https://www.typora.io/ (just use the operation method of Linux system on the official website)
Actual operation:
The following is the official website installation operation and possible errors, I give my own solution:
1. Get the key
wget -qO – https://typora.io/linux/public-key.asc | sudo apt-key add –
2. Add the repository of typora
sudo add-apt-repository ‘deb https://typora.io/linux ./’
sudo apt-get update
in this step, you may report an error of “unable to find the repository command” mark>
Try some methods on the network is not feasible, so directly add violence!
3. Install typora
sudo apt-get install typora