How do I remove apt repository?

Quang Hiếu

New member
How do I remove apt repository?
Answer
1 Answer
  • Remove it from sources.list . If it was added by add-apt-repository then you will find it in its own file in /etc/apt/sources.list.d , not in the main sources.list . sudo rm /etc/apt/sources.list.d/nemh-systemback-precise.list.
  • Optional: Stop trusting the key. Use apt-key list to list trusted keys.
Photo in the article by “Wikimedia Commons”
Code:
https://commons.wikimedia.org/wiki/File:SVG_Text_Font_Test_Ubuntu.svg
Remove a Linux user
  • Log in to your server via SSH.
  • Switch to the root user: sudo su –
  • Use the userdel command to remove the old user: userdel user’s username.
  • Optional: You can also delete that user’s home directory and mail spool by using the -r flag with the command: userdel -r user’s username.
 

Tìm kiếm

Back
Top