4

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.
egy
  • 443

2 Answers2

3

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).

kelvinelove
  • 1,619
larinux
  • 46
0

Specifically, if not in use, you may want to /remove/ apt-cacher.

$ dpkg --list | grep apt-cacher
$ sudo apt-get remove apt-cacher

Then go again with the do-release-upgrade.