Suse 9.1 having a hard time installing programs

stimpyman77

Member
Feb 18, 2004
120
0
71
Hi everyone,

I have been running Suse 9.1 for a little while now and I like it, but I am having a hell of a time with installing programs and getting a little dishearted. Some programs like gaim and others that have few dependencies , I have just gone and downloaded the rpm with its dependencies and installed them, for the most part it has gone fine. I now want to try out Freevo and it has an a$$load of dependencies that I could not be bothered to hunt down individually, there are too many. I read about apt-get here and on the freevo site as well for installing packages so I installed APT. If I follow the instructions on the freevo site for using apt to install, it fails to install and tells me that there are dependency errors. Isn't apt supposed to handle this?? Why is it so hard to get something installed? :( Using this command, apt-get install freevo I get this message:

Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
MPlayer: Depends: w32codec-all but it is not going to be installed
freevo: Depends: python-mmpython but it is not going to be installed
Depends: python-imaging but it is not going to be installed
Depends: python-pygame but it is not going to be installed
Depends: python-Twisted but it is not going to be installed
Depends: python-xml but it is not going to be installed
Depends: pyxml but it is not going to be installed
Depends: perl-xmltv but it is not going to be installed
Depends: MPlayer-suite but it is not going to be installed
k3b: Depends: alsa (>= 1.0.5) but 1.0.3-37 is to be installed
kdelibs3: Depends: libdb-4.1.so
Depends: libjasper-1.700.so.2
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


So I issue the command apt-get -f install and it wants to make all these changes.:

Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
w32codec-all
The following packages will be REPLACED:
w32codec (by w32codec-all)
The following packages will be REMOVED:
OpenOffice_org OpenOffice_org-Quickstarter OpenOffice_org-en
OpenOffice_org-en-help digikam k3b kaffeine kamix kdeaddons3-kate
kdeaddons3-kicker kdeaddons3-konqueror kdeartwork3-xscreensaver kdebase3
kdebase3-SuSE kdebase3-extra kdebase3-kdm kdebase3-nsplugin kdebase3-samba
kdebluetooth kdegames3 kdegraphics3 kdegraphics3-fax kdegraphics3-kamera
kdegraphics3-postscript kdelibs3 kdemultimedia3 kdemultimedia3-CD
kdemultimedia3-jukebox kdemultimedia3-sound kdenetwork3
kdenetwork3-InstantMessenger kdenetwork3-news kdenetwork3-vnc kdepim3
kdepim3-kpilot kdepim3-organizer kdeutils3 kdeutils3-laptop kinternet
kio_slp knemo knights koffice koffice-illustration kolourpaint kpowersave
krecord kwintv rekall rekall-xbase susehelp susehelp_en thinkeramik xmms-kde
The following NEW packages will be installed:
w32codec-all
0 upgraded, 1 newly installed, 1 replaced, 54 removed and 23 not upgraded.
Need to get 11.7MB of archives.
After unpacking 509MB disk space will be freed.
Do you want to continue? [Y/n]

Why does it have to remove all of that to install Freevo? What am I doing wrong?? Someone please school the newbie.. Sorry if this is a little ranty, but I can't get used to the fact of having to go thru this mess just to try a program. I don't want to be locked into only running what the distro gives you.. Help!

*end of bitch session*

Stimpyman


 

everman

Lifer
Nov 5, 2002
11,288
1
0
I haven't used suse 9.1 in a while but doesn't YAST have some kind of installer to help, like yum and apt?
As far as the apt problem goes, are you sure you don't need to add any sources for it? That is, server listings in a sources file.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: stimpyman77
Hi everyone,

