The root cause is the following commit:

https://github.com/canonical/snapcraft-desktop-
integration/pull/30/commits/19c397275516a3995e95fbc5c8ef49a85df0b758

We need to check if $SNAP_USER_COMMON/.cache exists first.

** Also affects: snapd (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: chromium-browser (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2097403

Title:
  [snap] chromium-driver fails to create .cache/desktop-runtime-date on
  first run

Status in snapd package in Ubuntu:
  New

Bug description:
  [Impact]

  Autopkgtests that rely on chromium-driver apt dependency fail due to
  the following error being printed to stderr during runtime:

  touch: cannot touch '/home/ubuntu/snap/chromium/common/.cache/desktop-
  runtime-date': No such file or directory

  Affected packages are phpldapadmin for example:

  https://autopkgtest.ubuntu.com/packages/p/phpldapadmin/oracular/amd64

  [Testcase]

  $ sudo snap install chromium
  $ chromedriver
  touch: cannot touch 
'/home/ubuntu/snap/chromium/common/.cache/desktop-runtime-date': No such file 
or directory
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2097403/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to