ubuntu problems

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

ubuntu problems

Post by Charles256 »

synaptic package manager is refusing to start up...googled but I can't seem to hit the right keywords..any links?Advice?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

try using aptitude from a shell or see if adept (KDE) or ... I can't remember the name of Xfce's one.. is around.

last resort:

Code: Select all

feyd@alexis:~$ sudo apt-get remove synaptic
feyd@alexis:~$ sudo apt-get install synaptic
possibly run an apt-get check too.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

sudo: must be setuid root

also..can't seem to start a new root shell...did i unwittingly delete root user?if so,how do i fix that? :(
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

erm..beginning to suspect that this is because i recursively chmodded usr...
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

unless you did something screwy, root's password, which sudo will request on the first usage, is your user's password, by default.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

yeah,i know..but i can't get in to the root account on terminal..it's like it doesn't exit...
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You don't have to get into a root shell. Just start the shell. You should be logged in as yourself. Then you can sudo yourself into root privileges.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

whenever I try to do anything i get sudo: must be setuid root

lol..so thnking bout re-installing..again..
User avatar
akimm
Forum Contributor
Posts: 460
Joined: Thu Apr 27, 2006 10:50 am
Location: Ypsilanti Michigan, formally Clipsburgh

hmm

Post by akimm »

try

Code: Select all

sudo -H -s


it will ask for a pass just use your default.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

you can 'hack' your way into root:

Code: Select all

sudo passwd root
Post Reply