[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Only Download Packages via Wi-Fi if Total Download Size Over 100 MB



You'll need to mark your connection as metered in NetworkManager assuming you're using that as a connection manager.

I'm not sure if apt queries that metered status though.

On June 22, 2019 7:32:20 AM CDT, Bagas Sanjaya <bagasdotme@gmail.com> wrote:
Hello Debian Users,

In Android (Google Play), when a user is about to download application which its size is over 100 MB, a message is
displayed whether the application is about to be downloaded only via Wi-Fi or continue using mobile data.

How can I configure the similar feature on apt, that is when user tried to install or upgrade packages, alert whether 
the download should continue only via Wi-Fi if the total download size is over 100 MB?

Regards, Bagas

Reply to: