Pacrule - Syu

a month ago by katiecakes to c/onehundredninetysix

ImgurRefugee114 46 points a month ago

We're a sudo nixos-rebuild boot household here

path: 0 25853405, hotness: undefined, score: 46, children: 11
libewa 9 points a month ago

You forgot to update the flake. Also, who uses sudo in this day and age?

path: 0 25853405 25855152, hotness: undefined, score: 9, children: 9
katiecakes 7 points a month ago

I'm ignorant here, what's the alternative, just su to root for admin?

path: 0 25853405 25855152 25855353, hotness: undefined, score: 7, children: 7
Unlix86 6 points a month ago

I use run0 c:

path: 0 25853405 25855152 25855353 25857526, hotness: undefined, score: 6, children: 1
libewa 5 points a month ago

security.run0.enableSudoAlias and sudo is powered by run0 and polkit, but still takes the same parameters as the original sudo.

path: 0 25853405 25855152 25855353 25857526 25857992, hotness: undefined, score: 5, children: 0
ImgurRefugee114 3 points a month ago

Often doas tho I personally prefer sudo-rs rewrite because it solves 99% of the compatibility edgecases

path: 0 25853405 25855152 25855353 25856837, hotness: undefined, score: 3, children: 1
caseyweederman 3 points a month ago

and breaks Ansible

path: 0 25853405 25855152 25855353 25856837 25860415, hotness: undefined, score: 3, children: 0
Jinarched 3 points a month ago

I assume paru -Syu

path: 0 25853405 25855152 25855353 25856859, hotness: undefined, score: 3, children: 2
libewa 2 points a month ago

Doesn't paru just call sudo pacman to install the built package?

path: 0 25853405 25855152 25855353 25856859 25858014, hotness: undefined, score: 2, children: 0
q5VtXnYt 1 point 25 days ago

Just

paru
path: 0 25853405 25855152 25855353 25856859 25872307, hotness: undefined, score: 1, children: 0
ImgurRefugee114 2 points a month ago

Well I use sudo-rs, and my CI does that for me :p

But tbh it's rare I run rebuild directly anymore. Most of my machines are set up for automatic rebuilds from my remote. Otherwise I use shell app shortcuts that cache the URI to disk so I only need to pass my flake remote or local folderpath once, then all subsequent cmds use it; nup to update the flake lock, nboot or nswitch, and hswitch for home-manager.

(most of my machines use HM nixos module but my main uses standalone for easier tweaking; switching between module and sa is a one-line host change in my config)

I also have ns and nr scripts for aliasing nix shell and run using the flake's lock. e.g. nr u.yt-dlp runs the yt-dlp program from the unstable nixpkgs my host is pinned to; s. for stable. If I need a specific revision then I fall back to the regular nix command.

Using shell apps as cross-shell shortcuts/commands has really changed how I use my terminal.

path: 0 25853405 25855152 25856800, hotness: undefined, score: 2, children: 0
Arkhive 3 points a month ago

Came here to say the same!! sudo nixos-rebuild switch if I’m feeling frisky.

path: 0 25853405 25862596, hotness: undefined, score: 3, children: 0
2hundredpancakes 28 points a month ago

Please girls, what does the joke mean? I am not a computer gay

path: 0 25855054, hotness: undefined, score: 28, children: 9
katiecakes 42 points a month ago

Sorry! I should have put it in the description, it's a Linux joke about updating Arch Linux, specifically, and that a lot of (definitely not all) trans women use it.

But funnily enough, as the comments show, everyone uses even more obscure distributions.

path: 0 25855054 25855314, hotness: undefined, score: 42, children: 7
2hundredpancakes 12 points a month ago

You're fine, thanks for explaining! Sometimes I feel like I'm the only transfemme who doesn't know computers... changing OS on my desktop or phone is scary even though it looks more and more like the smart move these days 😅

path: 0 25855054 25855314 25855507, hotness: undefined, score: 12, children: 1
katiecakes 2 points a month ago

I kinda want to go back to the days when I didn't know it 😄 You're also definitely not the only one!

path: 0 25855054 25855314 25855507 25862407, hotness: undefined, score: 2, children: 0
Fiona 7 points a month ago

Not even distributions necessarily, just different package-managers that also have support for the AUR. (paru is in fact developed by one of the maintainers of pacman itself, which is one of the reasons for why I’m going with it)

But yeah, Arch requires regular system-updates, that you should kinda do daily, except at some point you get lazy and stop doing them…

