Home1104
deepin
2018-09-12 02:40 jesus@jesus-pc:~$ sudo apt-get update
[sudo] password for jesus:
Hit:1 http://packages.deepin.com/deepin panda InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Get:3 Hit:4 http://dl.google.com/linux/chrome/deb stable Release
Get:5 Get:6 Hit:8 http://linux.teamviewer.com/deb stable InRelease
Hit:9 http://linux.teamviewer.com/deb preview InRelease
Fetched 4,376 B in 1s (3,881 B/s)
Reading package lists... Done
再try一次
jesus@jesus-pc:~$ curl https://raw.githubusercontent.co ... ppers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5525 100 5525 0 0 1969 0 0:00:02 0:00:02 --:--:-- 1968
Switching to root user to update the package
Updating package cache..OK
Checking for and installing update..
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed: Need to get 165 MB of archives.
After this operation, 385 MB of additional disk space will be used.
Get:1 Run msfconsole to get started
W: --force-yes is deprecated, use one of the options starting with --allow instead.
看到这个就不要担心了。
[sudo] password for jesus:
Hit:1 http://packages.deepin.com/deepin panda InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Get:3 Hit:4 http://dl.google.com/linux/chrome/deb stable Release
Get:5 Get:6 Hit:8 http://linux.teamviewer.com/deb stable InRelease
Hit:9 http://linux.teamviewer.com/deb preview InRelease
Fetched 4,376 B in 1s (3,881 B/s)
Reading package lists... Done
再try一次
jesus@jesus-pc:~$ curl https://raw.githubusercontent.co ... ppers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5525 100 5525 0 0 1969 0 0:00:02 0:00:02 --:--:-- 1968
Switching to root user to update the package
Updating package cache..OK
Checking for and installing update..
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed: Need to get 165 MB of archives.
After this operation, 385 MB of additional disk space will be used.
Get:1 Run msfconsole to get started
W: --force-yes is deprecated, use one of the options starting with --allow instead.
看到这个就不要担心了。
Reply Like 0 View the author


中文
谢谢楼主,这是我的邮箱。
已经收到,谢谢楼主。

Deepin15.7下面的/etc/apt/sources.list添加源这个方法大家可以不用去尝试了。本人对清华,阿里,华工都已经测试,无效。即使启用被禁用的源还是会报错无法安装。
Deepin15.7源list文件
## Generated by deepin-installer
deb [by-hash=force] http://packages.deepin.com/deepin panda main contrib non-free
#deb-src http://packages.deepin.com/deepin panda main contrib non-free
搞事情,搞事情,搞事情!
第一步安装curl命令
jesus@jesus-pc:~$ sudo apt-get install curl
jesus@jesus-pc:~$ curl > msfinstall && \
> chmod 755 msfinstall && \
> ./msfinstall
下面为安装过程(PS:不上图,直接把过程复制给你们看)
jesus@jesus-pc:~$ curl > msfinstall && \
> chmod 755 msfinstall && \
> ./msfinstall
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5525 100 5525 0 0 10082 0 --:--:-- --:--:-- --:--:-- 10082
Switching to root user to update the package
Updating package cache..E: Failed to fetch File has unexpected size (418 != 417). Mirror sync in progress? [IP: 23.59.135.134 80]
Hashes of expected file:
- Filesize:417 [weak]
- SHA256:d11d4dc921a8b87090c450ca0b34341b64ccd1bd7ff3f3f55bad806c1c87ed9e
- SHA1:8fba8ed92bf5f62a71122c6d8cb1b73aa7783e71 [weak]
- MD5Sum:7ff56c84f70471453d945b4379ca5bbb [weak]
Release file created at: Sun, 09 Sep 2018 10:23:55 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
OK
Checking for and installing update..
Reading package lists... Done
Building dependency tree
Reading state information... Done
W: --force-yes is deprecated, use one of the options starting with --allow instead.
看到这个提示的时候,小伙伴们不用担心。update后就OK。