#can't install converted discord .deb package to arch package in arch linux anymore
1 messages · Page 1 of 1 (latest)
#!/bin/bash
mkdir ~/Downloads/discordtemp
wget --no-http-keep-alive -O ~/Downloads/discordtemp/temp.deb "https://discord.com/api/download?platform=linux&format=deb" && debtap --Quiet -U ~/Downloads/discordtemp/temp.deb && sudo pacman -U ~/Downloads/discordtemp/*.zst
rm -rf ~/Downloads/discordtemp
this is the script i run to do it
the issue is, i know arch already packages a package for discord
but they don't update it immediately and you need to always have latest discord in order to use the app
and the pacman version installs on a different path anyway
is this the output of yay?
no, sudo pacman -U ~/Downloads/discordtemp/*.zst
what i do is to download the deb package from their website, convert it to arch with debtap, then install it
it always worked for like over a year but now it broke
You don't always need to have the latest version of discord to use it. I sometimes dont update my packages for more than a week and it works fine. Using a flatpak or arch repos is fine
well if you close discord and reopen it it asks for update
that should not really be happening
it happens whenever there is an update
hm
sure but like
the issue is
when they release a newer version
i will have to wait again
I just checked and libasound2 isn't a package in the arch repos
The package was updated yesterday. There will always be some delay with Discord, unfortunately.
now it's giving me a headache ._.
But Arch is quite quick to release updates to it
yeah that's why i was using the convert from .deb approach
but idk what they changed that they now require a dependency they never required before
Just use the flatpak version there isn't really any reason to install it from the .deb
Yeah, I wouldn't do that. I would watch the Arch Linux package page to see when it gets updated and then update it.
I don't think this is actually a problem for you, it's only a problem because apparently your mirror is not up to date yet
then i have to not close discord every time it is updated until the arch repo is updated
sure, but still
there will be a next update
Yeah, but they update it really quickly, so it's kind of a negligible amount of time
You can always use the browser version in the meantime, but I don't really think you're going to run into a significant amount of time where you don't have it
i did this approach because it's an issue i faced before a few times to the point it was annoying me back then
i wonder if there would even be a way to install that new dependency
The problem is likely the mirror, not Arch or how it's packaging things
or what it even is about
You don't want to go randomly installing things that are meant for other distributions
do a pacman -Ss libasound2 and you will see
package literally doesnt exist
And like MP said, You can use the flatpak version if you want
Why are we talking about libasound2?
i spend a lot of time trying to fix the issue of having to workaround the delay in updating the package and they suddenly break it
I was trying to reply to the other guy
apparently they added this dependency in 0.70 becasuse in 0.69 and below this method was working
To tell them that their package wont install cuz its trying to install that dependency
now, as for why they did that, no idea
idk why they keep messing with the code to implement literally nothing
Did you try 0.0.70-1?
i just set to download their newer version from their website
That works too
There's literally no change from 0.0.69 through except for the version change
yeah but now it isn't working because of that dependency
I wonder if it's a dependency of a dependency or something
I'll try it on my machine a sec
If you're dead set on always using the .deb package from discord you could setup distrobox and install it inside a debian container.
this was never an issue to me for like the past year, so it probably means they changed something this time
now the thing is that i have no idea why would they change this of all things
they never actually fix screenshare on linux but wanna chage the dependencies all of a sudden?
Its meant to be installed on a debian or ubuntu system, they don't have other distros in mind
The dependency is available in debian and ubuntu repos
Dependencies on packages change all the time. You usually just don't notice it
sure but like this was not a dependancy before
like this makes no sense, they only make the debian version but also fgorce you to be on the latest version always so everyone has to hurry to repack
From what I can see, it doesn't look to be an issue with Arch per se
and then when when you look at it barely anything changed
and when it did it was just a stupid ui change
Yep, it's really crappy of them to do things that way
._,
like for freaking what reason do you NEED to be on the latest version to use it?
i don't think any other application does that
they usually at the very least have a tolerance
like you only need to update when you have a version that is too old
rather than anything that is NOT the latest version
in fact even mobile discord is like that (or used to be idk)
I think its meant to update automatically
but when its packaged they disable the automatic updates
yet it doesn't
look android apps usually update automatically unless you disable the automatic updates
I just installed Discord on Arch and it installed fine
and yet they don't go "oh no you have version 0.69, you need version 0.70"
yeah ik
wait
do you mean with debtap
Nope. pacman
There's a delay on pretty much every packaged version
If you don't want a delay, download the tar.gz file and run Discord from that
yeah but it is only an issue on discord
It has autoupdate enabled on it
The flatpak version automatically grabs updates from discord so I've never had any issues here
You've got 2 solutions right there 😛
because they have no tolerance
This is the first time I even heard about this issue
hmmm
I've dealt with it for years on Gentoo
I am never running discord unsandboxed
I just waited a day or patched the pkgbuild myself to get the latest version
Yeah, I run mine inside of firejail
I run steam inside firejail but discord in a vm
why
discord is literal spyware
I am 100% happy not having the ability to share my screen or mic so long I can keep discord from having access to all my important stuff
are you running X11 or wayland?
wayland
ok you're good
i know
cause i can't use shortcuts for anything either
:P
only if i have the window active
or if i do a keybind with a script
funny
funny thing iss also that idk why discord never really implements av1 video plasyback support
either they are extremely lazy
or
they think this ruins nitro subscriptions
but like
they already downgraded the non nitro upload limit anyway
._.
Thats crazy
I'd terminate my nitro subscription if I had one
like i thought they woudn't implement av1 because they didn't want ppl converting their vidos to av1 to be able to send them without nitro
but at this point it makes no sense anymore
Isn't av1 a lot smaller in file size?
because the upload limit was 25MB, now it's 10MB, and still no av1.
yeah
the issue is that i do actually want to send videos to people
and posting them on youtunbe every time to do that is eh... works but it sucks
I pirated some anime encoded in av1 once and it turned my laptop into a jet engine when playing it
and hosting on another website makes ppl think it is malware
well you had a slow cpu then
my pc has no hw av1 decoding
No its cuz my gpu doesnt support av1 decoding
but it runs av1 videos in 1080p fine
yeah mine doesn't either
but it still runs fine
Dang
I could've been a software issue then
But anyways do you know how to get around this issue now?
maybe, idk, but i really didn't really had to change anything tbh
well
there is the tarball i can download
but i never installed it through that so i have to learn how to
:P
You should probably just install it through flatpak though or use distrobox to create a debian container to install discord to
tar -xvf discord.tar.gz -C ~/.local/bin
i read this
so i just move the file?
🤔
i mean not move
decompress and move
or rather i could see whjere my discord.decktop points to
/usr/bin
hmmmmm
I would put it in a local folder and run it from there instead
I finally had time to properly look at this. You should be able to run sudo pacman -Sy alsa-lib and it should fix your Arch discord issue
I saw this earlier, but I was heading into the store, so I didn't respond. This is baffling how much is going on here lol.
- If I've ever tried to launch Discord, and got that message, and I really just want to open Discord now,
sudo pacman -Sy discordfixes it in a single stroke (I'm in fact now queued up to restart discord and be updated) - I've never experienced the package remaining outdated by the time I notice it. - you can tell Discord to chill out on the version checks