You are not logged in.

#1 2024-03-30 15:13:32

raijin7
Member
Registered: 2024-03-30
Posts: 1

Xz uninstall problem

After hearing about the xz backdoor, I tried to uninstall it using

 sudo pacman -Rsnu xz

However the xz executable persists in /bin.  Repeating the aforementioned command outputs: warning: removing xz from target list. there is nothing to do. Although nothing really changes. Then I did attempt to delete the executable manually and reinstall the 5.6.1-2 version. But writing in terminal:

xz -V

Output: xz (XZ Utils)5.6.1 is that ok? I don't have knowledge about security, so pacman not working as I expect makes me uncomfortable. To make things even more confusing to me xzcat, xzdiff, lzma seems related to xz. What should I do to properly delete xz? Is it better to reinstall arch?

Offline

#2 2024-03-30 15:17:27

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,862

Re: Xz uninstall problem

xz is needed by many packages in archlinux, it can't be removed without issues.

run pacman -Qi xz . If it reports 5.6.1-2 as version you're fine.

Read https://bbs.archlinux.org/viewtopic.php?id=294363 for more details.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2024-03-30 15:30:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,823

Re: Xz uninstall problem

raijin7 wrote:

pacman not working as I expect makes me uncomfortable.

pacman is doing the right thing, it's your expectations that are the problem. You really expect pacman to remove something that will make your system completely unbootable and pacman inoperable without some extra safeguards?

Offline

#4 2024-03-30 15:34:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,374
Website

Re: Xz uninstall problem

So you heard about the problem, but rather than following the advice for the solution, you tried your own whacky approach.  That is a habit you should break today.

But the reason pacman didn't remove it should be quite clear if you read the pacman man page for the flags you used (hint, what is the -u flag for in the REMOVE section).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB