Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

shources.list~ is a bug, right?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
fender0107401
Posts: 52
Joined: 2014-05-10 11:42

shources.list~ is a bug, right?

#1 Post by fender0107401 »

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?

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

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

#2 Post by Dai_trying »

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. :)

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

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

#3 Post by llivv »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

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

#4 Post by Head_on_a_Stick »

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.
deadbang

Post Reply