problems with superuser

Asked by Hermann

Hi, I'm having a few problems trying to update my copy of 6.1.
Had a look through several threads on "updates" and "superuser" and have not got too far. (Still new at linux)

Anyway, below is what I've gone through so far.

Any help would be appreciated.

Cheers, Hermann

Could not upgrade the system!
Fix broken packages first.

Software index is broken
It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first.

smee@dell-desktop:~$ sudo apt-get install -f
Password:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem

smee@dell-desktop:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege

smee@dell-desktop:~$ sudo apt-get update
Get:1 http://archive.ubuntu.com edgy Release.gpg [191B]
Get:2 http://security.ubuntu.com edgy-security Release.gpg [191B]
Ign http://archive.ubuntu.com edgy/main Translation-en_US
Ign http://security.ubuntu.com edgy-security/main Translation-en_US
Ign http://archive.ubuntu.com edgy/universe Translation-en_US
Ign http://security.ubuntu.com edgy-security/universe Translation-en_US
Get:3 http://archive.ubuntu.com edgy-updates Release.gpg [191B]
Get:4 http://security.ubuntu.com edgy-security Release [50.9kB]
Ign http://archive.ubuntu.com edgy-updates/main Translation-en_US
Ign http://archive.ubuntu.com edgy-updates/universe Translation-en_US
Get:5 http://archive.ubuntu.com edgy Release [34.7kB]
Get:6 http://security.ubuntu.com edgy-security/main Packages [62.1kB]
Get:7 http://archive.ubuntu.com edgy-updates Release [38.4kB]
Get:8 http://security.ubuntu.com edgy-security/universe Packages [31.9kB]
Get:9 http://archive.ubuntu.com edgy/main Packages [940kB]
Get:10 http://archive.ubuntu.com edgy/universe Packages [3559kB]
Get:11 http://archive.ubuntu.com edgy-updates/main Packages [64.0kB]
Get:12 http://archive.ubuntu.com edgy-updates/universe Packages [10.7kB]
Fetched 4791kB in 1m55s (41.4kB/s)
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

smee@dell-desktop:~$ sudo -i
root@dell-desktop:~# sudo apt-get install -f
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

root@dell-desktop:~# dpkg --configure -a
Setting up libsmbclient (3.0.22-1ubuntu4.1) ...
Setting up samba-common (3.0.22-1ubuntu4.1) ...

Setting up smbclient (3.0.22-1ubuntu4.1) ...
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.17-11-generic; however:
  Package linux-image-2.6.17-11-generic is not installed.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-generic

Revision history for this message
Paolo Sammicheli (xdatap1) said :
#1

this depends on bug solved 2/3 days ago. Try again with:

$ sudo apt-get update
$ sudo apt-get upgrade

If you get more error let me know.

Revision history for this message
Best Hermann (compumann) said :
#2

Thanks very much Paolo,
Cheers, Hermann

Revision history for this message
Eldratu (joessoned) said :
#3

eldratu@eldratu-desktop:~$ sudo apt-get update
Get:1 http://security.ubuntu.com feisty-security Release.gpg [191B]
Ign http://security.ubuntu.com feisty-security/main Translation-en_US
Ign http://security.ubuntu.com feisty-security/restricted Translation-en_US
Get:2 http://us.archive.ubuntu.com feisty Release.gpg [191B]
Ign http://us.archive.ubuntu.com feisty/main Translation-en_US
Ign http://security.ubuntu.com feisty-security/universe Translation-en_US
Hit http://security.ubuntu.com feisty-security Release
Ign http://us.archive.ubuntu.com feisty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com feisty/universe Translation-en_US
Get:3 http://us.archive.ubuntu.com feisty-updates Release.gpg [191B]
Ign http://us.archive.ubuntu.com feisty-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com feisty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com feisty-updates/universe Translation-en_US
Hit http://us.archive.ubuntu.com feisty Release
Hit http://us.archive.ubuntu.com feisty-updates Release
Hit http://security.ubuntu.com feisty-security/main Packages
Hit http://security.ubuntu.com feisty-security/restricted Packages
Hit http://security.ubuntu.com feisty-security/main Sources
Hit http://security.ubuntu.com feisty-security/restricted Sources
Hit http://us.archive.ubuntu.com feisty/main Packages
Hit http://us.archive.ubuntu.com feisty/restricted Packages
Hit http://us.archive.ubuntu.com feisty/main Sources
Hit http://security.ubuntu.com feisty-security/universe Packages
Hit http://us.archive.ubuntu.com feisty/restricted Sources
Hit http://us.archive.ubuntu.com feisty/universe Packages
Hit http://us.archive.ubuntu.com feisty-updates/main Packages
Hit http://us.archive.ubuntu.com feisty-updates/restricted Packages
Hit http://us.archive.ubuntu.com feisty-updates/main Sources
Hit http://us.archive.ubuntu.com feisty-updates/restricted Sources
Hit http://us.archive.ubuntu.com feisty-updates/universe Packages
Fetched 3B in 1s (2B/s)
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

