Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Installing .deb files

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
fch
Posts: 212
Joined: 2021-09-06 15:44
Has thanked: 21 times
Been thanked: 5 times

Installing .deb files

#1 Post by fch »

Hello, I need to install some .deb files but I keep getting dependencies errors, I was running

Code: Select all

sudo apt install ./file-deb
is it thebest/correct way to do it?
Here's what I need to install: https://github.com/StarLabsLtd/packages ... /Debian/11

Bulkley
Posts: 6382
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Installing .deb files

#2 Post by Bulkley »

Code: Select all

# gdebi package.deb

or

# dpkg -i package.deb
Be careful what you take from non Debian repositories. Keep an accurate record so that you can undo any damage. I suggest you do a full backup first.

fch
Posts: 212
Joined: 2021-09-06 15:44
Has thanked: 21 times
Been thanked: 5 times

Re: Installing .deb files

#3 Post by fch »

Bulkley wrote: 2022-06-17 05:42

Code: Select all

# gdebi package.deb

or

# dpkg -i package.deb
Be careful what you take from non Debian repositories. Keep an accurate record so that you can undo any damage. I suggest you do a full backup first.
Yes, I never install those packages, only those because are strictly necessary to update my firmware. I will try those, thanks a lot.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: Installing .deb files

#4 Post by sunrat »

fch wrote: 2022-06-17 05:19 Hello, I need to install some .deb files but I keep getting dependencies errors, I was running

Code: Select all

sudo apt install ./file-deb
is it thebest/correct way to do it?
apt is the best way, as root or sudo:

Code: Select all

apt install ./package.deb
Needs to be run from the same directory as the .deb file or give the full path.
Gdebi works but is not in a default install (maybe comes with some DEs but not here on mine)
dpkg works too but it won't resolve dependencies whereas apt and gdebi will.

If you are getting dependency errors, maybe they don't exist in the Debian repos you have active. No surprise if you are installing 3rd party packages. You should post the exact error messages if you want help with them.
.deb packages can be built for Ubuntu and not Debian so that's another possible nightmare.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

fch
Posts: 212
Joined: 2021-09-06 15:44
Has thanked: 21 times
Been thanked: 5 times

Re: Installing .deb files

#5 Post by fch »

I get this error:
gdebi fwupd_1.8.0+r12+g9f584a23_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
Questo pacchetto non è installabile
Dependency is not satisfiable: libc6 (>= 2.33)

I then tried installing libc6, it says already installed last version, does it mean, it requires a newer version of libc6 not in debian repos yet?

fch
Posts: 212
Joined: 2021-09-06 15:44
Has thanked: 21 times
Been thanked: 5 times

Re: Installing .deb files

#6 Post by fch »

sunrat wrote: 2022-06-17 05:57
fch wrote: 2022-06-17 05:19 Hello, I need to install some .deb files but I keep getting dependencies errors, I was running

Code: Select all

sudo apt install ./file-deb
is it thebest/correct way to do it?
apt is the best way, as root or sudo:

Code: Select all

apt install ./package.deb
Needs to be run from the same directory as the .deb file or give the full path.
Gdebi works but is not in a default install (maybe comes with some DEs but not here on mine)
dpkg works too but it won't resolve dependencies whereas apt and gdebi will.

If you are getting dependency errors, maybe they don't exist in the Debian repos you have active. No surprise if you are installing 3rd party packages. You should post the exact error messages if you want help with them.
.deb packages can be built for Ubuntu and not Debian so that's another possible nightmare.
hmm I see, I will use apt then, simpler way to doing it. Those are packages made for Debian from starlabs in order to be able to update their coreboot firmware. It wish it was already in the Debian repos.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: Installing .deb files

#7 Post by sunrat »

fch wrote: 2022-06-17 06:18 Dependency is not satisfiable: libc6 (>= 2.33)

I then tried installing libc6, it says already installed last version, does it mean, it requires a newer version of libc6 not in debian repos yet?
libc6 in Bullseye is v2.31 so yes, it is too old. libc6 is a core system file so not able to be upgraded. That file is basically not installable on Bullseye.
If you really need to update your starlabs firmware, you could use a live distro with more recent libc6.

apt or gdebi do the same thing for local files. I only suggested apt may be better as gdebi may have to be installed whereas apt is always part of a default install.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

fch
Posts: 212
Joined: 2021-09-06 15:44
Has thanked: 21 times
Been thanked: 5 times

Re: Installing .deb files

#8 Post by fch »

