ubuntu 14.04 升级到 16.04 问题总结
2017-09-02 15:47
399 查看
1. 需要的依赖关系未安装
The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed.http://forum.ubuntu.org.cn/viewtopic.php?t=479718
尝试:
1)保持软件源指向 14.04(trusty) 不变
2) sudo apt-get update && sudo apt-get upgrade
此时 apt 应已升级到 1.0.1ubuntu2.13参考 http://packages.ubuntu.com/trusty/apt
3)sudo update-manager -d
2.How to select option in “Configuration grub-pc” menu
https://askubuntu.com/questions/384388/how-to-select-option-in-configuration-grub-pc-menu1)Use [tab] to switch between options, use [spacebar] to select.
2) Select continue without installing grub,and then update your grub by running below command,
sudo update-grub
3.What do I select for “GRUB install devices” after an update?
https://askubuntu.com/questions/23418/what-do-i-select-for-grub-install-devices-after-an-updateIn your case, the correct selection is /dev/sda, the first one. It's the first and only hard disk in your system, whereas /dev/sda1 is a partition on that hard disk. You can install grub on a partition, but it's a "BAD idea".
If you had multiple hard drives and partitions, first find out where your root partition is:
lsblk
(See also: How do I find out what hard disks are in the system?)
You can then install grub on that hard drive. Look for devices labeled "disk" (e.g. "sda", meaning /dev/sda) to install grub into the master boot record (every physical disk device has only one MBR, no matter the partitions).
4.GRUB默认启动顺序修改
ubuntu的/boot/grub目录下,该目录下有个文件grub.cfg,就是设置默认启动的文件。1)修改权限, sudo chmod w ./grub.cfg
2) grub.cfg里 set default = "0" 将0改为你电脑windows系统的index
使用 apt 命令的时候会报这个错
Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension解决办法原文参照:https://askubuntu.com/questions/829370/n-ignoring-file-50unattended-upgrades-ucf-dist-in-directory-etc-apt-apt-con/829585
简而言之: 删掉报错的文件就行了。。。。
sudo rm /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist
相关文章推荐
- ubuntu 14.04升级16.04 遇到的相关问题及解决
- Ubuntu14.04升级到16.04遇到的问题
- Ubuntu 14.04升级到16.04后无法进入系统
- Ubuntu Server 14.04升级Ubuntu Server 16.04
- 从Ubuntu 14.04 LTS版升级到Ubuntu 16.04 LTS
- Ubuntu 16.04 RTL8111/8168/8411 不能上网 经常断网解决办法 Author 时鹏亮 | 11/18/2016 = =这奇葩情况发生在从14.04升级到16.04之后,开始以
- 将ubuntu14.04 从mysql从5.5删除之后安装5.7遇到的一些问题(本篇不讨论热升级)
- ubuntu 14.04 升级到 16.04 遇到:需要的依赖关系未安装
- Ubuntu16.04 + CUDA8.0 + OpenCL + Nvidia 安装配置和问题总结
- Ubuntu16.04安装caffe cpu问题总结
- Ubuntu 16.04升级4.7.0内核后导致Compiz奔溃,问题:compiz[4852]: segfault at 48 ip 00007f88cae087f0 sp 00007ffce354c268 error 4 in libscale.so
- WiN10 + Ubuntu16.04 双系统安装问题总结
- 从Ubuntu 14.04 LTS版升级到Ubuntu 16.04 LTS
- Ubuntu Server 14.04升级Ubuntu Server 16.04
- ubuntu 16.04 升级内核后黑屏的问题
- Ubuntu16.04升级之后VirtualBox不能安装的问题
- Ubuntu16.04使用问题总结
- Ubuntu 12.04 升级到14.04之后,pidgin-sipe 出现的问题: Trouble with the pidgin and self-signed SSL certificate
- Ubuntu14.04配置OpenCL版本caffe (AMD显卡)---- 问题总结(持续更新)
- Ubuntu Desk 14.04升级到Ubuntu 16.04