The problem however appears when you try to install the plugin (Bindwood) to sync Firefox bookmarks in the Ubuntu One application. Not only does it not work – it also messes up an entry in your /etc/apt/sources.list. This means that you will get an error when you run update manager (and you will have an icon in the taskbar that reminds you of this all the time).
To avoid this problem you can install the Bindwood plugin manually as follows:
sudo apt-get install xul-ext-bindwood
If you need to correct your /etc/apt/sources.list this can be done as follows, In the Terminal type:
sudo gedit /etc/apt/sources.list
Look for the deb http://packages.linuxmint.com/ isadora main upstream import universe entry and remove “universe” from the end of it so that it looks like this:
In a previous post I configured Ubuntu Server as an apt proxy using apt-cahcher-ng, but had only configured my servers to use the proxy.
There are various ways of configuring mobile clients to enable and disable their apt proxy configuration. I chose to create a couple of bash scripts and a couple of launchers so that I could easily enable and disable my laptops’ connection to the proxy.
In my home directory I created the following files – enableproxy.sh, disableproxy.sh and 02proxy.
The next step is to create a launcher for enableproxy.sh and disableproxy.sh.
Right click the desktop and then click Create Launcher. Click the Type drop-down menu and select Application in Terminal. Enter a Name for the Launcher. Click the Browse button and select enableproxy.sh. Click OK.
Repeat this process and create a Launcher for disableproxy.sh.
This manual process allows me to keep my proxy configured 99% of the time and be able to quickly disable it when my laptop is away from home.
If you have several Ubuntu machines downloading packages over the internet you can use apt-cacher-ng as a proxy to cache these packages locally. This will save bandwidth and increase the speed with which machines get packages (once they have been cached). To set this up I will install apt-cacher-ng on Ubuntu Server and then configure my Ubuntu desktop machines to use apt-cacher-ng as a proxy.
Having set a static IP address on my server installation I installed apt-cacher-ng as follows:
Make sure that you replace <server-ip> with the static IP address of your apt-cacher-ng server:
On the apt-cacher-ng dashboard scroll down and click the Import button:
Once the import is complete you can test that everything is working by downloading the same package from multiple clients. Using the Count Data button at the top of the apt-cacher-ng dashboard you will be able to monitor the transfer statistics: