If I add a new repository, I have to run apt-get update before I can install packages from that source, of course. But it takes a few minutes for that to complete.

Is there an easy way to do something like tell it to only update sources that haven't been updated, say, today? Or in the past few minutes or something?

  • When you run 'apt-get update' it doesn't download anything more than a cache of what packages and what versions of those packages are available. I don't believe there is any way to limit this. 'apt-get upgrade' is a different story however. – Ian Apr 28 '15 at 2:39
  • You can try updating only a specific repository. See askubuntu.com/q/65245/158442 – muru Apr 28 '15 at 3:14

You can use the Y-PPA-Manager, then you do not need to use sudo apt-get update.

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager
  1. via command-line with, eg:

    sudo update-ppa ppa:webupd8team/y-ppa-manager
  2. via GUI:

    enter image description here

    enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.