Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
This message appeared in my terminal after I tried apt-get update. Could someone please explain to me just how to fix it? Thanks!! cousinlucky@cousinlucky-desktop:~$ apt-get update E: Could not open ...
  1. #1
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    575

    [SOLVED] apt-get update terminal error

    This message appeared in my terminal after I tried apt-get update.

    Could someone please explain to me just how to fix it? Thanks!!

    cousinlucky@cousinlucky-desktop:~$ apt-get update
    E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
    E: Unable to lock the list directory
    Linux registered user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Hi cousinlucky! You have to do it as sudo:
    Code:
    sudo apt-get update
    Linux Mint + IceWM Registered:#371367 New Members: click here

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    It needs to be run as root.

    Code:
    sudo apt-get update

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    You beat me, Dapper Dan.

  5. #5
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    575
    Every day I get more Senile!! I forgot about sudo. Thanks Gentlemen!!

    Now I have a bunch of errors that I know nothing about or how to correct them!

    W: GPG error: Index of / hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9BF3BB4E5E17B5
    W: Failed to fetch http://ppa.launchpad.net/chromium-da...86/Packages.gz 404 Not Found

    W: Failed to fetch http://ppa.launchpad.net/chromium-da...86/Packages.gz 404 Not Found

    W: Failed to fetch http://ppa.launchpad.net/chromium-da...86/Packages.gz 404 Not Found

    E: Some index files failed to download, they have been ignored, or old ones used instead.
    cousinlucky@cousinlucky-desktop:~$
    Linux registered user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

  6. #6
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Australia (Down Under)
    Posts
    141
    404 errors, it appears that those links in your /etc/sources.list are outdated and need updating. not sure what they should be in ubuntu but a quick google search should assist.



    hope that helps
    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
    You can post the contents of /etc/apt/sources.list file so that we can verify sources.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    575
    cousin lucky's sources list:

    deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.

    deb Index of /ubuntu hardy main restricted
    deb-src Index of /ubuntu hardy main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb Index of /ubuntu hardy-updates main restricted
    deb-src Index of /ubuntu hardy-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb Index of /ubuntu hardy universe
    deb-src Index of /ubuntu hardy universe
    deb Index of /ubuntu hardy-updates universe
    deb-src Index of /ubuntu hardy-updates universe

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb Index of /ubuntu hardy multiverse
    deb-src Index of /ubuntu hardy multiverse
    deb Index of /ubuntu hardy-updates multiverse
    deb-src Index of /ubuntu hardy-updates multiverse

    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb Index of /ubuntu hardy-backports main restricted universe multiverse
    # deb-src Index of /ubuntu hardy-backports main restricted universe multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository. This software is not part of Ubuntu, but is
    ## offered by Canonical and the respective vendors as a service to Ubuntu
    ## users.
    deb Index of /ubuntu hardy partner
    deb-src Index of /ubuntu hardy partner

    deb Index of /ubuntu hardy-security main restricted
    deb-src Index of /ubuntu hardy-security main restricted
    deb Index of /ubuntu hardy-security universe
    deb-src Index of /ubuntu hardy-security universe
    deb Index of /ubuntu hardy-security multiverse
    deb-src Index of /ubuntu hardy-security multiverse


    deb Wicd APT Repository hardy extras
    deb Index of /chromium-daily/ppa/ubuntu hardy main deb-src Index of /chromium-daily/ppa/ubuntu hardy main
    Linux registered user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

  9. #9
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    You should use code tags or uncheck Automatically parse links in text so it looks like this:

    deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted

    deb Index of /chromium-daily/ppa/ubuntu hardy main deb-src Index of /chromium-daily/ppa/ubuntu hardy main
    This looks to be the problem.

    Should be
    Code:
    deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main 
    deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main

  10. #10
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    575
    Thanks Reed 9!!

    Please excuse my ignorance!!

    I used nautilus and inserted your code. Thank You!!

    I seem to be missing a " key " however:

    W: GPG error: Index of / hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9BF3BB4E5E17B5

    I am using a Seamonkey browser and I went through the " preferences " twice and I did not see anywhere to uncheck the parse links in text. Is it located somewhere else?
    Last edited by cousinlucky; 09-22-2009 at 05:28 PM.
    Linux registered user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

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
  •  
...