3

Is there a way to avoid this step a check only the newly added ppa?

Gaël Barbin
  • 327
  • 1
  • 4
  • 19

2 Answers2

1

Yes, this is possible, however you have to install the Y PPA Manager from a PPA and run the main update command which you want to avoid running, I understand that this sounds paradoxical, however if you choose this option then though you will have to do it once for this installation, you will never have to do it again. So if you have decided to go for this option run:

sudo apt-add-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager

And then you will be able to run the following command ever after to deal with future PPAs (though you will have to replace ppa:example/ppa with the address of the PPA):

sudo update-ppa ppa:example/ppa
Byte Commander
  • 110,243
DnrDevil
  • 1,478
1

Well, I don't know a way to avoid checking for updates, but I can answer the original question.

When you add a PPA, Ubuntu has no way of knowing what packages are actually included. If you want to install software from the PPA, Ubuntu will need to "update" the software source to get the latest list of available software.

While this process "updates" all of the repositories on your system, it only downloads changes. If a repository hasn't changed since the last time your computer updated it, it will simply ignore it and move on. Even if repository information has changed, it only downloads the changes, and not the entire list.

Sources: What does 'Ign' mean when running an apt-get update?

http://ubuntuforums.org/showthread.php?t=231300.

And personal experience