Score:0

what is difference between bionic-updates and bionic in apt source?

mp flag

Is bionic-updates more stable and secure than the regular bionic when managing apt source records?

Rencently,I upgrade my server from 16 to 18 using apt-get upgrade.But I do not know how to take care of the apt source list.what I did is append the below items in the /etc/apt/sources.list.Is it enough for managing apt resources after upgrading ubuntu.

  1. deb http://security.ubuntu.com/ubuntu bionic-security main
  2. deb http://cz.archive.ubuntu.com/ubuntu bionic main universe
  3. deb http://cz.archive.ubuntu.com/ubuntu bionic-updates main
guiverc avatar
cn flag
Ubuntu Core 16 to Ubuntu Core 18 upgrades do not use `apt upgrade` as both 16 & 18 are *snap* only products, only 16.04 & 18.04 used *deb* packages and thus `apt`, but you don't use `apt upgrade` to change releases. The *bionic* will contain original code, eg. using `linux-generic` you can see `linux-generic | 4.15.0.20.23 | bionic | amd64, arm64, armhf, i386, ppc64el, s390x` (ie. what was on original ISOs) where as *bionic-updates* will have `linux-generic | 4.15.0.206.189 | bionic-updates | amd64, arm64, armhf, i386, ppc64el, s390x` or the updated package
focus zheng avatar
mp flag
I find this link is helpful for debian/ubuntu apt questions. see https://debian-handbook.info/browse/stable/apt.html
Score:3
cn flag

The bionic repository will contain original code, eg. using linux-generic as an example, you can find

linux-generic | 4.15.0.20.23 | bionic | amd64, arm64, armhf, i386, ppc64el, s390x

which is what you'll find on Ubuntu 18.04 initial LTS ISOs.

(Ubuntu 18.04.1 & later ISOs include packages from bionic-updates as of the time of ISO creation, thus 18.04.1 may have newer packages than initial 18.04 ISO, but not as modern as say 18.04.2 etc)

The bionic-updates repository will have the updated code, ie.

linux-generic | 4.15.0.206.189 | bionic-updates | amd64, arm64, armhf, i386, ppc64el, s390x

I've used the following to get my detail (note: I removed non bionic lines)

guiverc@d7050-next:/de2900/lubuntu_64$   rmadison linux-generic
..
 linux-generic | 4.15.0.20.23           | bionic           | amd64, arm64, armhf, i386, ppc64el, s390x
 linux-generic | 4.15.0.206.189         | bionic-security  | amd64, arm64, armhf, i386, ppc64el, s390x
 linux-generic | 4.15.0.206.189         | bionic-updates   | amd64, arm64, armhf, i386, ppc64el, s390x
 linux-generic | 4.15.0.208.191         | bionic-proposed  | amd64, arm64, armhf, i386, ppc64el, s390x

I'm not sure I'd use the word stable or secure as in your question; there are more fixes including security fixes in the -updates or -security repositories.

guiverc avatar
cn flag
The online way of getting the detail I used would be https://packages.ubuntu.com/search?keywords=linux-generic&searchon=names&suite=all&section=all though it presents it differently with lines missing too.
focus zheng avatar
mp flag
I find this link is helpful for debian/ubuntu apt questions. https://debian-handbook.info/browse/stable/apt.html
I sit in a Tesla and translated this thread with Ai:

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.