flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.69k stars 1.58k forks source link

snap install failing due to deprecated dependency #3471

Open nathanielfinkgapmaps opened 8 months ago

nathanielfinkgapmaps commented 8 months ago

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:

Steps to reproduce

run sudo snap install flameshot

Screenshots or screen recordings

No response

System Information

Xubuntu 23.10

nahojjjen commented 8 months ago

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

spintokha commented 8 months ago

Same issue on Ubuntu 23.10. snap install flameshot _error: cannot perform the following tasks:

OnkelTem commented 8 months ago

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.

BhattJayD commented 6 months ago

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)
MM1132 commented 6 months ago

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.

leandrosa commented 6 months ago

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

sudo apt install flameshot
cityji commented 5 months ago

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

BhattJayD commented 5 months ago

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

nenominal commented 5 months ago

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)
GeraudBourdin commented 5 months ago

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 ?

Brocky453 commented 5 months ago

Same issue there

Is there any available solution ?

TitaniumCoder477 commented 5 months ago

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

lucassmacedo commented 5 months ago

Same issue: sudo snap install flameshot error: cannot perform the following tasks:

diegourban commented 4 months ago

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

uphiago commented 3 months ago

Same with Kubuntu 22.04.4

daniel-lopez-puig commented 3 months ago

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

raivisdejus commented 3 months ago

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

pangwen commented 1 month ago

sudo apt install flameshot work well (Ubuntu 24.04)

@leandrosa tks

SuheylZ commented 2 weeks ago

sudo apt install flameshot work well (Ubuntu 24.04)

@leandrosa tks

I can confirm it works, tried snap installation but it miseraby failed. even the flameshot main website doesnt say anything about this issue. I'm using Ubuntu: 24.04.1 LTS (Noble Numbat)

BhattJayD commented 2 weeks ago

On ubuntu 24.4 with kde & On kubuntu 24.4 its working fine

SuheylZ commented 2 weeks ago

let me add one more thing, other than getting installed or doesn't do anything.

flameshot cannot capture the screen.

so i uninstalled it.