GeekDaddy is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

is there a better way of install dpkg's in then dpkg -i %package% and then apt install -f?

@GeekDaddy For packages in the repo's "apt-get install %package%" works best. For non-repo packages you can use "dpkg -I %package% | grep Depends" to see what it's expecting - verify/download those with %package% and then install them all at the same time. The use of '-f' is (for me) an indication that something's gone wrong.

GeekDaddy @GeekDaddy

@wiccat that's why I'm asking if there is better way of doing that

· Web · 0 · 0

@GeekDaddy
So - it sounds like you're trying to install non-repo .deb's and fix dependencies - and that is where gdebi comes in handy:
First get gdebi:
sudo apt-get install gdebi gdebi-core
Then for each new .deb:
sudo gdebi /path/to/filename.deb
This should then be a 1-step path to resolve and fetch dependencies as needed