basecamp / omakub

Opinionated Ubuntu Setup
https://omakub.org
5.52k stars 481 forks source link

The issue with installing libvips #305

Open lhpqaq opened 1 month ago

lhpqaq commented 1 month ago

I have installed all the libraries related to libvips, but they are still stuck here. By the way, is the garbled text displayed in my terminal prompt due to a missing font?

Thanks!

image

 sudo apt install libvips
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libvips is a virtual package provided by:
  libvips42 8.12.1-1build1
  libvips42t64 8.15.1-1.1build4
You should explicitly select one to install.

E: Package 'libvips' has no installation candidate
 apt list | grep libvips

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libvips-dev/noble,now 8.15.1-1.1build4 amd64 [installed]
libvips-doc/noble,now 8.15.1-1.1build4 all [installed,automatic]
libvips-tools/noble,now 8.15.1-1.1build4 amd64 [installed]
libvips42/jammy 8.12.1-1build1 amd64
libvips42t64/noble,now 8.15.1-1.1build4 amd64 [installed,automatic]
areski commented 1 month ago

I had the same issue!

lhpqaq commented 1 month ago

I had the same issue!

@areski We can delete libvips from install/terminal/libraries.sh after cloning the repository

skyscooby commented 1 month ago

Are you using a fresh installation? It's strange you'd have jammy repo packages installed on 24.04.. was it upgraded?

areski commented 1 month ago

@skyscooby I reinstalled again and it worked fine, I guess I might have done apt upgrade the first time.

davidawad commented 4 weeks ago

I had the same issue.

SOMEHOW even when libvips doesn't exist in the repository it was still getting installed, turns out you can force apt to set a preference for specific packages, that way it won't return an error code and break your omakub install.

sudo nano /etc/apt/preferences.d/libvips
Package: libvips*
Pin: release a=oracular
Pin-Priority: 1001

Then try the install again in isolation and it should work.

That eventually solved the issue, but not before wasting an hour of my life.

I hope this saves someone.