-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libjpeg62-turbo on Ubuntu 22.04 is not available #37
Comments
Hey, |
hey there, I'm running Armbian 23.02.2 Jammy with Linux 5.15.93-sunxi and I'm having the same problem, cannot finish installing of companion app 'cause of that, the app keeps telling me to install it, even without being able to install this damn package |
@mkuf I think we need to further look i to the package installation |
Well, i just removed it from the installation dependencies install part and got it up and running without problems, but, i'm not a supporter, so i'm not using the thing it enables |
You'd probably want some flow control in that script that checks the OS and uses the correct installer to install a specific set of packages for that System. function install_packages {
source /etc/os-release
case ${ID} in
arch)
pacman -S package1 package2-foo
;;
debian)
apt update
apt install package1 package2-turbo
;;
ubuntu)
apt update
apt install package1 package2-bar
;;
rhel|fedora|centos)
yum install package1 package2
;;
*)
echo "Unsupported Operating System detected, exiting."
exit 1
;;
}
sudo install_packages alternatively, you may create install scripts for each platform,like klipper does. Or, to save yourself the hassle just use the docker image. But I might be a bit biased in that regard 😄 |
Thanks! I will probably push the changes tomorrow and test the installation script on different containers 😊 |
Hi. I was just wondering if this is fixed or not. I was getting this error last week and I just want to know if I should try again. I need this because I want to install this on my Home Assistant server to be the central point for all the printers. |
Hey, |
@simpat1zq @Antunes43 @lettore, |
I'm getting this error now. This is on Debian. Package libjpeg8-dev is not available, but is referred to by another package. E: Package 'libjpeg8-dev' has no installation candidate Here are a list of libjpeg options when I do autocomplete on apt install: hass@Home: |
Also, I just tried it out on my Ubuntu box, and it seems to work just fine there. So this seems to be something with Debian. |
Hello,
I tried to install the companion on my printer running on Ubuntu but I had to change the name of a package from libjpeg62-turbo to libjpeg62 because it wasn't found in any repositories.
Not totally sure if everything will work, I receive the notification through.
The text was updated successfully, but these errors were encountered: