You are not logged in.

#1 2024-08-02 12:06:08

pinkuw
Member
Registered: 2024-08-02
Posts: 1

I can't use dpkg --list

When I tried to enter command "dpkg --list" then returns nothing.
I installed this package but it doesn't work. Also I used dpkg --help, write the command and it didn't work.
What I need to do?
I used sudo

Offline

#2 2024-08-02 12:16:07

ayekat
Member
Registered: 2011-01-17
Posts: 1,632

Re: I can't use dpkg --list

Hi pinkuw, welcome to the Arch Linux forums!

pinkuw wrote:

When I tried to enter command "dpkg --list" then returns nothing.

That is because that command lists packages known to dpkg (i.e. locally installed DEB packages). On an Arch Linux system (which uses a different package manager, pacman), that command consequently doesn't return anything.

If it does, then something is very wrong.


pkgshackscfgblag

Offline

#3 2024-08-02 12:16:20

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,534
Website

Re: I can't use dpkg --list

What are you expecting to see with that command? Why are you using dpkg at all?

Mod note: not a forum/wiki issue, moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2024-08-02 12:17:53

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,534
Website

Offline

#5 2024-08-02 12:39:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: I can't use dpkg --list

pinkuw wrote:

When I tried to enter command "dpkg --list" then returns nothing.

As others have noted this is expected - you don't have deb package installed.

pinkuw wrote:

I used dpkg --help, write the command and it didn't work.

What do you mean it didn't work?  Did it not print anything to the screen?  That would be odd.  If this is the case, please post the output of each of the following:

type dpkg
pacman -Qkk dpkg
pinkuw wrote:

I used sudo

Don't!  If a command fails do not just add "sudo" - that will end very badly.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB