急!ubuntu apt-get没办法更新!
巴扎黑
巴扎黑 2017-04-24 09:09:21
0
5
705

不管安装任何软件都出现这个!!

然后去百度一下,大部分的答案都是说

sudo apt-get update
sudo apt-get update

也就是更新一下源,但是不行,不甘心又去百度:
然后在管理源地址的文件添加了很多源: 把163 搜狐 官网都给添加进去了!

sudo vim /etc/apt/sources.list

然后添加完又更新

sudo apt-get update
sudo apt-get update

发现还是不行!!!

上次有发过类似的问题,一个奇葩答案,回答居然是

说明你这个源里面没有这个包

我看到这个答案也是醉了~直接把英文翻译一下给我听~

我不知道怎么解决,求懂的人帮我看看吧

巴扎黑
巴扎黑

reply all(5)
洪涛

The source of mongodb is to add new ones

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
sudo apt-get update
sudo apt-get install -y mongodb-org

As for the others, post your sources.list and take a look. Maybe you filled in everything and got confused. Just find a source that can be used.

In addition, for this kind of problem, if it really doesn’t work, just change the source to ubuntu 官方的源,然后翻*墙 update, and then send greetings to the principal and his family below!

伊谢尔伦

Dear, that weird answer is correct. . .
Please install mongo and run
apt-get install mongodb

Ty80

First of all, high-end players must use Google.
Secondly, when updating, you must make sure that the added source has updateable software packages.

PHPzhong

You can try searching first to see if you have this, use

apt-cache search xxx

You can search for related packages

伊谢尔伦

. . . I just want to say that the answer is indeed correct. You did not find the right source that contains the corresponding software package

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template