I have been running Suse 9.1 for a little while now and I like it, but I am having a hell of a time with installing programs and getting a little dishearted. Some programs like gaim and others that have few dependencies , I have just gone and downloaded the rpm with its dependencies and installed them, for the most part it has gone fine. I now want to try out Freevo and it has an a$$load of dependencies that I could not be bothered to hunt down individually, there are too many. I read about apt-get here and on the freevo site as well for installing packages so I installed APT. If I follow the instructions on the freevo site for using apt to install, it fails to install and tells me that there are dependency errors. Isn't apt supposed to handle this?? Why is it so hard to get something installed? :( Using this command, apt-get install freevo I get this message:

Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
MPlayer: Depends: w32codec-all but it is not going to be installed
freevo: Depends: python-mmpython but it is not going to be installed
Depends: python-imaging but it is not going to be installed
Depends: python-pygame but it is not going to be installed
Depends: python-Twisted but it is not going to be installed
Depends: python-xml but it is not going to be installed
Depends: pyxml but it is not going to be installed
Depends: perl-xmltv but it is not going to be installed
Depends: MPlayer-suite but it is not going to be installed
k3b: Depends: alsa (>= 1.0.5) but 1.0.3-37 is to be installed
kdelibs3: Depends: libdb-4.1.so
Depends: libjasper-1.700.so.2
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


So I issue the command apt-get -f install and it wants to make all these changes.:

Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
w32codec-all
The following packages will be REPLACED:
w32codec (by w32codec-all)
The following packages will be REMOVED:
OpenOffice_org OpenOffice_org-Quickstarter OpenOffice_org-en
OpenOffice_org-en-help digikam k3b kaffeine kamix kdeaddons3-kate
kdeaddons3-kicker kdeaddons3-konqueror kdeartwork3-xscreensaver kdebase3
kdebase3-SuSE kdebase3-extra kdebase3-kdm kdebase3-nsplugin kdebase3-samba
kdebluetooth kdegames3 kdegraphics3 kdegraphics3-fax kdegraphics3-kamera
kdegraphics3-postscript kdelibs3 kdemultimedia3 kdemultimedia3-CD
kdemultimedia3-jukebox kdemultimedia3-sound kdenetwork3
kdenetwork3-InstantMessenger kdenetwork3-news kdenetwork3-vnc kdepim3
kdepim3-kpilot kdepim3-organizer kdeutils3 kdeutils3-laptop kinternet
kio_slp knemo knights koffice koffice-illustration kolourpaint kpowersave
krecord kwintv rekall rekall-xbase susehelp susehelp_en thinkeramik xmms-kde
The following NEW packages will be installed:
w32codec-all
0 upgraded, 1 newly installed, 1 replaced, 54 removed and 23 not upgraded.
Need to get 11.7MB of archives.
After unpacking 509MB disk space will be freed.
Do you want to continue? [Y/n]

Why does it have to remove all of that to install Freevo? What am I doing wrong?? Someone please school the newbie.. Sorry if this is a little ranty, but I can't get used to the fact of having to go thru this mess just to try a program. I don't want to be locked into only running what the distro gives you.. Help!

*end of bitch session*

Stimpyman

Looks like what is happenning is that apt-get is getting confused because it's missing something.

Like you have a circular dependancy, this program a needs program b needs program c needs program d needs program a. So it's confused. It needs program a to install programd d, but without b and c it can't install a, but it can't isntall c and b without d.

So what you need to do is figure out why:
MPlayer: Depends: w32codec-all but it is not going to be installed
freevo: Depends: python-mmpython but it is not going to be installed
Depends: python-imaging but it is not going to be installed
Depends: python-pygame but it is not going to be installed
Depends: python-Twisted but it is not going to be installed
Depends: python-xml but it is not going to be installed
Depends: pyxml but it is not going to be installed
Depends: perl-xmltv but it is not going to be installed
Depends: MPlayer-suite but it is not going to be installed
k3b: Depends: alsa (>= 1.0.5) but 1.0.3-37 is to be installed
kdelibs3: Depends: libdb-4.1.so
Depends: libjasper-1.700.so.2

that stuff isn't going to get installed.

Did you remember to do:
apt-get update
?
sometimes you need to do this:
apt-get dist-upgrade

