Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | None | 0 0
  1. sudo apt-get install --fix-broken
  2. [sudo] password for elina:
  3. Reading package lists... Done
  4. Building dependency tree
  5. Reading state information... Done
  6. Correcting dependencies... Done
  7. The following extra packages will be installed:
  8. linux-headers-3.2.0-33-generic-pae
  9. The following NEW packages will be installed:
  10. linux-headers-3.2.0-33-generic-pae
  11. 0 upgraded, 1 newly installed, 0 to remove and 38 not upgraded.
  12. 1 not fully installed or removed.
  13. Need to get 0 B/977 kB of archives.
  14. After this operation 11,3 MB of additional disk space will be used.
  15. Do you want to continue [Y/n]; y
  16. (Reading database ... 437051 files and directories currently installed.)
  17. Unpacking linux-headers-3.2.0-33-generic-pae (from .../linux-headers-3.2.0-33-generic-pae_3.2.0-33.52_i386.deb) ...
  18. dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-33-generic-pae_3.2.0-33.52_i386.deb (--unpack):
  19. unable to create `/usr/src/linux-headers-3.2.0-33-generic-pae/include/config/usb/gspca/sonixb.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-33-generic-pae/include/config/usb/gspca/sonixb.h'): No space left on device
  20. No apport report written because the error message indicates a disk full error
  21. dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  22. Errors were encountered while processing:
  23. /var/cache/apt/archives/linux-headers-3.2.0-33-generic-pae_3.2.0-33.52_i386.deb
  24. E: Sub-process /usr/bin/dpkg returned an error code (1)
  25.  
  26. sudo apt-get clean
  27. sudo apt-get autoclean
  28. sudo apt-get autoremove
  29. sudo apt-get update
  30. sudo apt-get upgrade
  31. sudo apt-get -f install
  32. sudo apt-get install --fix-broken
  33.  
  34. Filesystem Size Used Avail Use% Mounted on
  35. /dev/sda1 7,0G 5,5G 1,1G 84% /
  36. udev 235M 4,0K 235M 1% /dev
  37. tmpfs 97M 816K 96M 1% /run
  38. none 5,0M 0 5,0M 0% /run/lock
  39. none 242M 352K 242M 1% /run/shm
  40.  
  41. linux-headers-3.2.0-33-generic-pae_3.2.0-33.52_i386.deb
  42.  
  43. df -i
  44.  
  45. $ df -i
  46. Filesystem Inodes IUsed IFree IUse% Mounted on
  47. /dev/sda1 460560 456125 4435 100% /
  48. udev 60125 491 59634 1% /dev
  49. tmpfs 61943 403 61540 1% /run
  50. none 61943 3 61940 1% /run/lock
  51. none 61943 8 61935 1% /run/shm
  52.  
  53. sudo du -h /* | grep '[0-9]M'
  54.  
  55. /root/.local/share/Trash/files/
  56.  
  57. sudo rm -r /root/.local/share/Trash/files/
  58.  
  59. sudo touch /forcefsck
  60.  
  61. df -i
  62. and df -Th
  63.  
  64. $ df -i
  65. Filesystem Inodes IUsed IFree IUse% Mounted on
  66. /dev/sda1 460560 196674 263886 43% /
  67. udev 60125 487 59638 1% /dev
  68. tmpfs 61943 393 61550 1% /run
  69. none 61943 3 61940 1% /run/lock
  70. none 61943 8 61935 1% /run/shm
  71.  
  72. $ df -Th
  73. Filesystem Type Size Used Avail Use% Mounted on
  74. /dev/sda1 ext4 7,0G 4,7G 2,0G 71% /
  75. udev devtmpfs 235M 4,0K 235M 1% /dev
  76. tmpfs tmpfs 97M 816K 96M 1% /run
  77. none tmpfs 5,0M 0 5,0M 0% /run/lock
  78. none tmpfs 242M 356K 242M 1% /run/shm
  79.  
  80. sudo du -h /* | grep '[0-9]M'
  81.  
  82. sudo rm /var/lib/apt/lists/* -vf
  83.  
  84. # cd /
  85.  
  86. # for i in `ls -1A`; do echo "`find $i | sort -u | wc -l` $i"; done | sort -rn | head -20
  87.  
  88. root@gamma:/usr/src# sudo rm -rf linux-headers-3.2.0-30
  89.  
  90. # apt-get -f install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement