I am running Ubuntu 16.04 and new to Ubuntu. Please let me know what I did wrong:
In my system a sources.list~ file and also a trusted.gpg~ file was generated.
Asked
Active
Viewed 973 times
4
cl-netbox
- 31,491
AtmanSangeetha
- 143
1 Answers
4
You did nothing wrong - every time when you edit the sources.list file or when you add or remove a repository, a backup of the old .list file gets generated with the ~ suffix, so in case you want to revert something later on, you can delete the new file and rename the old file by removing the "tilde".
If you don't want to keep the backup file, you can delete it by executing one of these commands :
sudo rm /etc/apt/sources.list~sudo rm /etc/apt/sources.list.d/<repository-file-name>.list~
The same you can do with the trusted.gpg~ file when you don't want to keep it in the system.
cl-netbox
- 31,491