[Bug 2096989] Re: Problems with snap after 20.04 to 22.04 Upgrade
David Partridge
2096989 at bugs.launchpad.net
Thu Jan 30 13:21:02 UTC 2025
** Package changed: ubuntu => ubuntu-release-upgrader (Ubuntu)
** Description changed:
I recently did a release-upgrade from LUbuntu 20.04 to 22.04. After doing that the firefox snap did not work:
```
monra at charon:~$ snap list | grep firefox
firefox 134.0.2-1 5647 latest/stable mozilla** -
amonra at charon:~$ /snap/bin/firefox
/user.slice/user-1000.slice/session-55.scope is not a snap cgroup
amonra at charon:~$
```
I am lead to understand that this happens because the environment variable DBUS_SESSION_BUS_ADDRESS is incorrectly set, in this case to: unix:abstract=/tmp/dbus-rbtaLBnkFl,guid=99129c89faa6343862bdf11b679912be
- I am led to believe that as I bypass I can add this to my .bashrc file:
+ I am led to believe that I can add this to my .bashrc file:
```export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"```
- will fix the problem. And when I did so and then did a snap install
+ to bypass the problem. And when I did so and then did a snap install
firefox, it worked ..
However the underlying issue is still present
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2096989
Title:
Problems with snap after 20.04 to 22.04 Upgrade
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
I recently did a release-upgrade from LUbuntu 20.04 to 22.04. After doing that the firefox snap did not work:
```
monra at charon:~$ snap list | grep firefox
firefox 134.0.2-1 5647 latest/stable mozilla** -
amonra at charon:~$ /snap/bin/firefox
/user.slice/user-1000.slice/session-55.scope is not a snap cgroup
amonra at charon:~$
```
I am lead to understand that this happens because the environment variable DBUS_SESSION_BUS_ADDRESS is incorrectly set, in this case to: unix:abstract=/tmp/dbus-rbtaLBnkFl,guid=99129c89faa6343862bdf11b679912be
I am led to believe that I can add this to my .bashrc file:
```export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"```
to bypass the problem. And when I did so and then did a snap install
firefox, it worked ..
However the underlying issue is still present
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2096989/+subscriptions
More information about the foundations-bugs
mailing list