Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 3550  / 2 Years ago, sun, january 23, 2022, 3:34:58

After adding a new ppa to the repository, is it necessary to update the whole database? By "whole database" I mean is it necessary to update index's of each and every packege?



If it's not necessary, then how can I update only that specific package whose ppa I have just added into the repository.



For example,



if I add an ppa by typing the following in terminal,



sudo add-apt-repository ppa:tiheum/equinox


then we normally run the following command after it,



sudo apt-get update


But how can I update the only package which is associated with the above ppa, instead of updating the whole database.


More From » apt

 Answers
0

I'm sorry, but as far as I have ever known, you have to do the whole apt-get update.



If other repositories haven't changed, they shouldn't be downloaded again. There's a check to see if the files on the archive server have a more recent date and time than what is already on your computer. If they have changed, they will get downloaded sooner or later anyway.



Except for those individuals running development releases, the repositories that change a lot are pretty small (updates containing Stable Release Updates, and security fixes are the two repos that come to mind).



Development releases are special because the main repository, containing each main package, is being changed several times a day. The main repositories are frozen just before release.






You needn't upgrade everything, however--you can select just to upgrade just the packages you want.


[#37527] Sunday, January 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
amacal

Total Points: 457
Total Questions: 102
Total Answers: 116

Location: Thailand
Member since Thu, Apr 22, 2021
3 Years ago
;