Menu

Problems with apt-get update

Help
2009-05-15
2012-12-12
  • Louatron Corentin

    Hi,

    I am trying to install Drbl and Clone Zilla on a Debian 5.0.1.
    I have some problems with the command apt-get update to get all informations about drbl packets.

    I have put three mirors for drbl in my "/etc/apt/sources.list" :

    #
    deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 CD Binary-1 20090413-00:10]/ lenny main

    deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 CD Binary-1 20090413-00:10]/ lenny main

    # Line commented out by installer because it failed to verify:
    deb http://security.debian.org/ lenny/updates main
    # Line commented out by installer because it failed to verify:
    deb-src http://security.debian.org/ lenny/updates main

    # Line commented out by installer because it failed to verify:
    deb http://volatile.debian.org/debian-volatile lenny/volatile main
    # Line commented out by installer because it failed to verify:
    deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

    deb http://free.nchc.org.tw/dbrl-core drbl stable

    deb http://free.nchc.org.tw/debian etch main

    deb http://drbl.sourceforge.net/drbl-core drbl stable

    deb http://ftp.twaren.net/local-distfiles/drbl-core drbl stable

    But i have always errors messages when i execute apt-get update:

    Err http://drbl.sourceforge.net drbl Release
    ...
    Err http://ftp.twaren.net drbl Release
    ...
    Err http://free.nchc.org.tw drbl/stable Packages                                                                                                           
      404 Not Found                                                                                                                     
    W: GPG error: http://drbl.sourceforge.net drbl Release: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 40009511D7E8DF3A
    W: GPG error: http://ftp.twaren.net drbl Release: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 40009511D7E8DF3A
    W: Impossible de récupérer http://free.nchc.org.tw/dbrl-core/dists/drbl/stable/binary-i386/Packages  404 Not Found

    I don't understand, my network configuration is good and i have configure my proxy server in /etc/apt/apt.conf and it works; but it seems there is always a problem with apt-get update with all the mirors.

    If you have any ideas, i will take them.

    Thank you and sorry my english

     
    • Steven Shiau

      Steven Shiau - 2009-05-15

      "deb http://free.nchc.org.tw/dbrl-core drbl stable

      deb http://free.nchc.org.tw/debian etch main

      deb http://drbl.sourceforge.net/drbl-core drbl stable

      deb http://ftp.twaren.net/local-distfiles/drbl-core drbl stable
      "
      You do not have to put those 4 one. Only 2, e.g.:
      deb http://ftp.us.debian.org/debian/ etch main
      deb http://drbl.sourceforge.net/drbl-core drbl stable

      BTW, remember to follow to do that:
      http://drbl.sourceforge.net/one4all/

      It seems you did not import DRBL package GPG key.

      Steven.

       
    • Louatron Corentin

      Thanks for the answer,

      I have follow all the steps in http://drbl.sourceforge.net/one4all/  , but you are wright i have always problems with GPG key, it tells me : NO_PUBKEY 40009511D7E8DF3A  when i do "apt-get update"

      I have try these methods:
      "
      If your GNU/Linux distribution supports secure apt (such as Ubuntu Gutsy or Debian Etch), you can add the DRBL key to your apt-key as root privilege. There are two ways to do this. First one: "wget -q http://drbl.sourceforge.net/GPG-KEY-DRBL -O- | sudo apt-key add -". Second one: Download the key from key server. The KeyID for DRBL is D7E8DF3A, you can do it by "gpg --keyserver subkeys.pgp.net --recv-key D7E8DF3A", then run "gpg -a --export D7E8DF3A | apt-key add -" to add it to your secure apt.
      "

      With the first method, it tells me that none OpenPGP valid data was found.

      And when i try the second method, i have this result:
      "
      CloneZilla:/home/zilla# gpg --keyserver subkeys.pgp.net --recv-key D7E8DF3A
      gpg: requête de la clé D7E8DF3A du serveur hkp subkeys.pgp.net
      ?: subkeys.pgp.net: Host not found
      gpgkeys: HTTP fetch error 7: couldn't connect: Connection refused
      gpg: aucune donnée OpenPGP valide n'a été trouvée.
      gpg:        Quantité totale traitée: 0
      "

      I don't understand the problem and i don't have any knowledge about GPG key.

      Thanks to read me.

       
      • Steven Shiau

        Steven Shiau - 2009-05-15

        OK, sure. Since in your network environment, proxy is required.
        Without proxy setting, wget won't be able to download the key.

        Steven.

         
    • Louatron Corentin

      So i have solve my problem.

      I haved to put my proxy server in environnement variable with this command : export http_proxy="http://proxy.example.com:8080"

      Without this wget can't access to GPG key

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.