I think it may be easier than you think.
Let me use an example. Let's say everything is working OK before adding the ppa on one of the laptops, and that you want to install the package 'mediainfo' from here 'ppa:shiki/mediainfo'.
In one laptop, you add the ppa to its sources:
Code:
sudo add-apt-repository ppa:shiki/mediainfo
In order to let apt-proxy-ng to cache the sources' index files, you simply just update:
Code:
sudo apt-get update
That would get the index files cached on the server.
Then you can install the application:
Code:
sudo apt-get install mediainfo
That would also cache the package on the server.
If you want to install it on the other laptop, you follow the exact same procedure. The difference will be that the index files and the package itself have been cached, thus it will be very fast, and you'll be saving bandwidth.
I hope that helps. Let us know how it goes.
Regards.
Bookmarks