LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-16-2023, 12:09 PM   #1
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Thumbs down Why are we allowed to install software until our hard drive is too full,


shouldn't somewhere know what it's going to unpack to?

I'm still having this issue with prerelease 13... doesn't look like disk quotas are recognized by apt?

Last edited by jamison20000e; 07-16-2023 at 12:24 PM.
 
Old 07-16-2023, 12:44 PM   #2
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,398

Rep: Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561
I've never used quotas and this may not be helpful, but aren't quotas for user accounts? When you install with sudo apt you're installing as sudo for all users, so wouldn't affect the users disk quota, other than maybe a few config files that might generate when you launch it.

Last edited by enigma9o7; 07-16-2023 at 09:57 PM.
 
1 members found this post helpful.
Old 07-16-2023, 05:49 PM   #3
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888

Original Poster
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Thumbs up

Yeah I read very little about that before seeing it wasn't for apt. I should have mentioned by now that it's more of a rant... I like my older systems and guess I just need to upgrade some storage sizes. As an extreme example I would think if installing 10 times more than the space had, it would stop us instead of trying and locking up?

It's normally not that extreme tho at least 90% of the time my fault! Also have to appreciate its a work in progress... it knows the download size, just not unpacking and installing?

CLI always helped, this time was able to run Bleachbit from GUI and after that I uninstalled some stuff. ✌

Add: searching bug report Debian lets me install more than my drive capacity only gets "about 423.000 results" (sloppy search I know) guessing this has been said: https://www.debian.org/Bugs/Reporting#filedalready but if I ever get time,,, this looks like a good rabbit hole: https://www.debian.org/Bugs/

Last edited by jamison20000e; 07-18-2023 at 06:46 PM. Reason: added
 
Old 07-16-2023, 07:26 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,147
Blog Entries: 21

Rep: Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483
I deal with a 16gig chromebook. Kinda limits my iso choices.

Right now I keep the install at 7 gigs because of my symlinks in /home to external usb drive.
 
1 members found this post helpful.
Old 07-16-2023, 11:09 PM   #5
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,754

Rep: Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759
Most operating systems, including most UNIX style operating systems, assume that there is an operator at the keyboard monitoring space and other resources as needed. Why would anyone continue trying to install software when nearly out of space?
 
Old 07-17-2023, 01:23 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,022

Rep: Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343
There is a reserved space on the disk, which can only be used by root. See for example here: https://unix.stackexchange.com/quest...filesystem-why
Setting disk quota for root looks not really useful.
apt is a simple program, it doesn't care about free disk space, it will use as much as it needs.
But anyway (if I remember well) you can set a TMP dir for a lot of apps (including apt) and they will use that instead of /tmp.
You can also mount /tmp and/or /var as an independent filesystem, so they don't come at the expense of /.

Yes, additionally checking the available resources is pointless, apt will definitely fail in case of "out of resources". What do you expect, how can it be fixed? It will report "not enough space" instead of "disk full"?
 
1 members found this post helpful.
Old 07-17-2023, 05:40 AM   #7
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,514

Rep: Reputation: Disabled
Why are you installing so much?

I have even installed AntiX Base on a 2GB ram, 8GB M2 SSD thin client, with space to spare, & it has all the programs that a regular desktop user would need, ready & waiting.
 
1 members found this post helpful.
Old 07-17-2023, 12:25 PM   #8
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,754

Rep: Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759Reputation: 2759
Just a thought:
I have a machine that is using BTRFS only. All of the storage space is flexible, and adjusts as needed transparently so that no file system runs out of space until EVERYTHING is out of space. That you cannot do with EXT2/3/4, XFS, JFS, NTFS, FAT-*, or RaiserFS. (I am not sure about ZFS, it is way different!) Without knowing what the REAL problem here is I cannot be sure it would resolve your issues, but converting to BTRFS might be worth looking into.

Of course, nothing replaces paying attention to your system status, statistics, logs, and restrictions for yourself!

Last edited by wpeckham; 07-17-2023 at 12:27 PM.
 
1 members found this post helpful.
Old 07-18-2023, 01:07 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,022

Rep: Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343
Quote:
Originally Posted by wpeckham View Post
Just a thought:
I have a machine that is using BTRFS only. All of the storage space is flexible, and adjusts as needed transparently so that no file system runs out of space until EVERYTHING is out of space. That you cannot do with EXT2/3/4, XFS, JFS, NTFS, FAT-*, or RaiserFS. (I am not sure about ZFS, it is way different!) Without knowing what the REAL problem here is I cannot be sure it would resolve your issues, but converting to BTRFS might be worth looking into.

Of course, nothing replaces paying attention to your system status, statistics, logs, and restrictions for yourself!
This is a different approach. I mean it means [it looks like] we do not really use partitions, but all the available space "in one".
If you really want to have a working system you need an independent partition for the OS.
 
Old 07-18-2023, 07:03 PM   #10
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888

Original Poster
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
On a Thinkpad T420 installing a few games is what got me, now on my IBM T20 only some text based games like GNU-Chess or BSD games. It might even have a GUI but I haven't typed startx on it for years?

The T420 I keep pretty full as it's one of my daily drivers, think I'm just gonna get a new 2.5" SSD.

Thanks all!

Last edited by jamison20000e; 07-18-2023 at 07:16 PM. Reason: typ0
 
Old 07-19-2023, 02:00 PM   #11
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888

Original Poster
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Got some more cleanning done, Filelight came in handy; I uninstalled Google Chrome a while ago but it was still littered all thought home.

Maybe at a CLI, like Filelight:
Code:
ls -lS /* | less
or
Code:
du
anyone got any good commands for file size lists, maybe
Code:
find
 
Old 07-19-2023, 05:31 PM   #12
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,147
Blog Entries: 21

Rep: Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483
Been filling up this fresh install with backups. But this box has 1 TB drive.

Code:
harry@shop:~
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            5.9G     0  5.9G   0% /dev
tmpfs           1.2G  2.8M  1.2G   1% /run
/dev/sda3        72G   16G   53G  23% /
tmpfs           5.0M   16K  5.0M   1% /run/lock
tmpfs           2.4G     0  2.4G   0% /dev/shm
cgroup           12K     0   12K   0% /sys/fs/cgroup
tmpfs           1.2G  4.0K  1.2G   1% /run/user/107
tmpfs           1.2G   20K  1.2G   1% /run/user/1000
/dev/sda5        57G  9.5G   45G  18% /media/harry/rootantiX23
/dev/sdc1       932G   43G  890G   5% /media/harry/Seagate
/dev/sda4       783G  2.9G  740G   1% /media/harry/4a7cd857-572c-4144-b7f7-1bd26d978a95
A lot of the backup is on the seagate external drive.
 
1 members found this post helpful.
Old 07-19-2023, 08:06 PM   #13
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Quote:
Originally Posted by jamison20000e View Post
Why are we allowed to install software until our hard drive is too full?
I guarantee you if we were not allowed, we'd complain
Quote:
Originally Posted by jamison20000e View Post
shouldn't somewhere know what it's going to unpack to?
The tools do have a concept of the default location, which you can override.
Quote:
Originally Posted by jamison20000e View Post
doesn't look like disk quotas are recognized by apt?
Sure they are, when you run out of space it faults and tells you insufficient space. But to add to that certain package managers will summarize prior to executing, giving you the option to assess before doing.

Q.E.D.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Force our 500 GB Drive to be the SDA drive instead of our Raid Array cecilchamp Linux - Newbie 11 01-29-2015 08:28 PM
LXer: My Nerd Life: Too Loud, Too Funny, Too Smart, Too Fat LXer Syndicated Linux News 0 01-24-2014 05:21 AM
Method Not Allowed: The requested method POST is not allowed for the URL /writedhcp.p WiWa Linux - Networking 15 01-06-2011 01:20 PM
Tracking user logins that was allowed and not allowed eswanepoel Linux - Security 3 08-02-2006 04:37 AM
SlackWare :Method Not Allowed The requested method POST is not allowed for the URL slack31337 Linux - Software 0 04-08-2006 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration