Entry 60 error, software updater failed; can't find file /etc/apt/sources.list

Gene Heskett gheskett at shentel.net
Sat Aug 4 21:50:14 UTC 2018


On Saturday 04 August 2018 16:14:12 Colin Law wrote:

> On 4 August 2018 at 21:05, djlafond via ubuntu-users <
>
> ubuntu-users at lists.ubuntu.com> wrote:
> > Hi again Colin,
> >
> > Sorry, i didn't register that as a file. doh. i found the file in
> > the computer file list under files and folders, apt
> > sources.list.save & i think this is the right one, etc/apt/ so
> > here's what i found.
>
> not sources.list.save but sources.list
>
> In a terminal run
> gedit /etc/apt/sources.list
> which should open it in an editor (you won't be able to save it from
> there as you will need sudo privileges to do that, but lets not worry
> about that yet).  Copy/paste the whole contents here.  The error said
> there was an error at line 60.
>
> Colin

If gedit was used on that file before, all bets are off and it may 
contain most anything but a valid sources.list now. I've had that happen 
too many times Colin, and nuked gedit from all my systems going on about 
2 years ago now.  Neither nano, nor geany (needs X)  has ever trashed a 
file. 60 lines is in fact a possibility, but the usual install is less 
than 20, and this user is not a "power" user, so 60 lines also raised a 
red flag for me.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>




More information about the ubuntu-users mailing list