shources.list~ is a bug, right?

If none of the more specific forums is the right place to ask

shources.list~ is a bug, right?

Postby fender0107401 » 2019-01-06 08:37

Code: Select all
cd /etc/apt/; ls;
apt.conf.d     sources.list   sources.list.d
preferences.d  sources.list~  trusted.gpg.d


The sources.list~ is useless, right?
User avatar
fender0107401
 
Posts: 27
Joined: 2014-05-10 11:42
Location: China, Beijing.

Re: shources.list~ is a bug, right?

Postby Dai_trying » 2019-01-06 09:12

These files are usually backups created by some text editors and as such are normally safe to remove. As for whether it is useless I guess that would depend on whether you have a problem and then require the last version of the file to revert something you did wrong. Unless you really need to recover the small amount of space they take up I would leave them as they are, but obviously your system, your choice.No harm either way. :)
Dai_trying
 
Posts: 577
Joined: 2016-01-07 12:25

Re: shources.list~ is a bug, right?

Postby llivv » 2019-01-06 09:14

fender0107401 wrote:The sources.list~ is useless, right?

It can be useless if not setup correctly

No it is not a bug!

post it and someone can help you fix it
if it is broken.
Code: Select all
cat /etc/apt/sources.list
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5858
Joined: 2007-02-14 18:10
Location: cold storage

Re: shources.list~ is a bug, right?

Postby Head_on_a_Stick » 2019-01-06 10:49

fender0107401 wrote:The sources.list~ is useless, right?

It's a backup file left by vim, try
Code: Select all
# vim /etc/apt/sources.list

and it will ask you what you want to do with it ;)

EDIT: or maybe "vi" [sic] if you don't have vim installed.
"French riots get results! U lot are instagram zzzombies" — graffiti over Euston underpass
User avatar
Head_on_a_Stick
 
Posts: 8590
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to General Questions

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable