升级流程

Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.9.40-eve-ng-ukms+ x86_64)

 * Documentation:  https://help.ubuntu.com

 * Management:     https://landscape.canonical.com

 * Support:        https://ubuntu.com/advantage

Last login: Fri Aug 25 03:58:58 2017

停止进程

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a stopall

sh: 1: docker: not found

sh: 1: docker: not found

更新

root@eve-ng:~# apt-get update

Hit:1 http://cn.archive.ubuntu.com/ubuntu xenial InRelease

Hit:2 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                                       

Hit:3 http://repo.emulatedlab.com/repo xenial InRelease                                                                                  

Hit:4 http://www.eve-ng.net/repo xenial InRelease                                                                                

Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]

Fetched 102 kB in 1s (52.2 kB/s)   

Reading package lists... Done

升级

V71(或者更老版本)升级至V77使用apt-get dist-upgrade
V76升级至V77使用apt-get upgrade

ps:如果想将emulatedlab源修改为官方源,输入

sudo add-apt-repository "deb [arch=amd64] http://www.eve-ng.net/repo xenial main"

使用这里跨多个版本升级,输入

root@eve-ng:~# apt-get dist-upgrade
root@eve-ng:~# reboot


修复无法登陆

浏览器登陆eve-ng,登陆页面闪烁,或者一直提示正在载入,强行清理浏览器缓存Ctrl+F5,如果还打不开,下载使用emulatedlab.com出的EVE-NG定制Toolkit工具

wget https://www.vos.cn/nexus/eve_ng_toolkit.tgz -O eve_ng_toolkit.tgz&&tar zxvf eve_ng_toolkit.tgz&&./eve_ng_toolkit.sh

2017-08-25_092700.jpg

选择5,进行FIX permissions,之后浏览器再测试就可以打开了


跨版本升级提示有多余包

The following packages were automatically installed and are no longer required:

  libllvm3.8 linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic linux-headers-4.4.0-81 linux-headers-4.4.0-81-generic

  linux-image-4.4.0-62-generic linux-image-4.4.0-81-generic

Use 'apt autoremove' to remove them.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@eve-ng:~#sudo apt-get autoremove

Building dependency tree       

Reading state information... Done

The following packages will be REMOVED:

  libllvm3.8 linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic linux-headers-4.4.0-81

  linux-headers-4.4.0-81-generic linux-image-4.4.0-62-generic linux-image-4.4.0-81-generic

0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.

After this operation, 329 MB disk space will be freed.

Do you want to continue? [Y/n] y     输入y确认

(Reading database ... 181900 files and directories currently installed.)

之后再次输入apt-get update和 apt-get upgrade就正常了



更新日期: 2017年08月25日
文章标签: Linux
文章链接: https://www.vos.cn/os/157.html  
版权说明:如非注明,本站文章均为vOS原创,转载请注明出处和附带本文链接。