Results 1 to 7 of 7

Thread: apt-get ERROR - Dependency on some other packeges

Hybrid View

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    5

    apt-get ERROR - Dependency on some other packeges

    Hey,

    I installed Knoppix 3.3 on my HD. As a Debian-Like System.

    I tryed to install several packeges. But allways, when there is some dependecy of a nother packege, with is not installed, apt-get tells me, it can not continue with the installation, because the other packege should not be installed.

    e.g. Mplayer can not be installed because of libavcodec1.
    and XFce4 not because of some other packeges.

    Does someone has any clue, what that might be?

    thx,
    Stefan

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: apt-get ERROR - Dependency on some other packeges

    Quote Originally Posted by stefan741
    Hey,

    I installed Knoppix 3.3 on my HD. As a Debian-Like System.

    I tryed to install several packeges. But allways, when there is some dependecy of a nother packege, with is not installed, apt-get tells me, it can not continue with the installation, because the other packege should not be installed.

    e.g. Mplayer can not be installed because of libavcodec1.
    and XFce4 not because of some other packeges.

    Does someone has any clue, what that might be?

    thx,
    Stefan
    You have to track down the offending package that can not be installed or the other package it depends upon that is not being installed at the correct version and install that. I would normally start by looking at the output of the warning it tells you what version is to be installed and you will need to have some other version for it to install properly so use apt-cache policy package_name to see where it is coming from:
    Code:
    >$ apt-cache policy libavcodec1
    libavcodec1:
      Installed: 1:0.4.8-sarge0.0
      Candidate: 1:0.4.8-sarge0.0
      Version Table:
     *** 1:0.4.8-sarge0.0 0
            990 http://marillat.free.fr testing/main Packages
            100 /var/lib/dpkg/status
         1:0.4.8-0.0 0
            600 http://marillat.free.fr unstable/main Packages
    Then in this case if it wanted the version that was in unstable instead of the installed version that I have from testing I would apt-get -s install libavcodec1/unstable or apt-get -s install -t unstable libavcodec1 if things look goood then remove the -s to actually install if it gives you a warning that it needs another package(s) off such version the use the apt-cache policy on them to find out where you need it from and try to install it at the same time on the same command line because both packages you need will most likely be coming from the same branch if any other problems repeat until you get a clean install of the packages.

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Posts
    9
    This might help, I was having similar problems:

    http://www.knoppix.net/forum/viewtopic.php?t=6552

    usbrit

  4. #4
    Junior Member
    Join Date
    Dec 2003
    Posts
    5
    Thx 'usbrit'. but it changed nothing

    But I tried also what Stephen advised me.
    Problem now, when i try to 'apt-get -s install libvorbis0' - apt-get is about to uninstall the whole KDesktop

    Why the f... is that?

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by stefan741
    Thx 'usbrit'. but it changed nothing

    But I tried also what Stephen advised me.
    Problem now, when i try to 'apt-get -s install libvorbis0' - apt-get is about to uninstall the whole KDesktop

    Why the f... is that?
    You are trying to install the wrong package libvorbis0 is in stable:
    Code:
    HappyTux:/home/stephen# apt-cache policy libvorbis0
    libvorbis0:
      Installed: (none)
      Candidate: 1.0rc3-1
      Version Table:
         1.0rc3-1 0
            500 http://ftp.de.debian.org stable/main Packages
            100 /var/lib/dpkg/status
    So apt is trying to downgrade your install can you post the entire output of the apt-get -s install mplayer-??? replace the ??? with which every version you are trying to install so that I can see what it is trying to do. When you get warnings like you are getting it is best to use the apt-cache policy on the package every time it happens to see where apt is trying to get the package from and obvisiously you do not want to try to install packages from stable it will downgrade your install every time.

  6. #6
    Junior Member
    Join Date
    Dec 2003
    Posts
    5
    Hey Stephan,

    OK. Now it works. I changed in the source.list from stable to testing.

    #mplayer
    #deb http://marillat.free.fr/ stable main
    deb http://marillat.free.fr/ testing main

    apt-get installed it at once.

    BUT, how dow I know, when to use what? Sorry, but I'm a debian newbie.

    Thx!
    Stefan

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by stefan741
    Hey Stephan,

    OK. Now it works. I changed in the source.list from stable to testing.

    #mplayer
    #deb http://marillat.free.fr/ stable main
    deb http://marillat.free.fr/ testing main

    apt-get installed it at once.

    BUT, how dow I know, when to use what? Sorry, but I'm a debian newbie.

    Thx!
    Stefan
    You always want packages from the testing/unstable branches otherwise as you have seen apt will try to downgrade the install. Knoppix is using what is called apt pinning which in effect tells the packaging system that I want my programs installed from this branch (testing in this case) of the archives and allows you to pull in packages from another branch (unstable or experimental for the brave) if there are no conflicts with the packages already installed from the default (testing).

    Some links below I would suggest going to the Debian mailing lists and at a minimum subscribing to the Debian security announce list to get updates on security problems with packages you may have installed. And as always any error you get you should cut'n'paste into your favorite search engine and start reading the soultion to the problem is usually there I put Debian on to the end of the error to narrow the results.

    http://www.debian.org/doc/manuals/ap...pt-get.en.html
    http://www.debian.org/MailingLists/
    http://www.apt-get.org/main/

Similar Threads

  1. Strange dependency problems related to Perl
    By Doppelbock in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-19-2004, 01:21 AM
  2. Dependency problems
    By dobell in forum General Support
    Replies: 0
    Last Post: 06-16-2004, 12:35 PM
  3. Bittorrent .deb won't install - python dependency
    By 3p0cHx in forum General Support
    Replies: 1
    Last Post: 04-08-2004, 11:52 PM
  4. dependency problem
    By triveditej in forum Customising & Remastering
    Replies: 0
    Last Post: 01-22-2004, 05:51 PM
  5. knoppix and moderating packeges
    By zuzo in forum General Support
    Replies: 1
    Last Post: 12-21-2003, 12:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡ picture

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡

$119.00



Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P picture

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P

$149.99



JUNIPER NETWORKS MIST AI AP63-US HIGH PERFORMANCE OUTDOOR ACCESS POINT - WHITE picture

JUNIPER NETWORKS MIST AI AP63-US HIGH PERFORMANCE OUTDOOR ACCESS POINT - WHITE

$59.99



New Juniper SRX345-SYS-JB-2AC Junos Router Firewall Services Gateway 16GbE SFP picture

New Juniper SRX345-SYS-JB-2AC Junos Router Firewall Services Gateway 16GbE SFP

$560.15



Juniper MX480 CHAS-BP-MX480 picture

Juniper MX480 CHAS-BP-MX480

$1350.00



Juniper Networks SSR1200 Smart Router picture

Juniper Networks SSR1200 Smart Router

$4000.00



Juniper SRX320 8-Port Security Services Gateway Appliance w/ AC Adapter picture

Juniper SRX320 8-Port Security Services Gateway Appliance w/ AC Adapter

$59.99



Juniper EX4600-40F-AFO 24-Port Dual PSU Network Switch picture

Juniper EX4600-40F-AFO 24-Port Dual PSU Network Switch

$151.98



Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management picture

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management

$249.97



Juniper Network QFX5100-48S-AFO 48x SFP/SFP+ 6x 40GbE QSFP+ Switch w/ Dual power picture

Juniper Network QFX5100-48S-AFO 48x SFP/SFP+ 6x 40GbE QSFP+ Switch w/ Dual power

$223.20