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

No comments:

Post a Comment