Menu

Problem with apt-get update.

Wond2
2015-02-14
2015-08-07
  • Wond2

    Wond2 - 2015-02-14

    Hi all.

    I have some trouble.
    I downloaded last distr (2.0.1r), create sdcard, boot Pi.
    After loading I try to make update:

    apt-get -y update

    and have this message:

    Ign https://raw.githubusercontent.com 250gto InRelease
    Ign https://raw.githubusercontent.com 250gto Release.gpg
    Ign https://raw.githubusercontent.com 250gto Release
    Err https://raw.githubusercontent.com 250gto/main armel Packages
    server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    Ign https://raw.githubusercontent.com 250gto/main Translation-en
    W: Failed to fetch https://raw.githubusercontent.com/andreabenini/moebius/master/dists/250gto/main/binary-armel/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

    E: Some index files failed to download. They have been ignored, or old ones used instead.

    And can't update and upgrade of course.

    I think it's error from githubusercontent, because I have same message when I try download any script from https://raw.githubusercontent.com

    For example

    wget https://raw.githubusercontent.com/script.sh

    ...connected.
    ERROR: cannot verify raw.githubusercontent.com's certificate, iddued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
    Issued certificate not yet valid.

    If I try download with '--no-check-certificates' flag - all is ok and script was downloaded.

    So what's really wrong? How I can update if it problems with GitHub? Thanks!

     
  • Anonymous

    Anonymous - 2015-02-14

    Double check your internal date/time.
    certificates are checked twice and matched with your current datetime settings, that's because github uses https.
    try to:

    • set your date-time manually or
    • ntpdate pool.ntp.org and then issue the date command to see if you've a correct date. No matter about the timezone but the date must not be 1970-01-01

    When you're set try with the common apt-get update or use wget or whatever tool you'd like

     
  • Wond2

    Wond2 - 2015-02-14

    Thanks, it's helped. But when I change my internet-source (from eth0 lan to another eht0 lan) it's not work and time was change back. But it's ok. Thanks again.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB