I’ve been meaning to try out Lubuntu for quite some time, but was thwarted by the lack of a torrent. If you didn’t know, Lubuntu is an Ubuntu variant using the lightweight LXDE desktop environment, like Kubuntu uses KDE or Xubuntu uses XFCE. It hasn’t been officially approved as a part of the Ubuntu family yet, but judging from the favourablereviews it has been getting, that day might not be far away. Lubuntu is supposed to be much lighter than Xubuntu, which I’m currently using and seems like it is all that.
Anyway, the official Lubuntu.net page doesn’t show a torrent or metalink download option. Search for a torrent serves up the Lubuntu beta2 torrent or custom Lubuntu distributions created by enthuciasts. I finally got the official torrent from the mailing list archive.
Without further ado, here’s the torrent downlad link :
Suppose you have two computers running the same version of Ubuntu and you have downloaded and installed the updates on one of the computers. Since you are having a rather expensive or maybe, a limited internet connection, you do not wish to download the updates again for the other computer.
Updates downloaded by aptitude are stored in the directory /var/cache/apt/archives. You’ll find the package files in .deb format(Debian software package format). If these updates are copied to the same directory on the other computer, aptitude will automatically recognise those files and use them as necessary while updating. You can copy the files using a flash drive or write them to a CD if you wish to.
You can copy the packages using this command :
[bash]sudo cp /var/cache/apt/archives/* /path/to/flash/drive[/bash]
Now connect the flash drive to the other computer and copy the files to the /var/cache/apt/archives/ directory there.
After this, you need to update your package information and install the updates found.
[bash]sudo apt-get update && sudo apt-get upgrade[/bash]
All the required updates will be installed from the /var/cache/apt/archives/ directory(if available). You can also install new packages, and they will not be downloaded if they are available locally.
Like many others, my speakers stopped working after I upgraded to Lucid Lynx. The usual solution of purging, reinstalling PulseAudio didn’t work for me, nor was my volume muted.
I finally got it working by removing PulseAudio and not installing it afterwards. AlsaMixer works just fine for me. However, I some times get the feeling that the sound quality might have deteriorated a bit, but it might just be me worrying too much.
This post is for those with a similar problem. If the usual solutions don’t work for you, try removing PulseAudio. That just may be it.
Now we need to create a file containing the source URLs for the file(s) we need to download. The source/mirror URLs should be separated by a tab or newline. The mirrors can also be used directly as a command line argument, but that would just make things clumsy.
I’m using Lucid Netbook Edition as an example here. My sources.txt contains the following :
The -i argument specifies the input file and -s argument specifies how many connections will be used to simultaneously download the file. Here, we have 12 mirrors for the .iso file, so I used 12 in the argument. According to the aria2c man page, if the value specified in the -s argument (say, N) is less than the number of mirror URLs, the first N URLs will be used and the rest will be used as backup. Otherwise, if the number of mirrors is less, a single source is used more then once, so that N connections can be made.
Aria2 is a wonderful download utility that support Metalinks and BitTorrent other than the usual http, ftp. It can be used to do a whole range of things, but we will keep ourselves limited to the topic at hand. Maybe we will try out those possibilities in an other post.