Je creuse avec acharnement pour trouver une solution à ce problème pendant quelques jours dans Ubuntu 12.04.3 LTS 64bit server edition, veuillez indiquer comment procéder.
Sudo apt-get update
=> fonctionne bien
Sudo apt-get -f install
, Sudo apt-get autoremove
, `Sudo apt-get upgrade => s'affiche sous Error_Message
Message d'erreur
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-image-generic-lts-quantal : Depends: linux-image-3.5.0-41-generic but it is not installed
E: Unmet dependencies. Try using -f.
Sudo apt-get clean | Sudo apt-get autoclean
=> ne fait rien
S'il vous plaît trouver la sortie de ces commandes,
Sudo dpkg --configure -a
Setting up initramfs-tools (0.99ubuntu13.2) ...
update-initramfs: deferring update (trigger activated)
dpkg: dependency problems prevent configuration of linux-image-generic-lts-quantal:
linux-image-generic-lts-quantal depends on linux-image-3.5.0-41-generic; however:
Package linux-image-3.5.0-41-generic is not installed.
dpkg: error processing linux-image-generic-lts-quantal (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-quantal:
linux-generic-lts-quantal depends on linux-image-generic-lts-quantal; however:
Package linux-image-generic-lts-quantal is not configured yet.
dpkg: error processing linux-generic-lts-quantal (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-39-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.5.0-39-generic with 1.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-generic-lts-quantal
linux-generic-lts-quantal
initramfs-tools
Sudo apt-get remove --purge linux-image-generic-lts-quantal linux-generic-lts-quantal initramfs-tools
affiche le même message d'erreur indiqué ci-dessus.
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-image-3.5.0-42-generic linux-image-generic-lts-quantal
Suggested packages:
fdutils linux-lts-quantal-doc-3.5.0 linux-lts-quantal-source-3.5.0 linux-lts-quantal-tools linux-headers-3.5.0-42-generic
The following NEW packages will be installed:
linux-image-3.5.0-42-generic
The following packages will be upgraded:
linux-image-generic-lts-quantal
1 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
3 not fully installed or removed.
Need to get 40.7 MB of archives.
After this operation, 157 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://in.archive.ubuntu.com/ubuntu/ precise-security/main linux-image-3.5.0-42-generic AMD64 3.5.0-42.65~precise1 [40.7 MB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ precise-security/main linux-image-generic-lts-quantal AMD64 3.5.0.42.48 [2,406 B]
Fetched 40.7 MB in 2min 41s (252 kB/s)
(Reading database ... 191233 files and directories currently installed.)
Unpacking linux-image-3.5.0-42-generic (from .../linux-image-3.5.0-42-generic_3.5.0-42.65~precise1_AMD64.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-3.5.0-42-generic_3.5.0-42.65~precise1_AMD64.deb (--unpack):
failed in write on buffer copy for backend dpkg-deb during `./boot/vmlinuz-3.5.0-42-generic': 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)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-42-generic /boot/vmlinuz-3.5.0-42-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-42-generic /boot/vmlinuz-3.5.0-42-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.5.0-42-generic_3.5.0-42.65~precise1_AMD64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cat /etc/apt/sources.list
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################
###### Ubuntu Main Repos
deb http://in.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
###### Ubuntu Update Repos
deb http://in.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
S'il vous plaît aider !!!!
Votre partition/boot est pleine. Vous devez supprimer certaines de vos anciennes images Linux pour faire de la place. Vous pouvez suivre les conseils de ce lien pour faire cela: Comment libérer de l’espace dans/boot? . Une fois que vous avez fait cela, vous pouvez alors réexécuter la commande apt-get que vous tentiez.