KONSOLE 24.08.2: Permission Denied for everything

Hello -
Please help. I am running Kubuntu 22.04.

I recently installed Konsole 24.08.2 from SNAP store and now I cannot do anything.
Sudo any command throws “bash: /usr/bin/su: Permission denied” message
sudo apt get upgrade throws this error "
bash: /usr/bin/sudo: Permission denied"

I luckily have the Konsole 21.12.3 version simultaneously.
But any idea how i can fix this for Konsole 24.08?

You probably need to adjust the snap’s permissions/sandbox to allow access to sudo.

1 Like

Yep, it’d likely necessary to install Konsole using “classic confinement” if possible - however, based on the note about Konsole here, it’d appear to not be a fully-functional version of Konsole quite yet.

Konsole ( please note this is a confined terminal for the ‘project’ and not very useful except to ssh to the host system )

2 Likes

Is there some benefit to installing Konsole via Snap?

Not having used any Ubuntu based distribition for a while I can’t imagine why you’d do that.

pacman -Qi konsole
Name            : konsole
Version         : 24.12.0-1
Description     : KDE terminal emulator
Architecture    : x86_64
URL             : https://apps.kde.org/konsole/
Licenses        : GPL-2.0-or-later  LGPL-2.0-or-later
Groups          : kde-applications  kde-utilities
Provides        : None
Depends On      : glibc  gcc-libs  icu  kbookmarks  kcolorscheme  kconfig
                  kconfigwidgets  kcoreaddons  kcrash  kdbusaddons
                  kglobalaccel  kguiaddons  ki18n  kiconthemes  kio  knewstuff
                  knotifications  knotifyconfig  kparts  kpty  kservice
                  ktextwidgets  kwidgetsaddons  kwindowsystem  kxmlgui
                  qt6-5compat  qt6-base  qt6-multimedia  sh
Optional Deps   : keditbookmarks: to manage bookmarks [installed]
Required By     : yakuake
Optional For    : dolphin  kate
Conflicts With  : None
Replaces        : None
Installed Size  : 9.08 MiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Tue 10 Dec 2024 00:17:55 +07
Install Date    : Tue 17 Dec 2024 17:48:52 +07
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

This just works from repositories.

If you’re using Ubuntu/Kubuntu, and you’re looking for a more up-to-date version of Konsole than what’s in the repositories, then the Snap version will be presented to you by the Ubuntu App Center as an easy way to get that more recent version.

Not my place to say on how it’s published, but I suspect the root of the confusion here is that the confined version of Konsole is published to the “stable” channel on the Snap Store, which would normally indicate software that’s released and ready for folks to find and use (and which it sounds like doesn’t necessarily apply in this particular case).

Either way, checking to see if installation with --classic to enable classic confinement would be the next step.

1 Like

Update:
I uninstalled the Snap Konsole and reinstalled with the --classic command.
I am still getting the same error.
sudo apt-get install
“bash: /usr/bin/sudo: Permission denied”

No, --classic won’t cut it. You’ll be better of using the flatpak.

1 Like

Thank you Team and dzon.

I installed Flatpak s/w and then konsole flathub and it is working as desired.
Just to be on the safe side i did not uninstall the old Konsole.
Its weird I have the same s/w but different versions from different sources that can be opened independently haha.
Like word 97 and word 2023 opened together.