Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I am new to debian when I want to install following happens .... asif@home-a0cdf9af14:~$ su Password: home-a0cdf9af14:/home/asif# apt-get install abiword Reading package lists... Done Building dependency tree Reading state information... ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    47

    [SOLVED] I am not able to install anything Plz . Help


    I am new to debian when I want to install following happens ....

    asif@home-a0cdf9af14:~$ su
    Password:
    home-a0cdf9af14:/home/asif# apt-get install abiword
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package abiword
    home-a0cdf9af14:/home/asif#

    Internet is working fine . Waht is problem . I cant install anything

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by asifnaz View Post
    I am new to debian when I want to install following happens ....

    asif@home-a0cdf9af14:~$ su
    Password:
    home-a0cdf9af14:/home/asif# apt-get install abiword
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package abiword
    home-a0cdf9af14:/home/asif#

    Internet is working fine . Waht is problem . I cant install anything
    If abiword doesn't reside in the repos that you are using in your sources list you will get that message. Also, be sure to run apt-get update before trying to install packages.

    You can check these HowTo articles for lots of good advice on using apt:

    APT HOWTO (Obsolete Documentation)

    Apt - Debian Wiki

    You might find it easier to install and use Synaptic for installing software. Lots of users like it best while many prefer using apt on the command line.
    oz

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    47
    Quote Originally Posted by ozar View Post
    If abiword doesn't reside in the repos that you are using in your sources list you will get that message. Also, be sure to run apt-get update before trying to install packages.

    You can check these HowTo articles for lots of good advice on using apt:

    APT HOWTO (Obsolete Documentation)

    Apt - Debian Wiki

    You might find it easier to install and use Synaptic for installing software. Lots of users like it best while many prefer using apt on the command line.
    home-a0cdf9af14:/home/asif# apt-get update
    Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 CD Binary-1 20100904-18:58] lenny Release.gpg
    Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 CD Binary-1 20100904-18:58] lenny/main Translation-en_US
    Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 CD Binary-1 20100904-18:58] lenny Release
    Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 CD Binary-1 20100904-18:58] lenny/main Packages/DiffIndex
    Reading package lists... Done
    home-a0cdf9af14:/home/asif#

    What to do now...???

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    after you run apt-get update, then you run apt-get install commands

    on a fresh system you have to run apt-get update one time before you can install anything

    you should run apt-get update before you install packages every time to make sure you have latest list of available packages

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by asifnaz View Post
    What to do now...???
    If you are going to effectively run apt, you'll need to do some reading to learn about how it works and the proper steps for using it. You'll only get frustrated with it and Linux if you have to go to a forum and ask questions then wait for replies each time you get ready to do anything with it. That's why I suggested that Synaptic might be more appropriate for you, and posted the links above in case you've decided you want to stick with apt.

    Have fun, and good luck with all of it.
    oz

  6. #6
    Just Joined!
    Join Date
    Jul 2010
    Posts
    47
    Quote Originally Posted by coopstah13 View Post
    after you run apt-get update, then you run apt-get install commands

    on a fresh system you have to run apt-get update one time before you can install anything

    you should run apt-get update before you install packages every time to make sure you have latest list of available packages
    asif@home-a0cdf9af14:~$ su
    Password:
    home-a0cdf9af14:/home/asif# apt-get update
    Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 CD Binary-1 20100904-18:58] lenny Release.gpg
    Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 CD Binary-1 20100904-18:58] lenny/main Translation-en_US
    Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 CD Binary-1 20100904-18:58] lenny Release
    Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 CD Binary-1 20100904-18:58] lenny/main Packages/DiffIndex
    Reading package lists... Done
    home-a0cdf9af14:/home/asif# apt-get install abiword
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package abiword
    home-a0cdf9af14:/home/asif# apt-get install frozen-bubble
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package frozen-bubble
    home-a0cdf9af14:/home/asif#

    Its still not working . And oz I cant use synptic as it is not installed and I cant install anything either .

  7. #7
    Just Joined!
    Join Date
    Jul 2010
    Posts
    47
    home-a0cdf9af14:/home/asif# cat /etc/apt/sources.list
    #
    # deb cdrom:[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 CD Binary-1 20100904-18:58]/ lenny main

    deb cdrom:[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 CD Binary-1 20100904-18:58]/ lenny main

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

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

    ( How to uncomment out the repositories . i.e. remove the # .Sorry for double post but this might help you understand my problem )
    Last edited by asifnaz; 12-08-2010 at 07:18 AM.

  8. #8
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    open the file with vim or nano and delete the # sign in front of them...

  9. #9
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    This site will help you generate a working sources.list.

    Debian Sources List Generator

  10. #10
    Just Joined!
    Join Date
    Jul 2010
    Posts
    47
    Quote Originally Posted by reed9 View Post
    This site will help you generate a working sources.list.

    Debian Sources List Generator
    My country is not in the list

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
  •