-1

I have this repository https://apache.jfrog.io/artifactory/couchdb-deb that is preventing me to update the system, what is the easiest way to remove it? I have tried using PPA purge but not being a PPA repo I can't remove it by using those recommendations.

Doing grep -r 'apache\.jfrog' /etc/apt/sources.list* I get:

/etc/apt/sources.list.d/couchdb.list.distUpgrade:deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ groovy main

/etc/apt/sources.list.d/couchdb.list:deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ groovy main

/etc/apt/sources.list.d/couchdb.list.save:deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ groovy main

pLumo
  • 26,947
  • What is your problem with the Duplicate question commented to your earlier very same question? – pLumo Sep 15 '21 at 14:27
  • That is not a PPA repository and the same answers won't work – Las Sincas Sep 15 '21 at 14:28
  • So you can go to the second answer? https://askubuntu.com/a/1087463/631600 – pLumo Sep 15 '21 at 14:29
  • Tried it, there's not the repo I am looking for there. – Las Sincas Sep 15 '21 at 14:30
  • Then you don't have this repository and it may not be the problem. See also this. – pLumo Sep 15 '21 at 14:33
  • So, why do I get the message "The repository 'https://apache.jfrog.io/artifactory/couchdb-deb groovy Release' does not have a Release file." when I am trying to update? I do updates both from the terminal and the software update programs – Las Sincas Sep 15 '21 at 14:34
  • I understand that the repository that you are using is not named with the 'ppa' convention, but it is a package archive. Open Software and Updates and look in the 'Other Software` tab - you will find it in the list somewhere. Uncheck the box next to it, to disable it. – Charles Green Sep 15 '21 at 14:37
  • Checked there for the past 2 days, there is nothing even close to either 'apache' 'jfrog' 'artifactory' 'couchdb'. Still stuck. – Las Sincas Sep 15 '21 at 14:39
  • Sorry, but this should work. And if not, I'm afraid we cannot help here, because you are using an unsupported Ubuntu (EOL). Backup your data and reinstall a supported version is my advice. – pLumo Sep 15 '21 at 14:42
  • Last idea. Please edit your question and add the output of grep -rn 'apache\.jfrog' /etc/apt/sources.list* – pLumo Sep 15 '21 at 14:44
  • run sudo rm /etc/apt/sources.list.d/couchdb.list then sudo apt update, sudo apt upgrade, then you can follow this -> https://askubuntu.com/questions/91815/how-to-install-software-or-upgrade-from-an-old-unsupported-release – pLumo Sep 15 '21 at 14:49
  • Thank you so much, it seems that I am now on a much better place!!!! Trying to do all the updates and then will upgrade the system. Your patience and help is very much appreciated – Las Sincas Sep 15 '21 at 14:52

1 Answers1

3

Why the usual way to disable a repository does not work for you is unclear for me.

However, you can

  1. Find the file where the repository is set:

    grep -rn 'apache\.jfrog' /etc/apt/sources.list*
    

    Output can be something like:

    /etc/apt/sources.list.d/couchdb.list:2:deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ groovy main
    

    This means, the repository is set in the second line of the file /etc/apt/sources.list.d/couchdb.list.

    Note, only files named *.list need to be considered.

  2. Comment out the respective line

    sudo sed -i '2s/^/# /' /etc/apt/sources.list.d/couchdb.list
    

    or remove the file, if you're sure that it does not list any other repositories that are needed.

    sudo rm /etc/apt/sources.list.d/couchdb.list
    
  3. Update/Upgrade your system

    sudo apt update
    sudo apt upgrade
    
  4. Then you can update to a supported release, following answers to this question.

pLumo
  • 26,947