【ubuntu】安装ZIP
【ubuntu】安装ZIP
输入如下命令安装zip
$ sudo apt-get install zip
输出信息如下:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
unzip
The following NEW packages will be installed:
unzip zip
0 upgraded, 2 newly installed, 0 to remove and 13 not upgraded.
Need to get 168 kB/335 kB of archives.
After this operation, 1205 kB of additional disk space will be used.
Do you want to continue? [Y/n]
输入: y,按下回车键。报错如下😱😱😱:
Ign:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 unzip amd64 6.0-21ubuntu1.1
Err:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 unzip amd64 6.0-21ubuntu1.1
404 Not Found [IP: ]
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/main/u/unzip/unzip_6.0-21ubuntu1.1_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
解决方法👇🏻👇🏻👇🏻:
输入如下命令.
$ apt update
$ sudo apt-get install zip
成功啦!!!
🎉🎉🎉🎉🎉🎉