LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-10-2007, 12:25 AM   #1
impeteperry
Member
 
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308
Blog Entries: 1

Rep: Reputation: 31
Can't use adept or synaptic


I have been running Kubuntu 6.10 since it was released.

As of today, when I try to access adept I get a long "read only message". so I tried synaptic and got:
Quote:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

and when I try to do as indicated I get:
Quote:
pete@newCompaq:~$ su dpkg --configure -a
su: unrecognized option `--configure'
Usage: su [options] [login]

Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login make the shell a login shell
-m, -p,
--preserve-environment do not reset environment variables, and keep
the same shell
-s, --shell SHELL use SHELL instead of the default in passwd
pete@newCompaq:~$
I turned my computer off, unpluged it for a minute or so, repluged it and got the same messages.

I need help.
thanks
 
Old 01-10-2007, 01:09 AM   #2
nitrousoxide82
Member
 
Registered: Apr 2005
Location: Rio de Janeiro, Brazil
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83

Rep: Reputation: 17
su is not the correct command to do this, it's sudo not su. su means "switch user", and as in, su username switches to user username. su with no argument switches to root (and may require a password). sudo command executes command as another user (root by default, may require password) -- and that's what you want to do there:
Code:
sudo dpkg --configure -a
Hope this helps
 
Old 01-10-2007, 08:41 AM   #3
impeteperry
Member
 
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Thanks, I've only been using Ubuntu/Kubuntu for a year or so. I just did not think. I just copied the message.

Thanks again.
 
  


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
Error with Adept: cannot commit changes-problem with synaptic install jude254 Linux - Software 5 10-12-2007 06:10 PM
Unable to upgrade via Adept or Synaptic cayman MEPIS 3 08-23-2006 09:39 AM
adept manager lizzy Ubuntu 4 07-27-2006 09:41 PM
Synaptic Gui ver on Suse 10.0 - error message : "command synaptic not found" suse2166 Linux - Newbie 6 04-04-2006 01:58 AM
Adept messed up Optiker Ubuntu 3 02-28-2006 04:12 PM

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

All times are GMT -5. The time now is 05:19 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
Open Source Consulting | Domain Registration