Results 1 to 7 of 7

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

  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
  •  


Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151 picture

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151

$79.99



INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH picture

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH

$179.99



Intel Core i5-14400F 2.50GHz 6 Core SRN3R 16 Thread LGA 1700 CPU picture

Intel Core i5-14400F 2.50GHz 6 Core SRN3R 16 Thread LGA 1700 CPU

$165.00



Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested picture

Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested

$35.00



AMD Ryzen 5 5500 Processor ( read Description) picture

AMD Ryzen 5 5500 Processor ( read Description)

$59.00



Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor picture

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor

$114.99



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$67.99



intel core brand new never used i5-11400f LGA1200 picture

intel core brand new never used i5-11400f LGA1200

$85.00



AMD Ryzen 5 PRO 4650GE 100-000000153 6-Core 3.30GHz 8MB AM4 CPU Processor picture

AMD Ryzen 5 PRO 4650GE 100-000000153 6-Core 3.30GHz 8MB AM4 CPU Processor

$59.99