Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Trouble installing stuff (with apt-get and from source)

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    6

    Trouble installing stuff (with apt-get and from source)

    When i try to install something from apt-get i usually get errors like this:

    Code:
    root@knoppix:/home/jerome187# apt-get install kde-devel
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    
    Since you only requested a single operation it is extremely likely that
    the package is simply not installable and a bug report against
    that package should be filed.
    The following information may help to resolve the situation:
    
    Sorry, but the following packages have unmet dependencies:
      kde-devel: Depends: kdelibs-dev
                 Depends: libarts-dev but it is not going to be installed
                 Depends: libkmid-dev but it is not going to be installed
                 Depends: kdebase-dev but it is not going to be installed
                 Depends: kdbg but it is not going to be installed
                 Depends: kde-designer but it is not installable
                 Depends: kprof but it is not going to be installed
                 Depends: dcopperl but it is not going to be installed
                 Depends: dcoppython but it is not going to be installed
                 Depends: libkdexparts-dev but it is not going to be installed
                 Depends: koffice-dev but it is not going to be installed
    E: Sorry, broken packages
    root@knoppix:/home/jerome187#
    and when i try to install something from source it gives me tons of dependices and when i try to install these dependices via apt-get i get errors like above.

    i know apt-get is setup properly because i DID get one think working right, gkrellm2. installed perfectly, but anything else i've tryed dosent work.

    is there anyway to fix this so i can actually use apt-get correctly?

    TIA

    jerome187

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    It is very hard to fix the system that is built from mixing distribution(testing/unstable). There is limitation in the apt-get dependency logic which from my experiencel only support one way upgrade, despite how flexible people are claiming about apt-get.

    you said you have apt-get setup correctly because you can pull in some other packages, the truth is, the only way apt-get can be 100% sure about setup correctly is 'stable' without any third party backport. The reason that you can have some packages work is that they have less dependency on others. KDE is almost an acid test of how 'broken' a distribution is, well I have seen other situation that is even worse(like I have installed a woody system without locale package, add Xfree86 4.3 backport which has a newer debconf then later when I want to add back locale, apt-get barks that the debconf is too new!).

    The only suggestion I can think of is to do a apt-get dist-upgrade having 'unstable' as the only source(I assume you have a KNOPPIX hd-install) then retry what you wanted to do. Make sure you remove every other source site other than ftp.debian.org.

    I have forgotten how many times I have deboostrap from scratch(I use woody + backports) in ironing out these weird dependency problems in apt-get.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    You may want to take a look at this thread the process will be similar for you.

  4. #4
    Junior Member
    Join Date
    Jun 2003
    Posts
    6
    I did a apt-get dist-upgrade and it did its thing with no problems, but it dident seem to fix anything. heres what i got for trying to apt-get kdelibs3....

    Code:
    root@knoppix:/home/jerome187# apt-get install kdelibs3
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
      kdelibs3-bin libqt2 libsocks4
    The following packages will be REMOVED:
      ark k3b kaddressbook kalarm kamera kandy kappfinder karbon karm kasteroids kate
      kate-plugins kbattleship kbounce kcalc kcharselect kchart kcmlinuz kcoloredit
      kcontrol kcron kdat kdeaddons-kfile-plugins kdeadmin-kfile-plugins kdebase
      kdebase-bin kdebase-kio-plugins kdegraphics-kfile-plugins kdelibs-bin kdelibs-data
      kdelibs4 kdemultimedia-kfile-plugins kdenetwork-kfile-plugins kdepasswd kdepim
      kdepim-kfile-plugins kdepim-libs kdeprint kdesktop kdessh kdevelop kdevelop-data kdf
      kdm kdvi kedit kfax kfind kfloppy kformula kgeo kget kghostview kgpgcertmanager
      khelpcenter khexedit kicker kiconedit kivio kjots klaptopdaemon klipper kmahjongg
      kmail kmailcvt kmenuedit kmix kmrml knotes koffice-data koffice-libs kompare
      konq-plugins konqueror konqueror-nsplugins konsole kooka korganizer koshell kpackage
      kpager kpaint kpersonalizer kpf kpilot kppp kpresenter krdc kreversi krfb kruler
      kscd ksmserver ksnapshot ksokoban ksplash kspread kstars ksync ksysguard ksysv
      kteatime ktimer ktip kugar kuickshow kuser kview kviewshell kwin kxconfig
      libkdegames1 libkdenetwork2 libkonq4 libkscan1 lisa secpolicy
    The following NEW packages will be installed:
      kdelibs3 kdelibs3-bin libqt2 libsocks4
    0 packages upgraded, 4 newly installed, 117 to remove and 1  not upgraded.
    Need to get 8683kB of archives. After unpacking 163MB will be freed.
    Do you want to continue? [Y/n] n
    is there a knoppix cd thats compatiable with debians current stable phase of its distro? like maybe a older knoppix or something?

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Why are you trying to install kdelibs3 that is for KDE 2.2.
    Code:
    [04:48 PM Sat Jun 28: stephen @ ~]
    >$ apt-cache policy kdelibs3
    kdelibs3:
      Installed: (none)
      Candidate: 4:2.2.2-13
      Version Table:
         4:2.2.2-13.woody.7 0
            500 http://security.debian.org stable/updates/main Packages
         4:2.2.2-13 0
            990 http://ftp.de.debian.org testing/main Packages
    As you can see this will remove KDE 3.1 and downgrade the install. you should be installing the packages from testing/unstable.

  6. #6
    Junior Member
    Join Date
    Jun 2003
    Posts
    6
    o oops, i had no idea :P i figured sence it had a 3 in its name it was for KDE3

    i want to install kopote and kuake, both have dependices for Qt3 headers and libaries, its there a simmilar package in apt-get that i can install so these will be fulfilled?

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by jerome187
    o oops, i had no idea :P i figured sence it had a 3 in its name it was for KDE3

    i want to install kopote and kuake, both have dependices for Qt3 headers and libaries, its there a simmilar package in apt-get that i can install so these will be fulfilled?
    Yes damn confusing. I believe kopete is already installed to check apt-cache policy kopete will tell you what version if any is installed and where it came from with usually other verisons that are available to install.

    To install apt-get -s install kopete when you get the errors saying the package cannot be install because package version xy is installed and it needs version yz then apt-cache policy < package > for the package that needs to be installed to check available versions if say the unstable version is needed then apt-get -s install < package >/unstable to simulate the install and check for more errors if none remove the -s to install. Then go back and simulate the install of kopete to check for more errors if there are repeat the process until there are no unsatisified dependencies causing the errors and kopete will install.

  8. #8
    Junior Member
    Join Date
    Jun 2003
    Posts
    6
    Code:
    root@knoppix:/home/jerome187# apt-get -s install kopete
    Reading Package Lists... Done
    Building Dependency Tree... Done
    E: Couldn't find package kopete
    are you usre kopete is in atp-get? i searched for in on debian.org's package database and i couldent find it in there (searched in stable, testing, and unstable)

  9. #9
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    do a:

    apt-cache search kopete

    to see if it is in your package lists.

    as well as trying:
    apt-get -s install kopete/unstable

    you might want to try:
    apt-get -s -t unstable install kopete ( and maybe -t stable)

    IIRC apt-get -s install kopete/unstable and apt-get -s -t unstable install kopete function slightly different. You will have to have a repository URI in your sources list that has the kde packages you want, you might want to look at www.apt-get.org for unofficial package repositories and their sources.list URI's.

    HTH

    rock

  10. #10
    Junior Member
    Join Date
    Jun 2003
    Posts
    6
    www.apt-get.org is awsome!! found a kopete.deb and installed it without any problems.

    why itsnt this on the "offical" debian site? i think there apt-get system has some problems. i used gentoo for a while until i acidently killed my system, and there package system was GREAT. anyone could make a package and submit it to the online database, looks like debian dosent really allow that so it results in lots of apps missing from their database. o well

Page 1 of 2 12 LastLast

Similar Threads

  1. trouble installing
    By mike23 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-26-2005, 11:41 AM
  2. Trouble installing
    By geopfm in forum General Support
    Replies: 3
    Last Post: 02-14-2005, 10:35 PM
  3. Installing Stuff with toram?
    By planetbeing in forum Ideas
    Replies: 3
    Last Post: 12-06-2004, 06:58 PM
  4. Trouble Installing Software
    By ikkenorsk in forum General Support
    Replies: 2
    Last Post: 07-08-2004, 11:02 PM
  5. ...about installing package from the source...
    By gizmu in forum Customising & Remastering
    Replies: 0
    Last Post: 04-04-2003, 08:48 PM

Posting Permissions

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


Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$10.00



KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.57



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$20.85



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$21.42



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$34.01