Results 1 to 2 of 2

Thread: When updating get error 28, no space left on device when I know I have space

  1. #1
    Join Date
    2018-May
    Posts
    12

    When updating get error 28, no space left on device when I know I have space

    I've run into this problem before but can't for the life of me remember how I fixed it other that reinstalling, like I did first time I encountered the error. I've also signature failed errors from ftp.debian and repo.steampowered, I can work those out later, unless they are what is causing the issue.

    Here are screenshots of the results of apt update:
    Screenshot 2021-07-19 17:52:12.jpg

    The results from du commands and df -h
    Screenshot 2021-07-19 17:54:20.jpg

    And df -i (says I cannot up load the pic because there is a limit of 5. I deleted earlier pics, but must've reached my limit)

    ┌──(root💀samara)-[~]
    └─# df -i 1 ⨯
    df: /run/user/0/doc: Operation not permitted
    Filesystem Inodes IUsed IFree IUse% Mounted on
    udev 4088206 689 4087517 1% /dev
    tmpfs 4105428 1195 4104233 1% /run
    /dev/sdd2 30572544 605674 29966870 2% /
    tmpfs 4105428 1 4105427 1% /dev/shm
    tmpfs 4105428 3 4105425 1% /run/lock
    /dev/sda1 0 0 0 - /boot/efi
    /dev/loop1 474 474 0 100% /snap/snapd/12159
    /dev/loop2 293 293 0 100% /snap/discord/122
    /dev/loop0 64986 64986 0 100% /snap/gtk-common-themes/1515
    /dev/loop3 27806 27806 0 100% /snap/gnome-3-28-1804/161
    /dev/loop4 474 474 0 100% /snap/snapd/12398
    /dev/loop6 10803 10803 0 100% /snap/core18/2074
    /dev/loop5 312 312 0 100% /snap/discord/128
    /dev/loop7 10794 10794 0 100% /snap/core18/2066
    /dev/loop8 27807 27807 0 100% /snap/gnome-3-28-1804/145
    /dev/sdb1 292322316 201507 292120809 1% /media/root/Games-win
    tmpfs 821085 90 820995 1% /run/user/0
    Okay I see the screenshots are terribly small and hard to read, here is the copy and paste

    ┌──(root💀samara)-[~]
    └─# apt update
    Hit:1 https://repo.steampowered.com/steam stable InRelease
    Err:1 https://repo.steampowered.com/steam stable InRelease
    Splitting up /var/lib/apt/lists/repo.steampowered.com_steam_dists_stable_InRelease into data and signature failed
    Hit:2 http://ftp.debian.org/debian stable InRelease
    Err:2 http://ftp.debian.org/debian stable InRelease
    Splitting up /var/lib/apt/lists/ftp.debian.org_debian_dists_stable_InRelease into data and signature failed
    Get:3 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease [30.5 kB]
    Ign:3 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease
    Get:3 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease [30.5 kB]
    Ign:3 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease
    Get:3 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease [30.5 kB]
    Ign:3 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease
    Get:3 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease [30.5 kB]
    Err:3 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease
    Error writing to file - write (28: No space left on device) [IP: 137.226.34.46 80]
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    All packages are up to date.
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.steampowered.com/steam stable InRelease: Splitting up /var/lib/apt/lists/repo.steampowered.com_steam_dists_stable_InRelease into data and signature failed
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.debian.org/debian stable InRelease: Splitting up /var/lib/apt/lists/ftp.debian.org_debian_dists_stable_InRelease into data and signature failed
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Error writing to file - write (28: No space left on device) [IP: 137.226.34.46 80]
    W: Failed to fetch http://ftp.debian.org/debian/dists/stable/InRelease Splitting up /var/lib/apt/lists/ftp.debian.org_debian_dists_stable_InRelease into data and signature failed
    W: Failed to fetch https://repo.steampowered.com/steam/...able/InRelease Splitting up /var/lib/apt/lists/repo.steampowered.com_steam_dists_stable_InRelease into data and signature failed
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    ──(root💀samara)-[~]
    └─# du -sh
    72G .

    ┌──(root💀samara)-[~]
    └─# du -sh *
    53M ~
    88K DEBIAN
    12K Desktop
    438M Documents
    1.1G Downloads
    12K etc
    1.2M fsociety
    1.1M GNS3
    1.5G Music
    9.8M Pictures
    4.0K Public
    20K snap
    1.2G tails-amd64-4.17-img
    4.0K Templates
    200M usr
    72M Videos
    3.5G VirtualBox VMs
    23M XCTR-Hacking-Tools
    92M zphisher

    ┌──(root💀samara)-[~]
    └─# du -sh /
    du: cannot read directory '/proc/3341/task/3341/net': Invalid argument
    du: cannot read directory '/proc/3341/net': Invalid argument
    du: cannot read directory '/proc/5140/task/5140/net': Invalid argument
    du: cannot read directory '/proc/5140/net': Invalid argument
    du: cannot read directory '/proc/13108/task/13108/net': Invalid argument
    du: cannot read directory '/proc/13108/net': Invalid argument
    du: cannot read directory '/proc/14009/task/14009/net': Invalid argument
    du: cannot read directory '/proc/14009/net': Invalid argument
    du: cannot access '/proc/14735/task/14735/fd/3': No such file or directory
    du: cannot access '/proc/14735/task/14735/fdinfo/3': No such file or directory
    du: cannot access '/proc/14735/fd/4': No such file or directory
    du: cannot access '/proc/14735/fdinfo/4': No such file or directory
    1.2T /

    ┌──(root💀samara)-[~]
    └─#
    ┌──(root💀samara)-[~]
    └─# df -h 1 ⨯
    df: /run/user/0/doc: Operation not permitted
    Filesystem Size Used Avail Use% Mounted on
    udev 16G 0 16G 0% /dev
    tmpfs 3.2G 2.3M 3.2G 1% /run
    /dev/sdd2 459G 447G 0 100% /
    tmpfs 16G 0 16G 0% /dev/shm
    tmpfs 5.0M 4.0K 5.0M 1% /run/lock
    /dev/sda1 96M 26M 71M 27% /boot/efi
    /dev/loop1 33M 33M 0 100% /snap/snapd/12159
    /dev/loop2 77M 77M 0 100% /snap/discord/122
    /dev/loop0 66M 66M 0 100% /snap/gtk-common-themes/1515
    /dev/loop3 165M 165M 0 100% /snap/gnome-3-28-1804/161
    /dev/loop4 33M 33M 0 100% /snap/snapd/12398
    /dev/loop6 56M 56M 0 100% /snap/core18/2074
    /dev/loop5 78M 78M 0 100% /snap/discord/128
    /dev/loop7 56M 56M 0 100% /snap/core18/2066
    /dev/loop8 163M 163M 0 100% /snap/gnome-3-28-1804/145
    /dev/sdb1 1.1T 754G 279G 74% /media/root/Games-win
    tmpfs 3.2G 88K 3.2G 1% /run/user/0

    ┌──(root💀samara)-[~]
    └─# df -i 1 ⨯
    df: /run/user/0/doc: Operation not permitted
    Filesystem Inodes IUsed IFree IUse% Mounted on
    udev 4088206 689 4087517 1% /dev
    tmpfs 4105428 1191 4104237 1% /run
    /dev/sdd2 30572544 605667 29966877 2% /
    tmpfs 4105428 1 4105427 1% /dev/shm
    tmpfs 4105428 3 4105425 1% /run/lock
    /dev/sda1 0 0 0 - /boot/efi
    /dev/loop1 474 474 0 100% /snap/snapd/12159
    /dev/loop2 293 293 0 100% /snap/discord/122
    /dev/loop0 64986 64986 0 100% /snap/gtk-common-themes/1515
    /dev/loop3 27806 27806 0 100% /snap/gnome-3-28-1804/161
    /dev/loop4 474 474 0 100% /snap/snapd/12398
    /dev/loop6 10803 10803 0 100% /snap/core18/2074
    /dev/loop5 312 312 0 100% /snap/discord/128
    /dev/loop7 10794 10794 0 100% /snap/core18/2066
    /dev/loop8 27807 27807 0 100% /snap/gnome-3-28-1804/145
    /dev/sdb1 292322316 201507 292120809 1% /media/root/Games-win
    tmpfs 821085 90 820995 1% /run/user/0

    ┌──(root💀samara)-[~]
    └─#
    Attached Images Attached Images

  2. #2
    Join Date
    2018-May
    Posts
    12
    Solved. I went through all directories and found /var/log was holding 350GB of data. I searched the log files and found that 2 of them were over 100GB, deleted, cleared trash, rebooted. Problem solved.

Similar Threads

  1. Replies: 0
    Last Post: 2020-09-03, 21:41
  2. Kali Installation - fclose: No space left on device
    By z0mb13 in forum Installing Archive
    Replies: 9
    Last Post: 2020-04-08, 16:04
  3. Replies: 0
    Last Post: 2020-02-24, 17:30
  4. Error: No space left on device
    By trexmkii in forum Installing Archive
    Replies: 5
    Last Post: 2019-07-10, 20:50
  5. Replies: 1
    Last Post: 2016-03-08, 20:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •