Failure to install chromium-browser/chromium snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On an up-to-date Ubuntu 20.04 system, I can't 'sudo apt install chromium-browser':
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
chromium-
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/48.3 kB of archives.
After this operation, 164 kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 293039 files and directories currently installed.)
Preparing to unpack .../chromium-
=> Installing the chromium snap
==> Checking connectivity with the snap store
==> Installing the chromium snap
Fehler: cannot perform the following tasks:
- Den Konfigurationshook von Snap "chromium" ausführen, falls vorhanden (run hook "configure": cannot perform operation: mount --rbind /home /tmp/snap.
dpkg: error processing archive /var/cache/
new chromium-browser package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Might that 'mount' command have an issue with my '/home -> media/galvani/
Yes, your symlink is very likely the cause of this error.
You weren't seeing the problem in 18.04 because chromium was a a real deb package there, whereas starting with 20.04 it is packaged as a snap.
This is not chromium-specific, all snaps would fail to install with such a setup.
One possible workaround would be to bind mount /media/ galvani/ francesco/ home to /home instead of using a symlink.