LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-03-2019, 03:42 PM   #1
rooted1
LQ Newbie
 
Registered: Dec 2019
Posts: 2

Rep: Reputation: Disabled
Cant install virtualbox deb file with dpkg command


hello, i'm trying to install virtualbox with the deb package that i've downloaded from the official site. when i try to install it with dpkg command, it get's this error:

# dpkg -i virtualbox*.deb
dpkg: aviso: 'ldconfig' não foi encontrado em PATH ou não é executável
dpkg: aviso: 'start-stop-daemon' não foi encontrado em PATH ou não é executável
dpkg: erro: 2 programas esperados não foram encontrados em PATH ou não são executáveis
Nota: a PATH do root normalmente deve conter /usr/local/sbin, /usr/sbin e /sbin

i'm doing this as root.

can you help me fix this? thanks!
 
Old 12-03-2019, 04:32 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,360

Rep: Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983Reputation: 2983
"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 Could Not Be Found in PATH or Are Not Executable
Note: the root PATH should usually contain / usr / local / sbin, / usr / sbin and / sbin"

Looks like you are having a "path" issue.

See this maybe to start. https://unix.stackexchange.com/quest...-path-variable
 
Old 12-03-2019, 04:35 PM   #3
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 3,717

Rep: Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012
Check your $PATH and confirm that ldconfig and start-stop-daemon exist on your system.

You should set LANG=C before generating the errors. Not everybody can decipher Portuguese.
 
Old 12-12-2019, 11:29 AM   #4
rooted1
LQ Newbie
 
Registered: Dec 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
thanks it's solved. i just put export PATH in /root/.bashrc and it worked.
 
  


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
dpkg: parse error, in file `/var/lib/dpkg/updates/0004 contact.aprie Linux - General 2 04-17-2012 10:01 PM
[SOLVED] Broken dpkg. Empty /var/lib/dpkg/available file. Shum Debian 6 12-05-2011 10:51 PM
unpack multiple deb files with dpkg-deb? steve51184 Linux - Software 2 02-13-2011 09:48 AM
cannot do "dpkg --install pdf2djvu_0.5.11_i386.deb" centguy Ubuntu 8 08-17-2009 01:02 PM
Is there any script to reverse the process of dpkg -i file-1.1.1.deb? sunzaifa Debian 2 08-03-2004 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 AM.

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