now i cant install updates

Asked by greg white

see what you thinkgreg@greg-System-Product-Name:~$ sudo apt-get install -f
[sudo] password for greg:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
greg@greg-System-Product-Name:~$ sudo apt-get update
Ign http://au.archive.ubuntu.com oneiric InRelease
Ign http://au.archive.ubuntu.com oneiric-updates InRelease
Ign http://au.archive.ubuntu.com oneiric-backports InRelease
Hit http://au.archive.ubuntu.com oneiric Release.gpg
Hit http://au.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://au.archive.ubuntu.com oneiric-backports Release.gpg
Hit http://au.archive.ubuntu.com oneiric Release
Hit http://au.archive.ubuntu.com oneiric-updates Release
Hit http://au.archive.ubuntu.com oneiric-backports Release
Hit http://au.archive.ubuntu.com oneiric/main Sources
Hit http://au.archive.ubuntu.com oneiric/restricted Sources
Hit http://au.archive.ubuntu.com oneiric/universe Sources
Hit http://au.archive.ubuntu.com oneiric/multiverse Sources
Hit http://au.archive.ubuntu.com oneiric/main amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/main i386 Packages
Hit http://au.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://au.archive.ubuntu.com oneiric/universe i386 Packages
Hit http://au.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://au.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/main Sources
Hit http://au.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://au.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://au.archive.ubuntu.com oneiric-updates/main amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/restricted amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/universe amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/main Sources
Hit http://au.archive.ubuntu.com oneiric-backports/restricted Sources
Hit http://au.archive.ubuntu.com oneiric-backports/universe Sources
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse Sources
Hit http://au.archive.ubuntu.com oneiric-backports/main amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/restricted amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/universe amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/main i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/restricted i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/universe i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/main TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/universe TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/main Translation-en_AU
Hit http://au.archive.ubuntu.com oneiric/main Translation-en
Hit http://au.archive.ubuntu.com oneiric/multiverse Translation-en_AU
Hit http://au.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://au.archive.ubuntu.com oneiric/restricted Translation-en_AU
Hit http://au.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://au.archive.ubuntu.com oneiric/universe Translation-en
Hit http://au.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://au.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://au.archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/main Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/restricted Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/universe Translation-en
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://archive.canonical.com lucid InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Hit http://ppa.launchpad.net oneiric Release.gpg
Ign http://ppa.launchpad.net oneiric Release.gpg
Hit http://archive.canonical.com lucid Release
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://archive.canonical.com lucid/partner Sources
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric Release
Hit http://archive.canonical.com lucid/partner amd64 Packages
Hit http://archive.canonical.com lucid/partner i386 Packages
Ign http://ppa.launchpad.net oneiric Release
Ign http://archive.canonical.com lucid/partner TranslationIndex
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Err http://ppa.launchpad.net oneiric/main Sources
  404 Not Found
Err http://ppa.launchpad.net oneiric/main amd64 Packages
  404 Not Found
Err http://ppa.launchpad.net oneiric/main i386 Packages
  404 Not Found
Ign http://archive.canonical.com lucid/partner Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://archive.canonical.com lucid/partner Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
95% [Connecting to security.ubuntu.com (91.189.92.167)] [Connecting to extras.u
Err http://extras.ubuntu.com oneiric InRelease

Err http://extras.ubuntu.com oneiric Release.gpg
  Unable to connect to extras.ubuntu.com:http:
Err http://security.ubuntu.com oneiric-security InRelease

Err http://security.ubuntu.com oneiric-security Release.gpg
  Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.166 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/InRelease

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/InRelease

W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/dists/oneiric/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/dists/oneiric/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Unable to connect to extras.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.166 80]

W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
greg@greg-System-Product-Name:~$
greg@greg-System-Product-Name:~$ sudo apt-get update
Ign http://au.archive.ubuntu.com oneiric InRelease
Ign http://au.archive.ubuntu.com oneiric-updates InRelease
Ign http://au.archive.ubuntu.com oneiric-backports InRelease
Hit http://au.archive.ubuntu.com oneiric Release.gpg
Hit http://au.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://au.archive.ubuntu.com oneiric-backports Release.gpg
Hit http://au.archive.ubuntu.com oneiric Release
Hit http://au.archive.ubuntu.com oneiric-updates Release
Hit http://au.archive.ubuntu.com oneiric-backports Release
Hit http://au.archive.ubuntu.com oneiric/main Sources
Hit http://au.archive.ubuntu.com oneiric/restricted Sources
Hit http://au.archive.ubuntu.com oneiric/universe Sources
Hit http://au.archive.ubuntu.com oneiric/multiverse Sources
Hit http://au.archive.ubuntu.com oneiric/main amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/main i386 Packages
Hit http://au.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://au.archive.ubuntu.com oneiric/universe i386 Packages
Hit http://au.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://au.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/main Sources
Hit http://au.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://au.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://au.archive.ubuntu.com oneiric-updates/main amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/restricted amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/universe amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/main i386 Packages
Ign http://security.ubuntu.com oneiric-security InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Hit http://au.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Ign http://archive.canonical.com lucid InRelease
Hit http://au.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/main Sources
Hit http://au.archive.ubuntu.com oneiric-backports/restricted Sources
Hit http://au.archive.ubuntu.com oneiric-backports/universe Sources
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse Sources
Hit http://au.archive.ubuntu.com oneiric-backports/main amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/restricted amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/universe amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/main i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/restricted i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/universe i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/main TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/universe TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/main Translation-en_AU
Hit http://au.archive.ubuntu.com oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Hit http://au.archive.ubuntu.com oneiric/multiverse Translation-en_AU
Hit http://au.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://au.archive.ubuntu.com oneiric/restricted Translation-en_AU
Hit http://au.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://au.archive.ubuntu.com oneiric/universe Translation-en
Hit http://au.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://au.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security Release.gpg
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://au.archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/main Translation-en
Hit http://archive.canonical.com lucid Release.gpg
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/restricted Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/universe Translation-en
Ign http://ppa.launchpad.net oneiric InRelease
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security Release
Hit http://extras.ubuntu.com oneiric Release
Hit http://archive.canonical.com lucid Release
Hit http://ppa.launchpad.net oneiric Release.gpg
Ign http://ppa.launchpad.net oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security/main Sources
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://archive.canonical.com lucid/partner Sources
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security/restricted Sources
Hit http://security.ubuntu.com oneiric-security/universe Sources
Hit http://security.ubuntu.com oneiric-security/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/main amd64 Packages
Hit http://security.ubuntu.com oneiric-security/restricted amd64 Packages
Hit http://extras.ubuntu.com oneiric/main amd64 Packages
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.canonical.com lucid/partner amd64 Packages
Hit http://archive.canonical.com lucid/partner i386 Packages
Ign http://archive.canonical.com lucid/partner TranslationIndex
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric Release
Hit http://security.ubuntu.com oneiric-security/universe amd64 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse amd64 Packages
Hit http://security.ubuntu.com oneiric-security/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Ign http://ppa.launchpad.net oneiric Release
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en_AU
Ign http://archive.canonical.com lucid/partner Translation-en_AU
Err http://ppa.launchpad.net oneiric/main Sources
  404 Not Found
Ign http://extras.ubuntu.com oneiric/main Translation-en
Ign http://archive.canonical.com lucid/partner Translation-en
Err http://ppa.launchpad.net oneiric/main amd64 Packages
  404 Not Found
Err http://ppa.launchpad.net oneiric/main i386 Packages
  404 Not Found
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/dists/oneiric/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/dists/oneiric/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

Should do it

Revision history for this message
greg white (coffscarports) said :
#2

hi did not work this is what i get
There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Can you give the full output of the command please

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

I also suggest you run:

sudo ppa-purge ppa:mozillateam/thunderbird-stable; sudo apt-get update

That will remove the PPA you have added as it does not support Oneiric.

Revision history for this message
greg white (coffscarports) said :
#5

 is what i got
 greg@greg-System-Product-Name:~$ sudo ppa-purge ppa:mozillateam/thunderbird-stable
[sudo] password for greg:
sudo: ppa-purge: command not found
greg@greg-System-Product-Name:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

ok, then run:

sudo apt-get -y install ppa-purge

Then retry

Revision history for this message
greg white (coffscarports) said :
#7

hi andrew i did this no go ,how do i do this manualy

greg@greg-System-Product-Name:~$ sudo apt-get -y install ppa-purge
[sudo] password for greg:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
greg@greg-System-Product-Name:~$

greg

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

ok, did you run the command stated??

Revision history for this message
Sam_ (and-sam) said :
#9

> E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Please close all running package management GUIs, e.g. software-center, synaptic, update-manager.
Before proceeding the work in a terminal only, open software-sources and disable all ppa and lucid partner repos.
https://help.ubuntu.com/community/Repositories/Ubuntu#Third-Party_Software_Tab

Run from terminal:
sudo apt-get clean
sudo apt-get autoclean
sudo dpkg --configure -a

sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install

Please post complete terminal output incl. the cmd which errors out.

Revision history for this message
greg white (coffscarports) said :
#10

 hi andrew i did run the command all i get is

greg@greg-System-Product-Name:~$ sudo apt-get -y install ppa-purge
[sudo] password for greg:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
greg@greg-System-Product-Name:~$

hi sam
how do i close all these programs not 100% sure
greg

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

And does:

sudo dpkg --configure -a

Help (as the system said).

Revision history for this message
greg white (coffscarports) said :
#12

 andrew i did the command this is what came up

greg@greg-System-Product-Name:~$ sudo dpkg --configure -a
[sudo] password for greg:
Setting up samba4 (4.0.0~alpha17~git20110807.dfsg1-1ubuntu1) ...
Administrator password will be set randomly!
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Traceback (most recent call last):
  File "/usr/share/samba/setup/provision", line 256, in <module>
    useeadb=eadb, next_rid=opts.next_rid, lp=lp)
  File "/usr/lib/pymodules/python2.7/samba/provision/__init__.py", line 1602, in provision
    sitename=sitename)
  File "/usr/lib/pymodules/python2.7/samba/provision/__init__.py", line 584, in guess_names
    raise InvalidNetbiosName(netbiosname)
samba.provision.InvalidNetbiosName: The name ''GREG-SYSTEM-PRODUCT-NAME'' is not a valid NetBIOS name
dpkg: error processing samba4 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 samba4
greg@greg-System-Product-Name:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13

Can you give the output of:

apt-cache policy samba4

Why are you using samba4 anyway?

Revision history for this message
greg white (coffscarports) said :
#14

 to answer your 2nd question i didn't know i was using samba 4 , does this matter? , but dont i need samba so i can share this computer with my media centre .

hear is output
greg@greg-System-Product-Name:~$ apt-cache policy samba4
samba4:
  Installed: 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1
  Candidate: 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1
  Version table:
 *** 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 0
        100 /var/lib/dpkg/status
greg@greg-System-Product-Name:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#15

Uninstall samba4 and install samba. You more than likely do not need samba4 and the standard method of sharing folders with windows is to use the samba package. That is why it matters and is why I asked. There are special cases where samba4 is needed, yours probably isn't one of them.

Revision history for this message
greg white (coffscarports) said :
#16

hi andrew how did you go with the other problem , i can't uninstall or install anything this what i get o n the desk top

There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks.

Revision history for this message
Sam_ (and-sam) said :
#17

greg, unless you don't fix the root cause on apt please refrain from installing anything at all at the moment, this will only repeat over and over again that apt wants to see a dpkg-configure.
Or do you clean up the house before calling the police after someone breaked in?
Basically saying, don't make step 2 before step 1.

Did you disable ppa and Lucid partner repos? (the have nothing to do with Oneiric).

> how do i close all these programs not 100% sure

You should see the GUIs and just close it.

## Note, this is ugly, but never mind, apt messed up anyway.
In case run:
killall update-manager
killall aptdaemon
killall synaptic
killall software-center

Then run:
sudo apt-get purge samba4
sudo apt-get autoremove

sudo apt-get clean
sudo apt-get autoclean
sudo dpkg --configure -a

sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install

We'd like to see complete terminal output.
After any error apt will advise the cmd to apply, please apply as advised.

Revision history for this message
greg white (coffscarports) said :
#18

hi sam ,mate having trouble here ,when you say gui' s where is it, and with regards to the killall ones is that in the terminal not sure,
if it is it will not recognise them
greg

Revision history for this message
Sam_ (and-sam) said :
#19

Yep, all terminal commands.
If the killall <package> isn't recognized then they're not running.
In case you're uncertain please post output.

The GUI is the Graphical_User_Interface of an application.
For example this would be software-center when it's open.
https://help.ubuntu.com/community/UbuntuSoftwareCenter?action=AttachFile&do=get&target=Main2.png

Revision history for this message
greg white (coffscarports) said :
#20

hi sam the purge samba 4 worked i think it do you wish to remove i hit y did the others

sudo apt-get clean
sudo apt-get autoclean
sudo dpkg --configure -a

