LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2021, 02:26 AM   #1
Modler100
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
dpkg missing Linux mint. 20.1


How to install dpkg? Running dpkg --configure -a it returns dpkg not found.
 
Old 05-29-2021, 05:12 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
You need to be root.
Or, being Mint, probably use sudo.
 
Old 05-29-2021, 08:51 AM   #3
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
I cannot believe dpkg is not installed. The "not found" message probably just means it's not in the PATH for your user. To find where it is, try
Code:
whereis dpkg
Then run dpkg by its full name, e.g.
Code:
/usr/bin/dpkg --configure -a
 
Old 05-29-2021, 08:56 AM   #4
KC1DI
Member
 
Registered: Jun 2002
Location: Maine
Distribution: Kubuntu/Mint/MX
Posts: 88

Rep: Reputation: 31
The correct command should be
Code:
sudo dpkg --configure -a
 
Old 05-30-2021, 07:39 AM   #5
Modler100
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, problem solved, mint did not install properly.Reinstalling has put every thing right
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 02:50 AM
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 09:24 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 10:28 AM
dpkg: dpkg - error: PATH is not set basis1980 Linux - Software 1 12-07-2007 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration