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
.deb file doesnt run
.deb file doesnt run
I downloaded an executable .deb app. Instead of running it, Archive manager opens it so it wont install.
I'm using MATE
in Virtualbox, I tried it in 3 different 'buntu flavors and it ran normally once I double clicked it.
I'm using MATE
in Virtualbox, I tried it in 3 different 'buntu flavors and it ran normally once I double clicked it.
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: .deb file doesnt run
Perhaps the easiest way to install a .deb is to first install gdebi
As Root
Then RIGHT click on the downloaded file and choose Install with Gdebi
You might look at 8.7 Installing external “.deb” packages on https://lescahiersdudebutant.arpinux.or ... b-packages
As Root
Code: Select all
apt install gdebi
You might look at 8.7 Installing external “.deb” packages on https://lescahiersdudebutant.arpinux.or ... b-packages
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: .deb file doesnt run
Note that apt(8) can install .deb packages by itself:
Code: Select all
# apt install /full/path/to/example.deb
deadbang
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: .deb file doesnt run
Any dependencies will be automatically installed with apt(8).metreo wrote:is there any difference to using apt instead of dpkg?
deadbang
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: .deb file doesnt run
If any dependencies are unsatisfied after installing a .deb with dpkg then all that is needed to install them is the command I posted above.
deadbang
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: .deb file doesnt run
BIG BIG difference is that apt checks if dependencies can be satisfied first, and will stop if they can't. Gdebi and other GUI installers work pretty much the same.
Dpkg doesn't check at all, and will happily try to install incompatible debs, such as those from unstable or Ubuntu, and get halfway before failing, leaving you to manually clean up the mess. Not my cuppa.
Dpkg doesn't check at all, and will happily try to install incompatible debs, such as those from unstable or Ubuntu, and get halfway before failing, leaving you to manually clean up the mess. Not my cuppa.
MX Linux packager and developer
Re: .deb file doesnt run
I think dpkg is better for doing system analysis regarding dependencies and how to modify them though?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: .deb file doesnt run
Running 'apt install -f' will "clean up the mess" and remove the incompatible package.stevepusser wrote:Dpkg doesn't check at all, and will happily try to install incompatible debs, such as those from unstable or Ubuntu, and get halfway before failing, leaving you to manually clean up the mess.
dpkg(1) can be useful when the dependency chain is b0rked because it's a lower-level tool than APT: https://www.debian.org/doc/manuals/debi ... kg_commandmetreo wrote:I think dpkg is better for doing system analysis regarding dependencies and how to modify them though?
deadbang