Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Clearsigned File and NOSPLIT Error during Repository Update #799

Open
bananajoe200 opened this issue Jan 22, 2024 · 3 comments
Open

Comments

@bananajoe200
Copy link

Hello,

I hope this message finds you well. I am experiencing an issue when trying to update the AdoptOpenJDK repository on my Debian 10 (buster) system.

The error message I am encountering is as follows:

Err:6 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster InRelease Clearsigned file is not valid, received 'NOSPLIT' (does the network require authentication?) Paket lists are being read... Done E: Failed to fetch https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/dists/buster/InRelease Clearsigned file is not valid, received 'NOSPLIT' (does the network require authentication?) E: The repository 'https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster InRelease' is no longer signed. N: Updating from such a repository cannot be done securely, and it is disabled by default. N: For more details, see the apt-secure(8) manual page.

I followed the installation guide provided at: Adoptium Blog - Eclipse Temurin Linux Installers

Despite my efforts, the problem persists. It seems to be related to a Clearsigned file issue with a 'NOSPLIT' error.

Could you kindly assist me in resolving this matter? If there are specific steps or changes to the approach that I should follow, please provide guidance.

Thank you in advance for your support.

@karianna
Copy link
Contributor

Possibly related #782

@isadon
Copy link

isadon commented Apr 24, 2024

Getting this error currently, is there any way to resolve?

@karianna
Copy link
Contributor

The error message you are encountering during package installation on your Linux system suggests a problem with fetching data from the repository at "https://adoptopenjdk.jfrog.io/adoptopenjdk/deb". This is typically due to network issues or repository configuration errors. Here are some steps to troubleshoot and potentially resolve the issue:

  1. Check Network Connectivity:

    • Ensure your system has proper internet access.
    • Test connectivity to the repository by using tools like ping or curl to see if the server is reachable:
      curl -I https://adoptopenjdk.jfrog.io/adoptopenjdk/deb
  2. Inspect Repository Configuration:

    • Verify that the repository URL in your APT sources list is correct. Check the file /etc/apt/sources.list or the files under /etc/apt/sources.list.d/ for any entry related to adoptopenjdk.
    • The repository line should look something like this for Debian Buster:
      deb [signed-by=/usr/share/keyrings/adoptopenjdk-archive-keyring.gpg] https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster main
      
    • Make sure that the URL and distribution name (in your case, buster) are correct.
  3. Authentication and Proxy Configuration:

    • The error mentions "does the network require authentication?" which indicates that a proxy or some network policy might be blocking or altering the request. If you're behind a proxy, configure the proxy settings for APT:
      • You can set the proxy for APT in /etc/apt/apt.conf.d/, for example:
        Acquire::http::Proxy "http://proxy_address:proxy_port";
        
    • If network authentication is required, make sure that your system is authenticated on the network or that you have set up proper credentials for accessing the internet.
  4. Update and Install:

    • Once the repository and network configurations are verified and corrected if needed, try updating your package lists and install the package again:
      sudo apt update
      sudo apt install <package-name>
  5. Check Repository Key:

    • Ensure that you have the GPG key for the AdoptOpenJDK repository imported and that it's up to date. You can add or update the key using:
      curl -sL "https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public" | sudo apt-key add -
  6. Consult Logs:

    • If the problem persists, you can check the APT logs for more detailed error information:
      • /var/log/apt/term.log
      • /var/log/apt/history.log

These steps should help you diagnose and hopefully resolve the issue you're facing with accessing the AdoptOpenJDK repository on your Linux system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants