Advertisement
Guest User

Disable popularity-contest

a guest
Dec 28th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Howto disable participation in Ubuntu's popularity contest (statistics about the most used packages on this system)
  2.  
  3. Although we aren't your mother and we will not tell you exactly what to do, we offer this simple advice: Do not remove the package popularity-contest because the package ubuntu-standard depends on this package. While it will not break your system if you do decide to remove popularity-contest, future upgrades may be impacted. You've been warned.... but do whatever you want.
  4.  
  5. On to disabling popularity-contest
  6.  
  7. Step 1
  8.  
  9. == Change mode for the executables 'popcon-largest-unused' and 'popularity-contest'
  10.  
  11. sudo chmod -x /usr/sbin/popcon-largest-unused
  12. sudo chmod -x /usr/sbin/popularity-contest
  13.  
  14. chmod -x effectively changes the executables to non-executables (they can never run, even as root)
  15.  
  16. Step 2
  17.  
  18. == Delete popularity-contest configuration file
  19.  
  20. sudo rm /etc/popularity-contest.conf
  21.  
  22. Step 3
  23.  
  24. == Delete popularity-contest cron task
  25.  
  26. sudo rm /etc/cron.daily/popularity-contest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement