Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
I'm using Debian Lenny, How to install a package with all it's dependency? (something like yum install in Fedora ) Does "apt-get " will resolve dependencies ?...
  1. #1
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Post yum equivalent for debian?

    I'm using Debian Lenny, How to install a package with all it's dependency? (something like
    yum install in Fedora )

    Does "apt-get " will resolve dependencies ?
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    Yes, installing packages with apt-get should resolve dependencies if the packages needed are all in the repos that you have setup.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    apt-get, aptitude both are equally good. Though on one occassion 'aptitude' gave me more information and suggestions than 'apt-get'.
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    If you want a graphical package manager, you can install synaptic.

    Code:
    su -
    apt-get install synaptic

  5. #5
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Post

    thanks guyz ...But even using apt-get gives me some dependency error?

    I edit /etc/apt/sources.list file with debian mirror....can anyone post your source.list file - so that i can edit my mirrors like yours i'm using debian lenny.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  6. #6
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Australia (Down Under)
    Posts
    141
    could you post your output?
    Linux is the OS of tomorrow, Here today!!

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Post the error message here and post the contents of /etc/apt/sources.list file here.
    I prefer apt-get over yum and its really easy to handle.
    Check this article too.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined! Gossamer's Avatar
    Join Date
    May 2009
    Location
    Virginia / USA
    Posts
    10
    It should be apt-get, or sudo apt-get if you don't like hanging out in a root account.
    I like Fedora but I just can't go without apt-get. Even in distros that don't support it; I always find myself slipping it around by accident, lol.

  9. #9
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Exclamation

    sorry for the delay..here is my outputs

    root@debian:/home/lg# apt-get install nemiver
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package nemiver
    root@debian:/home/lg# nemiver
    bash: nemiver: command not found
    root@debian:/home/lg# cat /etc/apt/sources.list
    #
    # deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54]/ lenny contrib main

    deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54]/ lenny contrib main

    # Line commented out by installer because it failed to verify:
    deb Debian -- Security Information lenny/updates main contrib
    # Line commented out by installer because it failed to verify:
    #deb-src Debian -- Security Information lenny/updates main contrib

    # Line commented out by installer because it failed to verify:
    #deb Index of /debian-volatile lenny/volatile main contrib
    # Line commented out by installer because it failed to verify:
    #deb-src Index of /debian-volatile lenny/volatile main contrib

    deb Index of /lenny ./
    deb Index of /debian lenny main
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  10. #10
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,942
    I don't know if this will help you with your sources list Lakshmipathi. This is mine from AntiX8 and I run it under Lenny instead od Sidux. Probably aint much help but I'll throw it out there because it can't hurt.

    root@harry:/home/harry# cat /etc/apt/sources.list
    # See sources.list(5) for more information

    #Mepis8
    deb ftp://ftp.mepis.com/mepis/ mepis-8.0 main

    # Debian
    deb Index of /debian stable main contrib non-free
    deb Index of /debian testing main contrib non-free
    deb Debian -- Security Information testing/updates main contrib non-free
    # deb-src Index of /debian stable main contrib non-free

    # mplayer
    deb Debian Multimedia Packages::Home etch main
    deb Debian Multimedia Packages::Home testing main

    # wicd
    deb Wicd APT Repository debian extras

    #opera
    deb Index of /opera lenny non-free

    #virtualbox
    # deb Index of /virtualbox/debian/ lenny non-free

    # Remastersys
    # deb Index of /repository debian/

    ##########
    ##########
    ##########
    ##########
    ##########
    ###### Debian Unstable/Sid/sidux ##########
    ########
    ########
    ########
    ########
    ########
    ###### Use at your own risk! ########
    # deb Index of /debian unstable main contrib non-free
    deb Debian Multimedia Packages::Home unstable main
    # deb Index of /debian sid main contrib non-free firmware fix.main fix.contrib fix.non-free






    root@harry:/home/harry# uname -r
    2.6.27-1-mepis-smp
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

Page 1 of 2 1 2 LastLast

Posting Permissions

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