#can't install converted discord .deb package to arch package in arch linux anymore

1 messages · Page 1 of 1 (latest)

twilit tundra
#

this is due to an unresolved package that seems to now be required in the last version of discord. How can i even install it?

#
#!/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

twilit tundra
#

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

errant sedge
#

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

twilit tundra
errant sedge
twilit tundra
twilit tundra
severe anchor
#

It's updated already

#

Maybe use a different mirror

twilit tundra
#

hm

#

sure but like

#

the issue is

#

when they release a newer version

#

i will have to wait again

errant sedge
#

I just checked and libasound2 isn't a package in the arch repos

twilit tundra
#

i did thiss to try to solve this issue

#

on the longer term

#

but like

severe anchor
twilit tundra
#

now it's giving me a headache ._.

severe anchor
#

But Arch is quite quick to release updates to it

twilit tundra
#

but idk what they changed that they now require a dependency they never required before

errant sedge
#

Just use the flatpak version there isn't really any reason to install it from the .deb

severe anchor
#

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

twilit tundra
#

then i have to not close discord every time it is updated until the arch repo is updated

twilit tundra
#

there will be a next update

severe anchor
#

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

twilit tundra
#

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

severe anchor
#

The problem is likely the mirror, not Arch or how it's packaging things

twilit tundra
#

or what it even is about

severe anchor
#

You don't want to go randomly installing things that are meant for other distributions

errant sedge
#

package literally doesnt exist

severe anchor
#

And like MP said, You can use the flatpak version if you want

severe anchor
twilit tundra
#

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

errant sedge
twilit tundra
errant sedge
#

To tell them that their package wont install cuz its trying to install that dependency

twilit tundra
#

now, as for why they did that, no idea

#

idk why they keep messing with the code to implement literally nothing

twilit tundra
severe anchor
#

That works too

#

There's literally no change from 0.0.69 through except for the version change

twilit tundra
#

yeah but now it isn't working because of that dependency

severe anchor
#

I wonder if it's a dependency of a dependency or something

#

I'll try it on my machine a sec

errant sedge
twilit tundra
#

this was never an issue to me for like the past year, so it probably means they changed something this time

twilit tundra
#

they never actually fix screenshare on linux but wanna chage the dependencies all of a sudden?

errant sedge
#

The dependency is available in debian and ubuntu repos

severe anchor
twilit tundra
#

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

severe anchor
#

From what I can see, it doesn't look to be an issue with Arch per se

twilit tundra
#

and then when when you look at it barely anything changed

#

and when it did it was just a stupid ui change

severe anchor
twilit tundra
#

._,

#

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)

errant sedge
#

I think its meant to update automatically

#

but when its packaged they disable the automatic updates

twilit tundra
#

look android apps usually update automatically unless you disable the automatic updates

severe anchor
#

I just installed Discord on Arch and it installed fine

twilit tundra
#

and yet they don't go "oh no you have version 0.69, you need version 0.70"

twilit tundra
#

wait

#

do you mean with debtap

severe anchor
#

Nope. pacman

twilit tundra
#

or with pacman

#

ah

#

yeah that works but there would always be a delay

severe anchor
#

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

twilit tundra
#

yeah but it is only an issue on discord

severe anchor
#

It has autoupdate enabled on it

errant sedge
#

The flatpak version automatically grabs updates from discord so I've never had any issues here

severe anchor
#

You've got 2 solutions right there 😛

twilit tundra
errant sedge
#

This is the first time I even heard about this issue

severe anchor
#

I've dealt with it for years on Gentoo

errant sedge
#

I am never running discord unsandboxed

severe anchor
#

I just waited a day or patched the pkgbuild myself to get the latest version

#

Yeah, I run mine inside of firejail

errant sedge
#

I run steam inside firejail but discord in a vm

twilit tundra
#

why

errant sedge
#

discord is literal spyware

twilit tundra
#

hm

#

well but also it can't really see what i am typing elsewhere

#

in theory

errant sedge
#

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

errant sedge
twilit tundra
#

wayland

errant sedge
#

ok you're good

twilit tundra
#

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

#

._.

errant sedge
#

I'd terminate my nitro subscription if I had one

twilit tundra
#

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

errant sedge
#

Isn't av1 a lot smaller in file size?

twilit tundra
#

because the upload limit was 25MB, now it's 10MB, and still no av1.

twilit tundra
twilit tundra
#

and posting them on youtunbe every time to do that is eh... works but it sucks

errant sedge
#

I pirated some anime encoded in av1 once and it turned my laptop into a jet engine when playing it

twilit tundra
#

and hosting on another website makes ppl think it is malware

twilit tundra
#

my pc has no hw av1 decoding

errant sedge
#

No its cuz my gpu doesnt support av1 decoding

twilit tundra
#

but it runs av1 videos in 1080p fine

twilit tundra
#

but it still runs fine

errant sedge
#

Dang

twilit tundra
#

no frame drops whatsover

#

uses a little bit more cpu but works

errant sedge
#

I could've been a software issue then

#

But anyways do you know how to get around this issue now?

twilit tundra
twilit tundra
#

there is the tarball i can download

#

but i never installed it through that so i have to learn how to

#

:P

errant sedge
#

You should probably just install it through flatpak though or use distrobox to create a debian container to install discord to

twilit tundra
#

tar -xvf discord.tar.gz -C ~/.local/bin

#

i read this

#

so i just move the file?

#

🤔

#

i mean not move

errant sedge
#

check if .local/bin exists first

#

it might not

twilit tundra
#

decompress and move

#

or rather i could see whjere my discord.decktop points to

#

/usr/bin

#

hmmmmm

severe anchor
#

I would put it in a local folder and run it from there instead

severe anchor
wicked parrot
#

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.

  1. If I've ever tried to launch Discord, and got that message, and I really just want to open Discord now, sudo pacman -Sy discord fixes 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.
  2. you can tell Discord to chill out on the version checks
Reddit

Explore this post and more from the discordapp community