update will install any new packages you need. You use dist-upgrade sometimes, becuase if a package has different set of dendancies then it did before it won't be upgraded. When you use dist-upgrade it uses a "intellegent" upgrade and tries to resolve the new dependancies and figure everything out.

The reason you don't want to use dist upgrade is because it's a bit dangerous sometimes. But if your carefull you'll be find.

These are being removed....
OpenOffice_org OpenOffice_org-Quickstarter OpenOffice_org-en
OpenOffice_org-en-help digikam k3b kaffeine kamix kdeaddons3-kate
kdeaddons3-kicker kdeaddons3-konqueror kdeartwork3-xscreensaver kdebase3
kdebase3-SuSE kdebase3-extra kdebase3-kdm kdebase3-nsplugin kdebase3-samba
kdebluetooth kdegames3 kdegraphics3 kdegraphics3-fax kdegraphics3-kamera
kdegraphics3-postscript kdelibs3 kdemultimedia3 kdemultimedia3-CD
kdemultimedia3-jukebox kdemultimedia3-sound kdenetwork3
kdenetwork3-InstantMessenger kdenetwork3-news kdenetwork3-vnc kdepim3
kdepim3-kpilot kdepim3-organizer kdeutils3 kdeutils3-laptop kinternet
kio_slp knemo knights koffice koffice-illustration kolourpaint kpowersave
krecord kwintv rekall rekall-xbase susehelp susehelp_en thinkeramik xmms-kde

because of this:
k3b: Depends: alsa (>= 1.0.5) but 1.0.3-37 is to be installed
kdelibs3: Depends: libdb-4.1.so
Depends: libjasper-1.700.so.2


Kdelibs3 forms a huge dependancy for almost all KDE-based applications. And Suse is a heavy kde-based distro, so that's the problem when your trying to "-f" it.

First I'd make sure that you have the correct repository selected. In that wiki webpage for freevo were it talks about apt-get it gives you the source.conf lines for Suse 9.0, I went on their ftp site and they had a repository for 9.1 so make sure that your using the correct one in your source list.

after you do that...
try:
apt-get update
apt-get upgrade
If you have a huge number of applications that are "not being upgraded" try:
apt-get dist-upgrade

Then maybe try:
apt-get install freevo

if it gives you that crap about "not going to be installed" try to find out why.
Like this line:
freevo: Depends: python-mmpython but it is not going to be installed

Then try:
apt-get install python-mmpython

It may then give you another list of "not going to be installed" programs. Then try it again with one of those, eventually what we are going to find is that somewere there is a package that is missing a dependancy. You find that, download it, and install it, and hopefully then apt-get will function properly.

Same thing with stuff like this:
kdelibs3: Depends: libdb-4.1.so
Depends: libjasper-1.700.so.2

try
apt-get install libdb
apt-get install libjasper

And then pay attention to revision numbers.


The trouble probably stems from one of three reasons:
1. One of the package managers screwed up and created a bad package, if that is the case then you can find out who dun it and e-mail them. Or just wait for him to fix it.
or
2. By searching google and installing programs randomly from different websites you've accedently divorced yourself from the official Suse distro and created a bit of a frankenstien from the different packages. Suse since has released some updates and fixes, and they may not work well with the sort of halfhazard packages created by individuals who forget that "it works for me" may not work for other people if they don't do some testing.
3. bad luck, bad timing.


The solution to 2 and three is simply to play around with apt-get a bit and massage your distro back into shape, or at least a shape that apt-get can agree with.

This is the kinda onerious side of apt-get. It doesn't play well with others.

And truthfully, I never had much luck with Suse + apt-get. I've tried it before it didn't realy work out that well (not that I put a lot of effort behind it, mind you), that's one of the reasons I use Fedora instead of Suse. But other people have told me that it works great with them. So your millage may vary.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Also a solution is that maybe the stuff that freevo is pointed at is just doesn't have everything you need. Maybe adding a couple official servers and update servers will help you out.

Apt-get for Suse howto See if anything their can help out.