Find the answer to your Linux question:
Results 1 to 7 of 7
Hi folks, Debian 504 64 bit I was following; DEBIAN PACKAGES OF R SOFTWARE http://cran.r-project.org/bin/linux/debian/README.html to add a repo $ sudo nano /etc/apt/sources.list add: Code: deb http://<favorite-cran-mirror>/bin/linux/debian lenny-cran/ at the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,778

    [SOLVED] About adding repo


    Hi folks,

    Debian 504 64 bit

    I was following;
    DEBIAN PACKAGES OF R SOFTWARE
    http://cran.r-project.org/bin/linux/debian/README.html

    to add a repo
    $ sudo nano /etc/apt/sources.list
    add:
    Code:
    deb http://<favorite-cran-mirror>/bin/linux/debian lenny-cran/
    at the bottom of the file.

    Then ran;
    $ sudo gpg --keyserver subkeys.pgp.net --recv-key 381BA480
    Code:
    gpg: WARNING: unsafe ownership on configuration file `/home/satimis/.gnupg/gpg.conf'
    gpg: external program calls are disabled due to unsafe options file permissions
    gpg: keyserver communications error: general error
    gpg: keyserver receive failed: general error
    I also tried;
    $ sudo gpg -a --export 381BA480 > jranke_cran.asc
    Code:
    gpg: WARNING: unsafe ownership on configuration file `/home/satimis/.gnupg/gpg.conf'
    gpg: WARNING: nothing exported
    What can I do here before running;
    $ sudo apt-key add jranke_cran.asc

    TIA

    B.R.
    satimis
    Last edited by satimis; 09-01-2010 at 03:49 PM. Reason: (SOLVED)

  2. #2
    Just Joined! jdkaye's Avatar
    Join Date
    Aug 2010
    Location
    Gorizia, Italy
    Posts
    65
    Hi Satimis,
    Have you tried installing the package gui-apt-key. I've always found that quick and simple for adding new keys for additional repos.
    Have you tried running aptitude without installing the key? I aptitude will complain and ask you if you want to use the repo anyway and it will give you the key signature that it can't find so you can verify that the one in the instructions is up to date.
    cheers,
    jdk

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,778
    Quote Originally Posted by jdkaye View Post
    Hi Satimis,
    Have you tried installing the package gui-apt-key. I've always found that quick and simple for adding new keys for additional repos.
    Have you tried running aptitude without installing the key? I aptitude will complain and ask you if you want to use the repo anyway and it will give you the key signature that it can't find so you can verify that the one in the instructions is up to date.
    Hi jdk,

    $ ls -l
    Code:
    total 4
    drwxr-xr-x 2 satimis satimis 4096 2010-08-30 22:12 Desktop
    -rw-r--r-- 1 satimis satimis    0 2010-09-01 11:09 jranke_cran.asc

    $ su
    # aptitude update
    Code:
    .....
    Reading package lists... Done             
    W: GPG error: http://mirrors.geoexpat.com lenny-cran/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 06F90DE5381BA480
    W: GPG error: http://backports.org lenny-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EA8E8B2116BA136C
    W: You may want to run apt-get update to correct these problems

    # apt-get update
    Code:
    .....
    .....
    Reading package lists... Done
    W: GPG error: http://mirrors.geoexpat.com lenny-cran/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 06F90DE5381BA480
    W: GPG error: http://backports.org lenny-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EA8E8B2116BA136C
    W: You may want to run apt-get update to correct these problems

    The same. No improvement.

    Continued


    # aptitude upgrade
    Code:
    ......
    ......
    Reading package lists... Done
    W: GPG error: http://mirrors.geoexpat.com lenny-cran/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 06F90DE5381BA480
    W: GPG error: http://backports.org lenny-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EA8E8B2116BA136C
    W: You may want to run apt-get update to correct these problems
    deb504dk02:/home/satimisd504dk02# aptitude upgrade
    W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Reading extended state information      
    Initializing package states... Done
    Reading task descriptions... Done  
    Resolving dependencies...
    The following packages have been kept back:
      libmono-accessibility2.0-cil{a} libmono-cairo1.0-cil{a} libmono-cairo2.0-cil{a} 
      libmono-cecil-private-cil libmono-corlib1.0-cil{a} libmono-corlib2.0-cil{a} 
      libmono-data-tds1.0-cil{a} libmono-data-tds2.0-cil{a} libmono-i18n-west2.0-cil{a} 
      libmono-posix1.0-cil{a} libmono-posix2.0-cil{a} libmono-security1.0-cil{a} 
      libmono-security2.0-cil{a} libmono-sharpzip0.84-cil{a} libmono-sharpzip2.84-cil{a} 
      libmono-sqlite2.0-cil{a} libmono-system-data1.0-cil{a} libmono-system-data2.0-cil{a} 
      libmono-system-runtime2.0-cil{a} libmono-system-web1.0-cil{a} libmono-system-web2.0-cil{a} 
      libmono-system1.0-cil{a} libmono-system2.0-cil{a} libmono-webbrowser0.5-cil{a} 
      libmono-winforms2.0-cil libmono1.0-cil{a} libmono2.0-cil{a} mono-2.0-gac mono-gac 
      mono-mcs{a} monodoc-base{a} 
    The following packages will be REMOVED:
      libmono-accessibility1.0-cil{u} libmono-getoptions2.0-cil{u} libmono-i18n1.0-cil{u} 
      libmono-management2.0-cil{u} libmono-peapi1.0-cil{u} libmono-peapi2.0-cil{u} 
      libmono-relaxng1.0-cil{u} libmono-sharpzip0.6-cil{u} libmono-system-runtime1.0-cil{u} 
      mono-csharp-shell{u} r-cran-vr{u} tcl8.4{u} tk8.4{u} 
    0 packages upgraded, 0 newly installed, 13 to remove and 31 not upgraded.
    Need to get 0B of archives. After unpacking 15.2MB will be freed.
    Do you want to continue? [Y/n/?] y
    Writing extended state information... Done
    (Reading database ... 122104 files and directories currently installed.)
    Removing libmono-accessibility1.0-cil ...
    Removing libmono-getoptions2.0-cil ...
    Removing libmono-i18n1.0-cil ...
    Removing mono-csharp-shell ...
    Removing libmono-management2.0-cil ...
    Removing libmono-peapi1.0-cil ...
    Removing libmono-peapi2.0-cil ...
    Removing libmono-relaxng1.0-cil ...
    Removing libmono-sharpzip0.6-cil ...
    Removing libmono-system-runtime1.0-cil ...
    Removing r-cran-vr ...
    Removing tk8.4 ...
    Removing tcl8.4 ...
    Processing triggers for man-db ...
    Processing triggers for menu ...
    Reading package lists... Done             
    Building dependency tree       
    Reading state information... Done
    Reading extended state information      
    Initializing package states... Done
    Writing extended state information... Done
    Reading task descriptions... Done         
    
    Current status: 31 updates [-6].

    2# aptitude update
    Code:
    Hit http://ftp.hk.debian.org lenny Release.gpg
    Ign http://ftp.hk.debian.org lenny/main Translation-en_HK                                         
    Hit http://security.debian.org lenny/updates Release.gpg                                          
    Ign http://security.debian.org lenny/updates/main Translation-en_HK                               
    Hit http://ftp.hk.debian.org lenny Release                                                        
    Ign http://debian.meebey.net  Release.gpg                                                         
    Ign http://debian.meebey.net  Translation-en_HK                                                   
    Hit http://volatile.debian.org lenny/volatile Release.gpg                                         
    Ign http://volatile.debian.org lenny/volatile/main Translation-en_HK                              
    Get:1 http://backports.org lenny-backports Release.gpg [189B]                                     
    Ign http://backports.org lenny-backports/main Translation-en_HK                                   
    Ign http://backports.org lenny-backports/contrib Translation-en_HK                                
    Hit http://security.debian.org lenny/updates Release                                              
    Ign http://debian.meebey.net  Release                                                             
    Ign http://security.debian.org lenny/updates/main Packages/DiffIndex                              
    Ign http://backports.org lenny-backports/non-free Translation-en_HK                               
    Get:2 http://mirrors.geoexpat.com lenny-cran/ Release.gpg [198B]                                  
    Ign http://mirrors.geoexpat.com lenny-cran/ Translation-en_HK                                     
    Hit http://backports.org lenny-backports Release                                                  
    Err http://backports.org lenny-backports Release                                                  
      
    Hit http://volatile.debian.org lenny/volatile Release                                             
    Ign http://ftp.hk.debian.org lenny/main Packages/DiffIndex                                        
    Hit http://mirrors.geoexpat.com lenny-cran/ Release                                               
    Err http://mirrors.geoexpat.com lenny-cran/ Release                                               
      
    Get:3 http://mirrors.geoexpat.com lenny-cran/ Release [1287B]                                     
    Ign http://mirrors.geoexpat.com lenny-cran/ Release                                               
    Ign http://mirrors.geoexpat.com lenny-cran/ Packages/DiffIndex                                    
    Ign http://mirrors.geoexpat.com lenny-cran/ Packages                                              
    Hit http://mirrors.geoexpat.com lenny-cran/ Packages                                              
    Ign http://security.debian.org lenny/updates/main Sources/DiffIndex                               
    Ign http://debian.meebey.net  Packages/DiffIndex                                                  
    Get:4 http://backports.org lenny-backports Release [56.1kB]                                
    Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex                             
    Ign http://ftp.hk.debian.org lenny/main Sources/DiffIndex                                         
    Hit http://security.debian.org lenny/updates/main Packages                                        
    Ign http://debian.meebey.net  Packages                                                            
    Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex                              
    Hit http://security.debian.org lenny/updates/main Sources                                         
    Hit http://ftp.hk.debian.org lenny/main Packages                                                  
    Hit http://debian.meebey.net  Packages                                                            
    Hit http://volatile.debian.org lenny/volatile/main Packages                      
    Hit http://ftp.hk.debian.org lenny/main Sources                                  
    Hit http://volatile.debian.org lenny/volatile/main Sources 
    Ign http://backports.org lenny-backports Release           
    Ign http://backports.org lenny-backports/main Packages/DiffIndex
    Ign http://backports.org lenny-backports/contrib Packages/DiffIndex
    Ign http://backports.org lenny-backports/non-free Packages/DiffIndex
    Hit http://backports.org lenny-backports/main Packages
    Hit http://backports.org lenny-backports/contrib Packages
    Hit http://backports.org lenny-backports/non-free Packages
    Fetched 57.7kB in 4s (12.8kB/s)
    Reading package lists... Done
    W: GPG error: http://mirrors.geoexpat.com lenny-cran/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 06F90DE5381BA480
    W: GPG error: http://backports.org lenny-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EA8E8B2116BA136C
    W: You may want to run apt-get update to correct these problems

    # apt-get update
    Code:
    Hit http://ftp.hk.debian.org lenny Release.gpg
    Get:1 http://mirrors.geoexpat.com lenny-cran/ Release.gpg [198B]                                 
    Ign http://mirrors.geoexpat.com lenny-cran/ Translation-en_HK                                    
    Hit http://mirrors.geoexpat.com lenny-cran/ Release                                              
    Err http://mirrors.geoexpat.com lenny-cran/ Release                                              
      
    Get:2 http://mirrors.geoexpat.com lenny-cran/ Release [1287B]                                    
    Ign http://mirrors.geoexpat.com lenny-cran/ Release                                              
    Ign http://mirrors.geoexpat.com lenny-cran/ Packages/DiffIndex                                   
    Ign http://mirrors.geoexpat.com lenny-cran/ Packages                                             
    Hit http://mirrors.geoexpat.com lenny-cran/ Packages                                             
    Ign http://ftp.hk.debian.org lenny/main Translation-en_HK                                        
    Hit http://security.debian.org lenny/updates Release.gpg                                         
    Ign http://security.debian.org lenny/updates/main Translation-en_HK                              
    Hit http://volatile.debian.org lenny/volatile Release.gpg                                        
    Ign http://volatile.debian.org lenny/volatile/main Translation-en_HK                             
    Ign http://debian.meebey.net  Release.gpg                                                        
    Ign http://debian.meebey.net  Translation-en_HK                                                  
    Get:3 http://backports.org lenny-backports Release.gpg [189B]                                    
    Ign http://backports.org lenny-backports/main Translation-en_HK                                  
    Ign http://backports.org lenny-backports/contrib Translation-en_HK                               
    Hit http://ftp.hk.debian.org lenny Release                                                       
    Hit http://security.debian.org lenny/updates Release                                             
    Hit http://volatile.debian.org lenny/volatile Release                                            
    Ign http://debian.meebey.net  Release                                                            
    Ign http://backports.org lenny-backports/non-free Translation-en_HK                        
    Ign http://security.debian.org lenny/updates/main Packages/DiffIndex                             
    Hit http://backports.org lenny-backports Release                                                 
    Err http://backports.org lenny-backports Release                                                 
      
    Ign http://ftp.hk.debian.org lenny/main Packages/DiffIndex                                       
    Ign http://security.debian.org lenny/updates/main Sources/DiffIndex                        
    Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex                      
    Ign http://debian.meebey.net  Packages/DiffIndex                                           
    Get:4 http://backports.org lenny-backports Release [56.1kB]                                
    Hit http://security.debian.org lenny/updates/main Packages                                       
    Ign http://ftp.hk.debian.org lenny/main Sources/DiffIndex                                        
    Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex                             
    Ign http://debian.meebey.net  Packages                                                           
    Hit http://security.debian.org lenny/updates/main Sources                                        
    Hit http://ftp.hk.debian.org lenny/main Packages                                                 
    Hit http://volatile.debian.org lenny/volatile/main Packages                                      
    Hit http://debian.meebey.net  Packages                                           
    Hit http://ftp.hk.debian.org lenny/main Sources                                  
    Hit http://volatile.debian.org lenny/volatile/main Sources                       
    Ign http://backports.org lenny-backports Release           
    Ign http://backports.org lenny-backports/main Packages/DiffIndex
    Ign http://backports.org lenny-backports/contrib Packages/DiffIndex
    Ign http://backports.org lenny-backports/non-free Packages/DiffIndex
    Hit http://backports.org lenny-backports/main Packages
    Hit http://backports.org lenny-backports/contrib Packages
    Hit http://backports.org lenny-backports/non-free Packages
    Fetched 57.7kB in 4s (12.9kB/s)
    Reading package lists... Done
    W: GPG error: http://mirrors.geoexpat.com lenny-cran/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 06F90DE5381BA480
    W: GPG error: http://backports.org lenny-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EA8E8B2116BA136C
    W: You may want to run apt-get update to correct these problems
    deb504dk02:/home/satimisd504dk02# 
    deb504dk02:/home/satimisd504dk02# apt-key add jranke_cran.asc
    gpg: no valid OpenPGP data found.
    deb504dk02:/home/satimisd504dk02# gpg --keyserver subkeys.pgp.net --recv-key 381BA480
    gpg: directory `/root/.gnupg' created
    gpg: new configuration file `/root/.gnupg/gpg.conf' created
    gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
    gpg: keyring `/root/.gnupg/secring.gpg' created
    gpg: keyring `/root/.gnupg/pubring.gpg' created
    gpg: requesting key 381BA480 from hkp server subkeys.pgp.net
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error

    # cat /etc/apt/sources.list
    Code:
    ...
    deb http://ftp.hk.debian.org/debian/ lenny main
    deb-src http://ftp.hk.debian.org/debian/ lenny main
    
    deb http://security.debian.org/ lenny/updates main
    deb-src http://security.debian.org/ lenny/updates main
    
    deb http://volatile.debian.org/debian-volatile lenny/volatile main
    deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
    
    deb http://backports.org/debian lenny-backports main contrib non-free
    deb http://debian.meebey.net/pkg-mono /
    
    deb http://mirrors.geoexpat.com/cran/bin/linux/debian lenny-cran/

    B.R.
    satimis

  4. #4
    Just Joined! jdkaye's Avatar
    Join Date
    Aug 2010
    Location
    Gorizia, Italy
    Posts
    65
    Hi Satimis,
    1. I don't think it is recommended to run both aptitude and apt-get. Just choose one (the former is preferred) and stick with that.
    2. If you run gui-apt-key (as root) a window will appear (see attached image). Just copy and paste the the codes following NO_PUBKEY in the quote below into the KEY ID box in the image and then click +ADD after pasting each one.

    W: GPG error: lenny-cran/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 06F90DE5381BA480
    W: GPG error: lenny-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EA8E8B2116BA136C
    cheers,
    jdk
    Attached Images Attached Images

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,778
    Quote Originally Posted by jdkaye View Post
    Hi Satimis,
    1. I don't think it is recommended to run both aptitude and apt-get. Just choose one (the former is preferred) and stick with that.
    Hi jdk,

    I ran "aptitude" all the time. Unless a warning requested to run apt-get to make correction.

    2. If you run gui-apt-key (as root) a window will appear (see attached image). Just copy and paste the the codes following NO_PUBKEY in the quote below into the KEY ID box in the image and then click +ADD after pasting each one.
    Started gui-apt-key as root

    06F90DE5381BA480 -> +Add

    Code:
    The key with ID 06F90DE5381BA480 could not be imported
    Failed

    EA8E8B2116BA136C -> +ADD

    Code:
    Key ID 0xEA8E8B2116BA136C
    Fingerprint:
    2703 4F81 A2EB 2840 A438  6C09 EA8E 8B21 16BA 136C
    
    Add this key to the keyring?
    -> OK
    $ sudo aptitude update
    Code:
    [sudo] password for satimis: 
    Hit http://ftp.hk.debian.org lenny Release.gpg
    Get:1 http://mirrors.geoexpat.com lenny-cran/ Release.gpg [198B]                                  
    Ign http://mirrors.geoexpat.com lenny-cran/ Translation-en_HK                                     
    Hit http://mirrors.geoexpat.com lenny-cran/ Release                                               
    Err http://mirrors.geoexpat.com lenny-cran/ Release                                               
      
    Get:2 http://mirrors.geoexpat.com lenny-cran/ Release [1287B]                                     
    Ign http://mirrors.geoexpat.com lenny-cran/ Release                                               
    Ign http://mirrors.geoexpat.com lenny-cran/ Packages/DiffIndex                                    
    Ign http://mirrors.geoexpat.com lenny-cran/ Packages                                              
    Hit http://mirrors.geoexpat.com lenny-cran/ Packages                                              
    Ign http://ftp.hk.debian.org lenny/main Translation-en_HK                                         
    Get:3 http://backports.org lenny-backports Release.gpg [189B]                                     
    Ign http://backports.org lenny-backports/main Translation-en_HK                                   
    Hit http://ftp.hk.debian.org lenny Release                                                        
    Ign http://backports.org lenny-backports/contrib Translation-en_HK                                
    Ign http://backports.org lenny-backports/non-free Translation-en_HK                               
    Hit http://backports.org lenny-backports Release                                                  
    Hit http://security.debian.org lenny/updates Release.gpg                                          
    Ign http://security.debian.org lenny/updates/main Translation-en_HK                               
    Ign http://ftp.hk.debian.org lenny/main Packages/DiffIndex                                        
    Hit http://volatile.debian.org lenny/volatile Release.gpg                                         
    Ign http://volatile.debian.org lenny/volatile/main Translation-en_HK                              
    Ign http://backports.org lenny-backports/main Packages/DiffIndex                                  
    Hit http://security.debian.org lenny/updates Release                                              
    Ign http://ftp.hk.debian.org lenny/main Sources/DiffIndex                                         
    Hit http://volatile.debian.org lenny/volatile Release                                             
    Ign http://security.debian.org lenny/updates/main Packages/DiffIndex                              
    Hit http://ftp.hk.debian.org lenny/main Packages                                                  
    Ign http://security.debian.org lenny/updates/main Sources/DiffIndex                               
    Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex                             
    Hit http://security.debian.org lenny/updates/main Packages                                        
    Hit http://ftp.hk.debian.org lenny/main Sources                                                   
    Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex                              
    Hit http://security.debian.org lenny/updates/main Sources                                         
    Ign http://backports.org lenny-backports/contrib Packages/DiffIndex                               
    Ign http://backports.org lenny-backports/non-free Packages/DiffIndex                              
    Hit http://volatile.debian.org lenny/volatile/main Packages                                       
    Hit http://backports.org lenny-backports/main Packages                      
    Hit http://backports.org lenny-backports/contrib Packages                                         
    Hit http://volatile.debian.org lenny/volatile/main Sources                                        
    Ign http://debian.meebey.net  Release.gpg                                                         
    Ign http://debian.meebey.net  Translation-en_HK
    Hit http://backports.org lenny-backports/non-free Packages
    Ign http://debian.meebey.net  Release
    Ign http://debian.meebey.net  Packages/DiffIndex
    Ign http://debian.meebey.net  Packages
    Hit http://debian.meebey.net  Packages
    Fetched 1674B in 5s (311B/s)
    Reading package lists... Done
    W: GPG error: http://mirrors.geoexpat.com lenny-cran/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 06F90DE5381BA480
    W: You may want to run apt-get update to correct these problems

    B.R.
    satimis

  6. #6
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,778
    Hi jdk,

    Problem solved as follow;

    As root started gui-apt-key

    Key ID [381BA480] -> OK
    Code:
    Key ID 0x381BA480
    Fingerprint:
    6212 B7B7 931C 4BB1 6280  BA13 06F9 0DE5 381B A480
    
    Add this key to the keyring?
    -> OK


    $ sudo aptitude update
    ....
    No warning displayed.


    Thanks


    B.R.
    satimis

  7. #7
    Just Joined! jdkaye's Avatar
    Join Date
    Aug 2010
    Location
    Gorizia, Italy
    Posts
    65
    My pleasure. Glad you got it sorted. You might want to mark the thread as "solved". This will help future users.
    ciao,
    jdk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •