AUR (en) - dropbox-cli
Pinned Comments
frealgagu commented on 2020-12-05 22:37
frealgagu commented on 2018-11-30 02:43
@cfr42 the version in filename is in order to avoid issues once the file is downloaded, if a new version arrives makepkg does not try to re-download it if the file has the same name and it already exists. If the checksum fails then it means that there is a new version and it's necessary to change the PKGBUILD information.
Please flag it if that happens.
Liquen commented on 2021-06-17 17:50
frealgagu commented on 2021-06-17 17:46
@Liquen @FrederickZh @thiagowfx @cfr42 I've included the suggested patch for this new release, please let me know if that works as expected.
Liquen commented on 2021-02-17 19:14
@frealgagu Any chance of considering FrederickZh's patch?
frealgagu commented on 2020-12-05 22:37
tyrannis.hawk commented on 2020-11-25 07:30
I just learned that python-gobject is a dependency. If it isn't installed, you get this:
Starting Dropbox...Traceback (most recent call last):
File "/usr/bin/dropbox-cli", line 1450, in start
download()
File "/usr/bin/dropbox-cli", line 295, in download
gi.require_version('Gdk', '3.0')
AttributeError: module 'gi' has no attribute 'require_version'
After installing python-gobject, dropbox-cli works just fine.
miguelmsoler commented on 2020-07-16 21:22
@frealgagu I'm using aurutils. The command I run almost every day is:
aur sync -u --no-confirm --no-view
frealgagu commented on 2020-07-16 19:54
@miguelmsoler What AUR helper are you using? The checksum you suggest is the previous version of the file, but it was recently changed.
https://linux.dropbox.com/packages/
the file dropbox.py was modified in July 10th. I think your helper didn't redownload the file and you have an outdated version of it.
miguelmsoler commented on 2020-07-16 13:28
Hi, I just tried to update and got this error:
==> Validating source files with sha256sums... dropbox-cli-2020.03.04.py ... FAILED ==> ERROR: One or more files did not pass the validity check!
I fixed it after changing sha256sum to e34817eb1949308054ec79454ff77062037526e69ba56957aac37aeadc796e89 in PKGBUILD.
FrederickZh commented on 2020-04-03 15:18
Is it worth the effort to patch this CLI tool somewhat like @thiagowfx suggested so that dropbox-cli version can work with https://aur.archlinux.org/packages/dropbox/?
--- dropbox-cli 2020-04-04 01:45:24.000360738 +1100
+++ dropbox-cli 2020-04-04 02:01:48.903992145 +1100
@@ -71,7 +71,11 @@
PARENT_DIR = os.path.expanduser("~")
DROPBOX_DIST_PATH = "%s/.dropbox-dist" % PARENT_DIR
+DROPBOX_ARCH_PATH = "/opt/dropbox"
DROPBOXD_PATH = os.path.join(DROPBOX_DIST_PATH, "dropboxd")
+if not os.path.exists(DROPBOXD_PATH) and os.path.exists(os.path.join(DROPBOX_ARCH_PATH, "dropboxd")):
+ DROPBOX_DIST_PATH = DROPBOX_ARCH_PATH
+ DROPBOXD_PATH = os.path.join(DROPBOX_DIST_PATH, "dropboxd")
DESKTOP_FILE = "/usr/share/applications/dropbox.desktop"
enc = locale.getpreferredencoding()
vstuart commented on 2019-12-11 22:11
2019-12-11 [again 2019-12-26]:
yay -Syu
...
dropbox-cli-2019.02.14.py ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error downloading sources: dropbox-cli
Solution:
cd /mnt/Vancouver/apps/ ## or wherever you want to clone the repo
git clone https://aur.archlinux.org/dropbox-cli.git
cd dropbox-cli/
makepkg -si
[2019-12-26]
Same issue [2019-12-26] -- solution:
cd /mnt/Vancouver/apps/dropbox-cli/
git pull
makepkg -si
@frealgagu Working perfectly. Thanks a lot!