Thursday, March 5, 2009

dependency Problems on acer aspire one linux

This post is a one-to-one copy from the following site:

I regard this as so important that not just want to link to it, but copy it into my site as well! It's not my merit, so have a look at his site as well, because he has lot's of other interesting stuff on it!

As you may already know the AA1 comes with a custom version of Linpus Linux, which is a custom version of Fedora. If you take a look at the source RPMs provided by Acer you will notice about 50 modified packages, recognizable by an lp suffix in their filename. I have already found one package modified directly by Acer where the original filename was not modified, so there may be more. And since neither Acer nor Linpus keep their own repositories the only choice is to use the Fedora ones if you want to update or install a package. As a result you'll run into dependency problems now and then.

I will try to resolve them as i stumble upon them.

#1 gecko-libs
You will receive the following error whenever you try to install a package that is somehow related to Firefox, or more precisely its gecko engine: Missing Dependency: gecko-libs = A package that triggers it is epiphany. It can be resolved. First of all Firefox 2 has to be removed, which can only be done via rpm, or else half the system will go with it. Forcing it via rpm however breaks a few packages. To satisfy their needs a Fedora version of Firefox 2 is installed and a symlink to the excpected library path created. Finally yelp is updated, and that's it.

sudo rpm -e --nodeps firefox
sudo yum install firefox
sudo ln -s /usr/lib/firefox-* /usr/lib/mozilla
sudo yum install yelp

#2 notification-daemon-xfce
It manifests itself via the following message: notification-daemon-xfce conflicts with notify-daemon. The good news is that for most packages the problem is fixed with procedure #1. I can only trigger it now via sudo yum update, which is not recommended anyway because it will turn your system into Fedora 8 if you're lucky or break it if you're not. Use yum only to update selected packages, and even then make sure it's not updating one of the modified ones. I'll put this one hold until another package complains about it.

#3 gnome-menus
This depedency problem is triggered via f-spot or evolution, displaying the following error.

file /usr/share/desktop-directories/ from install of gnome-menus-2.20.3-1.fc8 conflicts with file from package xfdesktop-acer-lp-1522.no_spot.mcs_patched
file /usr/share/desktop-directories/ from install of gnome-menus-2.20.3-1.fc8 conflicts with file from package xfdesktop-acer-lp-1522.no_spot.mcs_patched

It's fairly easy to fix. Just download gnome-menus and redhat-menus and force their installation. Then restore the original content of the conflicting files.

