码迷,mamicode.com
首页 > 其他好文 > 详细

树莓派安装Transmission-daemon出现的问题

时间:2016-02-21 22:39:01      阅读:1616      评论:0      收藏:0      [点我收藏+]

标签:

1,安装时发现默认的源里面没有transmission-daemon包

pi@fynn:/etc/apt/sources.list.d $ sudo apt-get install transmission-daemon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package transmission-daemon

2,去transmission官网找到下面源地址,更改源配置文件"/etc/apt/source.list.d/raspi.list"

pi@fynn:/etc/apt/sources.list.d $ more raspi.list
deb http://ftp.cn.debian.org/debian jessie main

3,更新源的时候,出现key验证问题

pi@fynn:/etc/apt/sources.list.d $ sudo apt-get update
Ign http://ftp.cn.debian.org jessie InRelease
Get:1 http://ftp.cn.debian.org jessie Release.gpg [2373 B]
Get:2 http://ftp.cn.debian.org jessie Release [148 kB]
Ign http://ftp.cn.debian.org jessie Release
Get:3 http://ftp.cn.debian.org jessie/main Translation-en [4582 kB]
Get:4 http://ftp.cn.debian.org jessie/main armhf Packages [6619 kB]                                                                                                       
Fetched 11.4 MB in 44s (258 kB/s)                                                                                                                                         
Reading package lists... Done
W: GPG error: http://ftp.cn.debian.org jessie Release: The following signatures couldn‘t be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1

4,查询key

pi@fynn:/etc/apt/sources.list.d $ sudo gpg --search-keys 8B48AD6246925553
gpg: searching for "8B48AD6246925553" from hkp server keys.gnupg.net
(1)    Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.or
      4096 bit RSA key 46925553, created: 2012-04-27, expires: 2020-04-25
Keys 1-1 of 1 for "8B48AD6246925553".  Enter number(s), N)ext, or Q)uit >

5,安装key

pi@fynn:/etc/apt/sources.list.d $ sudo apt-key adv --keyserver keys.gnupg.net  --recv-keys 8B48AD6246925553
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.wuF5LBD1Yj --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keys.gnupg.net --recv-keys 8B48AD6246925553
gpg: requesting key 46925553 from hkp server keys.gnupg.net
gpg: key 46925553: public key "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
pi@fynn:/etc/apt/sources.list.d $ sudo apt-key adv --keyserver keys.gnupg.net  --recv-keys 7638D0442B90D010
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.JIMQVfu7FX --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keys.gnupg.net --recv-keys 7638D0442B90D010
gpg: requesting key 2B90D010 from hkp server keys.gnupg.net
gpg: key 2B90D010: public key "Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
pi@fynn:/etc/apt/sources.list.d $ sudo apt-key adv --keyserver keys.gnupg.net  --recv-keys CBF8D6FD518E17E1
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.BnJj2wpK2q --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keys.gnupg.net --recv-keys CBF8D6FD518E17E1
gpg: requesting key 518E17E1 from hkp server keys.gnupg.net
gpg: key 518E17E1: public key "Jessie Stable Release Key <debian-release@lists.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
pi@fynn:/etc/apt/sources.list.d $ sudo apt-get update

6,成功安装transmission-daemon

技术分享
pi@fynn:/etc/apt/sources.list.d $ sudo apt-get install transmission-daemon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libminiupnpc10 libnatpmp1 minissdpd transmission-cli transmission-common
Suggested packages:
  natpmp-utils transmission-gtk
The following NEW packages will be installed:
  libminiupnpc10 libnatpmp1 minissdpd transmission-cli transmission-common transmission-daemon
0 upgraded, 6 newly installed, 0 to remove and 710 not upgraded.
Need to get 804 kB of archives.
After this operation, 3074 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.cn.debian.org/debian/ jessie/main libminiupnpc10 armhf 1.9.20140610-2+deb8u1 [25.5 kB]
Get:2 http://ftp.cn.debian.org/debian/ jessie/main transmission-common all 2.84-0.2 [257 kB]
Get:3 http://ftp.cn.debian.org/debian/ jessie/main libnatpmp1 armhf 20110808-3 [8194 B]
Get:4 http://ftp.cn.debian.org/debian/ jessie/main transmission-daemon armhf 2.84-0.2 [181 kB]
Get:5 http://ftp.cn.debian.org/debian/ jessie/main minissdpd armhf 1.2.20130907-3 [17.8 kB]
Get:6 http://ftp.cn.debian.org/debian/ jessie/main transmission-cli armhf 2.84-0.2 [314 kB]
Fetched 804 kB in 2s (301 kB/s)           
Selecting previously unselected package libminiupnpc10:armhf.
(Reading database ... 127643 files and directories currently installed.)
Preparing to unpack .../libminiupnpc10_1.9.20140610-2+deb8u1_armhf.deb ...
Unpacking libminiupnpc10:armhf (1.9.20140610-2+deb8u1) ...
Selecting previously unselected package transmission-common.
Preparing to unpack .../transmission-common_2.84-0.2_all.deb ...
Unpacking transmission-common (2.84-0.2) ...
Selecting previously unselected package libnatpmp1.
Preparing to unpack .../libnatpmp1_20110808-3_armhf.deb ...
Unpacking libnatpmp1 (20110808-3) ...
Selecting previously unselected package transmission-daemon.
Preparing to unpack .../transmission-daemon_2.84-0.2_armhf.deb ...
Unpacking transmission-daemon (2.84-0.2) ...
Selecting previously unselected package minissdpd.
Preparing to unpack .../minissdpd_1.2.20130907-3_armhf.deb ...
Unpacking minissdpd (1.2.20130907-3) ...
Selecting previously unselected package transmission-cli.
Preparing to unpack .../transmission-cli_2.84-0.2_armhf.deb ...
Unpacking transmission-cli (2.84-0.2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u3) ...
Setting up libminiupnpc10:armhf (1.9.20140610-2+deb8u1) ...
Setting up transmission-common (2.84-0.2) ...
Setting up libnatpmp1 (20110808-3) ...
Setting up transmission-daemon (2.84-0.2) ...
Setting up minissdpd (1.2.20130907-3) ...
Setting up transmission-cli (2.84-0.2) ...
Processing triggers for libc-bin (2.19-18+deb8u2) ...
Processing triggers for systemd (215-17+deb8u3) ...
View Code

 

树莓派安装Transmission-daemon出现的问题

标签:

原文地址:http://www.cnblogs.com/fishhh/p/5205491.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!