flameshot icon indicating copy to clipboard operation
flameshot copied to clipboard

snap install failing due to deprecated dependency

Open nathanielfinkgapmaps opened this issue 1 year ago • 21 comments

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

nathanielfinkgapmaps avatar Jan 11 '24 21:01 nathanielfinkgapmaps

I get a similar error on a new Kubuntu 23.10 install when attempting to install through Discover: image

nahojjjen avatar Jan 17 '24 15:01 nahojjjen

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)_

spintokha avatar Jan 18 '24 08:01 spintokha

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.

OnkelTem avatar Jan 22 '24 09:01 OnkelTem

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)

BhattJayD avatar Mar 17 '24 13:03 BhattJayD

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.

MM1132 avatar Apr 01 '24 05:04 MM1132

I have had this same error and I got around it using apt or flatpak.

sudo apt install flameshot

leandrosa avatar Apr 03 '24 18:04 leandrosa

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

cityji avatar Apr 10 '24 17:04 cityji

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

BhattJayD avatar Apr 13 '24 06:04 BhattJayD

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)

nenominal avatar Apr 23 '24 06:04 nenominal

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 ?

GeraudBourdin avatar Apr 26 '24 13:04 GeraudBourdin

Same issue there

Is there any available solution ?

Brocky453 avatar Apr 29 '24 15:04 Brocky453

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

image

TitaniumCoder477 avatar Apr 30 '24 14:04 TitaniumCoder477

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)

lucassmacedo avatar Apr 30 '24 18:04 lucassmacedo

Similar to #3119 on a different OS type/version.

diegourban avatar May 13 '24 08:05 diegourban

Same with Kubuntu 22.04.4

uphiago avatar Jun 17 '24 18:06 uphiago

@cityji and @leandrosa already said and I can confirm with apt it works (Ubuntu 24.04): sudo apt install flameshot

daniel-lopez-puig avatar Jun 18 '24 15:06 daniel-lopez-puig

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

raivisdejus avatar Jun 19 '24 11:06 raivisdejus

sudo apt install flameshot work well (Ubuntu 24.04)

@leandrosa tks

pangwen avatar Aug 20 '24 06:08 pangwen