LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-31-2011, 11:19 AM   #1
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200
Blog Entries: 2

Rep: Reputation: 19
Angry 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
 
Old 01-31-2011, 11:33 AM   #2
petebow4
LQ Newbie
 
Registered: Sep 2005
Location: West Hartford, CT
Distribution: Ubuntu
Posts: 19

Rep: Reputation: 2
Quote:
I just made something stupid while downloading Skype
Like what?

Quote:
I went to /etc/apt/sources list and tried to remove "gksudo... but could not.
You won't be removing gksudo, this is a sudo for the kde environment.

You have probably have an error in your sources list. Could you please post the contents of /etc/apt/sources.list
 
Old 01-31-2011, 11:49 AM   #3
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
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
 
Old 01-31-2011, 11:58 AM   #4
petebow4
LQ Newbie
 
Registered: Sep 2005
Location: West Hartford, CT
Distribution: Ubuntu
Posts: 19

Rep: Reputation: 2
Quote:
gksudo gedit /etc/apt/sources.list#deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
That's your problem! Remove everything up to the # and save the file. The first line should look like
Code:
#deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
when you are finished. If you're worried about making a mistake make a copy of the file first!
 
Old 01-31-2011, 12:25 PM   #5
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
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
 
Old 01-31-2011, 12:30 PM   #6
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
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???
 
Old 01-31-2011, 12:49 PM   #7
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
You need to have root privileges to edit the file.

Do
Code:
gksudo gedit /etc/apt/sources.list
To open gedit as root. Edit and save.
 
1 members found this post helpful.
Old 01-31-2011, 02:10 PM   #8
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
Thank you, my friend. Everything seems OK now!

teboil
 
Old 01-31-2011, 02:19 PM   #9
petebow4
LQ Newbie
 
Registered: Sep 2005
Location: West Hartford, CT
Distribution: Ubuntu
Posts: 19

Rep: Reputation: 2
You're welcome. Don't forget to mark the thread as solved!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ran out of memory and can't access synaptic package manager in Linux mint 8 Helena Koldfyre Linux - Newbie 7 06-24-2010 02:24 AM
Ubuntu 10.04: Synaptic questions jim_d Linux - Newbie 6 06-09-2010 02:35 PM
cannot access to any of gnome systems utils except synaptic and the welcome screen ap christian130 Debian 2 08-30-2009 10:24 AM
Installing qt via synaptic on ubuntu Bucephalus Linux - Software 1 06-15-2008 04:34 PM
[ubuntu linux] problem with synaptic teomatteo89 Linux - Software 16 02-04-2006 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration