-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenSUSE Tumbleweed in WSL #2
Comments
utmp is a binary file created by system, you can not simply touch it. rankmirror-ng highly depends on logged-in username for configuration files finding, because to modify repositories, you have to run I can not help with a system without |
It's weird that I test In microsof/WSL#573, I found method_1 to bring back Still, So I check the source code of cp = getlogin ();
if (! cp)
die (EXIT_FAILURE, 0, _("no login name")); So, problem should be related to According to this site, I then put my eye on By searching, I found microsoft/WSL#888. So I write a simple C code to test it. My So I tried method_2 mentioned there by What make it even weird is that in Ubuntu-22.04-WSL Besides, both methode_1 and method_2 created same content for Will the problem be with openSUSE or not? I currently have poor skills to find it out. @Auckas helps a lot with me to find problems. |
openSUSE 的人气为何远不如 Ubuntu 和 Fedora ? - 瑪麗蘇的回答 - 知乎 |
Background
I'm following the guide SDB:Add package repositories-OpenSUSE Wiki in Simplified Chinese to add package repositories for my OpenSUSE Tumbleweed.
Info
wsl --version
WSL version: 1.0.0.0
kernel version: 5.15.74.2
WSLg version: 1.0.47
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22623.891
Steps to reproduce
which says:
then I followed the guide in the link:
Before that, I still have problem connecting with OpenSUSE package repository in European because I'm in China. So I use a rather fast mirror:
I googled "/var/run/utmp" for help, learning from utmp(5) — Linux manual page that "The utmp file allows one to discover information about who is currently using the system. There may be more users currently using the system, because not all programs use utmp logging."
I created one by doing:
It seems that problem is still relative to
/var/run/tump
file?Thanks for reading. Appreciate for any helps.
The text was updated successfully, but these errors were encountered: