How to fix failure to install and to update with manager

Asked by joel paz cavazos on 2013-09-07

I can't update with update manager because something is broken. There's a warning sign on the top right of the screen and it tells that third party repositories could be causing the problem and to command in a terminal "apt-get install-f" to what the terminal answers "invalid command". When I click on the details of the window that tells me that something is broken it tells me that there's a dependency to "linux-headers-3.2.0-4Sgeneric-pae" which is not installed. And I don't know what command I should use to fix this problem which also prevents me from installing from the ubuntu software center. I'm using ubuntu 12.04. I will appreciate your help!!!!!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2013-09-16
Last query:
2013-09-16
Last reply:
2013-09-16
Vanamali (vanamalishastry) said : #1

1. There should be a space between install and -f.
2. Try sudo apt-get check it should give a list of dependencies
On Sep 7, 2013 7:56 AM, "joel paz cavazos" <
<email address hidden>> wrote:

> New question #235296 on Ubuntu:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> I can't update with update manager because something is broken. There's a
> warning sign on the top right of the screen and it tells that third party
> repositories could be causing the problem and to command in a terminal
> "apt-get install-f" to what the terminal answers "invalid command". When I
> click on the details of the window that tells me that something is broken
> it tells me that there's a dependency to
> "linux-headers-3.2.0-4Sgeneric-pae" which is not installed. And I don't
> know what command I should use to fix this problem which also prevents me
> from installing from the ubuntu software center. I'm using ubuntu 12.04. I
> will appreciate your help!!!!!
>
> --
> You received this question notification because you are an answer
> contact for Ubuntu.
>

joel paz cavazos (jpazcavazos) said : #2

The terminal gives tje following:
command not found.
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Sat, 7 Sep 2013 03:01:27 +0000
>
> Your question #235296 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> Status: Open => Answered
>
> Vanamali proposed the following answer:
> 1. There should be a space between install and -f.
> 2. Try sudo apt-get check it should give a list of dependencies
> On Sep 7, 2013 7:56 AM, "joel paz cavazos" <
> <email address hidden>> wrote:
>
> > New question #235296 on Ubuntu:
> > https://answers.launchpad.net/ubuntu/+question/235296
> >
> > I can't update with update manager because something is broken. There's a
> > warning sign on the top right of the screen and it tells that third party
> > repositories could be causing the problem and to command in a terminal
> > "apt-get install-f" to what the terminal answers "invalid command". When I
> > click on the details of the window that tells me that something is broken
> > it tells me that there's a dependency to
> > "linux-headers-3.2.0-4Sgeneric-pae" which is not installed. And I don't
> > know what command I should use to fix this problem which also prevents me
> > from installing from the ubuntu software center. I'm using ubuntu 12.04. I
> > will appreciate your help!!!!!
> >
> > --
> > You received this question notification because you are an answer
> > contact for Ubuntu.
> >
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/235296/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> You received this question notification because you asked the question.

Vanamali (vanamalishastry) said : #3

Try disabling third party softwares in the software sources (Edit ->
Software sources -> Other software in software center)

Thomas Krüger (thkrueger) said : #4

Then you typed something wrong again.
The best way for you would be to follow this guide: https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
…and copy/paste the commands to the Terminal.

What is the full output of:

sudo apt-get update

Thanks

joel paz cavazos (jpazcavazos) said : #7

How do I insert the terminal output to the e-mail? I'm sorrry but I'm a beginner.
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Sat, 7 Sep 2013 11:31:21 +0000
>
> Your question #235296 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> actionparsnip requested more information:
> What is the full output of:
>
> sudo apt-get update
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> You received this question notification because you asked the question.

copy the text from the terminal as you expect and paste it as text as an update to:
https://answers.launchpad.net/ubuntu/+question/235296

joel paz cavazos (jpazcavazos) said : #9

Please don't give me abstract word like "as you expect". I have the terminal output on a window and the e-mail in the background and I click copy and nothing happens then I click paste and nothing happens or I get a repetetive sound and then the terminal's output disapears. Please bear with me. What am I doing wrong? Before I click copy I highlight the termianl's output. Please give me precise steps.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Sat, 7 Sep 2013 17:26:12 +0000
>
> Your question #235296 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> copy the text from the terminal as you expect and paste it as text as an update to:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> You received this question notification because you asked the question.

Please follow all the instructions in step 5 in this procedure:

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

The first lines in step 5 explain how to copy-paste from the webbrowser into the Terminal.

I quote from step 5:

"Please copy-paste the following commands one line at a time from the https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure website using Chromium or Firefox into the Linux Terminal.

Tip: If you have a wheel mouse or 3 button mouse you do not need to type commands into the Terminal. Highlight each command on the page using the mouse. Move your cursor anywhere in the Terminal and press the wheel or middle button. Automatic Copy and paste! No spelling mistakes! No Typos! No other errors! "

I went into how to use copy and paste in ubuntu and retried the easy instructions including using the keypad and found out that this feature isn't working. I had done before so I was a little confused , but now I'm sure: it's not working. So tell me if I have to ask this as another question in the launchpad or will you help me from here. I tried all the commands in step five by typing them into the terminal and none fixed the problem. One gets close: sudo apt-get -f install, explains the problem of unmet dependencies and says that it will update with proper linux headers but never finishes the process and says that there's an error, a signal (broken pipe) that doesn't permit the fix. Please tell me what's the next step. Fix the copy and paste?

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Sat, 7 Sep 2013 18:31:20 +0000
>
> Your question #235296 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested more information:
> Please follow all the instructions in step 5 in this procedure:
>
> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
>
> The first lines in step 5 explain how to copy-paste from the webbrowser
> into the Terminal.
>
> I quote from step 5:
>
> "Please copy-paste the following commands one line at a time from the
> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
> website using Chromium or Firefox into the Linux Terminal.
>
> Tip: If you have a wheel mouse or 3 button mouse you do not need to type
> commands into the Terminal. Highlight each command on the page using the
> mouse. Move your cursor anywhere in the Terminal and press the wheel or
> middle button. Automatic Copy and paste! No spelling mistakes! No Typos!
> No other errors! "
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> You received this question notification because you asked the question.

there is nothing to fix. It works.

Use your left mouse button (i assume you are a right handed person) and hold it down at the bottom of the text to copy. Move the pointer to the top of the terminal (still holding the button down) and it will select the text. If you hold the cursor at the top of the terminal output it will scroll up and select more text as if by magic.

One you get to the top you can press CTRL+SHIFT+C and copy the text. You can now return to
https://answers.launchpad.net/ubuntu/+question/235296

and paste the copied text as an update by right clicking (again I am assuming right handed user) and select paste.

Whats happening is that copy and paste aren't working.Should I ask this as a different question?

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Sat, 7 Sep 2013 17:46:06 +0000
>
> Your question #235296 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> Status: Needs information => Open
>
> You gave more information on the question:
> Please don't give me abstract word like "as you expect". I have the
> terminal output on a window and the e-mail in the background and I click
> copy and nothing happens then I click paste and nothing happens or I get
> a repetetive sound and then the terminal's output disapears. Please bear
> with me. What am I doing wrong? Before I click copy I highlight the
> termianl's output. Please give me precise steps.
>
> > To: <email address hidden>
> > From: <email address hidden>
> > Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> > Date: Sat, 7 Sep 2013 17:26:12 +0000
> >
> > Your question #235296 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/235296
> >
> > Status: Open => Needs information
> >
> > actionparsnip requested more information:
> > copy the text from the terminal as you expect and paste it as text as an update to:
> > https://answers.launchpad.net/ubuntu/+question/235296
> >
> > --
> > To answer this request for more information, you can either reply to
> > this email or enter your reply at the following page:
> > https://answers.launchpad.net/ubuntu/+question/235296
> >
> > You received this question notification because you asked the question.
>
> --
> You received this question notification because you asked the question.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Sun, 8 Sep 2013 09:41:23 +0000
>
> Your question #235296 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> there is nothing to fix. It works.
>
> Use your left mouse button (i assume you are a right handed person) and
> hold it down at the bottom of the text to copy. Move the pointer to the
> top of the terminal (still holding the button down) and it will select
> the text. If you hold the cursor at the top of the terminal output it
> will scroll up and select more text as if by magic.
>
> One you get to the top you can press CTRL+SHIFT+C and copy the text. You can now return to
> https://answers.launchpad.net/ubuntu/+question/235296
>
> and paste the copied text as an update by right clicking (again I am
> assuming right handed user) and select paste.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> You received this question notification because you asked the question.