If you really need to update your starlabs firmware, you could use a live distro with more recent libc6
That's how I update it last time, will do that. Thanks

User avatar
NorthEast
Posts: 348
Joined: 2018-11-18 04:35
Has thanked: 12 times
Been thanked: 30 times

Re: Installing .deb files

#9 Post by NorthEast »

libc-2.33 is present in bookworm, the testing branch.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: Installing .deb files

#10 Post by sunrat »

NorthEast wrote: 2022-06-17 23:13 libc-2.33 is present in bookworm, the testing branch.
Correct. Doesn't help OP who is running Bullseye.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2020
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 138 times
Been thanked: 204 times

Re: Installing .deb files

#11 Post by Hallvor »

Is there any reason you can't use this from the repository?

fwupd-amd64-signed/stable 1.5.7+4 amd64
Tools to manage UEFI firmware updates (signed)

There are also Gnome and KDE Plasma graphical front ends.

Or an iso?
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

fch
Posts: 212
Joined: 2021-09-06 15:44
Has thanked: 21 times
Been thanked: 5 times

Re: Installing .deb files

#12 Post by fch »

Hallvor wrote: 2022-06-18 07:23 Is there any reason you can't use this from the repository?

fwupd-amd64-signed/stable 1.5.7+4 amd64
Tools to manage UEFI firmware updates (signed)

There are also Gnome and KDE Plasma graphical front ends.

Or an iso?
I do not know excatly why but it'srequired a newer version of fwupd, and flashrom in order to update it, not only newer but different somehow. With those installed, it can be done using gnome-firmware gui for example. I did it on other distros, but always with their version of fwupd, flashrom.
Maybe a techincal person can see that info here: https://github.com/StarLabsLtd/packages

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2020
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 138 times
Been thanked: 204 times

Re: Installing .deb files

#13 Post by Hallvor »

I upgrade my BIOS from an iso, as documented here: viewtopic.php?f=16&t=149682

It seems you can use either flatpak https://github.com/fwupd/fwupd/wiki/fwupd-flatpak

or snaps: https://snapcraft.io/fwupd

I don't like them much, other than a last resort; however, they are better than breaking your system with dependencies from unstable.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

fch
Posts: 212
Joined: 2021-09-06 15:44
Has thanked: 21 times
Been thanked: 5 times

Re: Installing .deb files

#14 Post by fch »

Hallvor wrote: 2022-06-18 13:19 I upgrade my BIOS from an iso, as documented here: viewtopic.php?f=16&t=149682

It seems you can use either flatpak https://github.com/fwupd/fwupd/wiki/fwupd-flatpak

or snaps: https://snapcraft.io/fwupd

I don't like them much, other than a last resort; however, they are better than breaking your system with dependencies from unstable.
It's not only a matter of having the newest version of fwupd, buttheir version of fwupd, as they have forked it: https://github.com/StarLabsLtd/fwupd
Last time I updated using an ubuntu live pendrive.
Theoretically it could also be done with a bios from an iso, but it only works with their AMI closed source version, not with the coreboot. As described here: https://support.starlabs.systems/kb/upd ... -efi-shell

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Installing .deb files

#15 Post by stevepusser »

Jeesh, why you don't inform Starlabs that they have the wrong debs for download for Bullseye? Someone there made a mistake and built the packages on Bookworm or a recent Ubuntu instead of Bullseye.

You do NOT want to attempt to upgrade libc6 on Bullseye without knowing exactly what you're doing. Don't even ask how.
MX Linux packager and developer

fch
Posts: 212
Joined: 2021-09-06 15:44
Has thanked: 21 times
Been thanked: 5 times

Re: Installing .deb files

#16 Post by fch »

stevepusser wrote: 2022-06-18 20:16 Jeesh, why you don't inform Starlabs that they have the wrong debs for download for Bullseye?
I already did it, they will be working on it. My dream is that those packages will reach debian repo one day.

User avatar
zarathustra-f90
Posts: 35
Joined: 2020-10-26 14:37
Has thanked: 19 times
Been thanked: 2 times
Contact:

Re: Installing .deb files

#17 Post by zarathustra-f90 »

You need the -f option on your command to install dependencies, i.e.

Code: Select all

sudo apt install -f ./file-deb

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: Installing .deb files

#18 Post by sunrat »

zarathustra-f90 wrote: 2022-06-24 00:37 You need the -f option on your command to install dependencies, i.e...
Why? Not saying you shouldn't, just wondering why you should. apt by itself will pull in dependencies without the -f option.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply