我正在尝试在联想Ideapad上安装Fedora 25 Workstation.
使用具有20GB HDD空间的VMWare Player,2GB RAM,2个处理器核心.
安装顺利到第2阶段,Anaconda试图创建用户.
然后,它显示弹出错误已发生.
以下是错误:
The following was filed automatically by anaconda:
anaconda 25.20.8-1 exception report
Traceback (most recent call first):
File "/usr/lib64/python3.5/site-packages/pyanaconda/users.py", line 379, in createUser
raise OSError("Unable to create user %s: status=%s" % (user_name, status))
File "/usr/lib64/python3.5/site-packages/pyanaconda/kickstart.py", line 1801, in execute
users.createUser(usr.name, **kwargs)
File "/usr/lib64/python3.5/site-packages/pyanaconda/install.py", line 95, in doConfiguration
ksdata.user.execute(storage, ksdata, instClass, u)
File "/usr/lib64/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 251, in run
threading.Thread.run(self, *args, **kwargs)
OSError: Unable to create user 0111: status=3
Additional info:
addons: com_redhat_kdump
cmdline: /usr/bin/python3 /sbin/anaconda --liveinst -- method=livecd:///dev/mapper/live-base
cmdline_file: BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=Fedora-WS-Live-25-1-3 rd.live.image quiet
executable: /sbin/anaconda
hashmarkername: anaconda
kernel: 4.8.6-300.fc25.x86_64
other involved packages: system-python-libs-3.5.2-4.fc25.x86_64
product: Fedora
release: Fedora release 25 (Twenty Five)
type: anaconda
version: 25
另请注意,我已经在VMWare Player中安装了LinuxMint和Lubuntu,它们在同一台机器上具有相同的配置,并且它们正在运行而没有这些问题.希望能解决这个问题并尽快转向fedora!
解决方法:
修复是不要求伪造的用户名.
Anaconda interface should show an error message when an invalid User Name is entered and pressed Done.
Note: From man page of adduser it says “Usernames must start with a lower case letter or an underscore, followed by lower case letters, digits, underscores, or dashes. They can end with a dollar sign. In regular expression terms: [a-z_][a-z0-9_-]*[$]?
标签:python,anaconda,fedora,vmware
来源: https://codeday.me/bug/20190816/1671713.html