[SOLVED] slackpkg/pkgtools upgrade issue on -current
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I think that the cause of the “fight” here is the (implied) characterisation of slackware as an amateur OS. In my experience with other OSes and in general software that support mission critical data businesses, bugs do exist and maintenance plans are always in place. As long as we accept this fact and work towards eliminating them there is no reason to give labels or to be offended by them. Clearly the process should be stopped after the first error and inform the user. But this doesn t make slackware an amateur os. A bug has been found, it will be corrected and more robustness will be added to slackware.
Through +30 years never allowed free disc space to dive below 25% disc size, so such an "incident" has never occured.
I don't think I have ever had my root partition fill up on a physical computer, but it has happened on VMs. Either way, it is impossible to completely prevent the system partition from filling up. There's always the possibility that some rogue process will cause logfiles to get spammed and fill up. Yes, you can do a lot to minimize the chances of something like this from happening, and it is rare that logfiles will do that, but it is still worthwhile to have system tools at least show a proper error when the system partition is full.
How big are your root partitions? Mine is 30GB and I had to clear out the /tmp files yesterday which cleared another 5.8GB, otherwise it would have been full.
I don't think I have ever had my root partition fill up on a physical computer
Had that happen at work only a couple of months ago. An oddball xpad quirk caused the user's ~/.xsession-errors log to grow massively. My inability to do anything when I remoted in prompted me to start digging.
A majority of people do not monitor disk space. A simple sanity check in installpkg seems a reasonable request. Sh-t happens.
How big are your root partitions? Mine is 30GB and I had to clear out the /tmp files yesterday which cleared another 5.8GB, otherwise it would have been full.
It depends on the system and drives, but on my main desktop, my root partition is 250GB with about 200GB of it being used (100GB of that being in my /tmp folder, that I just haven't cleaned out from building packages). My htpc has a 100GB root partition and only about 20GB is used.
How big are your root partitions? Mine is 30GB and I had to clear out the /tmp files yesterday which cleared another 5.8GB, otherwise it would have been full.
Mine never ever have been larger then 10 GB (although at work we used about 50 GB).
Note that most of the "user" files are NOT in / (my home dir is only 468 MB, which is mostly the config dirs) and I keep all log and tmp dirs very clean. I do NOT use logrotate, wrote my own scripts for that.
A bug report reports a problem and leaves the passive-aggressive comments out.
Could you please point out the "passive-aggressive comments" on the first post, where the OP reported the bug?
He got a little miffed later (and rightly so IMHO) when he reported a bug (and yes, it IS a bug) and got told it was all his fault for being a poor sysadmin by not checking disk space before upgrading the OS.
All software has bugs.
Slackware is not immune to them. It is not perfect, despite what some die-hard users may think.
All things can be improved.
If we, as a community scare away people that try to report bugs we are doing a disservice to Slackware and its maintainer(s).
This is not the sort of thing I would expect from the Slackware community.
Mine never ever have been larger then 10 GB (although at work we used about 50 GB).
Note that most of the "user" files are NOT in / (my home dir is only 468 MB, which is mostly the config dirs) and I keep all log and tmp dirs very clean. I do NOT use logrotate, wrote my own scripts for that.
I couldn't have a 10GB root partition unless I started doing some more in-depth partitioning and/or lvm or if I slimmed down packages. My /usr/ folder is 11GB on my htpc, which is just an older -current, and everything needed for kodi.
Could you please point out the "passive-aggressive comments" on the first post, where the OP reported the bug?
It was not in the OP, which this is the part that, I believe, RC was referring to:
Quote:
Originally Posted by HQuest
some sanity checks at tools so critical as system upgrades can make a difference on how robust or how amateur is the distribution.
Anyway, the OP was edited a couple of days later so I'm not 100% sure [and I can't be bothered to check since I'm going to cook supper]. Either way, let's not turn this into an argument, the KDE thread is that way >>>
Last edited by Lysander666; 11-22-2019 at 01:49 PM.
A note: my proposed patch was created in 14.2. The patch needs massaging for Current.
If deemed important, a disk partition sanity check could be added. The package compression needs to be pierced to obtain true file size requirements. If multiple packages are being installed/updated, then the sanity check should loop through all packages before comparing to the remaining disk space.
A simple test might be to grab the /bin/df percentage output and if greater than, say, 95%, post a warning message and ask the user whether to continue.
A note: my proposed patch was created in 14.2. The patch needs massaging for Current.
If deemed important, a disk partition sanity check could be added. The package compression needs to be pierced to obtain true file size requirements. If multiple packages are being installed/updated, then the sanity check should loop through all packages before comparing to the remaining disk space.
A simple test might be to grab the /bin/df percentage output and if greater than, say, 95%, post a warning message and ask the user whether to continue.
I really wouldn't waste any time, but leave the sanity check to the user...
"Slackware! The distro that takes you by the hand!"
How big are your root partitions? Mine is 30GB and I had to clear out the /tmp files yesterday which cleared another 5.8GB, otherwise it would have been full.
Mine's 100GB. I have /home on its own partition. Right now root is about 20% used. On my last computer, root was 25GB, and I was constantly in trouble, if /tmp filled up too much.
Of course, slackpkg would have to do the same by failing when upgradepkg or installpkg return an error code.
When I submit a bug report, I attempt to provide the information required to reproduce the problem that I encountered as well as any specific hints that might help solve the problem.
That not because I'm a nice guy (my nick here should preclude people believing that for more than a microsecond or two) but because I want the *bleeping* problem solved so I can do what I was trying to do when the *bleeping* problem reared its ugly head. Along those lines, I've finally figured out (the hard way, alas) that insulting the people that you want to fix said problem doesn't seem to place your report on the top of the "bugs I'm gonna fix" list.
To the best of my knowledge, none of us here are paid to post responses to anything. To the best of my knowledge, Mr. Volkerding's income from Slackware is orders of magnatude less than RedHat's market cap of ~$20B.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.