LinuxQuestions.org
Visit Jeremy's Blog.
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 10-17-2010, 12:26 PM   #1
zazzyman
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Rep: Reputation: 0
Unhappy sudo command dosen't work


I want to install some software using sudo apt-get command,but it dosen't work.(my network works well) how to handle it? thanks below is the output of terminal:



@ubuntu:~/Downloads$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package debhelper is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package fakeroot
E: Unable to locate package dh-make
E: Package 'debhelper' has no installation candidate
E: Unable to locate package dkms
E: Unable to locate package libqtgui4
 
Old 10-17-2010, 12:31 PM   #2
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
Does it work if you run it as root?

The error looks more like a config problem than a permissions one.
 
Old 10-18-2010, 10:19 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
Quote:
Originally Posted by zazzyman View Post
Package debhelper is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
sudo is working or apt wouldn't run.

The package doesn't seem to be in the repos in your repo list.

See here: https://help.ubuntu.com/community/Repositories/Ubuntu
 
Old 10-19-2010, 12:00 AM   #4
smturner1
Member
 
Registered: Oct 2009
Location: MI
Distribution: Arch 2.6.35
Posts: 107

Rep: Reputation: 1
Did you add the user you are currently running to wheel?

Try, as root:
gpasswd -a yourusername wheel

lol, disregard. Obviously that is not the case.

Last edited by smturner1; 10-19-2010 at 12:24 AM.
 
Old 10-19-2010, 12:32 AM   #5
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Looks like an apt-get problem, not a sudo problem. Please post the output of:

Code:
cat /etc/apt/sources.list
for us to see what's wrong with your list of repositories. It looks like the repository that debhelper and those other packages are in may either be commented out of or missing from the sources.list file.

Last edited by Kenny_Strawn; 10-19-2010 at 12:38 AM.
 
  


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
Fluxbox menu dosen't work Kanesoban Linux - Desktop 3 09-28-2007 03:28 PM
ttyS0 dosen't work under FC6 kview Linux - Hardware 1 03-11-2007 09:37 AM
Trying to get sudo to work in a .desktop icon command, under SUSE 10.1 DeekBeek Linux - Software 11 08-12-2006 09:17 PM
Help! My mouse dosen't work! shimi Linux - Hardware 1 10-24-2004 03:36 PM
some bash commands dosen't work Username[SWE] Linux - Newbie 4 04-10-2004 01:53 AM


All times are GMT -5. The time now is 01:06 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