Hi, I am using Fedora 34 on Gnome. I installed anaconda-34.24.9-1.fc34.x86_64 through dnf, but if I try to run it I am met with the following message.
$ sudo anaconda
Starting installer, one moment...
anaconda 34.24.9-1.fc34 for anaconda bluesky (pre-release) started.
* installation log files are stored in /tmp during the installation
* shell is available on TTY2 and in second TMUX pane (ctrl+b, then press 2)
* when reporting a bug add logs from /tmp as separate text/plain attachments
Traceback (most recent call last):
File "/usr/sbin/anaconda", line 425, in <module>
context.payload_type = anaconda.payload.type
File "/usr/lib64/python3.9/site-packages/pyanaconda/anaconda.py", line 102, in payload
self._payload = klass(self.ksdata)
File "/usr/lib64/python3.9/site-packages/pyanaconda/payload/dnf/payload.py", line 113, in __init__
configure_dnf_logging()
File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/payloads/payload/dnf/initialization.py", line 33, in configure_dnf_logging
libdnf.repo.LibrepoLog.addHandler(DNF_LIBREPO_LOG)
File "/usr/lib64/python3.9/site-packages/libdnf/repo.py", line 553, in addHandler
return _repo.LibrepoLog_addHandler(filePath, debug)
libdnf._error.Error: Cannot open /tmp/dnf.librepo.log: Permission denied
Right before the traceback is printed, the monitor and Bluetooth are turned off for a couple of seconds and I get sent back to my login screen on Gnome. Would you be able to help me troubleshoot this? It looks like a permission issue but I can’t quite understand what to do next.
That package should really be renamed to resolve this disambiguity; maybe something like anaconda-os-installer.
I know Fedora’s Anaconda is older, but unfortunately the Anaconda Python distribution is much more widely used (not to mention it is cross-platform).