Linux User Group of Mauritius Promoting open source software in our beautiful island

21May/130

LUGM meeting, 15th of June 2013. (Meeting Restylized) Venue: L’escalier.

Posted by Selven

Greetings people, due to popular demands we have decided to re-stylize our meeting formats,
and are even doing it at a different location, where, we get to discover new places
at the same time instead of the usual.

We can't do this without your presence, so please do confirm where you will be present or
not, or if the date needs to be moved. (can't be moved earlier than 8th of June, can't
be moved after 18th of July.)

I will be updating this description as times goes on with more ideas of what we shall include.

Agenda (and how i view it so far):
- Get to know a bit of ourselves, new members etc.
- Recruit new members out there (hopefully each one of you will be able to bring
some more people).
- I myself might do a very short presentation, on some intelligent tv i am
working on as hobby.
- Logan will be doing some light presentation.
- Anyone is actually free to do a small presentation of not more than 12 minutes
(Please do inform me before hand if you are planning to do a presentation.).
- There shall be internet provided via emtel.
- There'll be plenty of free food. (Please do notify whether you are veg or
non veg during the course of this week. (along with you guests).
- Some beer will be available, no hard drinks allowed. You can bring your own beer.
- Let's kick off our plans for this year, we need to actually do something
as a lug to the society, so feel free to draft ideas and bring those there :),
and hopefully be ready to command a particular project.

