LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apt-get (https://www.linuxquestions.org/questions/linux-newbie-8/apt-get-87765/)

SiZaint 08-31-2003 07:33 PM

apt-get
 
ok.. so i get apt-get so i dont have to mess with rpm depedancies right? so.. i type in konsole: apt-get install mplayer and this is what I get:

--------------------------------

[root@localhost root]# apt-get install mplayer
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: aalib but it is not going to be installed
Depends: alsa-lib but it is not going to be installed
Depends: faad2 but it is not going to be installed
Depends: lame but it is not going to be installed
Depends: libaa.so.1
Depends: libasound.so.2
Depends: libasound.so.2(ALSA_0.9)
Depends: libdv but it is not going to be installed
Depends: libdv.so.2
Depends: libdvdread but it is not going to be installed
Depends: libdvdread.so.3
Depends: libfaad.so.0
Depends: libfame but it is not going to be installed
Depends: liblirc_client.so.0
Depends: liblzo.so.1
Depends: libmad.so.0
Depends: libmp3lame.so.0
Depends: libpostproc (= 0.90-4.20030808.fr) but it is not going to be installed
Depends: libpostproc.so.0
Depends: lirc but it is not going to be installed
Depends: lzo but it is not going to be installed
Depends: mplayer-fonts but it is not going to be installed
qt#1:3.1.2-0.9x.2: Obsoletes: qt-Xt but 1:3.1.1-6 is to be installed
W: There are multiple versions of "kdelibs" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^kdelibs$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: There are multiple versions of "arts" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^arts$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: There are multiple versions of "up2date" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^up2date$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: There are multiple versions of "qt" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^qt$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: There are multiple versions of "kdebase" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^kdebase$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: You may want to run apt-get update to correct these problems
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

------------------------------

Now..... how come it says "mplayer: Depends: aalib but it is not going to be installed" why isent it going to be installed? i dont get it.. :(

:newbie:

fancypiper 08-31-2003 07:47 PM

-f is the fix broken flag. Have you done these yet?

apt-get update
apt-get dist-upgrade

For a GUI version, try

apt-get install synaptic

Debian Package Management HOWTO Version 1.1

SiZaint 08-31-2003 08:05 PM

im sorry but i have no clue what u mean :\

fancypiper 08-31-2003 08:10 PM

:scratch: I thought the instructions were on the download page where you got your rpms.

To change to the root account, open an x terminal and use these commands from your user account. Note the change in the prompt.
Code:

[fancy@tinwhistle fancy]$ su -
Password:
[root@tinwhistle root]# apt-get update

Let it read the updates
Code:

[root@tinwhistle root]# apt-get dist upgrade
Answer yes to the questions and update your system.
Code:

[root@tinwhistle root]# apt-get install synaptic
Install a pointy-clicky gui front end.

You can now probably install stuff you couldn't before.

SiZaint 08-31-2003 08:58 PM

thanks! :)

but while updating i got this error:

__________________________________________
W: There are multiple versions of "kdebase" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^kdebase$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

___________________________________________

do u know how i can remove one of these duplicated files?

fancypiper 08-31-2003 09:01 PM

apt-get remove <package>

apt-get install synaptic will give you a gui pointy clicky

SiZaint 08-31-2003 09:40 PM

im going to cry, this i tryed apt-get install -f and it give me a big error bout conficting files with kdebase 2 dif vers and when i try to apt-get remove the one it says it cant find it.......

edit:
and i cant find where this 'point and clicky thing for apt-get" was installed if it was.... darn errors :|

fancypiper 08-31-2003 09:53 PM

You should have a menu item for synaptic if you are using gnome. If not, run synaptic from the run button in the menu or use an x terminal.


All times are GMT -5. The time now is 11:28 PM.