安装dropbox失败

其他Linux/Unix/BSD/OSX等发行版讨论
cmdblock
帖子: 307
注册时间: 2008-12-01 7:52
来自: 蜀山

安装dropbox失败

#1

帖子 cmdblock » 2009-10-08 20:12

[cmdblock@wg ~]$ yaourt nautilus-dropbox
1 aur/nautilus-dropbox 0.6.1-2 (281)
Dropbox for Linux - Nautilus extension and Command Line Interface
==> Enter n° (separated by blanks, or a range) of packages to be installed
==> ----------------------------------------------
==>n
[cmdblock@wg ~]$
我这么做了,怎么一点反应也 没有
头像
谛1
帖子: 115
注册时间: 2008-09-13 17:26

Re: 安装dropbox失败

#2

帖子 谛1 » 2009-10-09 11:43

:em04 哥们真幽默 :em04
諸以色觀我,以音聲尋我。
彼生履邪斷,不能當見我。
應觀佛法性,即導師法身。
法性非所識,故彼不能了。
諸和合所為,如星、翳、燈、幻、露、泡、夢、電、雲,應作如是觀。
zxc2007
帖子: 96
注册时间: 2009-02-08 17:19

Re: 安装dropbox失败

#3

帖子 zxc2007 » 2009-10-09 12:38

故意的 LZ绝对是故意的!
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 安装dropbox失败

#4

帖子 adagio » 2009-10-09 12:43

你你你……太幽默了,加上-S啊
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
cmdblock
帖子: 307
注册时间: 2008-12-01 7:52
来自: 蜀山

Re: 安装dropbox失败

#5

帖子 cmdblock » 2009-10-09 23:44

可是加了S又出现下面的错误
[cmdblock@wg nautilus-dropbox]$ yaourt -S nautilus-dropbox
==> Resuming previous build

==> Downloading nautilus-dropbox PKGBUILD from AUR...

tar: 记录大小 = 8 块
==> Last 5 comments ordered by date (asc):

Comment by: cmorlok on Wed, 23 Sep 2009 06:15:42 +0000
Ah, and pygtk should be added to the dependencies, otherwise it doesn't build (at least for me).

Comment by: Romashka on Fri, 25 Sep 2009 11:39:09 +0000
nautilus-dropbox is GPLed, though images are not, so maybe change license to ('GPL' 'custom')?

Comment by: neuromante on Fri, 25 Sep 2009 12:42:53 +0000
Thanks @cmorlok and @Romashka. As soon as I have some free time (not much time lately) I'll take care of the package. If you can suggest some code lines i will appreciate.

Comment by: cmorlok on Fri, 25 Sep 2009 13:15:24 +0000
/usr/bin/dropbox defines the path as
DROPBOXD_PATH = "%s/.dropbox-dist/dropboxd" % PARENT_DIR
Unfortunately, this constant is never used again. The path is hard coded instead. I think it should be save to delete all of the download and update stuff in the script and instead use DROPBOXD_PATH = "/opt/dropbox" (and fix all occurrences of the old path). And then we don't need the pygtk dependency since this is only used for the download dialog.
I don't know how to deal with the double desktop entry. Maybe you can use a wrapper script /usr/bin/dropbox like this
--- snip ---
DB-CLI = "/usr/bin/dropbox-cli" # this is the command line interface provided by nautilus-dropbox
DB-D = "/opt/dropbox/dropboxd" # the daemon
if [ -f DB-CLI ]; then
DB-CLI $@
else
DB-D $@
fi
--- snap ---
and include that and a desktop entry pointing to /usr/bin/dropbox (instead of /opt/dropbox/dropboxd) in the dropbox package.
And, as the icing on the cake, you could create a virtual package dropbox-daemon that is provided by both dropbox and dropbox-experimental and add this to the dependencies of nautilus-dropbox. Then I could use nautilus-dropbox and dropbox-experimental together ;-)

Comment by: cmorlok on Fri, 25 Sep 2009 14:39:07 +0000
I modified dropbox-cli and removed all download stuff:
http://dl.getdropbox.com/u/2047992/dropbox-cli
Works at least for me with dropbox-experimental installed.


First Submitted: Fri, 05 Sep 2008 06:47:59 +0000
nautilus-dropbox 0.6.1-2 : Dropbox for Linux - Nautilus extension and Command Line Interface
( Unsupported package: Potentally dangerous ! )
==> Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==> ----------------------------------------------
==>