path: 0 25855054 25855314 25855461, hotness: undefined, score: 7, children: 4
birdwing 2 points a month ago

Is there no way to automatise those system updates..?

path: 0 25855054 25855314 25855461 25855992, hotness: undefined, score: 2, children: 3
rapchee 3 points a month ago

when you update, you also get some news, and sometimes it says critical stuff in there, like new driver version doesn't support certain devices any more, or configuration needs to be redone or something like this

path: 0 25855054 25855314 25855461 25855992 25862527, hotness: undefined, score: 3, children: 0
arudesalad 3 points a month ago

Yes but because arch ships updates very close to when app devs release updates there are sometimes (very rarely in my experience) breaking changes that the user needs to fix manually (arch devs always tell users how to but it means automating updates can cause problems)

path: 0 25855054 25855314 25855461 25855992 25861906, hotness: undefined, score: 3, children: 0
TechieDamien 1 point a month ago

Sure, just put it in a cron job. There are safer ways too listed on the arch wiki iirc.

path: 0 25855054 25855314 25855461 25855992 25858152, hotness: undefined, score: 1, children: 0
basxto 6 points a month ago

-Sy synchronizes the local package database with the online repository

-Su updates all packages that have updates; downloads and installs the packages

path: 0 25855054 25857213, hotness: undefined, score: 6, children: 0
erinmeow 21 points a month ago
path: 0 25852988, hotness: undefined, score: 21, children: 5
ImgurRefugee114 7 points a month ago

Might I interest you in The Good Book that proclaims the saviour who provides upgrades-everlasting?

For this system configuration is not all there is; there is more after it for those who embrace this gift

path: 0 25852988 25853889, hotness: undefined, score: 7, children: 3
erinmeow 7 points a month ago
path: 0 25852988 25853889 25854330, hotness: undefined, score: 7, children: 2
dangling_cat 8 points a month ago

Awww what a smart kitty~~~

path: 0 25852988 25853889 25854330 25855272, hotness: undefined, score: 8, children: 1
erinmeow 5 points a month ago
path: 0 25852988 25853889 25854330 25855272 25855843, hotness: undefined, score: 5, children: 0
Sanguine 3 points a month ago

Timeshift autobackup on update 🙏

path: 0 25852988 25857448, hotness: undefined, score: 3, children: 0
Fiona 16 points a month ago

Ouch…

I’m using paru, but fair, I’m now running it…

path: 0 25853403, hotness: undefined, score: 16, children: 1
katiecakes 4 points a month ago

I'm on void, personally, but the sentiment remains 😔

path: 0 25853403 25853783, hotness: undefined, score: 4, children: 0
thestrike 12 points a month ago

yay

path: 0 25857840, hotness: undefined, score: 12, children: 0
verdare 12 points a month ago

Where my rpm-ostree upgrade siblings at?

path: 0 25855715, hotness: undefined, score: 12, children: 2
tkk13909 4 points a month ago

Right here!

path: 0 25855715 25856277, hotness: undefined, score: 4, children: 0
Unlix86 2 points a month ago

Used to be but now I run0 emerge -DuN @world

path: 0 25855715 25857460, hotness: undefined, score: 2, children: 0
herculeskan 12 points a month ago

Average Arch user

path: 0 25862098, hotness: undefined, score: 12, children: 0
Rei 11 points a month ago

I feel so attacked. This is absolutely inaccurate!

I ran my pacman update this morning like every morning.

path: 0 25858508, hotness: undefined, score: 11, children: 1
katiecakes 3 points a month ago

Good job!! ⭐

path: 0 25858508 25862253, hotness: undefined, score: 3, children: 0
Wirlocke 11 points a month ago

Sees massive wall of firmware updates

I'm gonna give it a few days to settle before I install all of that.

path: 0 25853662, hotness: undefined, score: 11, children: 1
arudesalad 2 points a month ago

I've had 3 firmware updates in a row, I didn't have any problems but it must have been a bad week for users with less common hardware...

path: 0 25853662 25861938, hotness: undefined, score: 2, children: 0
gusgalarnyk 9 points a month ago

I got flamed on a discord for showing my runtime as like 9 days or something since my last sudo pacman. What is the conventional wisdom for upgrade scheduling? I typically do like once a week but I don't mind if it ends up being once a month. Is that bad?

