8

I have an issue with HEIC thumbnails.

I can open heic files via the image viewer, however, I can't get the thumbnails showing.

when I try installing heif-thumbnailer by running

sudo apt-get install heif-thumbnailer 

I get the following message:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies: heif-thumbnailer : Depends: libheif1 (= 1.9.1-1~ppa1~ubuntu20.04.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.

What can I do to fix this?

UPDATE:

It gets weirder, as I noticed:

Some HEIC files do have thumbnails, but image viewer won't open them and Some do not have thumbnails, but the image viewer will open them...

Simon B
  • 1,258

1 Answers1

11

As of September 2022 running

sudo apt-get install libheif1 heif-thumbnailer 

instantly generated thumbnails for my heic images without the need to run any commands or restart anything :-) Works like a charm :-)

flob
  • 422
  • 2
    As of April 2023 on Ubuntu 20.04.6 LTS (Focal Fossa) I confirm this worked for me :) It looks I already had libheif1 installed, probably a dependency from Image Viewer (package heif-gdk-pixbuf), then just adding heif-thumbnailer displayed all thumbails without needing any reboot or manual restart of GNOME Files :) – Gabriele Buondonno Apr 03 '23 at 11:38