this post was submitted on 27 Mar 2024
137 points (96.0% liked)

linuxmemes

20686 readers
1172 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

Context: A few days ago Arch pushed out a legitimately broken update. This was because they shipped out a testing version of util-linux. They very quickly fixed this... except I use SE Linux (say what you will I wanted to dive into it) and now I'm stuck waiting for the maintainer to update the AUR package so I can fix my system. This is not a general arch problem but a me problem because of my less standard, more niche build. Although the wait is genuinely making me reconsider using SE Linux as it's been a hassle to maintain (just to keep things up to date, I gave up on keeping it in enforcing mode).

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 5 months ago (4 children)

I attempted to do so, but the package applies some patches to the source code and it's version dependent. I don't have the experience with this specific project to easily fix it, and I suspect by the time I figure it out the update will have already been pushed.

[–] [email protected] 5 points 5 months ago* (last edited 5 months ago) (3 children)

You can try rolling back to a previous version though.

By checking the log section in the AUR,
you can see all the commits (changes) done to the build files.
https://aur.archlinux.org/cgit/aur.git/log/?h=util-linux-selinux

Clicking on a commit message shows you the diff.

Start by the last commit,
undo the changes (green lines),
re-apply the removals (red lines),
then attempt to re-build.

If that did not work out,
do the same for the commit before that until you rolled back up to the latest working version.

[–] [email protected] 2 points 5 months ago (2 children)

This specific version of the package isn't the issue, it's that main repo packages are built on the updated version and this hasn't been updated yet. I'm unsure of the process that is used to choose and apply the patches for this project, and I'm unsure if the current version in the repos actually has the work done on it for this specific package.

[–] [email protected] 1 points 5 months ago (1 children)

Have you tried rolling back the affected packages from the main repo?

[–] [email protected] 1 points 5 months ago

It was my weekly update, ngl I'm not entirely sure all of which packages broke. That one's on me