Try to do Sudo login and that is success but
eldratu@eldratu-desktop:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege
eldratu@eldratu-desktop:~$ sudo login
eldratu-desktop login: eldratu
Password:
Last login: Wed Jun 6 13:53:30 2007 on pts/1
Linux eldratu-desktop 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
eldratu@eldratu-desktop:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege

Revision history for this message
jtown (jtown) said :
#4

I have the same probleme

it happens all over whenever you try and change ANYTHING

Revision history for this message
Drew (panic-button-deactivatedaccount) said :
#5

is this right?

andrew@jack:~$ sudo apt-get install -f
[sudo] password for andrew:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
andrew@jack:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege
andrew@jack:~$ sudo apt-get update
Hit http://nz.archive.ubuntu.com hardy Release.gpg
Ign http://nz.archive.ubuntu.com hardy/main Translation-en_NZ
Ign http://nz.archive.ubuntu.com hardy/restricted Translation-en_NZ
Ign http://nz.archive.ubuntu.com hardy/universe Translation-en_NZ
Ign http://nz.archive.ubuntu.com hardy/multiverse Translation-en_NZ
Hit http://nz.archive.ubuntu.com hardy-updates Release.gpg
Ign http://nz.archive.ubuntu.com hardy-updates/main Translation-en_NZ
Ign http://nz.archive.ubuntu.com hardy-updates/restricted Translation-en_NZ
Ign http://nz.archive.ubuntu.com hardy-updates/universe Translation-en_NZ
Ign http://nz.archive.ubuntu.com hardy-updates/multiverse Translation-en_NZ
Hit http://nz.archive.ubuntu.com hardy Release
Hit http://nz.archive.ubuntu.com hardy-updates Release
Hit http://nz.archive.ubuntu.com hardy/main Packages
Hit http://nz.archive.ubuntu.com hardy/restricted Packages
Hit http://nz.archive.ubuntu.com hardy/main Sources
Hit http://nz.archive.ubuntu.com hardy/restricted Sources
Hit http://nz.archive.ubuntu.com hardy/universe Packages
Hit http://nz.archive.ubuntu.com hardy/universe Sources
Hit http://nz.archive.ubuntu.com hardy/multiverse Packages
Hit http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-en_NZ
Hit http://nz.archive.ubuntu.com hardy/multiverse Sources
Hit http://packages.medibuntu.org hardy Release.gpg
Ign http://packages.medibuntu.org hardy/free Translation-en_NZ
Hit http://nz.archive.ubuntu.com hardy-updates/main Packages
Hit http://nz.archive.ubuntu.com hardy-updates/restricted Packages
Hit http://nz.archive.ubuntu.com hardy-updates/main Sources
Hit http://nz.archive.ubuntu.com hardy-updates/restricted Sources
Hit http://nz.archive.ubuntu.com hardy-updates/universe Packages
Hit http://nz.archive.ubuntu.com hardy-updates/universe Sources
Hit http://nz.archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://nz.archive.ubuntu.com hardy-updates/multiverse Sources
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_NZ
Ign http://security.ubuntu.com hardy-security/universe Translation-en_NZ
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_NZ
Hit http://security.ubuntu.com hardy-security Release
Ign http://packages.medibuntu.org hardy/non-free Translation-en_NZ
Hit http://packages.medibuntu.org hardy Release
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://packages.medibuntu.org hardy/free Packages
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://packages.medibuntu.org hardy/non-free Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
andrew@jack:~$ sudo -i
root@jack:~# sudo apt-get install -f
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@jack:~# dpkg --configure -a
Setting up java-common (0.28ubuntu3) ...

Setting up odbcinst1debian1 (2.2.11-16build1) ...

Setting up unixodbc (2.2.11-16build1) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

@Andrew

Please don't append a new question on a already answered or marked as solved question.
Please make new question from here: https://answers.launchpad.net/ubuntu/+addquestion
you will get better chance to get right answer on a fresh tagged "open" question.
Solved or answered questions are usually not read from answering people.

Thank you