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
  •  


Vintage Microsoft TechNet Plus CD Subscription COMPLETE LOT Binder Case & Discs picture

Vintage Microsoft TechNet Plus CD Subscription COMPLETE LOT Binder Case & Discs

$59.98



🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP picture

🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP

$299.99



🔥 RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE picture

🔥 RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE

$249.00



Lot of 2 Vintage Plextor PX-43CS SCSI CD-ROM Caddy Drives + 4 Caddies Used picture

Lot of 2 Vintage Plextor PX-43CS SCSI CD-ROM Caddy Drives + 4 Caddies Used

$55.99



Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot picture

Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot

$316.95



Lot of 2 Vintage Iomega ZIP 100 External Drives Parallel Port Tested Working picture

Lot of 2 Vintage Iomega ZIP 100 External Drives Parallel Port Tested Working

$75.00



Vintage Intel Pentium Pro CPU Lot 3 Gold Ceramic Processors + 2 RAM Untested picture

Vintage Intel Pentium Pro CPU Lot 3 Gold Ceramic Processors + 2 RAM Untested

$249.99



Rainbow Apple Logo Travel Bag Computer Carrying Case Black Vintage picture

Rainbow Apple Logo Travel Bag Computer Carrying Case Black Vintage

$250.00



Vintage Hewlett Packard HP 13181-60074 Circuit Card Assembly / Interface Board. picture

Vintage Hewlett Packard HP 13181-60074 Circuit Card Assembly / Interface Board.

$135.37



HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer picture

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer

$224.72