Again this is in the form of an opensource project, it works only if you contribute
ideas :p, so please feel free to add more to it (though you get to be responsible of
what you add.

I'll add a map shortly for the location. Its 20 minutes drive from Ebene.
You will most certainly be having people driving to come to the event, so lemme know
where you leave, i'll hook you up with someone coming here.

FB event: https://www.facebook.com/events/598276533525752/598279506858788/?notif_t=plan_mall_activity

Sincerely,

Selven
Secretary of the lug.

Filed under: Uncategorized No Comments
21May/130

VMware Kernel Module Updater hangs on Ubuntu 13.04

Posted by Jochen Kirstaetter

VMware Player has a nice auto-detection of kernel changes, and requests the user to compile the required modules in order to load them. This happens from time to time after a regular update of your system. Usually, the dialog of VMware Kernel Module Updater pops up, asks for root access authentication, and completes the compilation.

vmware-kernel-module-updater-info
VMware Player or Workstation checks if modules for the active kernel are available.

In theory this is supposed to work flawlessly but in reality there are pitfalls occassionally. With the recent upgrade to Ubuntu 13.04 Raring Ringtail and the latest kernel 3.8.0-21 the actual VMware Kernel Module Updater simply disappeared and the application wouldn't start as expected. When you launch VMware Player as super user (root) the dialog would stall like so:

vmware-kernel-module-updater-compile
VMware Kernel Module Updater stalls while stopping the services

Prior to version 5.x of VMware Player or version 7.x of VMware Workstation you would run a command like:

$ sudo vmware-config.pl

to resolve the module version conflict but this doesn't work anyway.

Solution

Instead, you have to execute the following line in a terminal or console window:

$ sudo vmware-modconfig --console --install-all

Those switches are (as of writing this article) not documented in the output of the --help switch. But VMware already documented this procedure in their knowledge base: VMware Workstation stops functioning after updating the kernel on a Linux host (1002411).

Update

As of today I had the first kernel upgrade to version 3.8.0-22 in Ubuntu 13.04. Don't even try it without vmware-modconfig...

Tagged as: No Comments
9May/130

Upgrade to Xubuntu 13.04 – Raring Ringtail

Posted by Jochen Kirstaetter

Over the last couple of years, I had various levels of upgrade experience with Ubuntu, or more precise Xubuntu in my case. Those ones range from complete disaster (due to hardware issues) over good fun with some minor tweaks up to seamless. Following describes the steps and aftermath I did to upgrade my main working machine from Xubuntu 12.10 Quantal Quetzal to version 13.04 aka Raring Ringtail.

Preparations

In general, it is highly recommended that you read the official upgrade documentation of Ubuntu. Next, get your recent system up-to-date before you consider to upgrade. Also, take care that there are no pending partial upgrades or packages on hold. This might have a negative impact on the installation process of the newer packages. There are two possibilities to take of that: UI or terminal.

As for the UI, launch either the Ubuntu Software Centre or Synaptic Package Manager and check the status of your system.

ubuntu_software_centre
Check your system's status in Ubuntu Software Centre

synaptic_package_manager
The Synaptic Package Manager is a good alternative to check your system

and for those ones who prefer to work on the console, you might already know the procedure

$ sudo apt-get install -f
$ sudo apt-get update && sudo apt-get upgrade

And in worst case you might even consider to clean up a little bit before continuing with the release upgrade

$ sudo apt-get autoremove
$ sudo apt-get clean && sudo apt-get autoclean

That should do the work to put your machine in a clean state. One last step: Terminate any kind of screen saver or screen locker applications. The upgrade process will update libc6 and therefore is going to remind you that you might take the risk to get locked out of you system. Now, we are set for the next steps.

Initiate the upgrade

Start the process graphically via Applications menu > Settings Manager > Scroll down to section 'System' > Software Updater

settings_manager
Accessing the Software Updater in the Settings Manager

or run the following command to launch the visual Software Updater

$ sudo update-manager

Eventually, you have to adjust your settings for the available Ubuntu versions. Simply open the settings dialog and check that 'For any new version' is the selected value.

software_updater_settings
Check your notification setting on new Ubuntu versions

Afterwards, the updater should offer you Ubuntu version 13.04 as upgrade path.

In the console you have to modify your repository paths first. Open your favourite console text editor and change all occurences of 'quantal' into 'raring'

$ sudo nano /etc/apt/sources.list

Your file should look similar to this one:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mu.archive.ubuntu.com/ubuntu/ raring main restricted
deb-src http://mu.archive.ubuntu.com/ubuntu/ raring main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mu.archive.ubuntu.com/ubuntu/ raring-updates main restricted
deb-src http://mu.archive.ubuntu.com/ubuntu/ raring-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mu.archive.ubuntu.com/ubuntu/ raring universe
deb-src http://mu.archive.ubuntu.com/ubuntu/ raring universe
deb http://mu.archive.ubuntu.com/ubuntu/ raring-updates universe
deb-src http://mu.archive.ubuntu.com/ubuntu/ raring-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mu.archive.ubuntu.com/ubuntu/ raring multiverse
deb-src http://mu.archive.ubuntu.com/ubuntu/ raring multiverse
deb http://mu.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb-src http://mu.archive.ubuntu.com/ubuntu/ raring-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes

And temporarily comment all the additional third-party repositories for the upgrade. We are going to enable them after the core update. Afterwards, simply type this

$ sudo apt-get update
$ sudo apt-get dist-upgrade

Now, it's time to lean back, wait for the packages to be downloaded and confirm a couple of questions from time to time. Depending on your amount of installed packages and your bandwidth it will take some while to get everything. As a reference, I had to upgrade 1720 packages with a total download size of approximately 1.1 GB. Due to my restricted bandwidth I left my machine alone overnight and do all the fun stuff. Next morning, some minor checks and rebooting the machine. The first fresh boot took a little longer than usual but the graphical login screen appeared as expected and after successful login my system was up to date.

ubuntu_uptodate
When all is said and done, work can be fun!

In case that you like to be on the safe side, you might consider to download the packages completely first and then do the upgrade itself afterwards:

$ sudo ap-get dist-upgrade -d

Doing the aftermath

This mainly depends on your package selection. In my case, I only had to take care of two specific applications: Skype and VMware Player. Well, as for VMware Player I had to re-install the application. You should use at least version 5.0.2 which is known to work out of the box on Ubuntu 13.04. Just in case that you don't have the latest version, get it from VMware and run the following in the directory with the bundle file:

$ sudo vmware-installer -u vmware-player
$ sudo chmod +x VMware-Player-5.0.2-1031769.x86_64.bundle
$ sudo ./VMware-Player-5.0.2-1031769.x86_64.bundle

This will do the trick and VMware Player runs again.

Skype actually took me a little bit more research (read: run some Google search queries) due to an error:

$ /usr/bin/skype
(Segmentation fault)

But the solution is also very simple. Skype requires to pre-load the libGL library in order to run properly

$ LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0 skype

And to simplify your life, create launcher script as a 'transparent proxy' for Skype:

$ sudo cd /usr/bin
$ sudo mv skype skype-bin
$ sudo nano skype

Your shell script should look like so:

#!/bin/sh
export LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
exec skype-bin "$@"

Save your file and enable the execute bit on the script:

$ sudo chmod +x skype

That's it! Skype starts again as expected...

Optional: Decluttering

Xubuntu 13.04 comes with a couple of re-introduced software packages that you might like to get rid of. Check out the installed applications in your Ubuntu Software Centre or Synaptic Package Manager and remove them as needed.

Tagged as: No Comments