I followed the Farewell Medibuntu blog [url]http://blog.linuxmint.com/?p=2469[/url]to 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
<SOLVED> How to get update manager to read sources.list
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
<SOLVED> How to get update manager to read sources.list
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: How to get update manager to read sources.list
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
Re: How to get update manager to read sources.list
I think he placed the gksu kate ***** in the source.list file. That is what I understand from this story..but the update manager still cannot read the file anymore. Keep getting message "cannot read gksug..
Re: How to get update manager to read sources.list
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
I will post the output as soon as I can. Thanks very much
Re: How to get update manager to read sources.list
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.daisyb wrote:The list file is showing the correct text now - ie "#gksu kate///etc"
Re: How to get update manager to read sources.list
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:
Thanks so much for the quick assistance. Much appreciated
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
~ $
Re: How to get update manager to read sources.list
Remove the line starting with gksu#.Repos: Active apt sources in file: /etc/apt/sources.list
gksu# /etc/apt/sources.list
Re: How to get update manager to read sources.list
that fixed the problem. Thankyou soooo much!!
Not sure how I can mark this topic as SOLVED
Not sure how I can mark this topic as SOLVED
Re: How to get update manager to read sources.list
Your welcome! Glad that your problem has been fixed!daisyb wrote:that fixed the problem. Thankyou soooo much!!
Just edit the topic title of your first post as you already did.daisyb wrote:Not sure how I can mark this topic as SOLVED