how to configure `aptd` to really stop accessing the internet when the machine starts?












0















I have already configured the software updates to NEVER check as recommended in other answers.



I don't want to uninstall any packages because I still I want to be able to check and update but ONLY WHEN I CAN.



I have a limited plan 100MB/day and if I am not fast, /usr/bin/python3/usr/sbin/aptd will start doing it's things and prevent me from doing other stuff the rest of the day...



I just need to PROPERLY disable the auto check for updates as apparently the graphical frontend wont let me do it :(



Well... that if... aptd is actually checking for updates at all.



Related: Ubuntu GNOME 16.04 autoupdates regardless of settings



Obs.: I tracked the PID using nethogs, went to /proc/PID and found it by the cmdline "file". The PID is dead by now, took about 10 to 20minutes I guess.



@N0rbert No, it is not a duplicate at Do I really need apt-daily.service and apt-daily-upgrade.service?. He asks "Do I really need apt-daily.service and apt-daily-upgrade.service?", nobody answered that, nobody answers if he actually needs that or not... The answers there are workarounds to overcome the slow startup.
Here, I still want to be able to reactivate that service anytime, I dont want to uninstall it, I think it is important, I could even answer there "yes dude, it is important, you need it, not that often of course, but that is useful to keep your OS secure", and that should be an acceptable answer there...
There he seems to want to remove that functionality completely as an alternative, but he doesnt make that clear.
I am not questioning it's usability, I am questioning why we cant make is less automatic, happen less often or only on demand, using the graphical frontend (and the answer could be to request a frontend improvement), and finally, how to solve the problem even if temporarily for now.
Now, on how to solve it, the answers are identical, here and there, but the questions are different.
In the past, I have argumented this extensive way, logically, explaining why my point of view is right, and it was completely ignored (there was no further talking) and even (mentally at least) downvoted by managers on stackexchange, so I expect nothing less now, now just waiting to see this final text block be removed, as usual :P










share|improve this question




















  • 3





    Possible duplicate of Do I really need apt-daily.service and apt-daily-upgrade.service?

    – N0rbert
    2 days ago
















0















I have already configured the software updates to NEVER check as recommended in other answers.



I don't want to uninstall any packages because I still I want to be able to check and update but ONLY WHEN I CAN.



I have a limited plan 100MB/day and if I am not fast, /usr/bin/python3/usr/sbin/aptd will start doing it's things and prevent me from doing other stuff the rest of the day...



I just need to PROPERLY disable the auto check for updates as apparently the graphical frontend wont let me do it :(



Well... that if... aptd is actually checking for updates at all.



Related: Ubuntu GNOME 16.04 autoupdates regardless of settings



Obs.: I tracked the PID using nethogs, went to /proc/PID and found it by the cmdline "file". The PID is dead by now, took about 10 to 20minutes I guess.



@N0rbert No, it is not a duplicate at Do I really need apt-daily.service and apt-daily-upgrade.service?. He asks "Do I really need apt-daily.service and apt-daily-upgrade.service?", nobody answered that, nobody answers if he actually needs that or not... The answers there are workarounds to overcome the slow startup.
Here, I still want to be able to reactivate that service anytime, I dont want to uninstall it, I think it is important, I could even answer there "yes dude, it is important, you need it, not that often of course, but that is useful to keep your OS secure", and that should be an acceptable answer there...
There he seems to want to remove that functionality completely as an alternative, but he doesnt make that clear.
I am not questioning it's usability, I am questioning why we cant make is less automatic, happen less often or only on demand, using the graphical frontend (and the answer could be to request a frontend improvement), and finally, how to solve the problem even if temporarily for now.
Now, on how to solve it, the answers are identical, here and there, but the questions are different.
In the past, I have argumented this extensive way, logically, explaining why my point of view is right, and it was completely ignored (there was no further talking) and even (mentally at least) downvoted by managers on stackexchange, so I expect nothing less now, now just waiting to see this final text block be removed, as usual :P










share|improve this question




















  • 3





    Possible duplicate of Do I really need apt-daily.service and apt-daily-upgrade.service?

    – N0rbert
    2 days ago














0












0








0








I have already configured the software updates to NEVER check as recommended in other answers.



I don't want to uninstall any packages because I still I want to be able to check and update but ONLY WHEN I CAN.



I have a limited plan 100MB/day and if I am not fast, /usr/bin/python3/usr/sbin/aptd will start doing it's things and prevent me from doing other stuff the rest of the day...



I just need to PROPERLY disable the auto check for updates as apparently the graphical frontend wont let me do it :(



Well... that if... aptd is actually checking for updates at all.



Related: Ubuntu GNOME 16.04 autoupdates regardless of settings



Obs.: I tracked the PID using nethogs, went to /proc/PID and found it by the cmdline "file". The PID is dead by now, took about 10 to 20minutes I guess.



@N0rbert No, it is not a duplicate at Do I really need apt-daily.service and apt-daily-upgrade.service?. He asks "Do I really need apt-daily.service and apt-daily-upgrade.service?", nobody answered that, nobody answers if he actually needs that or not... The answers there are workarounds to overcome the slow startup.
Here, I still want to be able to reactivate that service anytime, I dont want to uninstall it, I think it is important, I could even answer there "yes dude, it is important, you need it, not that often of course, but that is useful to keep your OS secure", and that should be an acceptable answer there...
There he seems to want to remove that functionality completely as an alternative, but he doesnt make that clear.
I am not questioning it's usability, I am questioning why we cant make is less automatic, happen less often or only on demand, using the graphical frontend (and the answer could be to request a frontend improvement), and finally, how to solve the problem even if temporarily for now.
Now, on how to solve it, the answers are identical, here and there, but the questions are different.
In the past, I have argumented this extensive way, logically, explaining why my point of view is right, and it was completely ignored (there was no further talking) and even (mentally at least) downvoted by managers on stackexchange, so I expect nothing less now, now just waiting to see this final text block be removed, as usual :P










share|improve this question
















I have already configured the software updates to NEVER check as recommended in other answers.



I don't want to uninstall any packages because I still I want to be able to check and update but ONLY WHEN I CAN.



I have a limited plan 100MB/day and if I am not fast, /usr/bin/python3/usr/sbin/aptd will start doing it's things and prevent me from doing other stuff the rest of the day...



I just need to PROPERLY disable the auto check for updates as apparently the graphical frontend wont let me do it :(



Well... that if... aptd is actually checking for updates at all.



Related: Ubuntu GNOME 16.04 autoupdates regardless of settings



Obs.: I tracked the PID using nethogs, went to /proc/PID and found it by the cmdline "file". The PID is dead by now, took about 10 to 20minutes I guess.



@N0rbert No, it is not a duplicate at Do I really need apt-daily.service and apt-daily-upgrade.service?. He asks "Do I really need apt-daily.service and apt-daily-upgrade.service?", nobody answered that, nobody answers if he actually needs that or not... The answers there are workarounds to overcome the slow startup.
Here, I still want to be able to reactivate that service anytime, I dont want to uninstall it, I think it is important, I could even answer there "yes dude, it is important, you need it, not that often of course, but that is useful to keep your OS secure", and that should be an acceptable answer there...
There he seems to want to remove that functionality completely as an alternative, but he doesnt make that clear.
I am not questioning it's usability, I am questioning why we cant make is less automatic, happen less often or only on demand, using the graphical frontend (and the answer could be to request a frontend improvement), and finally, how to solve the problem even if temporarily for now.
Now, on how to solve it, the answers are identical, here and there, but the questions are different.
In the past, I have argumented this extensive way, logically, explaining why my point of view is right, and it was completely ignored (there was no further talking) and even (mentally at least) downvoted by managers on stackexchange, so I expect nothing less now, now just waiting to see this final text block be removed, as usual :P







aptdaemon






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago







Aquarius Power

















asked Jan 26 at 1:35









Aquarius PowerAquarius Power

1,67622042




1,67622042








  • 3





    Possible duplicate of Do I really need apt-daily.service and apt-daily-upgrade.service?

    – N0rbert
    2 days ago














  • 3





    Possible duplicate of Do I really need apt-daily.service and apt-daily-upgrade.service?

    – N0rbert
    2 days ago








3




3





Possible duplicate of Do I really need apt-daily.service and apt-daily-upgrade.service?

– N0rbert
2 days ago





Possible duplicate of Do I really need apt-daily.service and apt-daily-upgrade.service?

– N0rbert
2 days ago










1 Answer
1






active

oldest

votes


















1














It's a little brute force, but you could



sudo systemctl disable apt-daily.service apt-daily-upgrade.service
sudo systemctl disable apt-daily.timer apt-daily-upgrade.timer





share|improve this answer
























  • this boot, aptd did not start. I dont know what was the apt-daily.timer config tho, was every boot? was 1 day? was 15 days? so I dont know if aptd will be triggered again by some other means than thru systemctl cfg, but for now it looks good. I wonder if will remain like that 1 month from now? :)

    – Aquarius Power
    2 days ago













  • @AquariusPower I assume it will stay off, perhaps until something re-enables the services.

    – Charles Green
    2 days ago











  • it may happen? mm... I will create a check everytime I run a new bash session (terminal) to see if it gets changed some day thx!

    – Aquarius Power
    2 days ago











  • @AquariusPower I'm thinking maybe if there's some giant update, but I really don't think so. I've had mine disabled approx 2 months...

    – Charles Green
    2 days ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112965%2fhow-to-configure-aptd-to-really-stop-accessing-the-internet-when-the-machine-s%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














It's a little brute force, but you could



sudo systemctl disable apt-daily.service apt-daily-upgrade.service
sudo systemctl disable apt-daily.timer apt-daily-upgrade.timer





share|improve this answer
























  • this boot, aptd did not start. I dont know what was the apt-daily.timer config tho, was every boot? was 1 day? was 15 days? so I dont know if aptd will be triggered again by some other means than thru systemctl cfg, but for now it looks good. I wonder if will remain like that 1 month from now? :)

    – Aquarius Power
    2 days ago













  • @AquariusPower I assume it will stay off, perhaps until something re-enables the services.

    – Charles Green
    2 days ago











  • it may happen? mm... I will create a check everytime I run a new bash session (terminal) to see if it gets changed some day thx!

    – Aquarius Power
    2 days ago











  • @AquariusPower I'm thinking maybe if there's some giant update, but I really don't think so. I've had mine disabled approx 2 months...

    – Charles Green
    2 days ago
















1














It's a little brute force, but you could



sudo systemctl disable apt-daily.service apt-daily-upgrade.service
sudo systemctl disable apt-daily.timer apt-daily-upgrade.timer





share|improve this answer
























  • this boot, aptd did not start. I dont know what was the apt-daily.timer config tho, was every boot? was 1 day? was 15 days? so I dont know if aptd will be triggered again by some other means than thru systemctl cfg, but for now it looks good. I wonder if will remain like that 1 month from now? :)

    – Aquarius Power
    2 days ago













  • @AquariusPower I assume it will stay off, perhaps until something re-enables the services.

    – Charles Green
    2 days ago











  • it may happen? mm... I will create a check everytime I run a new bash session (terminal) to see if it gets changed some day thx!

    – Aquarius Power
    2 days ago











  • @AquariusPower I'm thinking maybe if there's some giant update, but I really don't think so. I've had mine disabled approx 2 months...

    – Charles Green
    2 days ago














1












1








1







It's a little brute force, but you could



sudo systemctl disable apt-daily.service apt-daily-upgrade.service
sudo systemctl disable apt-daily.timer apt-daily-upgrade.timer





share|improve this answer













It's a little brute force, but you could



sudo systemctl disable apt-daily.service apt-daily-upgrade.service
sudo systemctl disable apt-daily.timer apt-daily-upgrade.timer






share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 26 at 1:46









Charles GreenCharles Green

13.3k73658




13.3k73658













  • this boot, aptd did not start. I dont know what was the apt-daily.timer config tho, was every boot? was 1 day? was 15 days? so I dont know if aptd will be triggered again by some other means than thru systemctl cfg, but for now it looks good. I wonder if will remain like that 1 month from now? :)

    – Aquarius Power
    2 days ago













  • @AquariusPower I assume it will stay off, perhaps until something re-enables the services.

    – Charles Green
    2 days ago











  • it may happen? mm... I will create a check everytime I run a new bash session (terminal) to see if it gets changed some day thx!

    – Aquarius Power
    2 days ago











  • @AquariusPower I'm thinking maybe if there's some giant update, but I really don't think so. I've had mine disabled approx 2 months...

    – Charles Green
    2 days ago



















  • this boot, aptd did not start. I dont know what was the apt-daily.timer config tho, was every boot? was 1 day? was 15 days? so I dont know if aptd will be triggered again by some other means than thru systemctl cfg, but for now it looks good. I wonder if will remain like that 1 month from now? :)

    – Aquarius Power
    2 days ago













  • @AquariusPower I assume it will stay off, perhaps until something re-enables the services.

    – Charles Green
    2 days ago











  • it may happen? mm... I will create a check everytime I run a new bash session (terminal) to see if it gets changed some day thx!

    – Aquarius Power
    2 days ago











  • @AquariusPower I'm thinking maybe if there's some giant update, but I really don't think so. I've had mine disabled approx 2 months...

    – Charles Green
    2 days ago

















