When I add a ppa and I want to install some of its content is quite annoying to re-update all my apt list using apt-get update
Is it instead possible to only sync the content of a given repository?
|
When I add a ppa and I want to install some of its content is quite annoying to re-update all my apt list using Is it instead possible to only sync the content of a given repository? |
|||
|
|
|
yes, apt-get can do that, and can do it in a nice way. 1.Append following to
2.Append following to
3.Append following to
4.Then source the files
5.Done and start to fire it
You can update a single ppa repository without having to update whole apt source, with implement of bash-completion. |
||||
|
|
|
If the repository is configured in a specific file in the directory
Nevertheless this is not very convenient.
so that you can simply run
|
||||
|
|
No, you need to update the entire database in order to ensure that you don't get into problems. Packages can depend on packages in other archives, so you really need to know the status of all archives. However, if no changes have been made to the archive since you last updated it, then it'll know that and it won't update it again. |
|||||||
|
|
Y PPA Manager comes with a command line tool called "update-ppa" that lets you update a single PPA. For example: "sudo update-ppa ppa:nilarimogard/webupd8" Also, when adding a PPA through Y PPA Manager, the PPA source is automatically updated (only for that PPA). In a future version, there's going to be a GUI to manually update single PPAs as well. More information about Y PPA Manager, HERE. |
|||
|
|
|
I had this problem also and found no program or way to do this as flexibly as I wanted. So I wrote a program using libapt's python binding. It ended up being very similar to enzotib's solution but allowing for arbitrary files and specifying repository lines on the command line. See my blog post at: http://archimedesden.wordpress.com/2012/08/06/updating-selected-debianubuntu-repositories/ |
|||
|
|