PDA

View Full Version : [SOLVED] 16.04.1 install / update fails



Kris_M
November 23rd, 2016, 08:31 PM
7 times so far I believe.
Installs fine but update kills it. Just goes gray. I thought it might be because the computer was going to sleep so was careful last time - still gray.
Once ended on grub pic, twice on unattended pic.
I boot BIOS from a 16.04.1 USB stick. choose install. chose something else. change partition from earlier failed build to [ ext4,format, / ]
choose download updates and install 3rd party stuff
boots fine.
checked updates and unchecked one which was incorrect "unsupported updates" was checked. I unchecked it.
wants to do software update, some 256mb. d/ls it all and gets mostly through installs and just stops and turns gray.
edit just thinking only difference is Nvidia graphics card...

plugged to Intel video, no change, removed Nvidia card, no change.

I am dead in the water.

Frogs Hair
November 23rd, 2016, 09:33 PM
Try from the terminal and report back.


sudo apt-get update

Kris_M
November 23rd, 2016, 11:25 PM
Thanks. that gave me

kris@kris-Z97X-UD3H:~$ sudo apt-get update
[sudo] password for kris:
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Fetched 204 kB in 0s (449 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
kris@kris-Z97X-UD3H:~$

The key is that 20auto-upgrades.ucf-dist file. I got caught by that a month or so ago. Guess they haven't fixed it. Sloppy. I monitored that folder during the update and it appeared right when the update went grey.

In any case:
delete that file and
run

sudo apt-get update
sudo apt update && sudo apt upgrade
sudo apt-get dist-upgrade

and I believe all is well.

By the by I had put the Nvidia card back in before doing a re-install just to have it clean.

So thanks for giving me the command that gave me the reminder!

Kris_M
November 24th, 2016, 06:52 AM
ubuntu.com
across the top on the right: downloads desktop
download
ubuntu-16.04.1-desktop-amd64.iso 1.4GB