Package version vs actual version often get out of sync, because the update mechanism break. Sometimes, when I update the package, it still launches old version. Downgrading have no effect, since it downloads the latest version as versions aren't pinned. It is effectively launcher wrapper and not packaged discord-canary anymore
Search Criteria
Package Details: discord-canary 1.0.1140-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/discord-canary.git (read-only, click to copy) |
|---|---|
| Package Base: | discord-canary |
| Description: | All-in-one voice and text chat for gamers - alpha build |
| Upstream URL: | https://discord.com |
| Licenses: | custom |
| Submitter: | blakkheim |
| Maintainer: | timschumi |
| Last Packager: | timschumi |
| Votes: | 35 |
| Popularity: | 0.26 |
| First Submitted: | 2022-10-31 02:25 (UTC) |
| Last Updated: | 2026-05-23 00:15 (UTC) |
Dependencies (8)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classic-xfceAUR)
- libnotify (libnotify-gitAUR)
- libxss
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- libappindicator-gtk3 (libappindicator) (optional) – Systray indicator support
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (optional) – PulseAudio support
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, openerAUR, mimejs-gitAUR, xdg-utils-mimeoAUR) (optional) – For opening URLs and files
Required by (5)
- jfcord-appimage (optional)
- mbcord-appimage (optional)
- openasar-bin (optional)
- openasar-git (optional)
- powercord-git
Sources (3)
Memo commented on 2026-05-05 10:18 (UTC)
ninetailedtori commented on 2026-04-30 01:47 (UTC)
Hiya, you can automate the hash checks, see my example for discord-canary-electron-bin here: https://github.com/ninetailedtori/Improved-PKGBUILDs/tree/discord-canary-electron-bin !
konradybcio commented on 2026-04-21 18:16 (UTC)
Krisp stopped working recently, perhaps a glibc update or something?
20:03:44.050 › [MediaEngineStore] Failed to load Krisp module: /home/<foo>/.config/discord/0.0.134/modules/discord_krisp/discord_krisp.node: undefined symbol: _ZN7OrtApis12CreateStatusE12OrtErrorCodePKc
ixvari commented on 2026-04-20 02:01 (UTC)
I know the latest comment says this is fixed, but I am still having the same issue with "DiscordCanary" not being found.
chmod: cannot access '/home/ixvari/.cache/paru/clone/discord-canary/pkg/discord-canary/opt/discord-canary/DiscordCanary': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
The version it says it is downloading is 1.0.927-1
timschumi commented on 2026-04-18 09:11 (UTC)
Issues are fixed now, the package is installable and runnable again. I'll keep an eye on discord-ptb to see when the packaging changes roll out there.
@KubeRoot The package version bumps are indeed automated on a headless machine, with Discord occasionally pushing multiple version bumps (that each invalidate the previous version) in one day (yesterday it was... 9 bumps?) that is the only viable solution.
@Skycontroller Discord appears to have progressively been pulling in packaging changes over time, presumably there was a point in time between 2022 and now where Path and a full-path Exec was not part of the desktop file.
kusoneko commented on 2026-04-18 01:49 (UTC)
This does not currently build:
==> Making package: discord-canary 1.0.927-1 (Fri 17 Apr 2026 09:32:12 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found discord-canary-1.0.927.tar.gz
-> Found LICENSE.html
-> Found OSS-LICENSES.html
==> Validating source files with sha512sums...
discord-canary-1.0.927.tar.gz ... Passed
LICENSE.html ... Skipped
OSS-LICENSES.html ... Skipped
==> Extracting sources...
-> Extracting discord-canary-1.0.927.tar.gz with bsdtar
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
chmod: cannot access '/home/kusoneko/.cache/aurutils/sync/discord-canary/pkg/discord-canary/opt/discord-canary/DiscordCanary': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Similarly, if I change the chmod line from $_pkgname to $pkgname that error goes away, however a new one appears, for the next chmod line:
==> Starting package()...
chmod: cannot access '/home/kusoneko/.cache/aurutils/sync/discord-canary/pkg/discord-canary/opt/discord-canary/chrome-sandbox': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
That file indeed does not exist in the 1.0.927 archive downloaded from discord:
$ tar -tf discord-canary-1.0.927.tar.gz
DiscordCanary/
DiscordCanary/discord-canary.desktop
DiscordCanary/updater_bootstrap
DiscordCanary/discord.png
DiscordCanary/discord-canary
DiscordCanary/postinst.sh
I made a diff with the changes I made to make it build, however I do not know if something else needs changing or not (Note that the prepare() function is not modified because the directory in the tarball is still written DiscordCanary despite the new executable name matching the aur pkgname). :
diff --git a/PKGBUILD b/PKGBUILD
index 4d4955e..521e6a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,17 +29,17 @@ package() {
install -d "$pkgdir"/opt/$pkgname
cp -a $_pkgname/. "$pkgdir"/opt/$pkgname
- chmod 755 "$pkgdir"/opt/$pkgname/$_pkgname
+ chmod 755 "$pkgdir"/opt/$pkgname/$pkgname # The executable is now discord-canary and not DiscordCanary
rm "$pkgdir"/opt/$pkgname/postinst.sh
install -d "$pkgdir"/usr/{bin,share/{pixmaps,applications}}
- ln -s /opt/$pkgname/$_pkgname "$pkgdir"/usr/bin/$pkgname
+ ln -s /opt/$pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname # The executable is now discord-canary and not DiscordCanary
ln -s /opt/$pkgname/discord.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
ln -s /opt/$pkgname/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
# setuid on chrome-sandbox
- chmod u+s "$pkgdir"/opt/$pkgname/chrome-sandbox
+# chmod u+s "$pkgdir"/opt/$pkgname/chrome-sandbox # There isn't a chrome-sandbox file anymore
install -Dm644 LICENSE.html "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.html
install -Dm644 OSS-LICENSES.html "$pkgdir"/usr/share/licenses/$pkgname/OSS-LICENSES.html
KubeRoot commented on 2026-04-17 21:57 (UTC)
The package seems to be currently broken, the executable seems to have been renamed from DiscordCanary to discord-canary? I'm a bit confused because the package seems to be getting rapidly updated, but not sure if those are just automated untested version bumps, or if there's something weirder going on.
Skycontroller commented on 2025-12-01 19:38 (UTC)
Hey, any reason why we are appending Path to the .desktop file at the end? It already ships with it. Cheers
Pinned Comments
sunwukonga commented on 2023-12-07 01:27 (UTC)
For anyone who hasn't discovered this already, you can ameliorate the impact of delayed AUR version updates by setting the following in your
~/.config/discordcanary/settings.jsonfile: