mhwd script fails during install due to missing packages #77

Closed
opened 2024-07-27 09:00:39 +00:00 by fhdk · 3 comments
fhdk commented 2024-07-27 09:00:39 +00:00 (Migrated from gitlab2.manjaro.org)

While looking at another issue with Calamares failing to install (for reference see https://gitlab.manjaro.org/profiles-and-settings/iso-profiles/-/issues/182) it is observed the mhwd script fails in setting up drivers due to missing packages

:: Synchronizing package databases...
 mhwd downloading...
error: target not found: vulkan-nouveau
warning: libva-mesa-driver-1:24.1.1-1 is up to date -- skipping
error: target not found: libva-vdpau-driver
error: target not found: lib32-vulkan-nouveau
error: target not found: lib32-libva-vdpau-driver
Error: pacman failed!
Error: script failed!

The relevant excerpt is this

2024-07-26 - 18:58:05 [6]: virtual void Calamares::JobThread::run()
    Starting job "mhwdcfg" ( 30 / 36 ) 
2024-07-26 - 18:58:05 [6]: virtual Calamares::JobResult Calamares::PythonJob::exec()
    Job file "/usr/lib/calamares/modules/mhwdcfg/main.py" 
2024-07-26 - 18:58:05 [6]:     .. Job description from __doc__ "mhwdcfg" = "Configure the hardware" 
2024-07-26 - 18:58:05 [6]:     .. Running ("mhwd", "-a", "pci", "nonfree", "0200", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") 
2024-07-26 - 18:58:06 [6]:     .. Running ("mhwd", "-a", "pci", "nonfree", "0280", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") 
2024-07-26 - 18:58:07 [6]:     .. Running ("mhwd", "-a", "pci", "nonfree", "0300", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") 
2024-07-26 - 18:58:07 [6]:     .. Target cmd: ("mhwd", "-a", "pci", "nonfree", "0300", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") Exit code: 1 output:
 Warning: config '/var/lib/mhwd/db/pci/network_drivers/r8168/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/network_drivers/rt3562sta/MHWDCONFIG' is invalid!
> Using config 'video-hybrid-amd-nvidia-prime' for device: 0000:01:00.0 (0300:10de:2860) Display controller nVidia Corporation 
> Using config 'video-hybrid-amd-nvidia-prime' for device: 0000:05:00.0 (0300:1002:1681) Display controller ATI Technologies Inc 
> Dependencies to install:  video-linux
> Installing dependency video-linux...
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/video-linux/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0380
Processing classid: 0302
:: Synchronizing package databases...
 mhwd downloading...
error: target not found: vulkan-nouveau
warning: libva-mesa-driver-1:24.1.1-1 is up to date -- skipping
error: target not found: libva-vdpau-driver
error: target not found: lib32-vulkan-nouveau
error: target not found: lib32-libva-vdpau-driver
Error: pacman failed!
Error: script failed!
2024-07-26 - 18:58:07 [6]:     .. Running ("mhwd", "-a", "pci", "nonfree", "0302", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") 
2024-07-26 - 18:58:08 [6]:     .. Running ("mhwd", "-a", "pci", "nonfree", "0380", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") 

Reference

https://forum.manjaro.org/t/installing-on-a-lenovo-legion-laptop/166089

The complete log is provided by the OP as link to termbin (expiration unknown)

While looking at another issue with Calamares failing to install (for reference see https://gitlab.manjaro.org/profiles-and-settings/iso-profiles/-/issues/182) it is observed the mhwd script fails in setting up drivers due to missing packages ``` :: Synchronizing package databases...  mhwd downloading... error: target not found: vulkan-nouveau warning: libva-mesa-driver-1:24.1.1-1 is up to date -- skipping error: target not found: libva-vdpau-driver error: target not found: lib32-vulkan-nouveau error: target not found: lib32-libva-vdpau-driver Error: pacman failed! Error: script failed! ``` The relevant excerpt is this ``` 2024-07-26 - 18:58:05 [6]: virtual void Calamares::JobThread::run() Starting job "mhwdcfg" ( 30 / 36 ) 2024-07-26 - 18:58:05 [6]: virtual Calamares::JobResult Calamares::PythonJob::exec() Job file "/usr/lib/calamares/modules/mhwdcfg/main.py" 2024-07-26 - 18:58:05 [6]: .. Job description from __doc__ "mhwdcfg" = "Configure the hardware" 2024-07-26 - 18:58:05 [6]: .. Running ("mhwd", "-a", "pci", "nonfree", "0200", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") 2024-07-26 - 18:58:06 [6]: .. Running ("mhwd", "-a", "pci", "nonfree", "0280", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") 2024-07-26 - 18:58:07 [6]: .. Running ("mhwd", "-a", "pci", "nonfree", "0300", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") 2024-07-26 - 18:58:07 [6]: .. Target cmd: ("mhwd", "-a", "pci", "nonfree", "0300", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") Exit code: 1 output: Warning: config '/var/lib/mhwd/db/pci/network_drivers/r8168/MHWDCONFIG' is invalid! Warning: config '/var/lib/mhwd/db/pci/network_drivers/rt3562sta/MHWDCONFIG' is invalid! > Using config 'video-hybrid-amd-nvidia-prime' for device: 0000:01:00.0 (0300:10de:2860) Display controller nVidia Corporation > Using config 'video-hybrid-amd-nvidia-prime' for device: 0000:05:00.0 (0300:1002:1681) Display controller ATI Technologies Inc > Dependencies to install: video-linux > Installing dependency video-linux... warning: database file for 'core' does not exist (use '-Sy' to download) warning: database file for 'extra' does not exist (use '-Sy' to download) warning: database file for 'multilib' does not exist (use '-Sy' to download) Sourcing /etc/mhwd-x86_64.conf Has lib32 support: true Sourcing /var/lib/mhwd/db/pci/graphic_drivers/video-linux/MHWDCONFIG Processing classid: 0300 Sourcing /var/lib/mhwd/scripts/include/0300 Processing classid: 0380 Processing classid: 0302 :: Synchronizing package databases...  mhwd downloading... error: target not found: vulkan-nouveau warning: libva-mesa-driver-1:24.1.1-1 is up to date -- skipping error: target not found: libva-vdpau-driver error: target not found: lib32-vulkan-nouveau error: target not found: lib32-libva-vdpau-driver Error: pacman failed! Error: script failed! 2024-07-26 - 18:58:07 [6]: .. Running ("mhwd", "-a", "pci", "nonfree", "0302", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") 2024-07-26 - 18:58:08 [6]: .. Running ("mhwd", "-a", "pci", "nonfree", "0380", "--pmconfig", "/opt/mhwd/pacman-mhwd.conf") ``` Reference ``` https://forum.manjaro.org/t/installing-on-a-lenovo-legion-laptop/166089 ``` The complete log is provided by the OP as link to termbin (expiration unknown)
fhdk commented 2024-07-27 09:01:42 +00:00 (Migrated from gitlab2.manjaro.org)

assigned to @philm

assigned to @philm
fhdk commented 2024-07-27 09:08:02 +00:00 (Migrated from gitlab2.manjaro.org)

changed title from mhwd script fails durin{-t-} install due to missing packages to mhwd script fails durin{+g+} install due to missing packages

changed title from **mhwd script fails durin{-t-} install due to missing packages** to **mhwd script fails durin{+g+} install due to missing packages**
philm commented 2024-07-29 01:27:11 +00:00 (Migrated from gitlab2.manjaro.org)
Fixed via: https://gitlab.manjaro.org/profiles-and-settings/iso-profiles/-/commit/82580d0490f47d4ff039e98613fb5d733ddff4c5 https://gitlab.manjaro.org/profiles-and-settings/iso-profiles/-/commit/5081adc78fcf4f8590954765cc63837bfa657614
philm (Migrated from gitlab2.manjaro.org) closed this issue 2024-07-29 01:27:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
applications/mhwd#77
No description provided.