beryx-gist / badass-runtime-example-javafx

A small JavaFX application that shows how to use the Badass Runtime Plugin
Apache License 2.0
25 stars 3 forks source link

dpkg : error processing package. #26

Closed ghost closed 3 years ago

ghost commented 3 years ago

dpkg : error processing package .

I build jpackage with ubuntu. It works smoothly on ubuntu.

But , when I install my deb file on kali linux it comes an error.

How can I solve this error?

ghost commented 3 years ago

When I install xdg-utils it comes like this.

Srijan-Sengupta commented 3 years ago

@parasuraam , you must try sudo apt install xdg-utils if it does not work, then you must :

  1. install synaptic sudo apt install synaptic
  2. open Synaptic Package Manager
  3. on the top left corner you will find search button and you will have to click on it.
  4. next search for xdg-utils next at last you will find it.
  5. click on the check box just left to the text and then on the pop-up click Mark for Installation
  6. finally, click on Apply button just in the above menu bar. this will install xdg-utils and again you have to run the installation.

if these two methods don't work, please try sudo apt install /path/to/the/package please replace /path/to/the/package with the path to the debian file with its fully classified or relative path

ghost commented 3 years ago

When I install synaptic it comes like this.

Srijan-Sengupta commented 3 years ago

Please give me your system's full details including the environment. Did you ran sudo apt install path/to/package? Where path/to/package is the absolute or relative path to the package you want to install?

On Sun, Nov 8, 2020, 4:47 AM parasuraam notifications@github.com wrote:

[image: IMG-20201107-WA0046] https://user-images.githubusercontent.com/67687893/98453267-52e06b80-217d-11eb-8321-374954977200.jpg

When I install synaptic it comes like this.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/beryx-gist/badass-runtime-example-javafx/issues/26#issuecomment-723507211, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7LWIO7Z2NPQ6WMCIB5PZLSOXIO7ANCNFSM4TNKTMFA .

Srijan-Sengupta commented 3 years ago

Hey @parasuraam Try running the command and give the output here. grep -v '#' /etc/apt/sources.list | sort -u

ghost commented 3 years ago

It comes like this.

Srijan-Sengupta commented 3 years ago

Yea! Here the problem lies! You have no repository added to the file, sources.list. So, you need to run, echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" | sudo tee /etc/apt/sources.list then,sudo apt update && sudo apt upgrade You are also recommended to restart the computer or virtualbox.. And then, follow these instructions: https://github.com/beryx-gist/badass-runtime-example-javafx/issues/26#issuecomment-723427973

For further information, see: https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/

ghost commented 3 years ago
  1. echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" | sudo tee /etc/apt/sources.list

cm1

  1. sudo apt update && sudo apt upgrade

cm2

after this completed.

I runned this .

  1. sudo apt install xdg-utils

cm3

  1. sudo apt install synaptic

cm4

Srijan-Sengupta commented 3 years ago

You must try this:

ghost commented 3 years ago

How can I find absolute path ???