PDA

View Full Version : [SOLVED] 16.04.1 ubuntu software/updates not completing



Kris_M
November 1st, 2016, 06:53 PM
Twice now after updating something with Software Updater, there is an update in Ubuntu Software that doesn't complete when I tell it to update. It seems to install but then it clicks back to the blank page with the arrow circling around forever.

Is there something I can reset?

I did this but I will have to wait a few days to see if it fixed anything...

kris@kris-Z97X-UD3H:~$ sudo apt update && sudo apt upgrade
[sudo] password for kris:
Get:1 file:/var/opt/amdgpu-pro ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro ./ InRelease
Get:2 file:/var/opt/amdgpu-pro ./ Release
Err:2 file:/var/opt/amdgpu-pro ./ Release
File not found - /var/opt/amdgpu-pro/./Release (2: No such file or directory)
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB]
Hit:6 http://archive.canonical.com/ubuntu xenial InRelease
Hit:7 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:8 http://archive.canonical.com xenial InRelease
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
E: The repository 'file:/var/opt/amdgpu-pro ./ Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
kris@kris-Z97X-UD3H:~$
kris@kris-Z97X-UD3H:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
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:~$


I researched the msg

N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension

google - askubuntu - suggested

sudo mv /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist /etc/apt/apt.conf.d/20auto-upgrades

That is incorrect - the appropriate action would have been to simply delete /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist

Still won't know if that will fix the prob for a few days...

- - - - -
EDIT: yes, that seems to have fixed it. Marked solved for now.

EDIT2: yes, this is continuing to work correctly.

Ya know... just removing that file might well have taken care of it...