Results 1 to 7 of 7

Thread: Getting error when trying to access package manager

  1. #1
    Join Date
    Jun 2006
    Beans
    20

    Getting error when trying to access package manager

    E: Type 'sudo' is not known on line 65 in source list /etc/apt/sources.list
    E: The list of sources could not be read.
    Go to the repository dialog to correct the problem.
    E: _cache->open() failed, please report.

    I got this after trying to install Compiz Fusion 0.7.6
    These are the steps I took:
    To upgrade to the latest version of Compiz, add the repository to your sources.list

    In terminal, type,

    gksu gedit /etc/apt/sources.list

    Add the following line to the end

    deb http://ppa.launchpad.net/compiz/ubuntu hardy main

    Save and close the file.

    sudo apt-get update
    sudo apt-get upgrade

    If you did not install the Compiz setting manager before, then install it now.

    sudo apt-get install compizconfig-settings-manager

    Open up the Compiz Setting Manager via System->Preferences->CompizConfig Settings Manager.

    Restart your X (By pressing ‘Ctrl + Alt + backspace‘)

    Please help......


    Dexx

  2. #2
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Beans
    507
    Distro
    Ubuntu Development Release

    Re: Getting error when trying to access package manager

    Please post your /etc/apt/sources.list. It seems you've added some stuff in it that's not supposed to be there.
    Registered user267386
    Answear a post if you got time or if you just want to avoid doing something else...
    Underestimated help just as this little friend.
    Don't forget to close the threads once answered.

  3. #3
    Join Date
    Jun 2006
    Beans
    20

    Re: Getting error when trying to access package manager

    How do I do that? I went to terminal and typed in /etc/apt/sources.list but says permission denied. I kind new at this sorry.

  4. #4
    Join Date
    Jun 2006
    Beans
    20

    Re: Getting error when trying to access package manager

    Wait I think I got it.

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

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

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
    deb-src http://us.archive.ubuntu.com/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 http://us.archive.ubuntu.com/ubuntu/ hardy universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
    deb-src http://us.archive.ubuntu.com/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 http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
    deb-src http://us.archive.ubuntu.com/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 http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    # deb-src http://us.archive.ubuntu.com/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 http://archive.canonical.com/ubuntu hardy partner
    deb-src http://archive.canonical.com/ubuntu hardy partner

    # Line commented out by installer because it failed to verify:
    # deb http://security.ubuntu.com/ubuntu hardy-security main restricted
    # Line commented out by installer because it failed to verify:
    # deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
    # Line commented out by installer because it failed to verify:
    # deb http://security.ubuntu.com/ubuntu hardy-security universe
    # Line commented out by installer because it failed to verify:
    # deb-src http://security.ubuntu.com/ubuntu hardy-security universe
    # Line commented out by installer because it failed to verify:
    # deb http://security.ubuntu.com/ubuntu hardy-security multiverse
    # Line commented out by installer because it failed to verify:
    # deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
    deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1)]/ hardy main restricted
    deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
    deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
    sudo apt-get update
    sudo apt-get upgrade

  5. #5
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Beans
    507
    Distro
    Ubuntu Development Release

    Re: Getting error when trying to access package manager

    Remove the two last lines and it should be fine again. Just save and close the app. Then in a terminal type this and hit enter:

    Code:
    sudo apt-get update
    Registered user267386
    Answear a post if you got time or if you just want to avoid doing something else...
    Underestimated help just as this little friend.
    Don't forget to close the threads once answered.

  6. #6
    Join Date
    Jun 2006
    Beans
    20

    Re: Getting error when trying to access package manager

    cool that worked thank you very much. I wonder why that new version on compiz didnt work weird

  7. #7
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Beans
    507
    Distro
    Ubuntu Development Release

    Re: Getting error when trying to access package manager

    Its easy to get some lines wrong. Glad it worked out for you.
    Registered user267386
    Answear a post if you got time or if you just want to avoid doing something else...
    Underestimated help just as this little friend.
    Don't forget to close the threads once answered.

Bookmarks

Posting Permissions

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