Skip to content

u/Max-P

In this archive from Apr 2013 to Mar 2026

4
posts
311
comments
3
media
1.9k
score

Top posts

Yet another stolen account questions

Hey guys, I do realise this kind of question gets asked a lot, sorry about that. There's an issue I couldn't find the information by myself. How did the hacker change the password and E-Mail address? Background story: A few days ago (nov 13), a close friend of mine got his backpack stolen including...

0 points1 comments
Open on Reddit

Top comments

The guidelines are here: https://wiki.archlinux.org/title/Python_package_guidelines

Generally, you're not supposed to install dependencies with pip, but rather make your package depend on the appropriate packages from the repos/AUR. If some of them are missing, you make packages for those too, until all of them are packaged.

Also in your case, that pip3 install -r requirements.txt will install the dependencies in your home directory, not into the package. So it's doing nothing useful for you other than give you the impression it works.

Technically it's possible to also bundle all the dependencies in a single package, but then you'll also have to edit the bin script to switch paths and stuff. And it's just generally kind of ugly and not recommended unless necessary because then every Python app you install would have loads of duplicate libraries and files.

130 points

But now it gets even worse: the maintainers of the package have email accounts with "ransomware.download" tld. Is this supposed to be funny?[

Yes, basically. People can use whatever email they want, be it Gmail, Hotmail, or cock.li. That includes people who paid a couple bucks for a weird TLD and put their email server there.

And it shouldn't bother you, it's just a domain name. A user isn't inherently more trustable just because of what their email look like. You should always check the PKGBUILD to verify it's not doing anything weird. And if you think about it, if you were to put ransomware on the AUR you wouldn't publish it from a ransomware.download domain, you'd make a generic Gmail to blend in.

Can the package maintainer manipulate the build process in a way that is not described in the PKGBUILD file?

Not really. The PKGBUILD can use some additional files like installing postinstall scripts but they'll all be described in the PKGBUILD, directly or indirectly. As long as what it downloads and builds seems legit, it should be fine.

50 points

Now that I'm home, here's two PKGBUILDs I maintain shipping a Python app (Solaar):

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=solaar-git https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-hid-parser-git

The second is a dependency of the first. Should be a decent template, although I pretty much just looked at the wiki to build those :) Hope this helps!

48 points

I'm happy that I can keep using Arch in my professional life, never let people tell you it's just a toy distro and not used in a professional setting 👍🫡👏

I think the people that say this are just people that haven't used Arch enough to be confident navigating issues in a professional setting. It typically comes with something like "I run updates and now my workflow is broken and I can't get any work done", which for me is basically "my computer is broken for 10 minutes at a moment where I have time to tinker with the computer to get it back up and running". Or the "I need a tutorial specifically for the distro I'm using or I can't figure out how to install anything" crowd.

Linux is Linux, if you know your Linux well enough you can practically get anything running on anything. Worst comes to worst, there's containers, and if that ain't enough, there's VMs.

I haven't run into anything that made me feel like Arch is inadequate professionally in the 12 years I've been using it (still the same OG install btw). If anything I've found it to be more reliable and dependable than the other "enterprise" distros that tries to do too much. I need newer versions of stuff much more often than I need an old version of something. And Arch has been great at serving as a canary for upcoming changes as well, so I can prepare and get ready before they hit stable distros on the servers and have a mountain of things to fix all at once. My stuff is always ready for latest everything.

Arch's just not for everyone and I feel a lot of people pressure themselves into Arch because of memes and then get burned and then hate on it because they keep running into problems or expect things to just work effortlessly. Ultimately you gotta use what's comfortable and reliable for you. I break Ubuntu much easier than I break Arch because it's always trying to outsmart me.

Fixing Linux boxes is literally my job, there ain't much Arch can throw at me that'd be a dealbreaker.

45 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.