problem with sudo apt get update

Discussion in 'General Linux' started by vansh, Sep 11, 2013.

  1. flunwyc

    flunwyc Member

    Messages:
    99
    Likes Received:
    60
    Trophy Points:
    18
    setenv is supported by csh, you're probably still using bash (which uses export). So switch to csh (to be clear I've no idea what you're trying to do or why you want to use csh)

    If you used the sources.list I posted you should have the "universe" repo.

    Installing the csh deb package does not resolve resolve the underlying problem: why can't you install csh from the repos. As you have not posted full outputs of commands or provided enough feedback, it's going to be difficult for anyone to help you out.

    To me, your ifconfig output looks strange. How are you connected to the web? I don't know enough about IPv6 to know why you have all of those addresses listed. Why are you connecting directly to a WAN address located in the US?

    If this command still shows nothing as it did before
    Code:
    $ apt-cache policy
    Then you won't be able to install anything from the repositories.

    Also can you post the full output of
    Code:
    # apt-get update


  2. vansh

    vansh Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    output from apt-cache policy:

    Package files:
    100 /var/lib/dpkg/status
    release a=now
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/universe Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/restricted Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/multiverse Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/main Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/multiverse i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-proposed,n=quantal,l=Ubuntu,c=multiverse
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/universe i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-proposed,n=quantal,l=Ubuntu,c=universe
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/main i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-proposed,n=quantal,l=Ubuntu,c=main
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/restricted i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-proposed,n=quantal,l=Ubuntu,c=restricted
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/multiverse amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-proposed,n=quantal,l=Ubuntu,c=multiverse
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/universe amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-proposed,n=quantal,l=Ubuntu,c=universe
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/main amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-proposed,n=quantal,l=Ubuntu,c=main
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-proposed/restricted amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-proposed,n=quantal,l=Ubuntu,c=restricted
    origin in.archive.ubuntu.com
    500 http://extras.ubuntu.com/ubuntu/ quantal/main i386 Packages
    release v=12.10,o=LP-PPA-app-review-board,a=quantal,n=quantal,l=Application Review Board PPA,c=main
    origin extras.ubuntu.com
    500 http://extras.ubuntu.com/ubuntu/ quantal/main amd64 Packages
    release v=12.10,o=LP-PPA-app-review-board,a=quantal,n=quantal,l=Application Review Board PPA,c=main
    origin extras.ubuntu.com
    500 http://archive.canonical.com/ubuntu/ quantal/partner i386 Packages
    release v=12.10,o=Canonical,a=quantal,n=quantal,l=Partner archive,c=partner
    origin archive.canonical.com
    500 http://archive.canonical.com/ubuntu/ quantal/partner amd64 Packages
    release v=12.10,o=Canonical,a=quantal,n=quantal,l=Partner archive,c=partner
    origin archive.canonical.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/universe Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/restricted Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/multiverse Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/main Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/multiverse i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=multiverse
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/universe i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=universe
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/restricted i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=restricted
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/main i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=main
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/multiverse amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=multiverse
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/universe amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=universe
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/restricted amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=restricted
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-security/main amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=main
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/universe Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/restricted Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/multiverse Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/main Translation-en
    100 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/multiverse i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=multiverse
    origin in.archive.ubuntu.com
    100 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/universe i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=universe
    origin in.archive.ubuntu.com
    100 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/restricted i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=restricted
    origin in.archive.ubuntu.com
    100 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/main i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=main
    origin in.archive.ubuntu.com
    100 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/multiverse amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=multiverse
    origin in.archive.ubuntu.com
    100 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/universe amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=universe
    origin in.archive.ubuntu.com
    100 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/restricted amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=restricted
    origin in.archive.ubuntu.com
    100 http://in.archive.ubuntu.com/ubuntu/ quantal-backports/main amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=main
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/universe Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/restricted Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/multiverse Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/multiverse i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=multiverse
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/universe i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=universe
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/restricted i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=restricted
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main i386 Packages
    release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=main
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/multiverse amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=multiverse
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/universe amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=universe
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/restricted amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=restricted
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=main
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/universe Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/restricted Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/multiverse Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/main Translation-en
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/multiverse i386 Packages
    release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=multiverse
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
    release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=universe
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/restricted i386 Packages
    release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=restricted
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
    release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=main
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/multiverse amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=multiverse
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=universe
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/restricted amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=restricted
    origin in.archive.ubuntu.com
    500 http://in.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
    release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=main
    origin in.archive.ubuntu.com
    Pinned packages:
  3. vansh

    vansh Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
  4. vansh

    vansh Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    reson i am trying to work with csh is that ..i have to install mmtsb toolset and it requires csh ...
  5. flunwyc

    flunwyc Member

    Messages:
    99
    Likes Received:
    60
    Trophy Points:
    18
    Repost your post no. 42 using code tags. No one is going to waste their times trying to filter through all that mess
    [code ][/code]
    The ouput should then appear like this
    Code:
    code
    I have a hard job believing that what you posted above is full the output of 'apt-get update'. Your apt-cache policy shows many other repos.

    When you're asked to provide full output, people also need to see the command you're running - for example:

    Code:
    flunwyc@freebsd:/ % ls -l
    total 71
    -r--r--r--   1 root  wheel  6203 Dec  4  2012 COPYRIGHT
    drwxr-xr-x   2 root  wheel  1024 Dec  4  2012 bin
    drwxr-xr-x   7 root  wheel  1024 Sep 10 21:22 boot
    dr-xr-xr-x   7 root  wheel   512 Sep 15 11:37 dev
    -rw-------   1 root  wheel  4096 Sep 14 22:27 entropy
    drwxr-xr-x  20 root  wheel  2048 Sep  8 20:15 etc
    drwxr-xr-x   4 root  wheel   512 Aug 18 11:25 home
    drwxr-xr-x   3 root  wheel  1536 Dec  4  2012 lib
    drwxr-xr-x   3 root  wheel   512 Dec  4  2012 libexec
    drwxr-xr-x   2 root  wheel   512 Dec  4  2012 media
    drwxr-xr-x   2 root  wheel   512 Dec  4  2012 mnt
    dr-xr-xr-x   2 root  wheel   512 Dec  4  2012 proc
    drwxr-xr-x   2 root  wheel  2560 Dec  4  2012 rescue
    drwxr-xr-x   3 root  wheel   512 Sep 10 21:20 root
    drwxr-xr-x   2 root  wheel  2560 Dec  4  2012 sbin
    lrwxr-xr-x   1 root  wheel    11 Dec  4  2012 sys -> usr/src/sys
    drwxrwxrwt   6 root  wheel   512 Sep 15 11:41 tmp
    drwxr-xr-x  15 root  wheel   512 Sep  8 16:08 usr
    drwxr-xr-x  24 root  wheel   512 Sep 15 11:37 var
    flunwyc@freebsd:/ %
  6. vansh

    vansh Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    as i have already told i am very new to this system...and probably some times dont understand well how to reply back ....
    and i really appreciate and thankful to you for looking into my problem and helping me to solve it out ....
    i will try to post back with suggested way..
    thanks once again
  7. flunwyc

    flunwyc Member

    Messages:
    99
    Likes Received:
    60
    Trophy Points:
    18
    If you're struggling copying and pasting files then you are going to find difficult times ahead...

    You may find it simpler to do
    Code:
    $ apt-get -s update > ~/apt_get_update
    This will create a simple text file containing the output which you can then attach or upload somewhere.

Share This Page