Please add EDITOR to your environment variables
for example:
==> Edit PKGBUILD with:(replace gvim with your favorite editor)

==> Edit ./PKGBUILD with:
哪位大哥指点一二?
Please add EDITOR to your environment variables
for example:
==> Edit PKGBUILD with:(replace gvim with your favorite editor)

==> Edit ./PKGBUILD with:
这个是什么意思?
zxc2007
帖子: 96
注册时间: 2009-02-08 17:19

Re: 安装dropbox失败

#6

帖子 zxc2007 » 2009-10-10 0:43

First Submitted: Fri, 05 Sep 2008 06:47:59 +0000
nautilus-dropbox 0.6.1-2 : Dropbox for Linux - Nautilus extension and Command Line Interface
( Unsupported package: Potentally dangerous ! )
==> Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==> ----------------------------------------------
==>

n

或者

Please add EDITOR to your environment variables
for example:
==> Edit PKGBUILD with:(replace gvim with your favorite editor)

==> Edit ./PKGBUILD with:

用vim或gvim什么的~
cmdblock
帖子: 307
注册时间: 2008-12-01 7:52
来自: 蜀山

Re: 安装dropbox失败

#7

帖子 cmdblock » 2009-10-11 1:23

个人感觉yaourt不太稳定
chenwenjin
帖子: 41
注册时间: 2007-09-09 12:41

Re: 安装dropbox失败

#8

帖子 chenwenjin » 2009-10-11 17:06

楼主还是google 或wiki看一下yaourt 的用法吧。 :em20
头像
IAB
帖子: 99
注册时间: 2009-06-03 20:17

Re: 安装dropbox失败

#9

帖子 IAB » 2009-10-11 21:17

小声的告诉你
有Edit PKGBUILD with:时
选择n
有Continue installing 时
选择y
头像
xjpvictor
帖子: 2837
注册时间: 2007-08-22 15:55
系统: Archlinux
来自: 新加坡
联系:

Re: 安装dropbox失败

#10

帖子 xjpvictor » 2009-10-11 21:25

要安装的话至少也要sudo一下吧。
然后有提示要输入的地方像ls所说的那样
Entschuldigung. Ich habe keine ahnung.
Secure with PGP: gpg --recv-keys 0x68b6e3d8
Fingerprint: 5556 517C F52F E402 DDF5 5400 6D30 F13E 68B6 E3D8
Towards A Sustainable Earth: Print Only When Necessary
头像
IAB
帖子: 99
注册时间: 2009-06-03 20:17

Re: 安装dropbox失败

#11

帖子 IAB » 2009-10-11 21:26

yaourt 不需要sudo
头像
xjpvictor
帖子: 2837
注册时间: 2007-08-22 15:55
系统: Archlinux
来自: 新加坡
联系:

Re: 安装dropbox失败

#12

帖子 xjpvictor » 2009-10-11 21:40

安装不需要root?那不就跟家里不锁门一样。。
Entschuldigung. Ich habe keine ahnung.
Secure with PGP: gpg --recv-keys 0x68b6e3d8
Fingerprint: 5556 517C F52F E402 DDF5 5400 6D30 F13E 68B6 E3D8
Towards A Sustainable Earth: Print Only When Necessary
chenwenjin
帖子: 41
注册时间: 2007-09-09 12:41

Re: 安装dropbox失败

#13

帖子 chenwenjin » 2009-10-11 21:40

yaourt 不需要sudo ,需要提权时分提示要输入密码。
头像
xjpvictor
帖子: 2837
注册时间: 2007-08-22 15:55
系统: Archlinux
来自: 新加坡
联系:

Re: 安装dropbox失败

#14

帖子 xjpvictor » 2009-10-11 21:42

原来是这样。。还真没试过。。
Entschuldigung. Ich habe keine ahnung.
Secure with PGP: gpg --recv-keys 0x68b6e3d8
Fingerprint: 5556 517C F52F E402 DDF5 5400 6D30 F13E 68B6 E3D8
Towards A Sustainable Earth: Print Only When Necessary
cmdblock
帖子: 307
注册时间: 2008-12-01 7:52
来自: 蜀山

Re: 安装dropbox失败

#15

帖子 cmdblock » 2009-10-12 2:27

chenwenjin 写了:yaourt 不需要sudo ,需要提权时分提示要输入密码。
不用sudo也一样安装不上
回复