not much happened, then did sudo apt-get update ,i stopped here and this is what i got ,hope this helps
regards greg

greg@greg-System-Product-Name:~$

sudo apt-get purge samba4
[sudo] password for greg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ttf-dejavu-extra java-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  samba4*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 237365 files and directories currently installed.)
Removing samba4 ...
Purging configuration files for samba4 ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up man-db (2.6.0.2-2) ...
Updating database of manual pages ...
greg@greg-System-Product-Name:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  java-common ttf-dejavu-extra
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 7,062 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 237363 files and directories currently installed.)
Removing java-common ...
Removing ttf-dejavu-extra ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 2 removed doc-base files...
Registering documents with scrollkeeper...
Processing triggers for fontconfig ...
greg@greg-System-Product-Name:~$ sudo apt-get clean
greg@greg-System-Product-Name:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
greg@greg-System-Product-Name:~$ sudo dpkg --configure -a
greg@greg-System-Product-Name:~$ sudo apt-get update
Ign http://au.archive.ubuntu.com oneiric InRelease
Ign http://au.archive.ubuntu.com oneiric-updates InRelease
Ign http://au.archive.ubuntu.com oneiric-backports InRelease
Hit http://au.archive.ubuntu.com oneiric Release.gpg
Hit http://au.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://au.archive.ubuntu.com oneiric-backports Release.gpg
Hit http://au.archive.ubuntu.com oneiric Release
Hit http://au.archive.ubuntu.com oneiric-updates Release
Hit http://au.archive.ubuntu.com oneiric-backports Release
Hit http://au.archive.ubuntu.com oneiric/main Sources
Hit http://au.archive.ubuntu.com oneiric/restricted Sources
Hit http://au.archive.ubuntu.com oneiric/universe Sources
Hit http://au.archive.ubuntu.com oneiric/multiverse Sources
Hit http://au.archive.ubuntu.com oneiric/main amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com oneiric/main i386 Packages
Hit http://au.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://au.archive.ubuntu.com oneiric/universe i386 Packages
Hit http://au.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://au.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/main Sources
Hit http://au.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://au.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://au.archive.ubuntu.com oneiric-updates/main amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/restricted amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/universe amd64 Packages
Ign http://security.ubuntu.com oneiric-security InRelease
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/main i386 Packages
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://archive.canonical.com lucid InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Hit http://au.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://au.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/main Sources
Hit http://au.archive.ubuntu.com oneiric-backports/restricted Sources
Hit http://au.archive.ubuntu.com oneiric-backports/universe Sources
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse Sources
Hit http://au.archive.ubuntu.com oneiric-backports/main amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/restricted amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/universe amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/main i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/restricted i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/universe i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Hit http://au.archive.ubuntu.com oneiric-backports/main TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Hit http://au.archive.ubuntu.com oneiric-backports/universe TranslationIndex
Hit http://au.archive.ubuntu.com oneiric/main Translation-en_AU
Hit http://au.archive.ubuntu.com oneiric/main Translation-en
Hit http://au.archive.ubuntu.com oneiric/multiverse Translation-en_AU
Hit http://au.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://au.archive.ubuntu.com oneiric/restricted Translation-en_AU
Hit http://au.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://au.archive.ubuntu.com oneiric/universe Translation-en
Hit http://au.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://au.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://au.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security Release.gpg
Ign http://ppa.launchpad.net oneiric InRelease
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Ign http://extras.ubuntu.com oneiric InRelease
Hit http://au.archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/main Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/multiverse Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/restricted Translation-en
Hit http://au.archive.ubuntu.com oneiric-backports/universe Translation-en
Hit http://security.ubuntu.com oneiric-security Release
Hit http://ppa.launchpad.net oneiric Release.gpg
Ign http://ppa.launchpad.net oneiric Release.gpg
Hit http://archive.canonical.com lucid Release
Get:1 http://extras.ubuntu.com oneiric Release.gpg [72 B]
Hit http://security.ubuntu.com oneiric-security/main Sources
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://extras.ubuntu.com oneiric Release
Hit http://archive.canonical.com lucid/partner Sources
Hit http://security.ubuntu.com oneiric-security/restricted Sources
Hit http://security.ubuntu.com oneiric-security/universe Sources
Hit http://security.ubuntu.com oneiric-security/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/main amd64 Packages
Hit http://security.ubuntu.com oneiric-security/restricted amd64 Packages
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric Release
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://archive.canonical.com lucid/partner amd64 Packages
Hit http://archive.canonical.com lucid/partner i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe amd64 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse amd64 Packages
Hit http://security.ubuntu.com oneiric-security/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Ign http://ppa.launchpad.net oneiric Release
Hit http://extras.ubuntu.com oneiric/main amd64 Packages
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://archive.canonical.com lucid/partner TranslationIndex
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Err http://ppa.launchpad.net oneiric/main Sources
  404 Not Found
