Error installing software

Hi I am trying to install software on PureOS 10 but getting errors below. Would anyone have advice? thanks

$ sudo snap install youtube-dl-pro

2025-03-09T18:47:41-06:00 INFO Waiting for automatic snapd restart…
error: cannot perform the following tasks:

  • Mount snap “core22” (1748) (snap “core22” assumes unsupported features: snapd2.55.5 (try to update snapd and refresh the core snap))
    $
1 Like

As the error message says, you may want to check what version of snap you have and try to update it first. Try sudo apt update && sudo apt upgrade && sudo apt info snap and then see if your installation works. You can also check if there is some internal snap update thing needed: sudo snap refresh (if I got it right)

1 Like

thanks for your help!!

$ sudo apt update && sudo apt upgrade && sudo apt info snap

Hit:1 https://brave-browser-apt-beta.s3.brave.com stable InRelease
Get:2 Index of /pureos/ byzantium InRelease [9,641 B]
Get:3 Index of /pureos/ byzantium-security InRelease [9,650 B]
Get:4 Index of /pureos/ byzantium-updates InRelease [9,649 B]
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
Fetched 28.9 kB in 6s (4,631 B/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
All packages are up to date.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
The following packages were automatically installed and are no longer required:
alsa-base fonts-linuxlibertine ftp haveged info libboost-date-time1.71.0
libboost-filesystem1.71.0 libboost-iostreams1.71.0 libboost-locale1.71.0
libboost-thread1.71.0 libbotan-2-17 libcapstone3 libedataserver-1.2-24
libevent-core-2.1-7 libevent-pthreads-2.1-7 libgovirt-common libgovirt2
libhavege2 libjsoncpp1 libllvm10 libopengl0 libopts25 libotr5 libperl5.30
libphonenumber7 libplymouth4 libpython3.8 libpython3.8-minimal
libpython3.8-stdlib libreadline5 libsane libtepl-4-0 libtspi1 libwpe-1.0-1
libwpebackend-fdo-1.0-1 libxcb-util0 libxenmisc4.11 libxmlb1 lightning
perl-modules-5.30 python3.8 python3.8-minimal sntp thunderbird ufw
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Package: snap
Version: 2013-11-29-11
Priority: optional
Section: science
Maintainer: Debian Med Packaging Team debian-med-packaging@lists.alioth.debian.org
Installed-Size: 2,743 kB
Depends: libc6 (>= 2.29)
Homepage: GitHub - KorfLab/SNAP: Gene prediction software
Download-Size: 380 kB
APT-Sources: Index of /pureos/ byzantium/main amd64 Packages
Description: location of genes from DNA sequence with hidden markov model
SNAP is a general purpose gene finding program suitable for both eukaryotic
and prokaryotic genomes. SNAP is an acroynm for Semi-HMM-based Nucleic Acid
Parser.

$ sudo snap install youtube-dl-pro
error: cannot perform the following tasks:

  • Mount snap “core22” (1748) (snap “core22” assumes unsupported features: snapd2.55.5 (try to update snapd and refresh the core snap))

$ sudo snap refresh
All snaps up to date.

$ sudo snap install youtube-dl-pro
error: cannot perform the following tasks:

  • Mount snap “core22” (1748) (snap “core22” assumes unsupported features: snapd2.55.5 (try to update snapd and refresh the core snap))
    $
2 Likes

Interesting. Those clear some uncertainties.
Looking at this, it has popped up before (see for instance here or online). There’s something funny happening with that.

(I avoid snap. Are you sure you can’t use a flatpak alternative?)

1 Like

im up for trying flatpak - how can i install this?

1 Like

Install Flatpak with sudo apt install flatpak and then setup Flathub as source with flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Then install the app that you want from Flathub.org catalog - there is a blue “Install” button that gives you the correct command (in this case, unless you want t check any of the alternatives: flatpak install flathub io.github.JaGoLi.ytdl_gui)

1 Like

It looks like you are using snapd from a standard “deb” install. Ubuntu moved to having snapd be a snap itself. That ensures that snapd is always up-to-date and newer snaps depend on that.

If you wish, you could change your snapd to be a snap. The current snapd is version 2.67.1

 snap find snapd | grep ^snapd
 snapd                                      2.67.1                        canonical**                  snapd    Daemon and tooling that enable snap packages

You would simply:

  sudo snap install snapd

You might want to do a

   snap list

both before and after.

After the snapd snap is installed you might need to uninstall the standard deb version of snapd by doing a “sudo apt remove snapd”.

All of the above should be able to be reversed (by adding back in the deb snapd … and removing the snap snapd) if there is an issue.

[Edit:

  1. yt-dlp is the now-recommended fork of youtube-dl. (It’s even recommended on the youtubedl subreddit).

  2. I would like to add that youtube-dl-pro is a proprietary application.

There are other youtube-dl applications that are distributed as snaps. They aren’t very up-to-date. The standard one is youtube-dl which is dated 2022-08-26. While it purports to be from GitHub - joedborg/youtube-dl: Command-line program to download videos from YouTube.com and other video sites … I haven’t verified that.

  1. Personally, I would rather use yt-dlp … but, even then, I haven’t verified the author of that snap, but it is purportedly Graham Morrison from Canonical. This build is dated:

    2025.01.26-8-g03c3d7057 2025-02-06 (822) 128MB

  2. Be careful of snaps where you don’t trust the authors.
    ]

3 Likes