Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-10-2007, 12:25 AM
|
#1
|
Member
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308
Rep:
|
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
|
|
|
01-10-2007, 01:09 AM
|
#2
|
Member
Registered: Apr 2005
Location: Rio de Janeiro, Brazil
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83
Rep:
|
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 
|
|
|
01-10-2007, 08:41 AM
|
#3
|
Member
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|