Issues related to Ubuntu OS or related distributions
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.0 KiB

3 years ago
  1. # ubuntu
  2. Issues related to Ubuntu OS or related distributions
  3. ## apt errors
  4. If you want to delete an wrong or non-working repository you can listed and delete by going to:
  5. ```
  6. $ cd /etc/apt/sources.list.d
  7. $ ls
  8. docker.list elementary.list owncloud.list patches.list
  9. ```
  10. so first we need to list the repositories to determine which will be removed:
  11. ```
  12. $ sudo apt-key list
  13. /etc/apt/trusted.gpg
  14. --------------------
  15. pub rsa2048 2015-09-28 [SC] [expires: 2022-05-28]
  16. 06D7 EADE 708A 40FA 136E B454 0700 205D FD41 A71A
  17. uid [ unknown] devel OBS Project <devel@s2.owncloud.com>
  18. /etc/apt/trusted.gpg.d/elementary.key.asc
  19. -----------------------------------------
  20. pub rsa1024 2011-10-01 [SC]
  21. 6C87 69CE DC20 F5E6 6C3B 7D37 BF36 996C 4E1F 8A59
  22. uid [ unknown] Launchpad PPA for elementary OS team
  23. ```
  24. in this case we will delete the owncloud repository `06D7 EADE 708A 40FA 136E B454 0700 205D FD41 A71A` by using:
  25. ```
  26. $ sudo apt-key del "06D7 EADE 708A 40FA 136E B454 0700 205D FD41 A71A"
  27. OK
  28. $ sudo apt-get update
  29. ```