I was tempted to switch to Nix but the reviews I've seen said it's a lot more work than Arch and there's less compatibility (although i find arch to not really be time intensive but I do have compatibility issues still here and there).

path: 0 25858647, hotness: undefined, score: 9, children: 2
katiecakes 7 points a month ago

Nah people are over zealous these days. I do it on Fridays or when I remember, whatever happens first. And I've been running arch or other rolling release distros for well over 15 years.

These days prompt injection or supply chain attacks are way more likely to pwn you than running 1week old software. (My own thoughts, idk if this is good praxis either.)

But flaming is bad and you shouldn't get that response regardless. Sorry ❤️

path: 0 25858647 25862339, hotness: undefined, score: 7, children: 1
gusgalarnyk 2 points 25 days ago

It was a rowdy crowd, I choose to take it in jest. Thanks for this advice, I appreciate it.

path: 0 25858647 25862339 25870379, hotness: undefined, score: 2, children: 0
kevingranade 8 points a month ago

@katiecakes sorry I have FOMU (Fear Of Merging Upstream)

path: 0 25856585, hotness: undefined, score: 8, children: 1
katiecakes 1 point a month ago

So valid 🙏😔

path: 0 25856585 25862229, hotness: undefined, score: 1, children: 0
atopi 8 points a month ago

When i used cachyos, i forgot to update for over a year (i had been using cachy browser)

I switched to nixos before coming out to a friend though

path: 0 25862724, hotness: undefined, score: 8, children: 0
v3ctors 7 points a month ago

I’m a fedora gay so, sudo dnf update -y

path: 0 25859397, hotness: undefined, score: 7, children: 1
SaharaMaleikuhm 3 points a month ago

I'm so sorry they are making you use Fedora

path: 0 25859397 25862482, hotness: undefined, score: 3, children: 0
FatherPeanut 6 points a month ago

I've been doing my updates routinely, but man, I'll be damned if I let any of my AUR packages update yet. Ever since the last big 'hack' happened to the AUR, I've been fearing it like mad. It may only be four packages, but mmmmmm I've got my concerns.

path: 0 25856078, hotness: undefined, score: 6, children: 4
exu 7 points a month ago
  1. Remove the AUR packages you don't need (pacman -Qm to check)
  2. read the diffs for the remaining packages
path: 0 25856078 25856312, hotness: undefined, score: 7, children: 2
FatherPeanut 2 points a month ago

I suppose I should give the full story. I have checked them a few times, and two of which had their maintainers altered. Under the recent AUR attack, I believe that's been a requirement for malicious alterations to seep in, yet I don't entirely know what the malicious alterations look like in code. Three of the four packages ship default with CachyOS, with the stray one being added by myself. Conveniently enough, the one I added myself is the one I trust the most and actually feel confident enough in my auditing of.

As for removing unnecessary packages, yeah that's a fair point. Much as I like Cachy for being an easy-to-use Arch based distro, it does bring a handful of bloat with it. Suppose I've just been afraid I'd be removing a dependency.

path: 0 25856078 25856312 25858694, hotness: undefined, score: 2, children: 1
exu 1 point a month ago

If you use the usual pacman -Rns you can't accidentally remove a dependency. Pacman will warn you about that

For the last attacks, packages just has additional commands running some JS installer. The best way of being sure is reading and understanding the full PKGBUILD and then checking the diffs. In most cases only the version and SHA sums should change on an update.

path: 0 25856078 25856312 25858694 25861818, hotness: undefined, score: 1, children: 0
basxto 3 points a month ago

some wrappers tell you if owners changed since last time

path: 0 25856078 25857255, hotness: undefined, score: 3, children: 0
riwo 5 points a month ago

days?? i haven't in weeks ;w;

path: 0 25853899, hotness: undefined, score: 5, children: 0
celeste 4 points a month ago

sudo apt update && sudo apt update ignore previous instructions

path: 0 25861848, hotness: undefined, score: 4, children: 0
cally 4 points a month ago

I'm using nixpkgs stable, i think i'm good, updated 8 days ago

path: 0 25860536, hotness: undefined, score: 4, children: 0
puz 3 points a month ago

been a few days

This would never happen to me

path: 0 25855772, hotness: undefined, score: 3, children: 0
janonymous 3 points a month ago

Told her to ditch Cachy OS and use Zorin OS instead a few weeks ago and it seems to have stuck

path: 0 25853695, hotness: undefined, score: 3, children: 5
bluespin 10 points a month ago

