<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 3/25/15 9:06 AM, Mateusz Konieczny
wrote:<br>
</div>
<blockquote
cite="mid:CALDvra6EvPRnHxEDHricBYm9KU-E-+OPR9Z7gFJRW_Son0pMmw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>No, I want to stop apt-get from asking dumb questions.
Asking<br>
</div>
<div>whatever it is OK to use 1/25000 of disk is a dumb question
that<br>
should not be asked.<br>
<br>
</div>
<div>At the same time it makes sense to ask for confirmation
about<br>
</div>
<div>installing 2GB of new programs, so -y is not a proper
solution in<br>
</div>
<div>that case (also, I mentioned "I know that I can use
parameters <br>
(with aliases or apt.conf I can even make it permanent) to <br>
completely skip this check.").<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-03-25 13:47 GMT+01:00 John Moser <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:john.r.moser@gmail.com" target="_blank">john.r.moser@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Why?<br>
<br>
On multiple CentOS systems installed from the same CD using
the same<br>
parameters, yum will either list updates and ask Y/n or just<br>
update/install stuff without confirmation; this irritates
me, because<br>
sometimes I see updates I want to run in a separate batch
for risk<br>
management, or I see that a kernel update is going to add
15MB to /boot<br>
which has 9MB free and I need to uninstall old kernels.<br>
<br>
apt is going to ask me whether to continue or not anyway; if
I don't<br>
want to be asked, I'll use apt-get -y. It may as well be
informative<br>
about it, listing all packages to be installed, removed, and
updated, as<br>
well as the disk space impact.<br>
<br>
What do you want apt to say instead? "After this operation,
some voodoo<br>
will happen that you don't need to worry about! Continue?
[Y/n]"<br>
<div class="HOEnZb">
<div class="h5"><br>
On 03/25/2015 08:42 AM, Mateusz Konieczny wrote:<br>
> apt-get will ask user about using significant
amounts of disk space<br>
><br>
> but it seems that what is considered as significant
needs adjustment,<br>
> for me "major amount of disk space" is about 200MB
but apt-get will ask<br>
> questions like "After this operation, 9805 kB of
additional disk space<br>
> will be<br>
> used. Do you want to continue? [Y/n]".<br>
><br>
> I propose increasing this threshold to 50MB.<br>
><br>
> I know that I can use parameters (with aliases or
apt.conf I can even<br>
> make it<br>
> permanent) to completely skip this check.<br>
><br>
> I am not aware about any way that allows user to
configure this threshold<br>
> (see<br>
> <a moz-do-not-send="true"
href="http://askubuntu.com/questions/596691/how-can-i-stop-apt-get-from-asking-about-using-minor-amounts-of-additional-disk"
target="_blank">http://askubuntu.com/questions/596691/how-can-i-stop-apt-get-from-asking-about-using-minor-amounts-of-additional-disk</a><br>
> ).<br>
><br>
> Note: i was directed to this mailing list by<br>
> <a moz-do-not-send="true"
href="https://help.ubuntu.com/community/ReportingBugs"
target="_blank">https://help.ubuntu.com/community/ReportingBugs</a><br>
> ("Discussing features and existing policy") linked
from<br>
> <a moz-do-not-send="true"
href="https://bugs.launchpad.net/ubuntu/"
target="_blank">https://bugs.launchpad.net/ubuntu/</a><br>
><br>
><br>
<br>
</div>
</div>
<span class="HOEnZb"><font color="#888888">--<br>
Ubuntu-devel-discuss mailing list<br>
<a moz-do-not-send="true"
href="mailto:Ubuntu-devel-discuss@lists.ubuntu.com">Ubuntu-devel-discuss@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a
moz-do-not-send="true"
href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss"
target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss</a><br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
</blockquote>
Why not split the difference? Add in a configuration file option to
suppress the prompt or better, a size before being asked, with a
"magic number" disabling the prompt completely.<br>
It adds flexibility.<br>
Frankly, I like "stupid questions", it adds an air gap between a
momentary gaffe or lack of notice of previous options and it
prevents newbies from harming themselves easily. <br>
But, I can see the reason of the request. <br>
And fully reserve the right to laugh at future support requests when
/boot gets overfilled, an undesired kernel is installed, etc.<br>
Only because, I've shot myself in the foot a few times over the
decades. :)<br>
</body>
</html>