No access to Synaptic in Ubuntu 10.10
I just made something stupid while downloading Skype, and as a result Synaptic Package manager don't open, it tells me that "gksudo" is unknown on line 1 in sources list and tells me to go there and fix it.Ubuntu software center is equally kicking my ass. I went to /etc/apt/sources list and tried to remove "gksudo... but could not. Can anybody tell me what to do when the message reads: "the list of sources could not be read. Go to the repository dialog to correct the problem". Please tell me step by step. I'm a newbie...
teboil |
Quote:
Quote:
You have probably have an error in your sources list. Could you please post the contents of /etc/apt/sources.list |
gksudo gedit /etc/apt/sources.list#deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://fi.archive.ubuntu.com/ubuntu/ maverick restricted main deb-src http://fi.archive.ubuntu.com/ubuntu/ maverick restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://fi.archive.ubuntu.com/ubuntu/ maverick-updates restricted main deb-src http://fi.archive.ubuntu.com/ubuntu/ maverick-updates restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://fi.archive.ubuntu.com/ubuntu/ maverick universe deb-src http://fi.archive.ubuntu.com/ubuntu/ maverick universe deb http://fi.archive.ubuntu.com/ubuntu/ maverick-updates universe deb-src http://fi.archive.ubuntu.com/ubuntu/ maverick-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://fi.archive.ubuntu.com/ubuntu/ maverick multiverse deb-src http://fi.archive.ubuntu.com/ubuntu/ maverick multiverse deb http://fi.archive.ubuntu.com/ubuntu/ maverick-updates multiverse deb-src http://fi.archive.ubuntu.com/ubuntu/ maverick-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://fi.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse # deb-src http://fi.archive.ubuntu.com/ubuntu/ maverick-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 maverick partner deb-src http://archive.canonical.com/ubuntu maverick partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu maverick main deb http://security.ubuntu.com/ubuntu maverick-security restricted main deb-src http://security.ubuntu.com/ubuntu maverick-security restricted deb http://security.ubuntu.com/ubuntu maverick-security universe deb-src http://security.ubuntu.com/ubuntu maverick-security universe deb http://security.ubuntu.com/ubuntu maverick-security multiverse deb http://fi.archive.ubuntu.com/ubuntu/ maverick-proposed restricted main multiverse universe deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse |
Quote:
Code:
#deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted |
But how to do it? When I go there, the cursor is "alive and kicking", but the second I try to do anything like going backspace it just dies and stays immovable, if I paint part of the text beginning with "gksudo..." blue in order to delete that part, nothing happens.
Give me a hint, please. teboil |
I managed to get the text changed, but I was told that I have not the right to save any changes that I did, so what now???
|
You need to have root privileges to edit the file.
Do Code:
gksudo gedit /etc/apt/sources.list |
Thank you, my friend. Everything seems OK now!
teboil |
You're welcome. Don't forget to mark the thread as solved! :)
|
All times are GMT -5. The time now is 10:19 AM. |