I follow your instructions and highlight the text (I was doing that before) and press CTRL,SHIFT,C and the text returns to purple (the highlighting disappears). Now where is text copied at? I went to launchpad and rightclicked paste and I don't see the text anywhere. I want to put it in the e-mail and click paste and I see nothing. If copy and paste are working right, what am I doing wrong?

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Sun, 8 Sep 2013 09:41:23 +0000
>
> Your question #235296 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> there is nothing to fix. It works.
>
> Use your left mouse button (i assume you are a right handed person) and
> hold it down at the bottom of the text to copy. Move the pointer to the
> top of the terminal (still holding the button down) and it will select
> the text. If you hold the cursor at the top of the terminal output it
> will scroll up and select more text as if by magic.
>
> One you get to the top you can press CTRL+SHIFT+C and copy the text. You can now return to
> https://answers.launchpad.net/ubuntu/+question/235296
>
> and paste the copied text as an update by right clicking (again I am
> assuming right handed user) and select paste.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> You received this question notification because you asked the question.

Manfred Hampl (m-hampl) said : #16

You should proceeed as follows:

1. open this launchpad question document in your web browser:
https://answers.launchpad.net/ubuntu/+question/235296
If you are not yet logged in to lauchpad, press the login button in the top right corner and enter your name and password, and press enter until you have the question document on your screen, with an entry box at the end with the heading "Message:".

2. open a command line terminal window (e.g. by simultaneously pressing ctrl-alt-t)
in that terminal window enter the command

sudo apt-get install -f

When you are asked to enter your password, please do do (note that you will not see anything on screen when typing the password, no echo, not even '*' placeholders).

When the command has finished, select all output by using the terminal window's menu entry "Edit - select all"; and then copy all selected output (using "edit - copy"). Now switch to the internet browser window where you have the question document open, and paste the text into the 'Message' box by clicking in that box with the right mouse button and selecting 'Paste'.

Finally press the 'I still need help' button on the question document to post your information.

If anything in this process does not work, please provide as much information as possible about what seems to go wrong.

If the process works well, please follow step 5 in https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure and paste all output into this question document in the same way.

joelpazcavazos@ubuntu:~$ sudo apt-get -f install
[sudo] password for joelpazcavazos:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  bve-route-cross-city-south libraw5 linux-headers-2.6.38-8
  linux-headers-3.2.0-25 linux-headers-3.2.0-25-generic-pae libgexiv2-1
  linux-headers-3.0.0-12 bve-train-br-class-323-3dcab bve-train-br-class-323
  linux-headers-3.2.0-25-generic linux-headers-2.6.38-8-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-headers-3.2.0-53 linux-headers-3.2.0-53-generic-pae
  linux-headers-generic-pae
The following NEW packages will be installed:
  linux-headers-3.2.0-53 linux-headers-3.2.0-53-generic-pae
The following packages will be upgraded:
  linux-headers-generic-pae
1 upgraded, 2 newly installed, 0 to remove and 255 not upgraded.
1 not fully installed or removed.
Need to get 0 B/12,7 MB of archives.
After this operation, 67,6 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)
joelpazcavazos@ubuntu:~$

joelpazcavazos@ubuntu:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for joelpazcavazos:
joelpazcavazos@ubuntu:~$ grep proxy /etc/environment
joelpazcavazos@ubuntu:~$ echo $http_proxy

joelpazcavazos@ubuntu:~$ echo $ftp_proxy

joelpazcavazos@ubuntu:~$ grep proxy /etc/bash.bashrc
joelpazcavazos@ubuntu:~$ grep proxy ~/.bashrc
joelpazcavazos@ubuntu:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
joelpazcavazos@ubuntu:~$ sudo fuser -vvv /var/lib/dpkg/lock
joelpazcavazos@ubuntu:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
joelpazcavazos@ubuntu:~$ uname -a
Linux ubuntu 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:11:31 UTC 2013 i686 athlon i386 GNU/Linux
joelpazcavazos@ubuntu:~$ sudo rm /var/lib/apt/lists/lock
joelpazcavazos@ubuntu:~$ sudo rm /var/lib/dpkg/lock
joelpazcavazos@ubuntu:~$ sudo cp arf var/lib/dpkg /var/lib/dpkg.backup
cp: cannot stat `arf': No such file or directory
cp: cannot stat `var/lib/dpkg': No such file or directory
joelpazcavazos@ubuntu:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
joelpazcavazos@ubuntu:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
joelpazcavazos@ubuntu:~$ sudo mv var/lib/dpkg/available-old /var/lib/dpkg/available-bad
mv: cannot stat `var/lib/dpkg/available-old': No such file or directory
joelpazcavazos@ubuntu:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
joelpazcavazos@ubuntu:~$ sudo rm -rf /var/lib/dpkg/updates/*
joelpazcavazos@ubuntu:~$ sudo rm -rf /var/lib/apt/lists
joelpazcavazos@ubuntu:~$ sudo rm /var/cache/apt/*.bin
joelpazcavazos@ubuntu:~$ sudo mkdir /var/lib/apt/lists
joelpazcavazos@ubuntu:~$ sudo mkdir /var/lib/apt/lists/partial
joelpazcavazos@ubuntu:~$ LANG=C;sudo apt-get clean
joelpazcavazos@ubuntu:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
joelpazcavazos@ubuntu:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-headers-generic-pae : Depends: linux-headers-3.2.0-45-generic-pae but it is not installable
E: Unmet dependencies. Try using -f.
joelpazcavazos@ubuntu:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://mirror.hmc.edu precise Release.gpg [198 B]
Get:2 http://mirror.hmc.edu precise-updates Release.gpg [198 B]
Get:3 http://mirror.hmc.edu precise-security Release.gpg [198 B]
Get:4 http://mirror.hmc.edu precise Release [49,6 kB]
Get:5 http://mirror.hmc.edu precise-updates Release [49,6 kB]
Get:6 http://mirror.hmc.edu precise-security Release [49,6 kB]
Get:7 http://mirror.hmc.edu precise/main Sources [934 kB]
Get:8 http://mirror.hmc.edu precise/restricted Sources [5.470 B]
Get:9 http://mirror.hmc.edu precise/universe Sources [5.019 kB]
Get:10 http://mirror.hmc.edu precise/multiverse Sources [155 kB]
Get:11 http://mirror.hmc.edu precise/main i386 Packages [1.274 kB]
Get:12 http://mirror.hmc.edu precise/restricted i386 Packages [8.431 B]
Get:13 http://mirror.hmc.edu precise/universe i386 Packages [4.796 kB]
Get:14 http://mirror.hmc.edu precise/multiverse i386 Packages [121 kB]
Get:15 http://mirror.hmc.edu precise/main TranslationIndex [3.706 B]
Get:16 http://mirror.hmc.edu precise/multiverse TranslationIndex [2.676 B]
Get:17 http://mirror.hmc.edu precise/restricted TranslationIndex [2.596 B]
Get:18 http://mirror.hmc.edu precise/universe TranslationIndex [2.922 B]
Get:19 http://mirror.hmc.edu precise-updates/main Sources [416 kB]
Get:20 http://mirror.hmc.edu precise-updates/restricted Sources [7.031 B]
Get:21 http://mirror.hmc.edu precise-updates/universe Sources [95,3 kB]
Get:22 http://mirror.hmc.edu precise-updates/multiverse Sources [8.358 B]
Get:23 http://mirror.hmc.edu precise-updates/main i386 Packages [707 kB]
Get:24 http://mirror.hmc.edu precise-updates/restricted i386 Packages [11,4 kB]
Get:25 http://mirror.hmc.edu precise-updates/universe i386 Packages [219 kB]
Get:26 http://mirror.hmc.edu precise-updates/multiverse i386 Packages [14,0 kB]
Get:27 http://mirror.hmc.edu precise-updates/main TranslationIndex [3.564 B]
Get:28 http://mirror.hmc.edu precise-updates/multiverse TranslationIndex [2.605 B]
Get:29 http://mirror.hmc.edu precise-updates/restricted TranslationIndex [2.461 B]
Get:30 http://mirror.hmc.edu precise-updates/universe TranslationIndex [2.850 B]
Get:31 http://mirror.hmc.edu precise-security/main Sources [84,9 kB]
Get:32 http://mirror.hmc.edu precise-security/restricted Sources [2.494 B]
Get:33 http://mirror.hmc.edu precise-security/universe Sources [28,0 kB]
Get:34 http://mirror.hmc.edu precise-security/multiverse Sources [1.803 B]
Get:35 http://mirror.hmc.edu precise-security/main i386 Packages [331 kB]
Get:36 http://mirror.hmc.edu precise-security/restricted i386 Packages [4.620 B]
Get:37 http://mirror.hmc.edu precise-security/universe i386 Packages [84,5 kB]
Get:38 http://mirror.hmc.edu precise-security/multiverse i386 Packages [2.633 B]
Get:39 http://mirror.hmc.edu precise-security/main TranslationIndex [74 B]
Get:40 http://mirror.hmc.edu precise-security/multiverse TranslationIndex [72 B]
Get:41 http://mirror.hmc.edu precise-security/restricted TranslationIndex [72 B]
Get:42 http://mirror.hmc.edu precise-security/universe TranslationIndex [73 B]
Get:43 http://mirror.hmc.edu precise/main Translation-en [726 kB]
Get:44 http://mirror.hmc.edu precise/multiverse Translation-en [93,4 kB]
Get:45 http://mirror.hmc.edu precise/restricted Translation-en [2.395 B]
Get:46 http://mirror.hmc.edu precise/universe Translation-en [3.341 kB]
Get:47 http://mirror.hmc.edu precise-updates/main Translation-en [310 kB]
Get:48 http://mirror.hmc.edu precise-updates/multiverse Translation-en [8.064 B]
Get:49 http://mirror.hmc.edu precise-updates/restricted Translation-en [2.637 B]
Get:50 http://mirror.hmc.edu precise-updates/universe Translation-en [126 kB]
Get:51 http://mirror.hmc.edu precise-security/main Translation-en [150 kB]
Get:52 http://mirror.hmc.edu precise-security/multiverse Translation-en [1.299 B]
Get:53 http://mirror.hmc.edu precise-security/restricted Translation-en [1.253 B]
Get:54 http://mirror.hmc.edu precise-security/universe Translation-en [51,9 kB]
Fetched 19,3 MB in 39s (489 kB/s)
Reading package lists... Done
joelpazcavazos@ubuntu:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-headers-generic-pae:
 linux-headers-generic-pae depends on linux-headers-3.2.0-45-generic-pae; however:
  Package linux-headers-3.2.0-45-generic-pae is not installed.
dpkg: error processing linux-headers-generic-pae (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-generic-pae
joelpazcavazos@ubuntu:~$ sudo dpkg --clear-avail
joelpazcavazos@ubuntu:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  bve-route-cross-city-south libraw5 linux-headers-2.6.38-8
  linux-headers-3.2.0-25 linux-headers-3.2.0-25-generic-pae libgexiv2-1
  linux-headers-3.0.0-12 bve-train-br-class-323-3dcab bve-train-br-class-323
  linux-headers-3.2.0-25-generic linux-headers-2.6.38-8-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-headers-3.2.0-53 linux-headers-3.2.0-53-generic-pae
  linux-headers-generic-pae
The following NEW packages will be installed:
  linux-headers-3.2.0-53 linux-headers-3.2.0-53-generic-pae
The following packages will be upgraded:
  linux-headers-generic-pae
1 upgraded, 2 newly installed, 0 to remove and 255 not upgraded.
1 not fully installed or removed.
Need to get 12,7 MB of archives.
After this operation, 67,6 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://mirror.hmc.edu/ubuntu/ precise-updates/main linux-headers-3.2.0-53 all 3.2.0-53.81 [11,7 MB]
Get:2 http://mirror.hmc.edu/ubuntu/ precise-updates/main linux-headers-3.2.0-53-generic-pae i386 3.2.0-53.81 [974 kB]
Get:3 http://mirror.hmc.edu/ubuntu/ precise-updates/main linux-headers-generic-pae i386 3.2.0.53.63 [2.350 B]
Fetched 12,7 MB in 20s (611 kB/s)
(Reading database ... 1029425 files and directories currently installed.)
Unpacking linux-headers-3.2.0-53 (from .../linux-headers-3.2.0-53_3.2.0-53.81_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-53_3.2.0-53.81_all.deb (--unpack):
 unable to create `/usr/src/linux-headers-3.2.0-53/arch/powerpc/platforms/embedded6xx/Makefile.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-53/arch/powerpc/platforms/embedded6xx/Makefile'): No space left on device
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Unpacking linux-headers-3.2.0-53-generic-pae (from .../linux-headers-3.2.0-53-generic-pae_3.2.0-53.81_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-53-generic-pae_3.2.0-53.81_i386.deb (--unpack):
 unable to create `/usr/src/linux-headers-3.2.0-53-generic-pae/include/config/sms/sdio/drv.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-53-generic-pae/include/config/sms/sdio/drv.h'): No space left on device
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-headers-3.2.0-53_3.2.0-53.81_all.deb
 /var/cache/apt/archives/linux-headers-3.2.0-53-generic-pae_3.2.0-53.81_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
joelpazcavazos@ubuntu:~$ LANG=C:sudo apt-get --fix-missing install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
joelpazcavazos@ubuntu:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit http://mirror.hmc.edu precise Release.gpg
Hit http://mirror.hmc.edu precise-updates Release.gpg
Hit http://mirror.hmc.edu precise-security Release.gpg
Hit http://mirror.hmc.edu precise Release
Hit http://mirror.hmc.edu precise-updates Release
Hit http://mirror.hmc.edu precise-security Release
Hit http://mirror.hmc.edu precise/main Sources
Hit http://mirror.hmc.edu precise/restricted Sources
Hit http://mirror.hmc.edu precise/universe Sources
Hit http://mirror.hmc.edu precise/multiverse Sources
Hit http://mirror.hmc.edu precise/main i386 Packages
Hit http://mirror.hmc.edu precise/restricted i386 Packages
Hit http://mirror.hmc.edu precise/universe i386 Packages
Hit http://mirror.hmc.edu precise/multiverse i386 Packages
Hit http://mirror.hmc.edu precise/main TranslationIndex
Hit http://mirror.hmc.edu precise/multiverse TranslationIndex
Hit http://mirror.hmc.edu precise/restricted TranslationIndex
Hit http://mirror.hmc.edu precise/universe TranslationIndex
Hit http://mirror.hmc.edu precise-updates/main Sources
Hit http://mirror.hmc.edu precise-updates/restricted Sources
Hit http://mirror.hmc.edu precise-updates/universe Sources
Hit http://mirror.hmc.edu precise-updates/multiverse Sources
Hit http://mirror.hmc.edu precise-updates/main i386 Packages
Hit http://mirror.hmc.edu precise-updates/restricted i386 Packages
Hit http://mirror.hmc.edu precise-updates/universe i386 Packages
Hit http://mirror.hmc.edu precise-updates/multiverse i386 Packages
Hit http://mirror.hmc.edu precise-updates/main TranslationIndex
Hit http://mirror.hmc.edu precise-updates/multiverse TranslationIndex
Hit http://mirror.hmc.edu precise-updates/restricted TranslationIndex
Hit http://mirror.hmc.edu precise-updates/universe TranslationIndex
Hit http://mirror.hmc.edu precise-security/main Sources
Hit http://mirror.hmc.edu precise-security/restricted Sources
Hit http://mirror.hmc.edu precise-security/universe Sources
Hit http://mirror.hmc.edu precise-security/multiverse Sources
Hit http://mirror.hmc.edu precise-security/main i386 Packages
Hit http://mirror.hmc.edu precise-security/restricted i386 Packages
Hit http://mirror.hmc.edu precise-security/universe i386 Packages
Hit http://mirror.hmc.edu precise-security/multiverse i386 Packages
Hit http://mirror.hmc.edu precise-security/main TranslationIndex
Hit http://mirror.hmc.edu precise-security/multiverse TranslationIndex
Hit http://mirror.hmc.edu precise-security/restricted TranslationIndex
Hit http://mirror.hmc.edu precise-security/universe TranslationIndex
Hit http://mirror.hmc.edu precise/main Translation-en
Hit http://mirror.hmc.edu precise/multiverse Translation-en
Hit http://mirror.hmc.edu precise/restricted Translation-en
Hit http://mirror.hmc.edu precise/universe Translation-en
Hit http://mirror.hmc.edu precise-updates/main Translation-en
Hit http://mirror.hmc.edu precise-updates/multiverse Translation-en
Hit http://mirror.hmc.edu precise-updates/restricted Translation-en
Hit http://mirror.hmc.edu precise-updates/universe Translation-en
Hit http://mirror.hmc.edu precise-security/main Translation-en
Hit http://mirror.hmc.edu precise-security/multiverse Translation-en
Hit http://mirror.hmc.edu precise-security/restricted Translation-en
Hit http://mirror.hmc.edu precise-security/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-headers-generic-pae : Depends: linux-headers-3.2.0-45-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.
joelpazcavazos@ubuntu:~$

Thank you very much. I wasn't clicking the paste into the message box. I just need to send you the output of the last command of step 5.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Mon, 9 Sep 2013 09:51:10 +0000
>
> Your question #235296 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> You should proceeed as follows:
>
> 1. open this launchpad question document in your web browser:
> https://answers.launchpad.net/ubuntu/+question/235296
> If you are not yet logged in to lauchpad, press the login button in the top right corner and enter your name and password, and press enter until you have the question document on your screen, with an entry box at the end with the heading "Message:".
>
> 2. open a command line terminal window (e.g. by simultaneously pressing ctrl-alt-t)
> in that terminal window enter the command
>
> sudo apt-get install -f
>
> When you are asked to enter your password, please do do (note that you
> will not see anything on screen when typing the password, no echo, not
> even '*' placeholders).
>
> When the command has finished, select all output by using the terminal
> window's menu entry "Edit - select all"; and then copy all selected
> output (using "edit - copy"). Now switch to the internet browser window
> where you have the question document open, and paste the text into the
> 'Message' box by clicking in that box with the right mouse button and
> selecting 'Paste'.
>
> Finally press the 'I still need help' button on the question document to
> post your information.
>
> If anything in this process does not work, please provide as much
> information as possible about what seems to go wrong.
>
> If the process works well, please follow step 5 in
> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
> and paste all output into this question document in the same way.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/235296/+confirm?answer_id=15
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/235296
>
> You received this question notification because you asked the question.

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;joelpazcavazos@ubuntu:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://mirror.hmc.edu/ubuntu/ precise main restricted
     6 deb-src http://mirror.hmc.edu/ubuntu/ precise main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://mirror.hmc.edu/ubuntu/ precise-updates main restricted
    11 deb-src http://mirror.hmc.edu/ubuntu/ precise-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://mirror.hmc.edu/ubuntu/ precise universe
    17 deb-src http://mirror.hmc.edu/ubuntu/ precise universe
    18 deb http://mirror.hmc.edu/ubuntu/ precise-updates universe
    19 deb-src http://mirror.hmc.edu/ubuntu/ precise-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://mirror.hmc.edu/ubuntu/ precise multiverse
    27 deb-src http://mirror.hmc.edu/ubuntu/ precise multiverse
    28 deb http://mirror.hmc.edu/ubuntu/ precise-updates multiverse
    29 deb-src http://mirror.hmc.edu/ubuntu/ precise-updates multiverse
    30
    31 ## Uncomment the following two lines to add software from the 'backports'
    32 ## repository.
    33 ## N.B. software from this repository may not have been tested as
    34 ## extensively as that contained in the main release, although it includes
    35 ## newer versions of some applications which may provide useful features.
    36 ## Also, please note that software in backports WILL NOT receive any review
    37 ## or updates from the Ubuntu security team.
    38 # deb http://es.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
    39 # deb-src http://es.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
    40
    41 deb http://mirror.hmc.edu/ubuntu/ precise-security main restricted
    42 deb-src http://mirror.hmc.edu/ubuntu/ precise-security main restricted
    43 deb http://mirror.hmc.edu/ubuntu/ precise-security universe
    44 deb-src http://mirror.hmc.edu/ubuntu/ precise-security universe
    45 deb http://mirror.hmc.edu/ubuntu/ precise-security multiverse
    46 deb-src http://mirror.hmc.edu/ubuntu/ precise-security multiverse
    47
    48 ## Uncomment the following two lines to add software from Canonical's
    49 ## 'partner' repository.
    50 ## This software is not part of Ubuntu, but is offered by Canonical and the
    51 ## respective vendors as a service to Ubuntu users.
    52 # deb http://archive.canonical.com/ubuntu natty partner
    53 # deb-src http://archive.canonical.com/ubuntu natty partner
    54
    55 ## Uncomment the following two lines to add software from Ubuntu's
    56 ## 'extras' repository.
    57 ## This software is not part of Ubuntu, but is offered by third-party
    58 ## developers who want to ship their latest software.
    59 # deb http://extras.ubuntu.com/ubuntu natty main
    60 # deb-src http://extras.ubuntu.com/ubuntu natty main

/etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_muktware-ubuntu-manual_ubuntu.list

     1 # deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/muktware-ubuntu-manual/ubuntu precise main #Added by software-center; credentials stored in /etc/apt/auth.conf

/etc/apt/sources.list.d/oneiric-partner.list

     1 # deb http://archive.canonical.com/ubuntu precise partner #Added by software-center
joelpazcavazos@ubuntu:~$

Manfred Hampl (m-hampl) said : #21

Well done, copy/paste apparently worked well, and your output shows the root cause of your problems:

"No space left on device"

It seems that you are running out of free space on your root file system.

For checking the details please provide the output of the following commands by executing them in a command line terminal and then doing the copy/paste exercise into this question document as done before:

df -h
df -i
dpkg -l | grep ^linux-

Just as an additional hint: If you have a mouse with three buttons, you can copy/paste the commands also from the web page into the command line: select one of the commands on the web page by moving over it with mousebutton pressed, such that it is shown in reverse colour. Switch to the terminal window and press the middle mouse button. This should insert the text that you have selected in the other window into the command line terminal window. You then just have to press 'Enter' to execute the command.

joelpazcavazos@ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 17G 14G 1,6G 90% /
udev 1,4G 4,0K 1,4G 1% /dev
tmpfs 554M 804K 554M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 1,4G 312K 1,4G 1% /run/shm
/dev/sda3 137G 118G 20G 86% /host
joelpazcavazos@ubuntu:~$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/loop0 1073152 1067758 5394 100% /
udev 212551 468 212083 1% /dev
tmpfs 216195 399 215796 1% /run
none 216195 3 216192 1% /run/lock
none 216195 6 216189 1% /run/shm
/dev/sda3 20493128 179837 20313291 1% /host
joelpazcavazos@ubuntu:~$ dpkg -l | grep ^linux-
joelpazcavazos@ubuntu:~$

Great a Wubi install :-(

What is the output of:

dpkg -l | grep linux-image

joelpazcavazos@ubuntu:~$ dpkg -l | grep linux-image
ii linux-image-2.6.38-10-generic 2.6.38-10.46 Linux kernel image for version 2.6.38 on x86/x86_64
ii linux-image-2.6.38-11-generic 2.6.38-11.50 Linux kernel image for version 2.6.38 on x86/x86_64
ii linux-image-2.6.38-8-generic 2.6.38-8.42 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-3.0.0-12-generic 3.0.0-12.20 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-14-generic 3.0.0-14.23 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-15-generic 3.0.0-15.26 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-16-generic 3.0.0-16.29 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-17-generic 3.0.0-17.30 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.0.0-19-generic 3.0.0-19.33 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.2.0-25-generic 3.2.0-25.40 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-26-generic 3.2.0-26.41 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-27-generic 3.2.0-27.43 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-29-generic 3.2.0-29.46 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-30-generic 3.2.0-30.48 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-31-generic 3.2.0-31.50 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-32-generic 3.2.0-32.51 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-33-generic 3.2.0-33.52 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-34-generic 3.2.0-34.53 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-35-generic 3.2.0-35.55 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-36-generic 3.2.0-36.57 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-37-generic 3.2.0-37.58 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-38-generic 3.2.0-38.61 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-39-generic 3.2.0-39.62 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-40-generic 3.2.0-40.64 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-41-generic 3.2.0-41.66 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-43-generic 3.2.0-43.68 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-44-generic 3.2.0-44.69 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-45-generic 3.2.0-45.70 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic 3.2.0.45.54 Generic Linux kernel image
joelpazcavazos@ubuntu:~$

Best Manfred Hampl (m-hampl) said : #25

It seems that you have accumulated dozens of old and outdated kernel versions. Deleting (some of) them should create enough free space that your package management system works again.

Open a terminal and issue this command:

sudo dpkg -P linux-image-3.2.0-25-generic \
linux-image-3.2.0-26-generic \
linux-image-3.2.0-27-generic \
linux-image-3.2.0-29-generic \
linux-image-3.2.0-30-generic \
linux-image-3.2.0-31-generic \
linux-image-3.2.0-32-generic \
linux-image-3.2.0-33-generic \
linux-image-3.2.0-34-generic \
linux-image-3.2.0-35-generic

Then try the terminal command

sudo apt-get install -f

and copy/paste all output as done before.

I have followed your instructions a pasted the terminal's output in the launchpad. Please help.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Wed, 11 Sep 2013 05:46:08 +0000
>
> Your question #235296 on update-manager in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> It seems that you have accumulated dozens of old and outdated kernel
> versions. Deleting (some of) them should create enough free space that
> your package management system works again.
>
> Open a terminal and issue this command:
>
> sudo dpkg -P linux-image-3.2.0-25-generic \
> linux-image-3.2.0-26-generic \
> linux-image-3.2.0-27-generic \
> linux-image-3.2.0-29-generic \
> linux-image-3.2.0-30-generic \
> linux-image-3.2.0-31-generic \
> linux-image-3.2.0-32-generic \
> linux-image-3.2.0-33-generic \
> linux-image-3.2.0-34-generic \
> linux-image-3.2.0-35-generic
>
> Then try the terminal command
>
> sudo apt-get install -f
>
> and copy/paste all output as done before.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296/+confirm?answer_id=24
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> You received this question notification because you asked the question.

Manfred Hampl (m-hampl) said : #27

I cannot see any output, where did you put it?

If it has disappeared, and you cannot reconstruct it any more, please open a terminal and issue the following command:

df -h; df-i; dpkg -l | grep linux-image

then select all output, copy it and paste into the launchpad question document again (or create a reply to the e-mail that you receive, paste the output into the email text and send that e-mail back to launchpad)

joelpazcavazos@ubuntu:~$ df -h; df -i; dpkg -l | grep linux-image
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 17G 15G 1000M 94% /
udev 1,4G 4,0K 1,4G 1% /dev
tmpfs 554M 804K 554M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 1,4G 312K 1,4G 1% /run/shm
/dev/sda3 137G 121G 17G 89% /host
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/loop0 1073152 1050932 22220 98% /
udev 212551 468 212083 1% /dev
tmpfs 216195 399 215796 1% /run
none 216195 3 216192 1% /run/lock
none 216195 6 216189 1% /run/shm
/dev/sda3 17125344 180323 16945021 2% /host
ii linux-image-2.6.38-10-generic 2.6.38-10.46 Linux kernel image for version 2.6.38 on x86/x86_64
ii linux-image-2.6.38-11-generic 2.6.38-11.50 Linux kernel image for version 2.6.38 on x86/x86_64
ii linux-image-2.6.38-8-generic 2.6.38-8.42 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-3.0.0-12-generic 3.0.0-12.20 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-14-generic 3.0.0-14.23 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-15-generic 3.0.0-15.26 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-16-generic 3.0.0-16.29 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-17-generic 3.0.0-17.30 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.0.0-19-generic 3.0.0-19.33 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.2.0-35-generic 3.2.0-35.55 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-36-generic 3.2.0-36.57 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-37-generic 3.2.0-37.58 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-38-generic 3.2.0-38.61 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-39-generic 3.2.0-39.62 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-40-generic 3.2.0-40.64 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-41-generic 3.2.0-41.66 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-43-generic 3.2.0-43.68 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-44-generic 3.2.0-44.69 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-45-generic 3.2.0-45.70 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic 3.2.0.45.54 Generic Linux kernel image
joelpazcavazos@ubuntu:~$

Thank you for your patience. I have done whar you said.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Thu, 12 Sep 2013 06:51:16 +0000
>
> Your question #235296 on update-manager in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> I cannot see any output, where did you put it?
>
> If it has disappeared, and you cannot reconstruct it any more, please
> open a terminal and issue the following command:
>
> df -h; df-i; dpkg -l | grep linux-image
>
> then select all output, copy it and paste into the launchpad question
> document again (or create a reply to the e-mail that you receive, paste
> the output into the email text and send that e-mail back to launchpad)
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> You received this question notification because you asked the question.

Manfred Hampl (m-hampl) said : #30

There is progress visible, disk space usage has already lowered from 100% to 94%, but there is more cleanup that should be done.

Please open a terminal as done before and issue the command

sudo dpkg -P linux-image-2.6.38-10-generic \
linux-image-2.6.38-11-generic \
linux-image-2.6.38-8-generic \
linux-image-3.0.0-12-generic \
linux-image-3.0.0-14-generic \
linux-image-3.0.0-15-generic \
linux-image-3.0.0-16-generic \
linux-image-3.0.0-17-generic \
linux-image-3.0.0-19-generic \
linux-image-3.2.0-35-generic \
linux-image-3.2.0-36-generic \
linux-image-3.2.0-37-generic \
linux-image-3.2.0-38-generic \
linux-image-3.2.0-39-generic

Then close that terminal window and open another one.
In that new terminal issue the following command series:

sudo apt-get update;\
sudo apt-get upgrade;\
sudo apt-get autoremove;\
df -h; df-i;\
dpkg -l | grep linux-image\
dpkg -l | grep linux-header\

Then select all output and copy/paste it into this question document or into a reply e-mail.

joelpazcavazos@ubuntu:~$
joelpazcavazos@ubuntu:~$ sudo apt-get update;\
> sudo apt-get upgrade;\
> sudo apt-get autoremove;\
> df -h; df-i;\
> dpkg -l | grep linux-image\
> dpkg -l | grep linux-header\
>
[sudo] password for joelpazcavazos:
Hit http://mirror.hmc.edu precise Release.gpg
Get:1 http://mirror.hmc.edu precise-updates Release.gpg [198 B]
Hit http://mirror.hmc.edu precise-security Release.gpg
Hit http://mirror.hmc.edu precise Release
Get:2 http://mirror.hmc.edu precise-updates Release [49,6 kB]
Hit http://mirror.hmc.edu precise-security Release
Hit http://mirror.hmc.edu precise/main Sources
Hit http://mirror.hmc.edu precise/restricted Sources
Hit http://mirror.hmc.edu precise/universe Sources
Hit http://mirror.hmc.edu precise/multiverse Sources
Hit http://mirror.hmc.edu precise/main i386 Packages
Hit http://mirror.hmc.edu precise/restricted i386 Packages
Hit http://mirror.hmc.edu precise/universe i386 Packages
Hit http://mirror.hmc.edu precise/multiverse i386 Packages
Hit http://mirror.hmc.edu precise/main TranslationIndex
Hit http://mirror.hmc.edu precise/multiverse TranslationIndex
Hit http://mirror.hmc.edu precise/restricted TranslationIndex
Hit http://mirror.hmc.edu precise/universe TranslationIndex
Get:3 http://mirror.hmc.edu precise-updates/main Sources [416 kB]
Get:4 http://mirror.hmc.edu precise-updates/restricted Sources [7.031 B]
Get:5 http://mirror.hmc.edu precise-updates/universe Sources [95,7 kB]
Get:6 http://mirror.hmc.edu precise-updates/multiverse Sources [8.343 B]
Get:7 http://mirror.hmc.edu precise-updates/main i386 Packages [707 kB]
Get:8 http://mirror.hmc.edu precise-updates/restricted i386 Packages [11,4 kB]
Get:9 http://mirror.hmc.edu precise-updates/universe i386 Packages [219 kB]
Get:10 http://mirror.hmc.edu precise-updates/multiverse i386 Packages [14,0 kB]
Get:11 http://mirror.hmc.edu precise-updates/main TranslationIndex [3.564 B]
Get:12 http://mirror.hmc.edu precise-updates/multiverse TranslationIndex [2.605 B]
Get:13 http://mirror.hmc.edu precise-updates/restricted TranslationIndex [2.461 B]
Get:14 http://mirror.hmc.edu precise-updates/universe TranslationIndex [2.850 B]
Hit http://mirror.hmc.edu precise/main Translation-en
Hit http://mirror.hmc.edu precise/main Translation-es
Hit http://mirror.hmc.edu precise/multiverse Translation-en
Hit http://mirror.hmc.edu precise/multiverse Translation-es
Hit http://mirror.hmc.edu precise-security/main Sources
Hit http://mirror.hmc.edu precise-security/restricted Sources
Hit http://mirror.hmc.edu precise-security/universe Sources
Hit http://mirror.hmc.edu precise-security/multiverse Sources
Hit http://mirror.hmc.edu precise-security/main i386 Packages
Hit http://mirror.hmc.edu precise-security/restricted i386 Packages
Hit http://mirror.hmc.edu precise-security/universe i386 Packages
Hit http://mirror.hmc.edu precise-security/multiverse i386 Packages
Hit http://mirror.hmc.edu precise-security/main TranslationIndex
Hit http://mirror.hmc.edu precise-security/multiverse TranslationIndex
Hit http://mirror.hmc.edu precise-security/restricted TranslationIndex
Hit http://mirror.hmc.edu precise-security/universe TranslationIndex
Hit http://mirror.hmc.edu precise/restricted Translation-en
Hit http://mirror.hmc.edu precise/restricted Translation-es
Hit http://mirror.hmc.edu precise/universe Translation-en
Hit http://mirror.hmc.edu precise/universe Translation-es
Hit http://mirror.hmc.edu precise-updates/main Translation-en
Hit http://mirror.hmc.edu precise-updates/main Translation-es
Hit http://mirror.hmc.edu precise-updates/multiverse Translation-en
Hit http://mirror.hmc.edu precise-updates/multiverse Translation-es
Hit http://mirror.hmc.edu precise-updates/restricted Translation-en
Hit http://mirror.hmc.edu precise-updates/restricted Translation-es
Hit http://mirror.hmc.edu precise-updates/universe Translation-en
Hit http://mirror.hmc.edu precise-updates/universe Translation-es
Hit http://mirror.hmc.edu precise-security/main Translation-en
Hit http://mirror.hmc.edu precise-security/multiverse Translation-en
Hit http://mirror.hmc.edu precise-security/restricted Translation-en
Hit http://mirror.hmc.edu precise-security/universe Translation-en
Fetched 1.540 kB in 6s (242 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-headers-generic-pae : Depends: linux-headers-3.2.0-45-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-headers-generic-pae : Depends: linux-headers-3.2.0-45-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 17G 13G 2,9G 82% /
udev 1,4G 12K 1,4G 1% /dev
tmpfs 554M 808K 554M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 1,4G 312K 1,4G 1% /run/shm
/dev/sda3 137G 121G 17G 89% /host
df-i: command not found
joelpazcavazos@ubuntu:~$

I have done what you said and copied and pasted the output of the second terminal only. I greatly appreciate your help so far.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Fri, 13 Sep 2013 05:56:17 +0000
>
> Your question #235296 on update-manager in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> There is progress visible, disk space usage has already lowered from
> 100% to 94%, but there is more cleanup that should be done.
>
> Please open a terminal as done before and issue the command
>
> sudo dpkg -P linux-image-2.6.38-10-generic \
> linux-image-2.6.38-11-generic \
> linux-image-2.6.38-8-generic \
> linux-image-3.0.0-12-generic \
> linux-image-3.0.0-14-generic \
> linux-image-3.0.0-15-generic \
> linux-image-3.0.0-16-generic \
> linux-image-3.0.0-17-generic \
> linux-image-3.0.0-19-generic \
> linux-image-3.2.0-35-generic \
> linux-image-3.2.0-36-generic \
> linux-image-3.2.0-37-generic \
> linux-image-3.2.0-38-generic \
> linux-image-3.2.0-39-generic
>
> Then close that terminal window and open another one.
> In that new terminal issue the following command series:
>
> sudo apt-get update;\
> sudo apt-get upgrade;\
> sudo apt-get autoremove;\
> df -h; df-i;\
> dpkg -l | grep linux-image\
> dpkg -l | grep linux-header\
>
> Then select all output and copy/paste it into this question document or
> into a reply e-mail.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> You received this question notification because you asked the question.

try

sudo dpkg --configure -a

and then try to install what ever you want.

joelpazcavazos@ubuntu:~$ sudo dpkg --configure -a
[sudo] password for joelpazcavazos:
dpkg: dependency problems prevent configuration of linux-headers-generic-pae:
 linux-headers-generic-pae depends on linux-headers-3.2.0-45-generic-pae; however:
  Package linux-headers-3.2.0-45-generic-pae is not installed.
dpkg: error processing linux-headers-generic-pae (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-generic-pae
joelpazcavazos@ubuntu:~$

Thank you but that didn't work.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Sat, 14 Sep 2013 10:01:34 +0000
>
> Your question #235296 on update-manager in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> Status: Open => Answered
>
> Ishan A B Ambanwela proposed the following answer:
> try
>
> sudo dpkg --configure -a
>
> and then try to install what ever you want.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296/+confirm?answer_id=32
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> You received this question notification because you asked the question.

Manfred Hampl (m-hampl) said : #36

There is progress, visible, already 2,9 GB space free.
Sorry that I made a typo error in one of the commands.

Please now opern a terminal and issue the following command sequence:

dpkg -l | grep linux-image;\
dpkg -l | grep linux-header;\
sudo apt-get install -f;\
sudo apt-get update;\
sudo apt-get upgrade;\
sudo apt-get autoremove;\
df -h; df -i

joelpazcavazos@ubuntu:~$ dpkg -l | grep linux-image;\
> dpkg -l | grep linux-header;\
> sudo apt-get install -f;\
> sudo apt-get update;\
> sudo apt-get upgrade;\
> sudo apt-get autoremove;\
> df -h; df -i
ii linux-image-3.2.0-40-generic 3.2.0-40.64 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-41-generic 3.2.0-41.66 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-43-generic 3.2.0-43.68 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-44-generic 3.2.0-44.69 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-45-generic 3.2.0-45.70 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic 3.2.0.45.54 Generic Linux kernel image
ii linux-headers-2.6.38-10 2.6.38-10.46 Header files related to Linux kernel version 2.6.38
ii linux-headers-2.6.38-10-generic 2.6.38-10.46 Linux kernel headers for version 2.6.38 on x86/x86_64
ii linux-headers-2.6.38-11 2.6.38-11.50 Header files related to Linux kernel version 2.6.38
ii linux-headers-2.6.38-11-generic 2.6.38-11.50 Linux kernel headers for version 2.6.38 on x86/x86_64
ii linux-headers-2.6.38-8 2.6.38-8.42 Header files related to Linux kernel version 2.6.38
ii linux-headers-2.6.38-8-generic 2.6.38-8.42 Linux kernel headers for version 2.6.38 on x86/x86_64
ii linux-headers-3.0.0-12 3.0.0-12.20 Header files related to Linux kernel version 3.0.0
ii linux-headers-3.0.0-14 3.0.0-14.23 Header files related to Linux kernel version 3.0.0
ii linux-headers-3.0.0-15 3.0.0-15.26 Header files related to Linux kernel version 3.0.0
ii linux-headers-3.0.0-16 3.0.0-16.29 Header files related to Linux kernel version 3.0.0
ii linux-headers-3.0.0-17 3.0.0-17.30 Header files related to Linux kernel version 3.0.0
ii linux-headers-3.0.0-19 3.0.0-19.33 Header files related to Linux kernel version 3.0.0
ii linux-headers-3.0.0-19-generic 3.0.0-19.33 Linux kernel headers for version 3.0.0 on x86/x86_64
ii linux-headers-3.2.0-25 3.2.0-25.40 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-25-generic 3.2.0-25.40 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-25-generic-pae 3.2.0-25.40 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-26 3.2.0-26.41 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-26-generic 3.2.0-26.41 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-26-generic-pae 3.2.0-26.41 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-27 3.2.0-27.43 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-27-generic 3.2.0-27.43 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-27-generic-pae 3.2.0-27.43 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-29 3.2.0-29.46 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-29-generic 3.2.0-29.46 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-29-generic-pae 3.2.0-29.46 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-30 3.2.0-30.48 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-30-generic 3.2.0-30.48 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-30-generic-pae 3.2.0-30.48 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-31 3.2.0-31.50 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-31-generic 3.2.0-31.50 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-31-generic-pae 3.2.0-31.50 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-32 3.2.0-32.51 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-32-generic 3.2.0-32.51 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-32-generic-pae 3.2.0-32.51 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-33 3.2.0-33.52 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-33-generic 3.2.0-33.52 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-33-generic-pae 3.2.0-33.52 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-34 3.2.0-34.53 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-34-generic 3.2.0-34.53 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-34-generic-pae 3.2.0-34.53 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-35 3.2.0-35.55 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-35-generic 3.2.0-35.55 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-35-generic-pae 3.2.0-35.55 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-36 3.2.0-36.57 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-36-generic 3.2.0-36.57 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-36-generic-pae 3.2.0-36.57 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-37 3.2.0-37.58 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-37-generic 3.2.0-37.58 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-37-generic-pae 3.2.0-37.58 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-38 3.2.0-38.61 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-38-generic 3.2.0-38.61 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-38-generic-pae 3.2.0-38.61 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-39 3.2.0-39.62 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-39-generic 3.2.0-39.62 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-39-generic-pae 3.2.0-39.62 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-40 3.2.0-40.64 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-40-generic 3.2.0-40.64 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-40-generic-pae 3.2.0-40.64 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-41 3.2.0-41.66 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-41-generic 3.2.0-41.66 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-41-generic-pae 3.2.0-41.66 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-43 3.2.0-43.68 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-43-generic 3.2.0-43.68 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-43-generic-pae 3.2.0-43.68 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-44 3.2.0-44.69 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-44-generic 3.2.0-44.69 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-44-generic-pae 3.2.0-44.69 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-45 3.2.0-45.70 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-45-generic 3.2.0-45.70 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-53 3.2.0-53.81 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-53-generic-pae 3.2.0-53.81 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-generic 3.2.0.45.54 Generic Linux kernel headers
iU linux-headers-generic-pae 3.2.0.45.54 Generic Linux kernel headers
[sudo] password for joelpazcavazos:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  bve-route-cross-city-south libraw5 linux-headers-2.6.38-8
  linux-headers-3.2.0-25 linux-headers-3.2.0-25-generic-pae libgexiv2-1
  linux-headers-3.0.0-12 bve-train-br-class-323-3dcab bve-train-br-class-323
  linux-headers-3.2.0-25-generic linux-headers-2.6.38-8-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-headers-generic-pae
The following packages will be upgraded:
  linux-headers-generic-pae
1 upgraded, 0 newly installed, 0 to remove and 259 not upgraded.
1 not fully installed or removed.
Need to get 0 B/2.350 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: dependency problems prevent configuration of linux-headers-generic-pae:
 linux-headers-generic-pae depends on linux-headers-3.2.0-45-generic-pae; however:
  Package linux-headers-3.2.0-45-generic-pae is not installed.
dpkg: error processing linux-headers-generic-pae (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 linux-headers-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hit http://mirror.hmc.edu precise Release.gpg
Hit http://mirror.hmc.edu precise-updates Release.gpg
Hit http://mirror.hmc.edu precise-security Release.gpg
Hit http://mirror.hmc.edu precise Release
Hit http://mirror.hmc.edu precise-updates Release
Hit http://mirror.hmc.edu precise-security Release
Hit http://mirror.hmc.edu precise/main Sources
Hit http://mirror.hmc.edu precise/restricted Sources
Hit http://mirror.hmc.edu precise/universe Sources
Hit http://mirror.hmc.edu precise/multiverse Sources
Hit http://mirror.hmc.edu precise/main i386 Packages
Hit http://mirror.hmc.edu precise/restricted i386 Packages
Hit http://mirror.hmc.edu precise/universe i386 Packages
Hit http://mirror.hmc.edu precise/multiverse i386 Packages
Hit http://mirror.hmc.edu precise/main TranslationIndex
Hit http://mirror.hmc.edu precise/multiverse TranslationIndex
Hit http://mirror.hmc.edu precise/restricted TranslationIndex
Hit http://mirror.hmc.edu precise/universe TranslationIndex
Hit http://mirror.hmc.edu precise-updates/main Sources
Hit http://mirror.hmc.edu precise-updates/restricted Sources
Hit http://mirror.hmc.edu precise-updates/universe Sources
Hit http://mirror.hmc.edu precise-updates/multiverse Sources
Hit http://mirror.hmc.edu precise-updates/main i386 Packages
Hit http://mirror.hmc.edu precise-updates/restricted i386 Packages
Hit http://mirror.hmc.edu precise-updates/universe i386 Packages
Hit http://mirror.hmc.edu precise-updates/multiverse i386 Packages
Hit http://mirror.hmc.edu precise-updates/main TranslationIndex
Hit http://mirror.hmc.edu precise-updates/multiverse TranslationIndex
Hit http://mirror.hmc.edu precise-updates/restricted TranslationIndex
Hit http://mirror.hmc.edu precise-updates/universe TranslationIndex
Hit http://mirror.hmc.edu precise-security/main Sources
Hit http://mirror.hmc.edu precise-security/restricted Sources
Hit http://mirror.hmc.edu precise-security/universe Sources
Hit http://mirror.hmc.edu precise-security/multiverse Sources
Hit http://mirror.hmc.edu precise-security/main i386 Packages
Hit http://mirror.hmc.edu precise-security/restricted i386 Packages
Hit http://mirror.hmc.edu precise-security/universe i386 Packages
Hit http://mirror.hmc.edu precise-security/multiverse i386 Packages
Hit http://mirror.hmc.edu precise-security/main TranslationIndex
Hit http://mirror.hmc.edu precise-security/multiverse TranslationIndex
Hit http://mirror.hmc.edu precise-security/restricted TranslationIndex
Hit http://mirror.hmc.edu precise-security/universe TranslationIndex
Hit http://mirror.hmc.edu precise/main Translation-en
Hit http://mirror.hmc.edu precise/main Translation-es
Hit http://mirror.hmc.edu precise/multiverse Translation-en
Hit http://mirror.hmc.edu precise/multiverse Translation-es
Hit http://mirror.hmc.edu precise/restricted Translation-en
Hit http://mirror.hmc.edu precise/restricted Translation-es
Hit http://mirror.hmc.edu precise/universe Translation-en
Hit http://mirror.hmc.edu precise/universe Translation-es
Hit http://mirror.hmc.edu precise-updates/main Translation-en
Hit http://mirror.hmc.edu precise-updates/main Translation-es
Hit http://mirror.hmc.edu precise-updates/multiverse Translation-en
Hit http://mirror.hmc.edu precise-updates/multiverse Translation-es
Hit http://mirror.hmc.edu precise-updates/restricted Translation-en
Hit http://mirror.hmc.edu precise-updates/restricted Translation-es
Hit http://mirror.hmc.edu precise-updates/universe Translation-en
Hit http://mirror.hmc.edu precise-updates/universe Translation-es
Hit http://mirror.hmc.edu precise-security/main Translation-en
Hit http://mirror.hmc.edu precise-security/multiverse Translation-en
Hit http://mirror.hmc.edu precise-security/restricted Translation-en
Hit http://mirror.hmc.edu precise-security/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-headers-generic-pae : Depends: linux-headers-3.2.0-45-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-headers-generic-pae : Depends: linux-headers-3.2.0-45-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 17G 13G 2,8G 82% /
udev 1,4G 4,0K 1,4G 1% /dev
tmpfs 554M 804K 554M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 1,4G 360K 1,4G 1% /run/shm
/dev/sda3 137G 121G 17G 89% /host
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/loop0 1073152 1012491 60661 95% /
udev 212551 468 212083 1% /dev
tmpfs 216195 399 215796 1% /run
none 216195 3 216192 1% /run/lock
none 216195 7 216188 1% /run/shm
/dev/sda3 17125344 180323 16945021 2% /host
joelpazcavazos@ubuntu:~$

Dear Manfred, I can't do anything to fix this without you so I thank you for your effort. Please lets continue....

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Mon, 16 Sep 2013 05:56:19 +0000
>
> Your question #235296 on update-manager in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> There is progress, visible, already 2,9 GB space free.
> Sorry that I made a typo error in one of the commands.
>
> Please now opern a terminal and issue the following command sequence:
>
> dpkg -l | grep linux-image;\
> dpkg -l | grep linux-header;\
> sudo apt-get install -f;\
> sudo apt-get update;\
> sudo apt-get upgrade;\
> sudo apt-get autoremove;\
> df -h; df -i
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> You received this question notification because you asked the question.

Manfred Hampl (m-hampl) said : #39

try the command

sudo apt-get install linux-headers-3.2.0-45-generic-pae linux-headers-generic-pae -f

and copy/paste its output iknto this document as done before.

I'm sending the output in the launchpad and it seems that this solved the problem because the red circle with a white dash in the middle warning sign disappeared inmediately after the terminal's output finished and the update manager began to work again. I'm just waiting for it to finish to send the launchpad's final "solved". Thank you very much!!!!!!!!!!!!!!!!!!

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Mon, 16 Sep 2013 06:16:09 +0000
>
> Your question #235296 on update-manager in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> try the command
>
> sudo apt-get install linux-headers-3.2.0-45-generic-pae linux-headers-
> generic-pae -f
>
> and copy/paste its output iknto this document as done before.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> You received this question notification because you asked the question.

joelpazcavazos@ubuntu:~$ sudo apt-get install linux-headers-3.2.0-45-generic-pae linux-headers-
[sudo] password for joelpazcavazos:
Sorry, try again.
[sudo] password for joelpazcavazos:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Virtual packages like 'linux-headers' can't be removed
The following packages were automatically installed and are no longer required:
  bve-route-cross-city-south libraw5 linux-headers-2.6.38-8
  linux-headers-3.2.0-25 linux-headers-3.2.0-25-generic-pae libgexiv2-1
  linux-headers-3.0.0-12 bve-train-br-class-323-3dcab bve-train-br-class-323
  linux-headers-3.2.0-25-generic linux-headers-2.6.38-8-generic
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  linux-headers-3.2.0-45-generic-pae
0 upgraded, 1 newly installed, 0 to remove and 260 not upgraded.
1 not fully installed or removed.
Need to get 975 kB of archives.
After this operation, 11,3 MB of additional disk space will be used.
Get:1 http://mirror.hmc.edu/ubuntu/ precise-updates/main linux-headers-3.2.0-45-generic-pae i386 3.2.0-45.70 [975 kB]
Fetched 975 kB in 1s (735 kB/s)
(Reading database ... 974037 files and directories currently installed.)
Unpacking linux-headers-3.2.0-45-generic-pae (from .../linux-headers-3.2.0-45-generic-pae_3.2.0-45.70_i386.deb) ...
Setting up linux-headers-3.2.0-45-generic-pae (3.2.0-45.70) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-45-generic-pae /boot/vmlinuz-3.2.0-45-generic-pae
Setting up linux-headers-generic-pae (3.2.0.45.54) ...
joelpazcavazos@ubuntu:~$

Thanks Manfred Hampl, that solved my question.

Manfred Hampl (m-hampl) said : #43

I am happy to see that the problem has been resolved.

To prevent re-occurence of such problem (no space left on device), you should do some housekeeping activities:

I would like to recommend that whenever there is an update with installation of a new kernel and new kernel header files, you remove old and outdated kernels and kernel header packages, just keeping the most current two or three kernels, and only the newest kernel header package.

And as a start you should deinstall the outdated packages that are there on your current system. This would mean, that you should deinstall all kernel packages (linux-image-<number>-generic) with the numbers lower than 3.2.0-43, and all kernel header packages (linux-headers-<number>, linux-headers-<number>-generic, linux-headers-<number>-generic-pae) with numbers from 2.6.38-10 up to 3.2.0-44.

You can do that with software-center, or synaptic (might have to be installed with help of software center first), or by installing ubuntu-tweak from https://launchpad.net/~tualatrix/+archive/ppa ).

Just make sure, never to remove the running kernel (you can check its version number by issuing the command uname -a).

To begin with I had deinstalled around 40 applications using ubuntu software center, but because they were applications that I didn't hardly or ever use. Now I intend to follow you're housecleaning recommendation but I need to know where and how to find the information that indicates the kernel -header packages because I didn't see that in the in the software-center or I didn't know where to look. Please orient me in this.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Tue, 17 Sep 2013 06:16:17 +0000
>
> Your question #235296 on update-manager in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> Manfred Hampl posted a new comment:
> I am happy to see that the problem has been resolved.
>
> To prevent re-occurence of such problem (no space left on device), you
> should do some housekeeping activities:
>
> I would like to recommend that whenever there is an update with
> installation of a new kernel and new kernel header files, you remove old
> and outdated kernels and kernel header packages, just keeping the most
> current two or three kernels, and only the newest kernel header package.
>
> And as a start you should deinstall the outdated packages that are there
> on your current system. This would mean, that you should deinstall all
> kernel packages (linux-image-<number>-generic) with the numbers lower
> than 3.2.0-43, and all kernel header packages (linux-headers-<number>,
> linux-headers-<number>-generic, linux-headers-<number>-generic-pae) with
> numbers from 2.6.38-10 up to 3.2.0-44.
>
> You can do that with software-center, or synaptic (might have to be
> installed with help of software center first), or by installing ubuntu-
> tweak from https://launchpad.net/~tualatrix/+archive/ppa ).
>
> Just make sure, never to remove the running kernel (you can check its
> version number by issuing the command uname -a).
>
> --
> You received this question notification because you asked the question.

Bremner (paullinden) said : #45

I have exactly the same problem which mirrors yours.My device hard drive appears to be full of outdated updates I wiil endevour to follow the advice given and hopeful solve the problem

Manfred Hampl (m-hampl) said : #46

@Bremner (paullinden): Please do not piggyback on someone else's question, but create a question of your own.

Best starting point would be to follow steps 1 to 6 of https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

@ joel paz cavazos (jpazcavazos):

There are several possibilities for cleaning up outdated and obsolete packages:
One of the is installing Ubuntu-tweak and using the respective item inside that program:
Open a terminal and issue the commands:
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
Then start ubuntu-tweak and move to the tab "Janitor" and select "old kernels" and "unneeded packages"

Bremner (paullinden) said : #47

Quoting Manfred Hampl <email address hidden>:
Thank you I will certainly try that and let you know the result ,feelan dank
> Question #235296 on update-manager in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> Manfred Hampl posted a new comment:
> @Bremner (paullinden): Please do not piggyback on someone else's
> question, but create a question of your own.
>
> Best starting point would be to follow steps 1 to 6 of
> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
>
>
> @ joel paz cavazos (jpazcavazos):
>
> There are several possibilities for cleaning up outdated and obsolete packa=
> ges:
> One of the is installing Ubuntu-tweak and using the respective item inside =
> that program:
> Open a terminal and issue the commands:
> sudo add-apt-repository ppa:tualatrix/ppa
> sudo apt-get update
> sudo apt-get install ubuntu-tweak
> Then start ubuntu-tweak and move to the tab "Janitor" and select "old kerne=
> ls" and "unneeded packages"
>
> -- =
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Dear Manfred,
   My problem was solved back then thanks to your advice. I cleaned up the house with synaptic manager deleting all the linux headers and linux image headers that you indicated. I do appreciate the latest advice and will try it when needed. As for now, everything is working fine. Thank you very much for your help!!!

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #235296]: How to fix failure to install and to update with manager
> Date: Tue, 22 Oct 2013 06:46:11 +0000
>
> Your question #235296 on update-manager in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> Manfred Hampl posted a new comment:
> @Bremner (paullinden): Please do not piggyback on someone else's
> question, but create a question of your own.
>
> Best starting point would be to follow steps 1 to 6 of
> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
>
>
> @ joel paz cavazos (jpazcavazos):
>
> There are several possibilities for cleaning up outdated and obsolete packages:
> One of the is installing Ubuntu-tweak and using the respective item inside that program:
> Open a terminal and issue the commands:
> sudo add-apt-repository ppa:tualatrix/ppa
> sudo apt-get update
> sudo apt-get install ubuntu-tweak
> Then start ubuntu-tweak and move to the tab "Janitor" and select "old kernels" and "unneeded packages"
>
> --
> You received this question notification because you asked the question.

Bremner (paullinden) said : #49

Quoting Bremner <email address hidden>:
As for your comment regarding piggybacking I DID NOT I only passed a comment
stating I had the same problem and In any case if the issue has already been
addressed as in this case then it bis pointless raising it as anew question
> Question #235296 on update-manager in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235296
>
> Bremner posted a new comment:
> Quoting Manfred Hampl <email address hidden>:
> Thank you I will certainly try that and let you know the result ,feelan dank
>> Question #235296 on update-manager in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/235=
> 296
>>
>> Manfred Hampl posted a new comment:
>> @Bremner (paullinden): Please do not piggyback on someone else's
>> question, but create a question of your own.
>>
>> Best starting point would be to follow steps 1 to 6 of
>> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
>>
>>
>> @ joel paz cavazos (jpazcavazos):
>>
>> There are several possibilities for cleaning up outdated and obsolete pac=
> ka=3D
>> ges:
>> One of the is installing Ubuntu-tweak and using the respective item insid=
> e =3D
>> that program:
>> Open a terminal and issue the commands:
>> sudo add-apt-repository ppa:tualatrix/ppa
>> sudo apt-get update
>> sudo apt-get install ubuntu-tweak
>> Then start ubuntu-tweak and move to the tab "Janitor" and select "old ker=
> ne=3D
>> ls" and "unneeded packages"
>>
>> -- =3D
>>
>> You received this question notification because you are a direct
>> subscriber of the question.
>>
>
> -- =
>
> You received this question notification because you are a direct
> subscriber of the question.
>