尝试解压一个文件,所以我尝试以下命令抱歉,我对 Linux 真的很陌生
顺便说一下,这是 Ubuntu 服务器的最新版本。
user@serverubuntu:~/minecraft/server$ ls
rtk.zip
user@serverubuntu:~/minecraft/server$ sudo unzip rtk.zip
sudo: unzip: command not found
user@serverubuntu:~/minecraft/server$
当我尝试不使用 sudo 时我得到了这个
user@serverubuntu:~/minecraft/server$ unzip rtk.zip
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:
command-not-found version: 0.3
Python version: 3.2.3 final 0
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Exception information:
unsupported locale setting
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, incrash_guard
callback()
File "/usr/lib/command-not-found", line 69, in main
enable_i18n()
File "/usr/lib/command-not-found", line 40, in enable_i18n
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python3.2/locale.py", line 541, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
提前致谢
编辑-我所下载的 zip 文件已损坏。