Upgrading from 19.04 to 19.10 will keep the 19.04 chromium-browser due to a higher version than the transitional deb in 19.10

Bug #1858500 reported by Sønke Lorenzen on 2020-01-06
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Undecided
Unassigned
Eoan
High
Olivier Tilloy

Bug Description

[Impact]

Users upgrading from 19.04 to 19.10 will not get the latest chromium snap replacing the chromium-browser deb package as intended.
This is because the version number in 19.04 is greater than the version in 19.10. Bumping the version number in 19.10 is enough to fix this.

[Test Case]

 * On a machine running 19.04, ensure that the chromium snap is *not* installed, then install the chromium-browser deb package: sudo apt install chromium-browser
 * Upgrade that machine to Ubuntu 19.10
 * When upgrading, the chromium-browser package becomes a transitional package that installs the chromium snap
 * Verify that the chromium snap is installed

[Regression Potential]

 * The chromium snap has some known shortcomings and regressions compared to the deb package, they are being tracked at https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap. Auto-upgrading users from the deb to the snap is the desired behaviour though.
 * Version 79.0.3945.79-0ubuntu0.19.10.2 which is being uploaded also contains a couple of minor unrelated changes, but those are harmless. They are included because they were already pushed to the source package's VCS:
   - https://bazaar.launchpad.net/~chromium-team/chromium-browser/eoan-stable/revision/1525
   - https://bazaar.launchpad.net/~chromium-team/chromium-browser/eoan-stable/revision/1526

[Original Description]

19.04 has got a higher version chromium-browser now than the transitional deb package that install the snap version, so the 19.04 version will be kept when someone upgrades since 19.04 got a higher version, and then no further updates.

apt show chromium-browser -a
Package: chromium-browser
Version: 79.0.3945.79-0ubuntu0.19.04.3
Status: install ok installed
Priority: optional
Section: web
Maintainer: Ubuntu Developers <email address hidden>
Installed-Size: 225 MB
Provides: chromium-browser-inspector, www-browser
Pre-Depends: dpkg (>= 1.15.6)
Depends: libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.29), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.9.14), libexpat1 (>= 2.0.1), libgcc1 (>= 1:4.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.31.8), libgtk-3-0 (>= 3.9.10), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libstdc++6 (>= 7), libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3 (>= 1:5.0), libxi6 (>= 2:1.2.99.4), libxrandr2 (>= 2:1.2.99.3), libxrender1, libxss1, libxtst6, bash (>= 4), xdg-utils, chromium-codecs-ffmpeg-extra (= 79.0.3945.79-0ubuntu0.19.04.3) | chromium-codecs-ffmpeg (= 79.0.3945.79-0ubuntu0.19.04.3)
Recommends: chromium-browser-l10n
Suggests: webaccounts-chromium-extension, unity-chromium-extension, adobe-flashplugin
Conflicts: chromium-browser-inspector
Replaces: chromium-browser-inspector
Homepage: https://chromium.googlesource.com/chromium/src/
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Chromium web browser, open-source version of Chrome
 An open-source browser project that aims to build a safer, faster, and more
 stable way for all Internet users to experience the web.

Package: chromium-browser
Version: 77.0.3865.120-0ubuntu1.19.10.1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 163 kB
Provides: www-browser
Pre-Depends: debconf, snapd
Depends: debconf (>= 0.5) | debconf-2.0
Homepage: https://chromium.googlesource.com/chromium/src/
Download-Size: 48.7 kB
APT-Sources: http://dk.archive.ubuntu.com/ubuntu eoan-updates/universe amd64 Packages
Description: Transitional package - chromium-browser -> chromium snap
 This is a transitional dummy package. It can safely be removed.
 .
 chromium-browser is now replaced by the chromium snap.

Package: chromium-browser
Version: 77.0.3865.120-0ubuntu1~snap1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 163 kB
Provides: www-browser
Pre-Depends: debconf, snapd
Depends: debconf (>= 0.5) | debconf-2.0
Homepage: https://chromium.googlesource.com/chromium/src/
Download-Size: 48.8 kB
APT-Sources: http://dk.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
Description: Transitional package - chromium-browser -> chromium snap
 This is a transitional dummy package. It can safely be removed.
 .
 chromium-browser is now replaced by the chromium snap.

