Update – 14.04.5 to 16.04 Update Failed – xenial.tar.gz.gpg Missing

16.04do-release-upgrade

The update from Trusty to Xenial is officially available via the software updater. After updating all packages, upgrading through the software updater yields:

Fetching the upgrade failed. There may be a network problem.

Doing a sudo do-release-upgrade yields:

    Checking for a new Ubuntu release
Err Upgrade tool signature                                                     
  403  Sorry, not allowed to fetch that type of file: xenial.tar.gz.gpg        
Err Upgrade tool                                                               
  403  Sorry, not allowed to fetch that type of file: xenial.tar.gz            
Fetched 0 B in 0s (0 B/s)                                                      
WARNING:root:file 'xenial.tar.gz.gpg' missing
Failed to fetch
Fetching the upgrade failed. There may be a network problem.

Best Answer

Try disabling the apt-cacher service and comment anything you might have configured in /etc/apt/apt.conf.d/90-apt-proxy.conf, then run again do-release-upgrade (ofc, first update and upgrade again).

Related Question