I’m currently on EOS with the KDE desktop. I’ve used this install since over a month and everything was going fine when suddenly I was unable to update/install any python based packages from the AUR.
Everytime I do so, I get the following error:
==> Making package: auto-cpufreq 1.9.6-1 (Sunday 25 September 2022 01:23:40 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Traceback (most recent call last):
File "/home/priyanshu/.cache/yay/auto-cpufreq/src/auto-cpufreq-1.9.6/setup.py", line 18, in <module>
setup(
File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 75, in _install_setup_requires
dist = MinimalDistribution(attrs)
File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 57, in __init__
super().__init__(filtered)
File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 475, in __init__
for ep in metadata.entry_points(group='distutils.setup_keywords'):
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 1009, in entry_points
return SelectableGroups.load(eps).select(**params)
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 459, in load
ordered = sorted(eps, key=by_group)
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 1006, in <genexpr>
eps = itertools.chain.from_iterable(
File "/usr/lib/python3.10/importlib/metadata/_itertools.py", line 16, in unique_everseen
k = key(element)
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 941, in _normalized_name
return self._name_from_stem(stem) or super()._normalized_name
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 622, in _normalized_name
return Prepared.normalize(self.name)
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 871, in normalize
return re.sub(r"[-_.]+", "-", name).lower().replace('-', '_')
File "/usr/lib/python3.10/re.py", line 209, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
==> ERROR: A failure occurred in build().
Aborting...
-> error making: auto-cpufreq
And it’s not isolated to just auto-cpufreq, there are many packages that I simply am unable to update: like python-proton-client, epy-git, etc; the only thing common between them being they’re python based and it’s causing problems during AUR updates, any help would be appreciated.
Here’s my complete system info in case needed:
System:
Kernel: 5.19.10-arch1-1 arch: x86_64 bits: 64 Desktop: KDE Plasma v: 5.25.5
Distro: EndeavourOS
Machine:
Type: Laptop System: LENOVO product: 81UT v: Lenovo IdeaPad S145-15API
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0Q55722WIN
serial: <superuser required> UEFI: LENOVO v: BUCN31WW date: 02/11/2022
Battery:
ID-1: BAT0 charge: 8.3 Wh (26.7%) condition: 31.1/35.0 Wh (88.7%)
volts: 7.3 min: 7.5
CPU:
Info: dual core model: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP cache: L2: 1024 KiB
Speed (MHz): avg: 1355 min/max: 1400/2600 cores: 1: 1223 2: 1400 3: 1400
4: 1400
Graphics:
Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
gpu: amdgpu resolution: 1920x1080
OpenGL: renderer: AMD Radeon Vega 3 Graphics (raven LLVM 14.0.6 DRM 3.47
5.19.10-arch1-1) v: 4.6 Mesa 22.1.7
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
Device-2: AMD Family 17h/19h HD Audio driver: snd_hda_intel
Sound Server-1: ALSA v: k5.19.10-arch1-1 running: yes
Sound Server-2: PipeWire v: 0.3.58 running: yes
Network:
Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
driver: ath10k_pci
IF: wlan0 state: up mac: 80:30:49:87:3e:bd
Bluetooth:
Device-1: Qualcomm Atheros type: USB driver: btusb
Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
Local Storage: total: 238.47 GiB used: 148.54 GiB (62.3%)
ID-1: /dev/nvme0n1 vendor: Lenovo model: UMIS RPJTJ256MEE1OWX
size: 238.47 GiB
Partition:
ID-1: / size: 97.49 GiB used: 61.67 GiB (63.3%) fs: ext4
dev: /dev/nvme0n1p7
ID-2: /boot/efi size: 300.1 MiB used: 468 KiB (0.2%) fs: vfat
dev: /dev/nvme0n1p5
Swap:
ID-1: swap-1 type: partition size: 7.52 GiB used: 0 KiB (0.0%)
dev: /dev/nvme0n1p6
Sensors:
System Temperatures: cpu: 36.8 C mobo: N/A gpu: amdgpu temp: 36.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 258 Uptime: 46m Memory: 5.67 GiB used: 2.52 GiB (44.5%)
Shell: Zsh inxi: 3.3.21