Public bug reported:

A common issue when using apt-cacher is that ´do-release-upgrade´ will fail 
getting the files for the new release (WARNING:root:file '<release>.tar.gz.gpg' 
missing).
Reason is that apt-cacher does not know the new release name and therefore 
rejects to retrieve files for it. Most people don't know that behaviour and 
even admins forget about it.

To enhance the user experience I suggest to add a new file:
/etc/apt-cacher/conf.d/00ubuntu_releases

This file should only contain the "ubuntu_release_names" configuation option 
with all known release names.
Example:
ubuntu_release_names = dapper, edgy, feisty, gutsy, hardy, intrepid, jaunty, 
karmic, lucid, maverick, natty, oneiric, precise, quantal, raring, saucy, 
trusty, utopic, vivid, wily, xenial

If a new release is available then just this config file has to be
enhanced and all users will get the updated package and are then able to
"do-release-upgrade" with apt-cacher.

I even suggest to put this config file in a separate package (e.g. apt-
cacher-ubuntu), that is installed along with the apt-cacher package and
which is valid for all platforms and all releases (as it is just a
simple text file).

Kind regards
Maddes

** Affects: ubuntu-release-upgrader
     Importance: Undecided
         Status: New

** Affects: apt-cacher (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apt-cacher do-release-upgrade

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1548468

Title:
  [suggestion] apt-cacher ubuntu release names

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-upgrader/+bug/1548468/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to