Thursday, March 5, 2009

dependency Problems on acer aspire one linux

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

http://macles.blogspot.com/2008/08/dependency-problems-on-acer-aspire-one.html


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 = 1.8.1.16. 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-2.0.0.16/* /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/Internet.directory 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/Settings.directory 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: libpulse.so.0(PULSE_0) is needed by package vlc
Error: Missing Dependency: libopendaap.so.0 is needed by package vlc-core
Error: Missing Dependency: libdvdnav.so.4 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 sf.tv.
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 http://rpm.livna.org/livna-release-8.rpm
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


done!
:-)

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



note:
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