Err http://ppa.launchpad.net oneiric/main amd64 Packages
  404 Not Found
Err http://ppa.launchpad.net oneiric/main i386 Packages
  404 Not Found
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://archive.canonical.com lucid/partner Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_AU
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en_AU
Ign http://archive.canonical.com lucid/partner Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en
Fetched 72 B in 5s (12 B/s)
W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/dists/oneiric/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/dists/oneiric/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
greg@greg-System-Product-Name:~$

Revision history for this message
Sam_ (and-sam) said :
#21

You didn't disable lucid repos and ppa, they still exist as the output shows.

Hit http://archive.canonical.com lucid Release
Hit http://archive.canonical.com lucid/partner Sources
Hit http://archive.canonical.com lucid/partner amd64 Packages
Hit http://archive.canonical.com lucid/partner i386 Packages

URLs don't exist.

Err http://ppa.launchpad.net oneiric/main Sources
  404 Not Found
Err http://ppa.launchpad.net oneiric/main amd64 Packages
  404 Not Found
Err http://ppa.launchpad.net oneiric/main i386 Packages
  404 Not Found

W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/dists/oneiric/main/source/Sources 404 Not Found

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#22

ok what is the output of:

grep mozil /etc/apt/sources.list.d/*

Revision history for this message
greg white (coffscarports) said :
#23

hi andrew here is output

greg@greg-System-Product-Name:~$ grep mozil /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric.list:deb http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu oneiric main
/etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric.list:deb-src http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu oneiric main
/etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric.list.save:# deb http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu oneiric main
/etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric.list.save:# deb-src http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu oneiric main
greg@greg-System-Product-Name:~$

is that what you want
 greg

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#24

ok run:

sudo rm /etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric*; sudo apt-get update

The mozillateam PPA does't support Oneiric, hence the errors. Command will remove the PPA in the old school style and be ok.

Revision history for this message
greg white (coffscarports) said :
#25

hi andrew i think i did it correct it did not work
output is

greg@greg-System-Product-Name:~$ sudo rm /etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric*;
[sudo] password for greg:
rm: cannot remove `/etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric*': No such file or directory
greg@greg-System-Product-Name:~$

regards greg

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#26

Try:

sudo rm /etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric.list
sudo rm /etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric.list.save

Revision history for this message
greg white (coffscarports) said :
#27

hi andrew tried that

 greg@greg-System-Product-Name:~$ sudo rm /etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric.lis
[sudo] password for greg:
rm: cannot remove `/etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric.lis': No such file or directory
greg@greg-System-Product-Name:~$ sudo rm /etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric.list.save
rm: cannot remove `/etc/apt/sources.list.d/mozillateam-thunderbird-stable-oneiric.list.save': No such file or directory
greg@greg-System-Product-Name:~$

regards greg

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#28

ok, what is the output of:

ls /etc/apt/sources.list.d

Thanks

Revision history for this message
greg white (coffscarports) said :
#29

hi andrew here is output of

greg@greg-System-Product-Name:~$ ls /etc/apt/sources.list.d
ferramroberto-java-oneiric.list
ferramroberto-java-oneiric.list.save
ingalex-super-boot-manager-oneiric.list
ingalex-super-boot-manager-oneiric.list.save
n-muench-burg-oneiric.list
n-muench-burg-oneiric.list.save
greg@greg-System-Product-Name:~$

greg

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#30

Ok if you run:

sudo apt-get update

Is it smooth?

Revision history for this message
greg white (coffscarports) said :
#31

hi andrew updates are working but the add security exception is still happening, for incoming email , have to tick get certificate or cancel for it to work , but still keeps popping up.

greg

Revision history for this message
mfauzirahman (mfauzirahman) said :
#32

sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo rm -rf lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update

Can you help with this problem?

Provide an answer of your own, or ask greg white for more information if necessary.

To post a message you must log in.