Update manager is broken
When tryjng to upadte software i get the above nessage use sudo apt-get install -f in terminal when I do Iget the followinfpaul@
> y
#[sudo] password for paul:
Sorry, try again.
[sudo] password for paul:
dpkg: warning: there's no installed package matching linux-image-
paul@paul-AOA110:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-generic-pae linux-headers-
linux-
linux-
Suggested packages:
fdutils linux-doc-3.2.0 linux-source-3.2.0 linux-tools
The following packages will be REMOVED
linux-
The following NEW packages will be installed
linux-
linux-
The following packages will be upgraded:
linux-generic-pae linux-headers-
3 upgraded, 3 newly installed, 1 to remove and 165 not upgraded.
4 not fully installed or removed.
Need to get 0 B/51.0 MB of archives.
After this operation, 181 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
linux-
linux-
linux-
Install these packages without verification [y/N]? Y
dpkg: warning: there's no installed package matching linux-headers-
(Reading database ...
dpkg: warning: files list file for package `linux-
(Reading database ... 441546 files and directories currently installed.)
Unpacking linux-image-
Done.
dpkg: error processing /var/cache/
unable to create `/lib/modules/
No apport report written because the error message indicates a disk full error
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Unpacking linux-headers-
dpkg: error processing /var/cache/
unable to create `/usr/src/
No apport report written because the error message indicates a disk full error
Unpacking linux-headers-
dpkg: error processing /var/cache/
unable to create `/usr/src/
No apport report written because the error message indicates a disk full error
Errors were encountered while processing:
/var/cache/
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
pI know other people have simillar problems but there sollutions have failed to rectify my problem
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bremner
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Your Terminal output shows the following issue:
asm/netlogic/
No apport report written because the error message indicates a disk full error
So your disk is full. You need to clean it up.
What is the output of these commands?
df -h
ls -lart /boot
Revision history for this message
|
#3 |
I suggest running this command to clean up the old kernels in your /boot directory:
dpkg -l 'linux-*' | grep -v libc| sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*
Please copy it as 1 single command, or else it will NOT work. The command starts with dpkg and ends with purge.
Then execute this procedure, which should fix any remaining issues:
https:/
Revision history for this message
|
#4 |
paul@paul-AOA110:~$ dpkg -l 'linux-*' | grep -v libc| sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*
[sudo] password for paul:
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-generic-pae : Depends: linux-image-
linux-
linux-
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution I Will try to run apt-get install to see if this rectifys the problem
Revision history for this message
|
#5 |
paul@paul-AOA110:~$ sudo apt-get install -f
[sudo] password for paul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-generic-pae linux-headers-
linux-
linux-
Suggested packages:
fdutils linux-doc-3.2.0 linux-source-3.2.0 linux-tools
The following packages will be REMOVED
linux-
The following NEW packages will be installed
linux-
linux-
The following packages will be upgraded:
linux-generic-pae linux-headers-
3 upgraded, 3 newly installed, 1 to remove and 165 not upgraded.
4 not fully installed or removed.
Need to get 0 B/51.0 MB of archives.
After this operation, 181 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: warning: there's no installed package matching linux-headers-
(Reading database ...
dpkg: warning: files list file for package `linux-
(Reading database ... 441546 files and directories currently installed.)
Unpacking linux-image-
Done.
dpkg: error processing /var/cache/
unable to create `/lib/modules/
No apport report written because the error message indicates a disk full error
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Unpacking linux-headers-
dpkg: error processing /var/cache/
unable to create `/usr/src/
No apport report written because the error message indicates a disk full error
Unpacking linux-headers-
dpkg: error processing /var/cache/
unable to create `/usr/src/
No apport report written because the error message indicates a disk full error
Errors were encountered while processing:
/var/cache/
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
paul@paul-
Revision history for this message
|
#6 |
That's because your harddisk is still full.
Because my kernel removal script did not work on your system.
Try running these commands:
sudo apt-get clean
sudo apt-get autoclean
Then open Ubuntu Software Center or Synaptic.
In Ubuntu Software Center, search for "linux-image" .
Select all the kernels that are older than the one you are currently using.
Uninstall these old kernels.
Then execute this procedure, which should fix any remaining issues:
https:/
I have NO further suggestions.
If you do not free up disk space (by uninstalling the older Linux kernels), your package manager issues will obviously NOT go away....
This is NOT a package manager issue, but simply a disk space issue.
Revision history for this message
|
#7 |
Quoting Mark Rijckenberg <email address hidden>:I agree
and will
try your suggestions but something is broken because synaptic and also the
ubuntu package site will not work, I may have to reload the system.
> Your question #238057 on Ubuntu changed:
> https:/
>
> Status: Open =3D> Answered
>
> Mark Rijckenberg proposed the following answer:
> That's because your harddisk is still full.
>
> Because my kernel removal script did not work on your system.
>
> Try running these commands:
>
> sudo apt-get clean
>
> sudo apt-get autoclean
>
> Then open Ubuntu Software Center or Synaptic.
>
> In Ubuntu Software Center, search for "linux-image" .
>
> Select all the kernels that are older than the one you are currently
> using.
>
> Uninstall these old kernels.
>
> Then execute this procedure, which should fix any remaining issues:
>
> https:/
>
> I have NO further suggestions.
>
> If you do not free up disk space (by uninstalling the older Linux
> kernels), your package manager issues will obviously NOT go away....
>
> This is NOT a package manager issue, but simply a disk space issue.
>
> -- =
>
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#8 |
Did you check out this procedure that I already gave you (see post #6) ?
Step 9 explains how to attempt to fix Ubuntu Software Center....
But you can only attempt to fix the Ubuntu Software Center AFTER you have cleaned up enough disk space.
Revision history for this message
|
#9 |
ricted universe multiverse
38
39 deb http://
40 deb-src http://
41 deb http://
42 deb-src http://
43 deb http://
44 deb-src http://
45
46 ## Uncomment the following two lines to add software from Canonical's
47 ## 'partner' repository.
48 ## This software is not part of Ubuntu, but is offered by Canonical and the
49 ## respective vendors as a service to Ubuntu users.
50 # deb http://
51 # deb-src http://
52
53 ## This software is not part of Ubuntu, but is offered by third-party
54 ## developers who want to ship their latest software.
55 # deb http://
56 deb http://
57 # deb-src http://
/etc/apt/
1 # deb http://
THE PROBLEM REMAINS UNSOLVED I CAN NOT REMOVE OLD KERNELS AND REPOSITORIES I HAVE NO ALTERNATIVE OTHER THAN TO RELOAD THE SYSTEM HOWEVER BECAUSE THE HARD DRIVE IS ONLY 8GB I FEEL IF IS A WASTE OF TIME AS THE SAME PROBLEM IS ONLY GOING TO RE OCCUR IN FUTURE
Revision history for this message
|
#10 |
Quoting Bremner <email address hidden>:I think the 8gb hard
drive on this computer is to small to handle and cope with this system,
> Your question #238057 on Ubuntu changed:
> https:/
>
> Status: Answered =3D> Open
>
> You are still having a problem:
> Quoting Mark Rijckenberg <email address hidden>:I agree =
>
> and will
> try your suggestions but something is broken because synaptic and also the
> ubuntu package site will not work, I may have to reload the system.
>
>> Your question #238057 on Ubuntu changed:
>> https:/
>>
>> Status: Open =3D3D> Answered
>>
>> Mark Rijckenberg proposed the following answer:
>> That's because your harddisk is still full.
>>
>> Because my kernel removal script did not work on your system.
>>
>> Try running these commands:
>>
>> sudo apt-get clean
>>
>> sudo apt-get autoclean
>>
>> Then open Ubuntu Software Center or Synaptic.
>>
>> In Ubuntu Software Center, search for "linux-image" .
>>
>> Select all the kernels that are older than the one you are currently
>> using.
>>
>> Uninstall these old kernels.
>>
>> Then execute this procedure, which should fix any remaining issues:
>>
>> https:/
>>
>> I have NO further suggestions.
>>
>> If you do not free up disk space (by uninstalling the older Linux
>> kernels), your package manager issues will obviously NOT go away....
>>
>> This is NOT a package manager issue, but simply a disk space issue.
>>
>> -- =3D
>>
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https:/
> =3D3D5
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https:/
>>
>> You received this question notification because you asked the question.
>>
>
> -- =
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#11 |
'E:Could not open file /var/lib/
Revision history for this message
|
#12 |
Please provide the output of the following commands:
df -h
df -i
ls -l /var/lib/dpkg/
ls /boot
sudo fdisk -l
Revision history for this message
|
#13 |
sudo fdisk -paul@paul-
df-h: command not found
paul@paul-AOA110:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.0G 5.8G 855M 88% /
udev 235M 4.0K 235M 1% /dev
tmpfs 97M 804K 96M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 242M 352K 242M 1% /run/shm
paul@paul-AOA110:~$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda1 460560 460552 8 100% /
udev 60012 475 59537 1% /dev
tmpfs 61839 379 61460 1% /run
none 61839 3 61836 1% /run/lock
none 61839 8 61831 1% /run/shm
paul@paul-AOA110:~$ ls -l /var/lib/dpkg
total 4636
drwxr-xr-x 2 root root 4096 Sep 18 16:21 alternatives
-rw-r--r-- 1 root root 0 Oct 27 20:09 available
-rw-r--r-- 1 root root 1445483 Oct 27 16:19 available-bad
-rw-r--r-- 1 root root 8 Aug 17 2012 cmethopt
-rw-r--r-- 1 root root 1160 Aug 18 23:11 diversions
-rw-r--r-- 1 root root 1206 Aug 18 23:08 diversions-old
drwxr-xr-x 2 root root 270336 Oct 27 16:19 info
-rw-r----- 1 root root 0 Oct 27 20:09 lock
drwxr-xr-x 2 root root 4096 Apr 13 2012 parts
-rw-r--r-- 1 root root 135 Aug 17 2012 statoverride
-rw-r--r-- 1 root root 1498387 Oct 27 16:19 status-bad
-rw-r--r-- 1 root root 1498387 Oct 27 16:19 status-old
drwxr-xr-x 2 root root 4096 Sep 14 13:34 triggers
drwxr-xr-x 2 root root 4096 Oct 27 16:19 updates
paul@paul-AOA110:~$ ls /boot
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
abi-3.2.
config-
config-
config-
config-
config-
config-
config-
config-
config-
config-
config-
config-
config-
config-
config-
grub vmlinuz-
initrd.
initrd.
initrd.
initrd.
initrd.
initrd.
initrd.
initrd.
paul@paul-AOA110:~$ sudo fdisk -l
[sudo] password for paul:
Disk /dev/sda: 8069 MB, 8069677056 bytes
255 heads, 63 sectors/track, 981 cylinders, total 15761088 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c2d58
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 14737407 7367680 83 Linux
/dev/sda2 14739454 15759359 509953 5 Extended
/dev/sda5 14739456 15759359 509952 82 Linux swap / Solaris
paul@paul-AOA110:~$
HOPE THIS WILL HELP
Revision history for this message
|
#14 |
ok, I think I see what you have to do to recover your system:
open a terminal and issue the following commands:
sudo mv /var/lib/
sudo dpkg -P \
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
Then please copy/paste the output back into this question document that we can verify the outcome.
Revision history for this message
|
#15 |
Quoting Manfred Hampl <email address hidden>:
Should I issue these commans one at a time or can I copy and paste then
emblock
> Your question #238057 on Ubuntu changed:
> https:/
>
> Status: Open =3D> Answered
>
> Manfred Hampl proposed the following answer:
> ok, I think I see what you have to do to recover your system:
>
> open a terminal and issue the following commands:
>
> sudo mv /var/lib/
> sudo dpkg -P \
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
>
> Then please copy/paste the output back into this question document that
> we can verify the outcome.
>
> -- =
>
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
> 13
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#16 |
Please do the first command (sudo mv...) first.
Then you can do the rest (sudo dpkg ... -generic-pae) at once.
Just a hint:
If you mark the command text with pressed mouse button that it is shown in reverse colour, and then switch to the terminal window and press the middle mouse button, this should paste the selected text into the terminal.
Revision history for this message
|
#17 |
Quoting Manfred Hampl <email address hidden>:ok thank
you I will
let u know the results
> Your question #238057 on Ubuntu changed:
> https:/
>
> Status: Open =3D> Answered
>
> Manfred Hampl proposed the following answer:
> Please do the first command (sudo mv...) first.
>
> Then you can do the rest (sudo dpkg ... -generic-pae) at once.
>
> Just a hint:
> If you mark the command text with pressed mouse button that it is shown in =
> reverse colour, and then switch to the terminal window and press the middle=
> mouse button, this should paste the selected text into the terminal.
>
> -- =
>
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
> 15
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#18 |
^[[A^[[A^[[A
paul@paul-AOA110:~$
paul@paul-AOA110:~$
paul@paul-AOA110:~$
paul@paul-AOA110:~$
paul@paul-AOA110:~$ ls -l /var/lib/dpkg
total 4636
drwxr-xr-x 2 root root 4096 Sep 18 16:21 alternatives
-rw-r--r-- 1 root root 0 Oct 27 20:09 available
-rw-r--r-- 1 root root 1445483 Oct 27 16:19 available-bad
-rw-r--r-- 1 root root 8 Aug 17 2012 cmethopt
-rw-r--r-- 1 root root 1160 Aug 18 23:11 diversions
-rw-r--r-- 1 root root 1206 Aug 18 23:08 diversions-old
drwxr-xr-x 2 root root 270336 Oct 27 16:19 info
-rw-r----- 1 root root 0 Oct 27 20:09 lock
drwxr-xr-x 2 root root 4096 Apr 13 2012 parts
-rw-r--r-- 1 root root 135 Aug 17 2012 statoverride
-rw-r--r-- 1 root root 1498387 Oct 27 16:19 status-bad
-rw-r--r-- 1 root root 1498387 Oct 27 16:19 status-old
drwxr-xr-x 2 root root 4096 Sep 14 13:34 triggers
drwxr-xr-x 2 root root 4096 Oct 27 16:19 updates
paul@paul-AOA110:~$ sudo mv /var/lib/
[sudo] password for paul:
paul@paul-AOA110:~$ sudo dpkg -P \
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
> linux-image-
(Reading database ...
dpkg: warning: files list file for package `linux-
(Reading database ... 441548 files and directories currently installed.)
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
MANFRED PLEASE FIND ABOVE RESULTS
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Revision history for this message
|
#19 |
That looks good! Several old and outdated kernel versions have been removed, and that should have freed anough space on the hard disk that the system will be able to operate normally again. Still there is some more work to do to complete the cleanup activities. I guess there is another 1 GB of space occupied by outdated package versions.
Please open a terminal and execute the following commands (one by one):
sudo apt-get update
sudo apt-get install -f
sudo apt-get upgrade
sudo apt-get dist-upgrade
dpkg -l | grep linux-headers
dpkg -l | grep linux-image
df -h
df -i
then copy/paste all output into this question document as done before.
Revision history for this message
|
#20 |
paul@paul-AOA110:~$ sudo apt-get update
[sudo] password for paul:
Hit http://
Get:1 http://
Hit http://
Get:2 http://
Get:3 http://
Hit http://
Get:4 http://
Get:5 http://
Hit http://
Get:6 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:7 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:16 http://
Get:17 http://
Get:18 http://
Hit http://
Hit http://
Get:19 http://
Hit http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:35 http://
Fetched 2,436 kB in 11s (215 kB/s) paul@paul-AOA110:~$ sudo apt-get update
[sudo] password for paul:
Hit http://
Get:1 http://
Hit http://
Get:2 http://
Get:3 http://
Hit http://
Get:4 http://
Get:5 http://
Hit http://
Get:6 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:7 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:16 http://
Get:17 http://
Get:18 http://
Hit http://
Hit http://
Get:19 http://
Hit http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:35 http://
Fetched 2,436 kB in 11s (215 kB/s)
Reading package lists... Done
paul@paul-AOA110:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-generic-pae linux-headers-
The following packages will be REMOVED
linux-
The following packages will be upgraded:
linux-generic-pae linux-headers-
3 upgraded, 0 newly installed, 1 to remove and 165 not upgraded.
5 not fully installed or removed.
Need to get 0 B/6,250 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: warning: there's no installed package matching linux-headers-
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
dpkg: error processing linux-image-
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
linux-
Package linux-headers-
dpkg: error processing linux-headers-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-pae:
linux-generic-pae depends on linux-image-
Version of linux-image-
linux-generic-pae depends on linux-headers-
Package linux-headers-
dpkg: error processing linux-generic-pae (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image:
linux-image depends on linux-image-
Version of linux-image-
dpkg: error processingNo apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-
linux-
linux-generic-pae
linux-image
E: Sub-process /usr/bin/dpkg returned an error code (1
Revision history for this message
|
#21 |
paul@paul-AOA110:~$ sudo apt-get upgrade
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-generic-pae : Depends: linux-image-
linux-
linux-image : Depends: linux-image-
linux-
E: Unmet dependencies. Try using -f.
Revision history for this message
|
#22 |
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
linux-generic-pae : Depends: linux-image-
linux-
linux-image : Depends: linux-image-
linux-
E: Unmet dependencies. Try using -f
Revision history for this message
|
#23 |
dpkg -l | grep linux-headers
is not installed
linux-image : Depends: linux-image-
linux-
E: Unmet dependencies. Try using -f.
paul@paul-AOA110:~$ sudo apt-get dist-upgrade
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-generic-pae : Depends: linux-image-
linux-
linux-image : Depends: linux-image-
linux-
E: Unmet dependencies. Try using -f.
paul@paul-AOA110:~$ dpkg -l | grep linux-headers
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
iH linux-headers-
ii linux-headers-
ii linux-headers-
iU linux-headers-
Revision history for this message
|
#24 |
iU linux-image 3.2.0.56.66 Generic Linux kernel image.
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
iU linux-image-
p
Revision history for this message
|
#25 |
iU linux-image 3.2.0.56.66 Generic Linux kernel image.
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
iU linux-image-
p
Revision history for this message
|
#26 |
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.0G 4.6G 2.0G 70% /
udev 235M 4.0K 235M 1% /dev
tmpfs 97M 800K 96M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 242M 156K 242M 1% /run/shm
Revision history for this message
|
#27 |
paul@paul-AOA110:~$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda1 460560 439005 21555 96% /
udev 60012 475 59537 1% /dev
tmpfs 61839 379 61460 1% /run
none 61839 3 61836 1% /run/lock
none 61839 7 61832 1% /run/shm
Revision history for this message
|
#28 |
Quoting Manfred Hampl <email address hidden>:I have
noted due to
your advice there is now at least 2gb of free space however the problem still
remains .In contradiction of preious assumption that is was due to an
overloaded
hard drive.Yhe LAST PACKAGE I TRIED TO OPEN WAS UBUNTU ONE which I think may
have failed due to the over full HD ,Could this be the route cause of the
problem> Your question #238057 on Ubuntu changed:
> https:/
>
> Status: Open =3D> Needs information
>
> Manfred Hampl requested more information:
> That looks good! Several old and outdated kernel versions have been
> removed, and that should have freed anough space on the hard disk that
> the system will be able to operate normally again. Still there is some
> more work to do to complete the cleanup activities. I guess there is
> another 1 GB of space occupied by outdated package versions.
>
> Please open a terminal and execute the following commands (one by one):
>
> sudo apt-get update
> sudo apt-get install -f
> sudo apt-get upgrade
> sudo apt-get dist-upgrade
> dpkg -l | grep linux-headers
> dpkg -l | grep linux-image
> df -h
> df -i
>
> then copy/paste all output into this question 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:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#29 |
I assume that your problem was caused by the full hard disk. It seems that your package management system got out of sync with broken dependencies.
Please try the following command
sudo apt-get install --reinstall -f \
linux-image-
linux-image-
linux-image \
linux-headers-
linux-headers-
linux-generic-pae
and then
sudo dpkg --audit
and finally copy/paste all output as done before.
Revision history for this message
|
#30 |
paul@paul-AOA110:~$ udo apt-get install --reinstall -f \
> linux-image-
> linux-image-
> linux-image \
> linux-headers-
> linux-headers-
> linux-generic-pae
The program 'udo' is currently not installed. You can install it by typing:
sudo apt-get install udo
paul@paul-AOA110:~$ sudo apt-get install udo
[sudo] password for paul:
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-generic-pae : Depends: linux-image-
linux-
linux-image : Depends: linux-image-
linux-
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
paul@paul-AOA110:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-generic-pae linux-headers-
The following packages will be REMOVED
linux-
The following packages will be upgraded:
linux-generic-pae linux-headers-
3 upgraded, 0 newly installed, 1 to remove and 165 not upgraded.
5 not fully installed or removed.
Need to get 0 B/6,250 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: warning: there's no installed package matching linux-headers-
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
dpkg: error processing linux-image-
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
linux-
Package linux-headers-
dpkg: error processing linux-headers-
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
linux-generic-pae depends on linux-image-
Version of linux-image-
linux-generic-pae depends on linux-headers-
Package linux-headers-
dpkg: error processing linux-generic-pae (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
linux-image depends on linux-image-
Version of linux-image-
dpkg: error processing linux-image (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
linux-
linux-
linux-generic-pae
linux-image
E: Sub-process /usr/bin/dpkg returned an error code (1)
Revision history for this message
|
#31 |
aul@paul-AOA110:~$ sudo dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
linux-
linux-image Generic Linux kernel image.
linux-
linux-generic-pae Complete Generic Linux kernel
The following packages are only half installed, due to problems during
installation. The installation can probably be completed by retrying it;
the packages can be removed using dselect or dpkg --remove:
linux-
Revision history for this message
|
#32 |
Quoting Manfred Hampl <email address hidden>:I have forwarded
the latest results but still experiencing the problem.Unless you have any
further advice I am either going to look for a lighter system or reload 12.04
but I guess it will only happen again in the course of time.
> Your question #238057 on Ubuntu changed:
> https:/
>
> Status: Open =3D> Answered
>
> Manfred Hampl proposed the following answer:
> I assume that your problem was caused by the full hard disk. It seems
> that your package management system got out of sync with broken
> dependencies.
>
> Please try the following command
>
> sudo apt-get install --reinstall -f \
> linux-image-
> linux-image-
> linux-image \
> linux-headers-
> linux-headers-
> linux-generic-pae
>
> and then
> sudo dpkg --audit
>
> and finally 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:/
> 28
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#33 |
Package linux-headers-
No apport report written because the error message indicates it's a follow-up error from a previous failure.
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
linux-image depends on linux-image-
Version of linux-image-
dpkg: error processing linux-image (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
linux-
linux-
linux-generic-pae
linux-image
E: Sub-process /usr/bin/dpkg returned an error code (1)
THIS IS THE DATA I RECEIVE WHEN I USE USE APPORT TO INSTALL -f
Revision history for this message
|
#34 |
You mistyped the first of the proposed commands, (udo instead of sudo)
Please try again:
sudo apt-get install --reinstall -f \
linux-image-
linux-image-
linux-image \
linux-headers-
linux-headers-
linux-generic-pae
and then
sudo dpkg --audit
and finally copy/paste all output as done before.
Revision history for this message
|
#35 |
paul@paul-AOA110:~$
paul@paul-AOA110:~$
paul@paul-AOA110:~$ sudo apt-get install --reinstall -f \
> linux-image-
> linux-image-
> linux-image \
> linux-headers-
> linux-headers-
> linux-generic-pae
[sudo] password for paul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
fdutils linux-doc-3.2.0 linux-source-3.2.0 linux-tools
The following packages will be REMOVED
linux-
The following NEW packages will be installed
linux-
The following packages will be upgraded:
linux-generic-pae linux-headers-
3 upgraded, 2 newly installed, 1 reinstalled, 1 to remove and 168 not upgraded.
5 not fully installed or removed.
Need to get 39.2 MB/39.2 MB of archives.
After this operation, 125 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Fetched 39.2 MB in 60s (647 kB/s)
dpkg: warning: there's no installed package matching linux-headers-
(Reading database ...
dpkg: warning: files list file for package `linux-
(Reading database ... 420085 files and directories currently installed.)
Unpacking linux-image-
Done.
Unpacking linux-headers-
dpkg: dependency problems prevent configuration of linux-generic-pae:
linux-generic-pae depends on linux-image-
Version of linux-image-
dpkg: error processing linux-generic-pae (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
linux-image depends on linux-image-
Version of linux-image-
dpkg: error processing linux-image (--configure):
dependency problems - leaving unconfigured
Setting up linux-image-
No apport report written because the error message indicates it's a follow-up error from a previous failure.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Setting up linux-headers-
Setting up linux-image-
Setting up linux-headers-
Errors were encountered while processing:
linux-generic-pae
linux-image
E: Sub-process /usr/bin/dpkg returned an error code (1)
paul@paul-AOA110:~$ sudo dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
linux-image Generic Linux kernel image.
linux-generic-pae Complete Generic Linux kernel
The following packages are only half installed, due to problems during
installation. The installation can probably be completed by retrying it;
the packages can be removed using dselect or dpkg --remove:
linux-
Revision history for this message
|
#36 |
As you can see, there is progress: the number of broken package dependencies has been cut down to half.
Try again with the commands
sudo apt-get update
sudo apt-get install --reinstall -f \
linux-image-
linux-image \
linux-headers-
linux-headers-
linux-headers-
linux-generic-pae
sudo dpkg --audit
Revision history for this message
|
#37 |
paul@paul-AOA110:~$ sudo apt-get update
[sudo] password for paul:
Hit http://
Get:1 http://
Hit http://
Get:2 http://
Get:3 http://
Hit http://
Get:4 http://
Get:5 http://
Hit http://
Get:6 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:39 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:40 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 2,602 kB in 30s (85.8 kB/s)
Reading package lists... Done
Revision history for this message
|
#38 |
paul@paul-AOA110:~$ sudo apt-get update
[sudo] password for paul:
Hit http://
Get:1 http://
Hit http://
Get:2 http://
Get:3 http://
Hit http://
Get:4 http://
Get:5 http://
Hit http://
Get:6 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:39 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:40 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 2,602 kB in 30s (85.8 kB/s)
Reading package lists... Done
paul@paul-AOA110:~$ sudo apt-get install --reinstall -f \
> linux-image-
> linux-image \
> linux-headers-
> linux-headers-
> linux-headers-
> linux-generic-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
linux-
The following packages will be upgraded:
linux-generic-pae linux-headers-
linux-
4 upgraded, 1 newly installed, 1 reinstalled, 0 to remove and 173 not upgraded.
3 not fully installed or removed.
Need to get 12.7 MB/12.7 MB of archives.
After this operation, 67.7 MB of additional disk space will be used.
Get:1 http://
Get:2 http://
Fetched 12.7 MB in 1min 34s (134 kB/s)
(Reading database ...
dpkg: warning: files list file for package `linux-
(Reading database ... 432910 files and directories currently installed.)
Preparing to replace linux-image-
Unpacking replacement linux-image-
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
dpkg: error processing /var/cache/
unable to create `/usr/src/
No apport report written because MaxReports has already been reached
Unpacking linux-headers-
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
paul@paul-AOA110:~$ sudo apt-get install --reinstall -f linux-image-
Reading package lists... Done
Building dependency tree
Reading state information... Done
^[[AYou might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
linux-
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
paul@paul-AOA110:~$ sudo dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
linux-
linux-
linux-image Generic Linux kernel image.
linux-
linux-generic-pae Complete Generic Linux kernel
The following packages are only half installed, due to problems during
installation. The installation can probably be completed by retrying it;
the packages can be removed using dselect or dpkg --remove:
linux-
Revision history for this message
|
#39 |
As you can see, the error message
unable to create `(filename)' : No space left on device
pops up again.
This can usually be solved by removing outdated packages.
For a list of candidates please issue the following commands:
df -h
df -i
dpkg -l | grep linux-image
dpkg -l | grep linux-header
Revision history for this message
|
#40 |
paul@paul-AOA110:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.0G 4.6G 2.0G 70% /
udev 235M 4.0K 235M 1% /dev
tmpfs 97M 812K 96M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 242M 156K 242M 1% /run/shm
paul@paul-AOA110:~$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda1 460560 451822 8738 99% /
udev 60012 475 59537 1% /dev
tmpfs 61839 378 61461 1% /run
none 61839 3 61836 1% /run/lock
none 61839 7 61832 1% /run/shm
paul@paul-AOA110:~$ dpkg -l | grep linux-image
ii linux-image 3.2.0.56.66 Generic Linux kernel image.
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
Revision history for this message
|
#41 |
Ok, try
sudo dpkg -P \
linux-image-
linux-image-
linux-image-
linux-image-
to clean up four obsolete kernel packages, and then please provide the output of
dpkg -l | grep linux-header
for a listing of kernel header packages, to identify the outdated header packages that also can be removed.
Revision history for this message
|
#42 |
paul@paul-AOA110:~$ sudo dpkg -P \
> linux-image-
> linux-image-
> linux-image-
> linux-image-
[sudo] password for paul:
(Reading database ...
dpkg: warning: files list file for package `linux-
(Reading database ... 432909 files and directories currently installed.)
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
paul@paul-AOA110:~$ dpkg -l | grep linux-heade
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
iH linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
Revision history for this message
|
#43 |
Ok, and now another quite long command to remove a dozen old kernel header packages:
sudo dpkg -P \
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
and finally re-execute
sudo apt-get install --reinstall -f \
linux-image-
linux-image \
linux-headers-
linux-headers-
linux-headers-
linux-generic-pae
sudo dpkg --audit
Please copy/paste all output as done before.
Revision history for this message
|
#44 |
paul@paul-AOA110:~$ sudo dpkg -P \
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
[sudo] password for paul:
(Reading database ...
dpkg: warning: files list file for package `linux-
(Reading database ... 415384 files and directories currently installed.)
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Revision history for this message
|
#45 |
paul@paul-AOA110:~$ sudo dpkg -P \
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
> linux-headers-
[sudo] password for paul:
(Reading database ...
dpkg: warning: files list file for package `linux-
(Reading database ... 415384 files and directories currently installed.)
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
paul@paul-AOA110:~$ sudo apt-get install --reinstall -f \
> linux-image-
> linux-image \
> linux-headers-
> linux-headers-
> linux-headers-
> linux-generic-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
linux-
The following packages will be upgraded:
linux-generic-pae linux-headers-
2 upgraded, 1 newly installed, 3 reinstalled, 0 to remove and 174 not upgraded.
2 not fully installed or removed.
Need to get 12.7 MB of archives.
After this operation, 67.7 MB of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Fetched 12.7 MB in 8s (1,550 kB/s)
(Reading database ...
dpkg: warning: files list file for package `linux-
(Reading database ... 147539 files and directories currently installed.)
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
Selecting previously unselected package linux-headers-
Unpacking linux-headers-
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
Preparing to replace linux-image 3.2.0.56.66 (using .../linux-
Unpacking replacement linux-image ...
Preparing to replace linux-image-
Unpacking replacement linux-image-
Setting up linux-image-
Setting up linux-headers-
dpkg: dependency problems prevent configuration of linux-generic-pae:
linux-generic-pae depends on linux-image-
Version of linux-image-
linux-generic-pae depends on linux-headers-
Version of linux-headers-
dpkg: error processing linux-generic-pae (--configure):
dependency problems - leaving unconfigured
Setting up linux-headers-
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Setting up linux-image (3.2.0.56.66) ...
Errors were encountered while processing:
linux-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)
Revision history for this message
|
#46 |
paul@paul-AOA110:~$ sudo dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
linux-generic-pae Complete Generic Linux kernel
Revision history for this message
|
#47 |
Just one broken dependency left!
Now try
sudo dpkg -i /var/cache/
sudo dpkg --audit
Revision history for this message
|
#48 |
aul@paul-AOA110:~$ sudo dpkg -i /var/cache/
[sudo] password for paul:
(Reading database ... 169862 files and directories currently installed.)
Preparing to replace linux-generic-pae 3.2.0.53.63 (using .../linux-
Unpacking replacement linux-generic-pae ...
Setting up linux-generic-pae (3.2.0.56.66) ...
paul@paul-AOA110:~$ sudo dpkg --audit
paul@paul-AOA110:~$ sudo dpkg -i /var/cache/
(Reading database ... 169862 files and directories currently installed.)
Preparing to replace linux-generic-pae 3.2.0.56.66 (using .../linux-
Unpacking replacement linux-generic-pae ...
Setting up linux-generic-pae (3.2.0.56.66) ...
paul@paul-AOA110:~$ sudo dpkg --audit
[sudo] password for paul:
Sorry, try again.
[sudo] password for paul:
Another process has locked the database for writing and might currently be
modifying it; some of the following problems might be because of that.
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
smbclient command-line SMB/CIFS clients for Unix
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
libpolkit-
libsane-hpaio HP SANE backend for multi-function peripherals
libavcodec53 Libav codec library
printer-
apt-xapian-index maintenance and search tools for a Xapian index of Debian
libpython2.7 Shared Python runtime library (version 2.7)
jockey-common user interface and desktop integration for driver managem
libwbclient0 Samba winbind client library
firefox-globalmenu Safe and easy web browser from Mozilla (transitional pack
apport-gtk GTK+ frontend for the apport crash report system
libc6-dev Embedded GNU C Library: Development Libraries and Header
language-
printer-
python-
accountsservice query and manipulate user account information
libdrm2 Userspace interface to kernel DRM services -- runtime
libdrm-nouveau1a Userspace interface to nouveau-specific kernel DRM servic
python-apport apport crash report handling library
libc-dev-bin Embedded GNU C Library: Development binaries
libpolkit-
linux-libc-dev Linux Kernel Headers for development
libdrm-radeon1 Userspace interface to radeon-specific kernel DRM service
python2.7 Interactive high-level object-oriented language (version
libsmbclient shared library for communication with SMB/CIFS servers
libswscale2 Libav video scaling library
rtkit Realtime Policy and Watchdog Daemon
libaccountsser
libhpmud0 HP Multi-Point Transport Driver (hpmud) run-time librarie
python-
printer-
libaudio2 Network Audio System - shared libraries
jockey-gtk GNOME user interface and desktop integration for driver m
libpolkit-
libavutil51 Libav utility library
libdrm-intel1 Userspace interface to intel-specific kernel DRM services
libavformat53 Libav file format library
linux-firmware Firmware for Linux kernel drivers
hplip-data HP Linux Printing and Imaging - data files
libicu48 International Components for Unicode
libpostproc52 Libav video postprocessing library
firefox Safe and easy web browser from Mozilla
python-openssl Python wrapper around the OpenSSL library
language-
firefox-locale-en English language pack for Firefox
libraw5 raw image decoder library
hplip HP Linux Printing and Imaging System (HPLIP)
apport automatically generate crash reports for debugging
policykit-1 framework for managing administrative policies and privil
The following packages have been triggered, but the trigger processing
has not yet been done. Trigger processing can be requested using
dselect or dpkg --configure --pending (or dpkg --triggers-only):
shared-mime-info FreeDesktop.org shared MIME database and spec
desktop-file-utils Utilities for .desktop files
man-db on-line manual pager
hicolor-icon-theme default fallback theme for FreeDesktop.org icon themes
bamfdaemon Window matching library - daemon
gnome-menus GNOME implementation of the freedesktop menu specificatio
ureadahead Read required files in advance
cups Common UNIX Printing System(tm) - server
Revision history for this message
|
#49 |
the no entry sign has now gone but have not tried update manager as yet
Revision history for this message
|
#50 |
Update manager is now working fine thank you very much for your help and patience and tarnasity any advice to avoid any further problems of this nature would be appreciated but thank you once again.
Revision history for this message
|
#51 |
It seems that it was possible to bring the package management system back into a consistent state, and normal updates should work again. (It seems that an update in the background was already running during the second attempt of "dpkg --audit", temporarily showing supposed inconsistencies.)
What you should to prevent re-occurrence:
You have to do housekeeping to clean up obsolete kernel packages and kernel headers.
Periodically (about once a month or so) a new kernel release is published for installation. Older versions are not automatically removed, you have to do that manually.
There are several possibilities:
1. sudo apt-get --purge autoremove
2. using package management programs like synaptic and removing these packages
3. using extra packages like ubuntu-tweak
Revision history for this message
|
#52 |
Quoting Manfred Hampl <email address hidden>:THANK YOU
FOR YOUR
ADVICE THE UPDATE MANAGER IS NOW WORKING AND THE COMPUTER IS UP TO DATE
HOWEVER
THE DASH IS NOT WORKING PROPERLY I CAN NOT GET ANY APPLICATIONS TO SHOW
AND ALSO
THE UBUNTU SOFTWARE CENTRE IS NOT WORKING I ONLY GET A GREY SCREEN WHEN
I PRESS
ON THE APP,I HAVE NOW UNLOCKED IT FROM DESKTOP AND RELOADED IT THROUGH
SYNAPTIC
BUT CAN NOT REINSTATE IN DESKTOP NOR WILL THE DASH SHOW ANY APPS,THE DASH WILL
STILL WORK FOR FILES AND VIDEOS ETC BUT NOT FOR APPS.
> Your question #238057 on Ubuntu changed:
> https:/
>
> Manfred Hampl posted a new comment:
> It seems that it was possible to bring the package management system
> back into a consistent state, and normal updates should work again. (It
> seems that an update in the background was already running during the
> second attempt of "dpkg --audit", temporarily showing supposed
> inconsistencies.)
>
> What you should to prevent re-occurrence:
> You have to do housekeeping to clean up obsolete kernel packages and kernel=
> headers.
> Periodically (about once a month or so) a new kernel release is published f=
> or installation. Older versions are not automatically removed, you have to =
> do that manually.
>
> There are several possibilities:
> 1. sudo apt-get --purge autoremove
> 2. using package management programs like synaptic and removing these packa=
> ges
> 3. using extra packages like ubuntu-tweak
>
> -- =
>
> You received this question notification because you asked the question.
>