.deb file installed, but dpkg -L library says it's not installed
up vote
0
down vote
favorite
I installed ballerina programming laguage by following this . I installed this by .deb file. Now when I run ballerina -v
from anywhere it outputs the version correctly.
I need to configure a VSCode plugin, which needs the path. But the path I entered by getting executed the command which ballerina
, doesn't work (gives error as that's not the correct path). Then I tried to see where I installed the package from .deb file by following this, I'm getting an error like this.
dpkg-query: package 'ballerina-platform-linux-installer-x64-0.975.1.deb' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents
Why's that ? How can I get the exact path I installed the above package ?
dpkg
add a comment |
up vote
0
down vote
favorite
I installed ballerina programming laguage by following this . I installed this by .deb file. Now when I run ballerina -v
from anywhere it outputs the version correctly.
I need to configure a VSCode plugin, which needs the path. But the path I entered by getting executed the command which ballerina
, doesn't work (gives error as that's not the correct path). Then I tried to see where I installed the package from .deb file by following this, I'm getting an error like this.
dpkg-query: package 'ballerina-platform-linux-installer-x64-0.975.1.deb' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents
Why's that ? How can I get the exact path I installed the above package ?
dpkg
4
dpkg -L
's argument should be the package's name, not the deb file's. Rundpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
to get the package name, and rundpkg -L
with that.
– muru
Jul 11 at 5:41
1
@muru Good as an answer
– Sergiy Kolodyazhnyy
Jul 11 at 5:52
@SergiyKolodyazhnyy I have a feeling this will immediately segue into the actual problem with this plugin.
– muru
Jul 11 at 5:53
@muru thanks. That worked. Didn't know about it. Then the first answer with most votes in here is wrong right ? He has mentioned to rundpkg -L library.deb
– Pankaja Paranavitharana
Jul 11 at 5:58
1
@PankajaParanavitharana that would be wrong, yes.
– muru
Jul 11 at 6:01
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I installed ballerina programming laguage by following this . I installed this by .deb file. Now when I run ballerina -v
from anywhere it outputs the version correctly.
I need to configure a VSCode plugin, which needs the path. But the path I entered by getting executed the command which ballerina
, doesn't work (gives error as that's not the correct path). Then I tried to see where I installed the package from .deb file by following this, I'm getting an error like this.
dpkg-query: package 'ballerina-platform-linux-installer-x64-0.975.1.deb' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents
Why's that ? How can I get the exact path I installed the above package ?
dpkg
I installed ballerina programming laguage by following this . I installed this by .deb file. Now when I run ballerina -v
from anywhere it outputs the version correctly.
I need to configure a VSCode plugin, which needs the path. But the path I entered by getting executed the command which ballerina
, doesn't work (gives error as that's not the correct path). Then I tried to see where I installed the package from .deb file by following this, I'm getting an error like this.
dpkg-query: package 'ballerina-platform-linux-installer-x64-0.975.1.deb' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents
Why's that ? How can I get the exact path I installed the above package ?
dpkg
dpkg
asked Jul 11 at 5:37
Pankaja Paranavitharana
1351517
1351517
4
dpkg -L
's argument should be the package's name, not the deb file's. Rundpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
to get the package name, and rundpkg -L
with that.
– muru
Jul 11 at 5:41
1
@muru Good as an answer
– Sergiy Kolodyazhnyy
Jul 11 at 5:52
@SergiyKolodyazhnyy I have a feeling this will immediately segue into the actual problem with this plugin.
– muru
Jul 11 at 5:53
@muru thanks. That worked. Didn't know about it. Then the first answer with most votes in here is wrong right ? He has mentioned to rundpkg -L library.deb
– Pankaja Paranavitharana
Jul 11 at 5:58
1
@PankajaParanavitharana that would be wrong, yes.
– muru
Jul 11 at 6:01
add a comment |
4
dpkg -L
's argument should be the package's name, not the deb file's. Rundpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
to get the package name, and rundpkg -L
with that.
– muru
Jul 11 at 5:41
1
@muru Good as an answer
– Sergiy Kolodyazhnyy
Jul 11 at 5:52
@SergiyKolodyazhnyy I have a feeling this will immediately segue into the actual problem with this plugin.
– muru
Jul 11 at 5:53
@muru thanks. That worked. Didn't know about it. Then the first answer with most votes in here is wrong right ? He has mentioned to rundpkg -L library.deb
– Pankaja Paranavitharana
Jul 11 at 5:58
1
@PankajaParanavitharana that would be wrong, yes.
– muru
Jul 11 at 6:01
4
4
dpkg -L
's argument should be the package's name, not the deb file's. Run dpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
to get the package name, and run dpkg -L
with that.– muru
Jul 11 at 5:41
dpkg -L
's argument should be the package's name, not the deb file's. Run dpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
to get the package name, and run dpkg -L
with that.– muru
Jul 11 at 5:41
1
1
@muru Good as an answer
– Sergiy Kolodyazhnyy
Jul 11 at 5:52
@muru Good as an answer
– Sergiy Kolodyazhnyy
Jul 11 at 5:52
@SergiyKolodyazhnyy I have a feeling this will immediately segue into the actual problem with this plugin.
– muru
Jul 11 at 5:53
@SergiyKolodyazhnyy I have a feeling this will immediately segue into the actual problem with this plugin.
– muru
Jul 11 at 5:53
@muru thanks. That worked. Didn't know about it. Then the first answer with most votes in here is wrong right ? He has mentioned to run
dpkg -L library.deb
– Pankaja Paranavitharana
Jul 11 at 5:58
@muru thanks. That worked. Didn't know about it. Then the first answer with most votes in here is wrong right ? He has mentioned to run
dpkg -L library.deb
– Pankaja Paranavitharana
Jul 11 at 5:58
1
1
@PankajaParanavitharana that would be wrong, yes.
– muru
Jul 11 at 6:01
@PankajaParanavitharana that would be wrong, yes.
– muru
Jul 11 at 6:01
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
dpkg -L
's argument should be the package's name, not the deb file's (which can be named anything and have no actual relation to the package metadata).
To get the package name:
dpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
and run dpkg -L
with that package name.
Of course, if the deb file you have is the one you installed, you can inspect it directly:
dpkg --contents ballerina-platform-linux-installer-x64-0.975.1.deb
Use the package name and dpkg -L
if the deb file you have is of a different version from the one you have installed, and this method if both are the same version.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
dpkg -L
's argument should be the package's name, not the deb file's (which can be named anything and have no actual relation to the package metadata).
To get the package name:
dpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
and run dpkg -L
with that package name.
Of course, if the deb file you have is the one you installed, you can inspect it directly:
dpkg --contents ballerina-platform-linux-installer-x64-0.975.1.deb
Use the package name and dpkg -L
if the deb file you have is of a different version from the one you have installed, and this method if both are the same version.
add a comment |
up vote
0
down vote
dpkg -L
's argument should be the package's name, not the deb file's (which can be named anything and have no actual relation to the package metadata).
To get the package name:
dpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
and run dpkg -L
with that package name.
Of course, if the deb file you have is the one you installed, you can inspect it directly:
dpkg --contents ballerina-platform-linux-installer-x64-0.975.1.deb
Use the package name and dpkg -L
if the deb file you have is of a different version from the one you have installed, and this method if both are the same version.
add a comment |
up vote
0
down vote
up vote
0
down vote
dpkg -L
's argument should be the package's name, not the deb file's (which can be named anything and have no actual relation to the package metadata).
To get the package name:
dpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
and run dpkg -L
with that package name.
Of course, if the deb file you have is the one you installed, you can inspect it directly:
dpkg --contents ballerina-platform-linux-installer-x64-0.975.1.deb
Use the package name and dpkg -L
if the deb file you have is of a different version from the one you have installed, and this method if both are the same version.
dpkg -L
's argument should be the package's name, not the deb file's (which can be named anything and have no actual relation to the package metadata).
To get the package name:
dpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
and run dpkg -L
with that package name.
Of course, if the deb file you have is the one you installed, you can inspect it directly:
dpkg --contents ballerina-platform-linux-installer-x64-0.975.1.deb
Use the package name and dpkg -L
if the deb file you have is of a different version from the one you have installed, and this method if both are the same version.
edited Nov 26 at 4:15
answered Jul 12 at 4:34
muru
134k19285484
134k19285484
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1054089%2fdeb-file-installed-but-dpkg-l-library-says-its-not-installed%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
dpkg -L
's argument should be the package's name, not the deb file's. Rundpkg --info ballerina-platform-linux-installer-x64-0.975.1.deb | grep Package
to get the package name, and rundpkg -L
with that.– muru
Jul 11 at 5:41
1
@muru Good as an answer
– Sergiy Kolodyazhnyy
Jul 11 at 5:52
@SergiyKolodyazhnyy I have a feeling this will immediately segue into the actual problem with this plugin.
– muru
Jul 11 at 5:53
@muru thanks. That worked. Didn't know about it. Then the first answer with most votes in here is wrong right ? He has mentioned to run
dpkg -L library.deb
– Pankaja Paranavitharana
Jul 11 at 5:58
1
@PankajaParanavitharana that would be wrong, yes.
– muru
Jul 11 at 6:01