flameshot
flameshot copied to clipboard
snap install failing due to deprecated dependency
Flameshot Version
latest snap
Installation Type
Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)
Operating System type and version
Xubuntu 23.10
Description
Requiring kde framework 5-15-3 which is no longer available
sudo snap install flameshot error: cannot perform the following tasks:
- Ensure prerequisites for "flameshot" are available (cannot install prerequisite "kde-frameworks-5-91-qt-5-15-3-core20": no snap revision available as specified
Steps to reproduce
run sudo snap install flameshot
Screenshots or screen recordings
No response
System Information
Xubuntu 23.10
I get a similar error on a new Kubuntu 23.10 install when attempting to install through Discover:
Same issue on Ubuntu 23.10.
snap install flameshot
_error: cannot perform the following tasks:
- Ensure prerequisites for "flameshot" are available (cannot install prerequisite "kde-frameworks-5-91-qt-5-15-3-core20": no snap revision available as specified)_
Same here, Kubuntu 22.04:
$ snap install flameshot
error: cannot perform the following tasks:
- Ensure prerequisites for "flameshot" are available (cannot install prerequisite "kde-frameworks-5-91-qt-5-15-3-core20": no snap revision available as specified)
So a distro-agnostic version depend on the distro obviously? Such a surprise.
P.S. I'm nostalgic for the times when we didn't have all these "distro-agnostic" formats like snap, flatpack, appimage etc. You could just run apt-get install aTthing
and it got installed.
Same issue on Ubuntu 22.04.4
$ sudo snap install flameshot
error: cannot perform the following tasks:
- Ensure prerequisites for "flameshot" are available (cannot install prerequisite "kde-frameworks-5-91-qt-5-15-3-core20": no snap revision available as specified)
Same exact issue on Linux Mint 21.1
:
~$ sudo snap install flameshot
error: cannot perform the following tasks:
- Ensure prerequisites for "flameshot" are available (cannot install prerequisite "kde-frameworks-5-91-qt-5-15-3-core20": no > snap revision available as specified)
If anyone figures this out, I'd be really grateful.
I have had this same error and I got around it using apt
or flatpak
.
sudo apt install flameshot
Same here, Kubuntu 22.04:
$ snap install flameshot error: cannot perform the following tasks: - Ensure prerequisites for "flameshot" are available (cannot install prerequisite "kde-frameworks-5-91-qt-5-15-3-core20": no snap revision available as specified)
So a distro-agnostic version depend on the distro obviously? Such a surprise.
P.S. I'm nostalgic for the times when we didn't have all these "distro-agnostic" formats like snap, flatpack, appimage etc. You could just run
apt-get install aTthing
and it got installed.
definately we can use
sudo apt install flameshot
and it works! but the issue is it does not install latest version ( which shouldn't be the issue) in case you want the latest version
you can check out their appImage install guide https://flameshot.org/docs/installation/installation-linux/#appimage
sudo apt install flameshot
and
appImage https://flameshot.org/docs/installation/installation-linux/#appimage
guide works but it don't provide feature that latest flameshot has
Same issue here with Ubuntu 24.04
sudo snap install flameshot
error: cannot perform the following tasks:
- Ensure prerequisites for "flameshot" are available (cannot install prerequisite "kde-frameworks-5-91-qt-5-15-3-core20": no snap revision available as specified)
Same issue here with Ubuntu 24.04
sudo snap install flameshot error: cannot perform the following tasks: - Ensure prerequisites for "flameshot" are available (cannot install prerequisite "kde-frameworks-5-91-qt-5-15-3-core20": no snap revision available as specified)
same here. Any known similar tool ?
Same issue there
Is there any available solution ?
I also have this with Debian 12, and using sudo doesn't help:
sudo snap install flameshot
error: cannot perform the following tasks:
- Ensure prerequisites for "flameshot" are available (cannot install prerequisite "kde-frameworks-5-91-qt-5-15-3-core20": no snap revision available as specified)
sudo uname -a Linux gideon 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux
I went ahead and installed it from Flatpak, and I noticed the following which may provide a clue as to what is/was missing when attempting to install from Snap:
Required runtime for org.flameshot.Flameshot/x86_64/stable (runtime/org.kde.Platform/x86_64/5.15-23.08) found in remote flathub
Same issue: sudo snap install flameshot error: cannot perform the following tasks:
- Ensure prerequisites for "flameshot" are available (cannot install prerequisite "kde-frameworks-5-91-qt-5-15-3-core20": no snap revision available as specified)
Similar to #3119 on a different OS type/version.
Same with Kubuntu 22.04.4
@cityji and @leandrosa already said and I can confirm with apt it works (Ubuntu 24.04):
sudo apt install flameshot
These are QT framework versions returned by snap search qt-5
kf5-5-106-qt-5-15-9-core22 5.106 kde✓ - KDE Frameworks 5
kf5-5-110-qt-5-15-10-core22 5.110 kde✓ - KDE Frameworks 5
kf5-5-110-qt-5-15-11-core22 5.110 kde✓ - KDE Frameworks 5
kf5-5-105-qt-5-15-9-core22 5.105 kde✓ - KDE Frameworks 5
kf5-5-111-qt-5-15-11-core22 5.111 kde✓ - KDE Frameworks 5
kf5-5-108-qt-5-15-10-core22 5.108 kde✓ - KDE Frameworks 5
kf5-5-113-qt-5-15-11-core22 5.113 kde✓ - KDE Frameworks 5
kf5-5-108-qt-5-15-10-core22-sdk 5.108 kde✓ - KDE Frameworks 5
kf5-5-105-qt-5-15-9-core22-sdk 5.105 kde✓ - KDE Frameworks 5
kf5-5-106-qt-5-15-9-core22-sdk 5.106 kde✓ - KDE Frameworks 5
kf5-5-110-qt-5-15-10-core22-sdk 5.110 kde✓ - KDE Frameworks 5
kf5-5-113-qt-5-15-11-core22-sdk 5.113 kde✓ - KDE Frameworks 5
kf5-5-110-qt-5-15-11-core22-sdk 5.110 kde✓ - KDE Frameworks 5
kf5-5-111-qt-5-15-11-core22-sdk 5.111 kde✓ - KDE Frameworks 5
Most likely dependency needs to be updated
sudo apt install flameshot
work well (Ubuntu 24.04)
@leandrosa tks