this boot, aptd did not start. I dont know what was the apt-daily.timer config tho, was every boot? was 1 day? was 15 days? so I dont know if aptd will be triggered again by some other means than thru systemctl cfg, but for now it looks good. I wonder if will remain like that 1 month from now? :)

– Aquarius Power
2 days ago







this boot, aptd did not start. I dont know what was the apt-daily.timer config tho, was every boot? was 1 day? was 15 days? so I dont know if aptd will be triggered again by some other means than thru systemctl cfg, but for now it looks good. I wonder if will remain like that 1 month from now? :)

– Aquarius Power
2 days ago















@AquariusPower I assume it will stay off, perhaps until something re-enables the services.

– Charles Green
2 days ago





@AquariusPower I assume it will stay off, perhaps until something re-enables the services.

– Charles Green
2 days ago













it may happen? mm... I will create a check everytime I run a new bash session (terminal) to see if it gets changed some day thx!

– Aquarius Power
2 days ago





it may happen? mm... I will create a check everytime I run a new bash session (terminal) to see if it gets changed some day thx!

– Aquarius Power
2 days ago













@AquariusPower I'm thinking maybe if there's some giant update, but I really don't think so. I've had mine disabled approx 2 months...

– Charles Green
2 days ago





@AquariusPower I'm thinking maybe if there's some giant update, but I really don't think so. I've had mine disabled approx 2 months...

– Charles Green
2 days ago


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112965%2fhow-to-configure-aptd-to-really-stop-accessing-the-internet-when-the-machine-s%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局