Swap sources.list

Kaushal Shriyan kaushalshriyan at gmail.com
Tue Jun 7 16:55:58 UTC 2011


On Tue, Jun 7, 2011 at 7:10 PM, Pritam Baral <pritam at pritambaral.co.cc> wrote:
> sources.list is useful during updates only. The actual repository from which
> the packages will be downloaded depends on the sources.list during the last
> update. So, unless you wish to sudo apt-get update everytime you switch
> connections and swap sources.list, there's no point.
> I think the package lists after download are cached and stored in
> /var/cache/apt/pkgcache.bin and source packages in
> /var/lib/apt/srcpkgcache.bin. You could have two copies of each made and
> switch them when switching connections.
>
> Regards,
> Chhatoi Pritam Baral
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>

Hi

I have taken care of this case using dispatcher script available in
Network Manager Applet.

Regards,

Kaushal




More information about the ubuntu-users mailing list