Score:3

Can a local Ubuntu mirror host different Ubuntu releases on a single server

in flag

I am interested to know if I have a Ubuntu 20.04.3 LTS server, can use it as a local mirror to host 20.04.3 LTS and 18.04.6 LTS repositories, such that my 18.04 servers can pull from it as well as my 20.04 servers? Or, do I need 2 separate servers, one on version 18.04 and the other on 20.04?

Is there a best practice design on how to set this up?

Score:5
bo flag

The same mirror can host two or more repositories. Check out http://mirrors.edge.kernel.org/ubuntu/ and poke around the directories to get a better idea of how this works.

The package list downloaded by apt indicates which package version is needed for each release. All the different package versions are located in the same directories.

Organic Marble avatar
us flag
Agreed, during my switchover from bionic to focal I had both in the same mirror setup. After transition complete I removed bionic, now focal only.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.