Please add -f argument to gendesk. Can't upgrade with aura -Ayu:
[dropbox] Generating desktop file... no
dropbox.desktop already exists. Use -f as the first argument to overwrite it
| Git Clone URL: | https://aur.archlinux.org/dropbox.git (read-only, click to copy) |
|---|---|
| Package Base: | dropbox |
| Description: | A free service that lets you bring your photos, docs, and videos anywhere and share them easily. |
| Upstream URL: | https://www.dropbox.com |
| Licenses: | custom |
| Submitter: | mtorromeo |
| Maintainer: | mtorromeo |
| Last Packager: | mtorromeo |
| Votes: | 2378 |
| Popularity: | 1.61 |
| First Submitted: | 2009-01-22 14:21 (UTC) |
| Last Updated: | 2026-04-09 07:12 (UTC) |
Please add -f argument to gendesk. Can't upgrade with aura -Ayu:
[dropbox] Generating desktop file... no
dropbox.desktop already exists. Use -f as the first argument to overwrite it
Please, it would be appreciated if you could add -f to the gendesk call in PKGBUILD. As has been pointed out previously, this would fix compatibility with automated AUR helpers.
Kind reminder that mtorromeo is a volunteer and we should appreciate the work he does. No need for hostile language.
All these updates and the package is still incompatible with automated AUR helpers because the goddamn dropbox.desktop already exists error is still present. Can you fucking fix this already, it takes all of one -f flag in prepare() and it has been an issue for several YEARS.
same for me, I had to clean ~/.cache/yay/dropbox to be able to recreate the package.
Deleting "~/.cache/paru/clone/dropbox" and installing again also worked for me.
Still manual intervention but simple enough.
Building fresh from the latest tarball (in my case, by removing the old instance of ~/.cache/paru/clone/dropbox and installing again, although the steps needed will depend on which AUR helper is being used, if any) seems to work fine for me now. Thanks @mtorromeo!
I also still get the same error, even with the latest version:
==> Starting package()...
install: cannot stat '/home/xxx/.cache/paru/clone/dropbox/src/DropboxGlyph_Blue.svg': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
error: failed to build 'dropbox-239.4.8301-1':
error: packages failed to build: dropbox-239.4.8301-1
I applied the changes recommended by @Lisandro and was able to recompile the package. I needed to make the change even with the latest modifications made to PKGBUILD and SRCINFO (https://aur.archlinux.org/cgit/aur.git/commit/?h=dropbox&id=abc9961bdb97f5d2b025dba017ae197b98cda442). Without them, the package still shows an error.
It's fixed now, sorry about that
Pinned Comments
yan12125 commented on 2019-01-05 16:39 (UTC) (edited on 2019-02-27 08:11 (UTC) by yan12125)
Run the following command in case you got errors during "Verifying source file signatures with gpg..."
Alternatively, you can download Dropbox's public key from https://linux.dropbox.com/fedora/rpm-public-key.asc and import it with:
You can check whether keys are successfully imported or not using the output of
gpg -k. You should find something like this:yan12125 commented on 2018-08-01 11:41 (UTC) (edited on 2020-01-24 15:13 (UTC) by yan12125)
If you can't run the dropbox@ service normally, try to create a read-only directory ~/.dropbox-dist and run again.
yan12125 commented on 2017-11-06 15:13 (UTC) (edited on 2019-03-18 03:50 (UTC) by yan12125)
Some useful places for issues about Dropbox itself (not the package):
https://www.dropboxforum.com/t5/Desktop-client-builds/bd-p/101003016 Official Dropbox user feedback forum
Arch Linux discussion places: https://bbs.archlinux.org/, #archlinux on freenode.net, https://lists.archlinux.org/listinfo/aur-general