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.
- 09-01-2010 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
[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:at the bottom of the file.Code:deb http://<favorite-cran-mirror>/bin/linux/debian lenny-cran/
Then ran;
$ sudo gpg --keyserver subkeys.pgp.net --recv-key 381BA480I also tried;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
$ sudo gpg -a --export 381BA480 > jranke_cran.ascWhat can I do here before running;Code:gpg: WARNING: unsafe ownership on configuration file `/home/satimis/.gnupg/gpg.conf' gpg: WARNING: nothing exported
$ sudo apt-key add jranke_cran.asc
TIA
B.R.
satimisLast edited by satimis; 09-01-2010 at 03:49 PM. Reason: (SOLVED)
- 09-01-2010 #2
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
- 09-01-2010 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi jdk,
$ ls -lCode: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 updateCode:..... 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 updateCode:..... ..... 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 upgradeCode:...... ...... 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 updateCode: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 updateCode: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.listCode:... 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
- 09-01-2010 #4
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.
cheers,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
jdk
- 09-01-2010 #5Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi jdk,
I ran "aptitude" all the time. Unless a warning requested to run apt-get to make correction.
Started gui-apt-key as root2. 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.
06F90DE5381BA480 -> +Add
FailedCode:The key with ID 06F90DE5381BA480 could not be imported
EA8E8B2116BA136C -> +ADD
$ sudo aptitude updateCode:Key ID 0xEA8E8B2116BA136C Fingerprint: 2703 4F81 A2EB 2840 A438 6C09 EA8E 8B21 16BA 136C Add this key to the keyring? -> OK
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
- 09-01-2010 #6Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi jdk,
Problem solved as follow;
As root started gui-apt-key
Key ID [381BA480] -> OK
-> OKCode:Key ID 0x381BA480 Fingerprint: 6212 B7B7 931C 4BB1 6280 BA13 06F9 0DE5 381B A480 Add this key to the keyring?
$ sudo aptitude update
....
No warning displayed.
Thanks
B.R.
satimis
- 09-01-2010 #7
My pleasure. Glad you got it sorted. You might want to mark the thread as "solved". This will help future users.
ciao,
jdk




