7
submitted 9 months ago by waspentalive@lemmy.one to c/debian@lemmy.ml

I have suddenly found that /usr/games has disappeared off my path. Not only that but my normal otherwise but sudo enabled user seems to have a superuser's path?

rhudson@adam:~$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

rhudson@adam:~$ id -u 1000

What would have changed suddenly? It was not like this yesterday. kpat is in /usr/games and I was able to launch it from task manager yesterday, but not today.

I have rebooted twice so far. I can run kpat by opening it from Dolphin.

I don't want to have to re-install : ^ (

you are viewing a single comment's thread
view the rest of the comments
[-] r0b0@sopuli.xyz 3 points 9 months ago

You're going to have to remember what did you change. Is this bookworm? Things don't just change themselves in Stable

[-] waspentalive@lemmy.ml 0 points 9 months ago

rhudson@adam:~$ neofetch ,met$$$$$gg. rhudson@adam ,g$$$$$$$$$$$$$$$P. ------------ ,g$$P" """Y$$.". OS: Debian GNU/Linux 12 (bookworm) x86_64 ,$$P' $$$. Host: VivoBook_ASUSLaptop S5402ZA_S5402ZA 1.0 ',$$P ,ggs. $$b: Kernel: 6.1.0-13-amd64 d$$' ,$P"' . $$$ Uptime: 59 mins $$P d$' , $$P Packages: 3393 (dpkg) $$: $$. - ,d$$' Shell: bash 5.2.15 $$; Y$b._ _,d$P' Resolution: 2880x1800 Y$$. ."Y$$$$P"' DE: Plasma 5.27.5 $$b "-._ WM: kwin Y$$ WM Theme: plastik Y$$. Theme: [Plasma], Breeze [GTK2/3] $$b. Icons: [Plasma], breeze-dark [GTK2/3] Y$$b. Terminal: konsole "Y$b._ Terminal Font: IBM 3270 19 """ CPU: 12th Gen Intel i7-12700H (20) @ 4.600GHz GPU: Intel Alder Lake-P Memory: 3687MiB / 11577MiB This is bookworm.

I have only worked with .txt files and .odt (libre Office files) for the past few days. I have done updates as offered, but I have not installed anything, and I have not edited any system file as far as I can remember (before this morning, see below for a troubleshooting step taken).

And I have played Minecraft and watched Youtube and Freetube.

When I noticed this happening (by trying to launch kpat this morning) I went to look at /etc/profile and added /etc/games to the id=0 part of the path setting and that did not help any so I removed it again. - something is setting the path to SU's path along the way but I don't know what.

this post was submitted on 05 Dec 2023
7 points (100.0% liked)

Debian operating system

2651 readers
1 users here now

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

founded 4 years ago
MODERATORS