snap list
Name Version Rev Tracking Publisher Notes
core 16-2.42.5 8268 stable canonical✓ core
core18 20191212 1288 stable canonical✓ base
gnome-3-28-1804 3.28.0-16-g27c9498.27c9498 110 stable/… canonical✓ -
gnome-calculator 3.34.1+git1.d34dc842 544 stable/… canonical✓ -
gnome-characters v3.32.1+git3.b9120df 375 stable/… canonical✓ -
gnome-logs 3.34.0 81 stable/… canonical✓ -
gnome-system-monitor 3.32.1-3-g0ea89b4922 123 stable/… canonical✓ -
gtk-common-themes 0.1-25-gcc83164 1353 stable/… canonical✓ -

lsb_release -rd
Description: Ubuntu 19.10
Release: 19.10

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: chromium-browser 79.0.3945.79-0ubuntu0.19.04.3 [origin: unknown]
ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10
Uname: Linux 5.3.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 6 21:49:51 2020
Desktop-Session:
 'ubuntu'
 '/etc/xdg/xdg-ubuntu:/etc/xdg'
 '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
Env:
 'None'
 'None'
InstallationDate: Installed on 2019-12-23 (14 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
InstalledPlugins:

Load-Avg-1min: 0.58
Load-Processes-Running-Percent: 0.2%
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-24-generic root=UUID=72f79124-786d-4b48-afc3-d2b3bf247858 ro recovery nomodeset
SourcePackage: chromium-browser
ThirdParty: True
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
dmi.product.family: Virtual Machine
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH
modified.conffile..etc.default.chromium-browser: [deleted]

Sønke Lorenzen (solorenzen) wrote :
Olivier Tilloy (osomon) on 2020-01-07
Changed in chromium-browser (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Olivier Tilloy (osomon)
Olivier Tilloy (osomon) wrote :

I uploaded chromium-browser 79.0.3945.79-0ubuntu0.19.10.2 to eoan-proposed to fix this situation, thanks Sønke Lorenzen for noticing and reporting the problem!

Changed in chromium-browser (Ubuntu):
status: Confirmed → Fix Released
Changed in chromium-browser (Ubuntu Eoan):
importance: Undecided → High
Changed in chromium-browser (Ubuntu):
importance: High → Undecided
assignee: Olivier Tilloy (osomon) → nobody
Changed in chromium-browser (Ubuntu Eoan):
assignee: nobody → Olivier Tilloy (osomon)
status: New → In Progress
Olivier Tilloy (osomon) on 2020-01-07
description: updated

Hello Sønke, or anyone else affected,

Accepted chromium-browser into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/chromium-browser/79.0.3945.79-0ubuntu0.19.10.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-eoan to verification-done-eoan. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-eoan. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in chromium-browser (Ubuntu Eoan):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-eoan
Olivier Tilloy (osomon) wrote :

Verified working. I followed the steps in the test case: in a clean disco VM, I installed chromium-browser (and verified that the chromium snap wasn't installed). I then dist-upgraded the VM to eoan, and verified that chromium-browser hadn't been updated, and that the chromium snap still wasn't there. I then enabled eoan-proposed in /etc/apt/source.list, updated, installed the chromium-browser update that was available (79.0.3945.79-0ubuntu0.19.10.2), and the chromium snap got installed, as expected.

tags: added: verification-done-eoan
removed: verification-needed-eoan
Sønke Lorenzen (solorenzen) wrote :

This worked for me too after enabling eoan-proposed, I have now the snap on that installation.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package chromium-browser - 79.0.3945.79-0ubuntu0.19.10.2

---------------
chromium-browser (79.0.3945.79-0ubuntu0.19.10.2) eoan; urgency=medium

  * New release to fix the upgrade path from 19.04 to 19.10 (LP: #1858500)

chromium-browser (79.0.3945.79-0ubuntu0.19.10.1) eoan; urgency=medium

  * New upstream release: 79.0.3945.79
  * debian/apport/chromium-browser.py: add the output of
    "snap changes --abs-time chromium" to bugs reported by apport
  * chromium-browser: fix syntax error when xdg-settings returns an empty
    string for default-web-browser (LP: #1853574)

 -- Olivier Tilloy <email address hidden> Tue, 07 Jan 2020 15:47:31 +0100

Changed in chromium-browser (Ubuntu Eoan):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for chromium-browser has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers