<SOLVED> How to get update manager to read sources.list

Forum rules
Before you post please read this

<SOLVED> How to get update manager to read sources.list

Postby daisyb on Tue Nov 05, 2013 12:33 am

I followed the Farewell Medibuntu blog http://blog.linuxmint.com/?p=2469to update the sources and made a mistake when I omitted highlighting the "g" in "gedit" when replacing with "kate" to read 'gksu kate/etc/apt/sources.list'. I corrected the mistake in the file
and saved, but the update manager still cannot read the file anymore. Keep getting message "cannot read gksug..." The Update Manager on taskbar is showing a red cross and would not update.

Can someone please tell me how and what should I do to fix that up so it updates again without having to re-install?

Thanks very much in advance
Last edited by daisyb on Tue Nov 05, 2013 7:51 am, edited 1 time in total.
daisyb
Level 1
Level 1
 
Posts: 11
Joined: Fri Nov 09, 2012 5:48 pm

Linux Mint is funded by ads and donations.
 

Re: How to get update manager to read sources.list

Postby xenopeek on Tue Nov 05, 2013 4:30 am

Not following what you mean you did, so please instead open Konsole and run the following command and share the output here (see Konsole's Edit menu for copying text):
Code: Select all
inxi -Sr
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14549
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How to get update manager to read sources.list

Postby nomko on Tue Nov 05, 2013 4:45 am

but the update manager still cannot read the file anymore. Keep getting message "cannot read gksug..

I think he placed the gksu kate ***** in the source.list file. That is what I understand from this story..
ASUS P5KPL-AM SE*Intel Core2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*Optiarc DVD-RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Sitecom X5-N600 Router (WLR-5100)

My personal website
User avatar
nomko
Level 8
Level 8
 
Posts: 2245
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands

Re: How to get update manager to read sources.list

Postby daisyb on Tue Nov 05, 2013 5:14 am

sorry I can't get to that machine right now, but what I did was left the "g" after gksu, making it "gksug". I did go into the file and removed the "g", but update manager still can't read. The list file is showing the correct text now - ie "#gksu kate///etc"

I will post the output as soon as I can. Thanks very much
daisyb
Level 1
Level 1
 
Posts: 11
Joined: Fri Nov 09, 2012 5:48 pm

Re: How to get update manager to read sources.list

Postby xenopeek on Tue Nov 05, 2013 5:42 am

daisyb wrote:The list file is showing the correct text now - ie "#gksu kate///etc"

You're mixing a lot of things up I think. That is not something to place in some file, that was a command to run :( As per the blog post you linked to, for all editions except KDE you would run the command "gksu gedit /etc/apt/sources.list". NOT place it in some file; that is the command to edit a file... For KDE you'd replace the command with "kdesu kate /etc/apt/sources.list", though probably you have to edit another file. Hence please share the output of the command "inxi -Sr" so we can see which file you should edit.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14549
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How to get update manager to read sources.list

Postby daisyb on Tue Nov 05, 2013 7:15 am

I did do that in Konsole, but overlooked the "g" when substituting gedit with "kate". Being a newbie with very limited knowledge of codes, I thought if I correct the mistake in the file Konsole edited would rectify problem :(

Following is the output you requested:
Code: Select all
~ $ inxi -Sr
System:    Host: Mint Kernel: 3.2.0-54-generic x86_64 (64 bit)
Desktop: KDE 4.8.5 Distro: Linux Mint 13 Maya
Repos:     Active apt sources in file: /etc/apt/sources.list
            gksu# /etc/apt/sources.list
            deb mirror://mirrors.ubuntu.com/mirrors.txt precise main
restricted universe multiverse
            deb-src mirror://mirrors.ubuntu.com/mirrors.txt precise main
restricted universe multiverse
            deb mirror://mirrors.ubuntu.com/mirrors.txt precise-updates
main restricted universe multiverse
            deb-src mirror://mirrors.ubuntu.com/mirrors.txt
precise-updates main restricted universe multiverse
            deb mirror://mirrors.ubuntu.com/mirrors.txt precise-security
main restricted universe multiverse
            deb-src mirror://mirrors.ubuntu.com/mirrors.txt
precise-security main restricted universe multiverse
            deb http://mirrors.ucr.ac.cr/medibuntu/ precise free non-free
            deb-src http://mirrors.ucr.ac.cr/medibuntu/ precise free
non-free
            Active apt sources in file:
/etc/apt/sources.list.d/medibuntu.list
            deb http://nc.packages.medibuntu.org/ precise free non-free
            Active apt sources in file: /etc/apt/sources.list.d/mint.list
            deb http://mirror.internode.on.net/pub/linuxmint-packages/
maya main upstream import backport romeo
            Active apt sources in file: /etc/apt/sources.list.d/ubuntu.list
            deb http://archive.ubuntu.com/ubuntu/ precise main
restricted universe multiverse
            deb http://archive.ubuntu.com/ubuntu/ precise-updates main
restricted universe multiverse
            deb http://security.ubuntu.com/ubuntu/ precise-security main
restricted universe multiverse
            deb http://archive.canonical.com/ubuntu/ precise partner
~ $


Thanks so much for the quick assistance. Much appreciated
daisyb
Level 1
Level 1
 
Posts: 11
Joined: Fri Nov 09, 2012 5:48 pm

Re: How to get update manager to read sources.list

Postby nomko on Tue Nov 05, 2013 7:18 am

Repos: Active apt sources in file: /etc/apt/sources.list
gksu# /etc/apt/sources.list

Remove the line starting with gksu#.
ASUS P5KPL-AM SE*Intel Core2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*Optiarc DVD-RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Sitecom X5-N600 Router (WLR-5100)

My personal website
User avatar
nomko
Level 8
Level 8
 
Posts: 2245
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands

Re: How to get update manager to read sources.list

Postby daisyb on Tue Nov 05, 2013 7:49 am

that fixed the problem. Thankyou soooo much!!

Not sure how I can mark this topic as SOLVED
daisyb
Level 1
Level 1
 
Posts: 11
Joined: Fri Nov 09, 2012 5:48 pm

Re: How to get update manager to read sources.list

Postby nomko on Tue Nov 05, 2013 8:13 am

daisyb wrote:that fixed the problem. Thankyou soooo much!!

Your welcome! Glad that your problem has been fixed!

daisyb wrote:Not sure how I can mark this topic as SOLVED

Just edit the topic title of your first post as you already did.
ASUS P5KPL-AM SE*Intel Core2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*Optiarc DVD-RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Sitecom X5-N600 Router (WLR-5100)

My personal website
User avatar
nomko
Level 8
Level 8
 
Posts: 2245
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands

Linux Mint is funded by ads and donations.
 

Return to KDE

Who is online

Users browsing this forum: No registered users and 3 guests