LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-22-2019, 06:38 PM   #1
Takuman
LQ Newbie
 
Registered: Jul 2019
Posts: 2

Rep: Reputation: Disabled
dpkg -i error


I'm running Debian 10 Buster and I'm trying to install Cisco Packet Tracer on my machine. The program won't run without a certain library package. The problem is every time I try to install the package the following comes up.

root@Taku:/# dpkg -i libpng12-0_1.2.54-1ubuntu1.1_amd64.deb

dpkg: warning: 'ldconfig' not found in PATH or not executable

dpkg: warning: 'start-stop-daemon' not found in PATH or not executable

dpkg: error: 2 expected programs not found in PATH or not executable

Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
 
Old 07-22-2019, 06:53 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
Would it not be better for you to find a Debian 10 version of the library rather than trying to install a Ubuntu package, which expects a Ubuntu-based ecosystem, on a Debian system?
 
Old 07-22-2019, 10:07 PM   #3
Takuman
LQ Newbie
 
Registered: Jul 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Would it not be better for you to find a Debian 10 version of the library rather than trying to install a Ubuntu package, which expects a Ubuntu-based ecosystem, on a Debian system?
So i did that, and it gave me the same error.
 
Old 07-22-2019, 10:13 PM   #4
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora, Alpine, Cirros, OpenSuse/SLES
Posts: 3,445

Rep: Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902
Quote:
Originally Posted by Takuman View Post
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
The next steps: Check root's PATH, check whether ldconfig and start-stop-daemon exist on your system and are executable.

If your PATH is incorrect, it's easy to fix. If the two tools are not on your system, you have to find out how to install them.

While I don't know that much about Devian, I have a Ubuntu 18.04 system here:
Code:
$ type ldconfig
ldconfig is hashed (/sbin/ldconfig)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ubuntu 'dpkg--configure-a' E: dpkg was interrupted error Mountain Man 77 Linux - Newbie 8 02-21-2015 10:59 PM
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 02:50 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 10:28 AM
apt-get dpkg error 5%dpkg akhund_bilal Debian 15 02-10-2010 06:13 AM
dpkg: dpkg - error: PATH is not set basis1980 Linux - Software 1 12-07-2007 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration