මගේ පළමු ප්රශ්නය වූයේ මා උත්සාහ කළ විට apt-get update
හෝ apt-get upgrade
. උත්ශ්රේණිගත කිරීමේදී මට පහත දෝෂය ලැබේ:
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not installed
E: Unmet dependencies. Try using -f.
මම apt-get install -f ධාවනය කිරීමට උත්සාහ කළ අතර මෙය ප්රතිදානය විය (විමසුමේදී ඔව් යැයි පැවසීමෙන් පසු)
(Reading database ... 186183 files and directories currently installed.)
Unpacking linux-image-3.2.0-27-generic (from .../linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb (--unpack):
failed in write on buffer copy for backend dpkg-deb during `./boot/System.map-3.2.0-27-generic': No space left on device
No apport report written because the error message indicates a disk full error
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.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
මම ධාවනය කිරීමට උත්සාහ කළ apt-get autoremove
අතර එය මට දෝෂයක් ලබා දෙයි apt-get upgrade
.
මම දුවන විට df
, මම මෙය ලබා ගන්නේ /boot
:
/dev/sda1 233191 230297 0 100% /boot
ඉතින්, මම වෙනත් තැනක කියෙව්වා පරණ කර්නල් ඉවත් කිරීමට උත්සාහ කළ යුතු බව. මා සතුව ඇති කර්නල් මොනවාදැයි මම පරීක්ෂා කළෙමි:
$ dpkg -l linux-image-\* | grep ^ii
ii linux-image-2.6.38-13-server 2.6.38-13.52 Linux kernel image for version 2.6.38 on x86_64
ii linux-image-3.0.0-13-server 3.0.0-13.22 Linux kernel image for version 3.0.0 on x86_64
ii linux-image-3.0.0-14-server 3.0.0-14.23 Linux kernel image for version 3.0.0 on x86_64
ii linux-image-3.0.0-15-server 3.0.0-15.26 Linux kernel image for version 3.0.0 on x86_64
ii linux-image-3.0.0-16-server 3.0.0-16.29 Linux kernel image for version 3.0.0 on x86_64
ii linux-image-3.0.0-17-server 3.0.0-17.30 Linux kernel image for version 3.0.0 on x86_64
ii linux-image-3.2.0-24-generic 3.2.0-24.39 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-25-generic 3.2.0-25.40 Linux kernel image for version 3.2.0 on 64 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 64 bit x86 SMP
මම මේ සමඟ පැරණිම දේ ඉවත් කිරීමට උත්සාහ කරන විට:
$ sudo apt-get purge linux-image-2.6.38-13-server
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-server : Depends: linux-image-3.2.0-27-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
මගේ ස්ථාපනය අවුල් නොකර බූට් එක නිදහස් කර ගන්නේ කෙසේද?
Remove-Unused-Dependencies
පෙරනිමිය නොවන්නේ ඇයි ?