sudo yum install yum-utils
sudo yumdownloader gnome-menus redhat-menus
cp /usr/share/desktop-directories/* .
sudo rpm -U --force gnome*rpm redhat*rpm
sudo mv *directory /usr/share/desktop-directories

#4 gtk2-devel
Not really a dependency problem but more of a general problem. Installing gtk2-devel automatically updates the custom gtk2, which breaks the desktop. Just download it and force the installation via rpm.

sudo yum install yum-utils
sudo yumdownloader --disablerepo=updates,updates-newkey gtk2-devel
sudo rpm --force --nodeps -i gtk2-devel*rpm

#5 libpulse
This problem only occured recently and is triggered if you try to install VLC, with the following error message.

Error: Missing Dependency: is needed by package vlc
Error: Missing Dependency: is needed by package vlc-core
Error: Missing Dependency: is needed by package vlc-core

An explanation can be found here, the solution is to simply use the line below.

sudo yum install fedora-release

Sunday, March 1, 2009

media player acer aspire one

Just downloaded some podcast from
These files come with an .m4v extension, so actually they are .mp4 files.
The Acer Aspire One won't play them out of the box, but it's easy to set it up.

open a terminal and type the following:

sudo rpm -ivh
sudo yum install vlc

if this doesn't work out, do the following:

sudo yum install fedora-release
sudo yum install vlc

you probably want to install it also for Firefox, so type:

yum install python-vlc mozilla-vlc


Thursday, February 12, 2009

Thunderbird Portable - Configuration - Win XP

Create a ThunderbirdPortable.ini File. How to do this you'll find in the \ThunderbirdPortable\Other\Source\Readme.txt File that comes with the installation.

Google Sync - Iphone

Just changed from Nuevasync to GOOGLE SYNC to sync my Google Contacts and Google Calendar with my Iphone.

Monday, February 9, 2009

pdf - debian 'etch'

apt-get install xpdf

For more information about pdf and debian see the debian wiki.

ntfs-3g - debian 'etch' - read and write ntfs

today I wanted to mount my external harddisc in ntfs format, so that's what I did:

I basically followed the instructions, that are described here.

1. Because of unsolved dependencies in 'etch' I had to manually download ntfs-3g and libntfs-3g.

2. install dependencies:

apt-get install fuse-utils libfuse2

3. install ntfs-3g using the just downloaded packages:

dpkg -i libntfs-3g0_0.0.0+20061031-6_i386.deb
dpkg -i ntfs-3g_0.0.0+20061031-6_i386.deb

4. mount the external disc:

ntfs-3g /dev/sda1 /mnt/extdisc -o force

a) Make sure that you create the directory /mnt/extdisc before mounting.
b) /dev/sda1 is to be replaced by your disc (find out by typing: 'fdisk -l')
c) Because there was en error loading the disc normally (might be caused by ms windows), I used the 'force' option.

Friday, February 6, 2009

slim down the debian 'etch' minimal x-system

Got this error message at start-up, that the internet superserver doesn't start, so I first did the following:

update-rc.d -f openbsd-inetd remove

But soon afterwards I decided to remove the whole openbsd-inetd package by typing:

apt-get remove -purge openbsd-inetd


apt-get install gimp

nice and fast!

Thursday, February 5, 2009

vpnc on Debian 4.0 or 'Etch' - the latest stable release

If you need a vpn client installed on your machine, here's a tutorial for vpnc (which is the best alternative for the cisco client for windows machines).

Open a terminal and go root by typing:

Open 'etc/apt/sources.list' with the nano-editor, which is very intuitiv and comes with every Debian installation, by typing:
nano /etc/apt/sources.list

Once opened, check if your repositories-list looks similar to this one:

deb etch main contrib non-free

Because the package is in the main-repository 'main' is the key word that must not be missing in your '/etc/apt/sources.list'. If it should not be there, just add the line above. To save in the nano editor, you press 'ctrl-o' and quit it by pressing 'ctrl-x'.

If you had to modify the file update the repository list by typing:
apt-get update

Install the vpnc by typing:
apt-get install vpnc

Create a configuration file in order to have access to Zurich University by typing:
nano /etc/vpnc/uzh.conf

The following text should be inside:
IPSec gateway
IPSec ID 'groupUsername'
IPSec secret 'groupPassword'
Xauth username 'sYourImmatriculationNumber'
Xauth password 'yourPassword'

save the file by pressing 'ctrl-o' and quit the editor by pressing 'ctrl-x'.

a) don't write the quotation marks ' '.
b) 'groupName', 'groupPassword' can be found on the website
of the Zurich University.
go here

c) Xauth password can be set or not, it's up to you!

Customise the File Rights
Type in the terminal:
chmod 644 /etc/vpnc/uzh.conf
chown root.root /etc/vpnc/uzh.conf

Start / end the program
1. In order to start the program, type in the terminal as superuser:
vpnc uzh

2. In order to end the program, type in the terminal as superuser:

More information on how to enter the internal section of the University of Zurich can be found

Install Flash in Debian 'Etch'

To surf the world wide web you need for a lot of websites flash installed. And unlike the Iphone, which I nevertheless love a lot, with Debian it's possible to install flash!

The automatic procedure included in browsers does not work for a Debian 'Etch' based system. But it's very easy to install:

Because we need the backports repository, we first install the debian-backports-keyring package in order to verify the downloaded files:

apt-get install debian-backports-keyring

Then, one has to add the following line to the '/etc/apt/sources.list':

deb etch-backports main contrib non-free

In order to have the packages automatically upgraded from the backports repository, you modify or create 'etc/apt/preferences' in the following way:

Package: *
Pin: release a=etch-backports
Pin-Priority: 200

Update afterwards the repositories list with:

apt-get update

And then you simply type:
apt-get install flashplugin-nonfree

For more information on backports see The Debian Wiki or
For more information on Flash and Debian see The Debian Wiki.
For more information on installing Flash in a Debian based System see

Debian 'Etch' on Toshiba Libretto U100 - a minimal X-system and wireless card

I just love my good old Toshiba Libretto U100. And after some years on Windows XP I decided to go back to the roots and work with Debian GNU/Linux - a system I played a lot with in the past.

The installation process went easier than it used to be. Everything I need for the beginning is recognised on the Toshiba Libretto U100. Not the wireless card though, but this is just because the driver is inside the non-free repository!

I decided to install nothing but the core system (so said no to all the tasksel offers during the installation process). Then on the terminal I first customised the '/etc/apt/sources.list' to the following:

deb etch main contrib non-free
deb-src etch main contrib non-free

deb etch/updates main contrib
deb-src etch/updates main contrib

Then I did a 'apt-get update' and went on installing a minimal x-System:

apt-get install xorg (I chose 1600x1200 for the external monitor I plan to use and 1280x768 and 1024x768 for the tiny U100 display).

#very basic login manager
apt-get install xdm

I was hesitating between fluxbox - blackbox - openbox - jwm... but there are lots more, have a look here for a nice comparison between some desktop packages. I first stick to fluxbox.
apt-get install fluxbox

For more information to install a mininmal debian x-system see here.

Now it's time to get my wireless card working, because I hate the limitations of a cable-based internet connection! For more information on this see here.

#install the needed packages
apt-get install module-assistant wireless-tools

#build and install a madwifi-modules*-package in my system
m-a prepare
m-a a-i madwifi

There was no need for me to unload the ath5k module (you can do it anyway if you're not sure by typing: 'modprobe -r ath5k'.

#load the ath_pci module
modprobe ath_pci

#check that your device has an available interface

#raise the interface to activate the radio, for the U100 it's ath0
ifconfig ath0 up

#Because I'm using wpa encription, I needed to install wpa-supplicant package
apt-get install wpasupplicant

After this I customised my '/etc/network/interfaces' file, for more information on this, see here.

# The loopback network interface
auto lo
iface lo inet loopback

#The primary network interface (I commented-out the 'eth1'
#interface for ethernet, because
#I won't use it normally, I did not delete it, if I have to use it some day)

iface ath0 inet dhcp
#bring up wireless automatically at system start-up
auto ath0
wpa-ssid myNetworkName
wpa-psk mySecretPassPhrase
wireless-essid MyNetworkName

#allow-hotplug eth1
#iface eth1 inet dhcp

After saving the file, I brought up the interface
ifup ath0

Now, in order to use the internet, I installed iceweasel (debian's firefox):
apt-get install iceweasel

And finally, I'm going to restart my new system, pretty nervous, though :-)

And yes.... it's working!

Wednesday, February 4, 2009

Acer Aspire One - vpnc tutorial - sample Universität Zürich

Prepare your Acer Aspire One

1. Press 'Alt-F2', write 'terminal' and press 'Enter'.

2. Download the kernel module 'tun.ko' by typing the following into the terminal: 'sudo wget'

3. Now copy the module where it should be by typing the following:
'sudo cp tun.ko /lib/modules/'
'sudo mv tun.ko /lib/modules/

Of course it's possible to download the file directly to the right place:
'sudo wget /lib/modules/'
'sudo cp /lib/modules/ /lib/modules/'

'' is the current kernel version (after 9 it's an 'l' as in 'lima' and not a 'one').
You find your version by typing: 'ls /lib/modules'. If you have a different version just replace with your version number!

4. Finish by typing: 'sudo depmod -a'.

Create the configuration file and customise it
1. Go to the place where the file should be placed by typing: ' cd /etc/vpnc'.

2. Create the file by typing: 'sudo vi uzh.conf'.
Although 'vi' is not very intuitiv, but every GNU/Linux Distribution comes with it, and by following this tutorial you're able to use it in order to create and customise the configuration file. If you prefer another editor, just take the one you like.

3. Once the editor's opened in the terminal, type the following: ':i' and press 'Enter'. You're in the 'insert-mode' now.

4. write:
IPSec gateway
IPSec ID 'groupName'
IPSec secret 'groupPassword'
Xauth username 'sXXXXXXX'
Xauth password 'yourPassword'

a) don't write the quotation marks ' '.
b) 'groupName', 'groupPassword' can be found on the website of the Zurich University:
go here
c) Xauth password can be set or not, it's up to you!

5. In order to save the file, press 'ESCAPE', your in the command mode now. Then type: ':wq' ('w' is for write, i.e. save the file and 'q' is for quit.

Customise the File Rights
1. Type in the terminal:
'sudo chmod 644 /etc/vpnc/uzh.conf'
'sudo chown root.root /etc/vpnc/uzh.conf'

Start / end the program
1. In order to start the program, type in the terminal: 'sudo vpnc uzh'
2. In order to end the program, type in the terminal: 'sudo vpnc-disconnect'

More Information on how to enter the internal section of the Zurich University by a vpn client can be found here.

Acer Aspire One - System Rescue - USB Stick

After my System Rescue Disc, that was delievered with my new Acer Aspire One, just did not want to work, I searched the web for a usb-stick image and a possibility to install the system from scratch without a cd!
For my solution you need a running GNU/Linux system, a usb stick (at least 2GB) and the usb-image.

Where to find an image:

or look for a torrent:

Once you've downloaded the image, plug-in the usb stick, open a terminal and go root by typing 'su'.

In the Folder where the image is, type:
'zcat aa1_usb_recovery_image.gz > /dev/sda'

In my case the usb stick is 'sda', to find out what's in your computer, type fdisk -l.

And voilà your bootable usb recovery stick is done!