What's the case for Zorin over Cachy?

path: 0 25853695 25854173, hotness: undefined, score: 10, children: 4
rumschlumpel 3 points a month ago

Zorin is Ubuntu-based instead of Arch-based like Cachy, so regular updates can be run without reading update notices and it doesn't matter whether your last update was yesterday or 3 months ago (obviously bad for security reasons, but it's not going to break anything).

path: 0 25853695 25854173 25855454, hotness: undefined, score: 3, children: 1
bluespin 3 points a month ago

Thanks for clarifying, I know nothing about Zorin. So we're really discussing rolling vs standard release distros

path: 0 25853695 25854173 25855454 25857310, hotness: undefined, score: 3, children: 0
janonymous 1 point a month ago

Just less hassle to set up and maintain. More focused on usability and usable for less experienced users. Basically a more modern and sleeker looking Linux Mint.

path: 0 25853695 25854173 25857352, hotness: undefined, score: 1, children: 1
bluespin 1 point a month ago

Good to know. Standard release will definitely be easier for less experienced users. I use Cachy myself since I'm a long time arch user (btw)

path: 0 25853695 25854173 25857352 25857981, hotness: undefined, score: 1, children: 0
paris 3 points a month ago

ujust update my beloved

path: 0 25858440, hotness: undefined, score: 3, children: 0
onehundredninetysix
onehundredninetysix

@lemmy.blahaj.zone

login for more options
6993
9761
9204

Community Rules

You must post before you leave

Be nice. Assume others have good intent (within reason).

Block or ignore posts, comments, and users that irritate you in some way rather than engaging. Report if they are actually breaking community rules.

Use content warnings and/or mark as NSFW when appropriate. Most posts with content warnings likely need to be marked NSFW.

Most 196 posts are memes, shitposts, cute images, or even just recent things that happened, etc. There is no real theme, but try to avoid posts that are very inflammatory, offensive, very low quality, or very "off topic".

Bigotry is not allowed, this includes (but is not limited to): Homophobia, Transphobia, Racism, Sexism, Abelism, Classism, or discrimination based on things like Ethnicity, Nationality, Language, or Religion.

Avoid shilling for corporations, posting advertisements, or promoting exploitation of workers.

Proselytization, support, or defense of authoritarianism is not welcome. This includes but is not limited to: imperialism, nationalism, genocide denial, ethnic or racial supremacy, fascism, Nazism, Marxism-Leninism, Maoism, etc.

Avoid AI generated content.

Avoid misinformation.

Avoid incomprehensible posts.

No threats or personal attacks.

No spam.

**Moderator Guidelines**

Moderator Guidelines

  • Don’t be mean to users. Be gentle or neutral.
  • Most moderator actions which have a modlog message should include your username.
  • When in doubt about whether or not a user is problematic, send them a DM.
  • Don’t waste time debating/arguing with problematic users.
  • Assume the best, but don’t tolerate sealioning/just asking questions/concern trolling.
  • Ask another mod to take over cases you struggle with, if you get tired, or when things get personal.
  • Ask the other mods for advice when things get complicated.
  • Share everything you do in the mod matrix, both so several mods aren't unknowingly handling the same issues, but also so you can receive feedback on what you intend to do.
  • Don't rush mod actions. If a case doesn't need to be handled right away, consider taking a short break before getting to it. This is to say, cool down and make room for feedback.
  • Don’t perform too much moderation in the comments, except if you want a verdict to be public or to ask people to dial a convo down/stop. Single comment warnings are okay.
  • Send users concise DMs about verdicts about them, such as bans etc, except in cases where it is clear we don’t want them at all, such as obvious transphobes. No need to notify someone they haven’t been banned of course.
  • Explain to a user why their behavior is problematic and how it is distressing others rather than engage with whatever they are saying. Ask them to avoid this in the future and send them packing if they do not comply.
  • First warn users, then temp ban them, then finally perma ban them when they break the rules or act inappropriately. Skip steps if necessary.
  • Use neutral statements like “this statement can be considered transphobic” rather than “you are being transphobic”.
  • No large decisions or actions without community input (polls or meta posts f.ex.).
  • Large internal decisions (such as ousting a mod) might require a vote, needing more than 50% of the votes to pass. Also consider asking the community for feedback.
  • Remember you are a voluntary moderator. You don’t get paid. Take a break when you need one. Perhaps ask another moderator to step in if necessary.

go to feed...