driver scripts fails

bobzbobz
Beiträge: 149
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

driver scripts fails

Beitragvon bobzbobz » 04 Aug 2020, 12:29

Hello

Something has happened to our win10-x64-package.
The scripts "create_driver_links.py" and "show_drivers.py" dont seem to work.

show_drivers.py returns this:
root@opsi: /opt/pcbin/install/win10-x64 # ./show_drivers.py sys-204
Traceback (most recent call last):
File "./show_drivers.py", line 39, in <module>
from OPSI.Backend.BackendManager import BackendManager
ModuleNotFoundError: No module named 'OPSI'
Please help others by sharing your scripts on the OPSI-Wiki.

Benutzeravatar
SisterOfMercy
Beiträge: 1196
Registriert: 22 Jun 2012, 19:18

Re: driver scripts fails

Beitragvon SisterOfMercy » 04 Aug 2020, 13:53

/opt/pcbin/install/?

Uhm, this begs the question: what kind of opsi packages are installed and which version of win10-x64 have you installed?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

bobzbobz
Beiträge: 149
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: driver scripts fails

Beitragvon bobzbobz » 06 Aug 2020, 10:50

/opt/pcbin/install/win10-x64

win10-x64_4.1.0.1-14
Please help others by sharing your scripts on the OPSI-Wiki.

Benutzeravatar
SisterOfMercy
Beiträge: 1196
Registriert: 22 Jun 2012, 19:18

Re: driver scripts fails

Beitragvon SisterOfMercy » 06 Aug 2020, 17:13

That one is up to date, but is the rest of your installation up to date? What opsi packages are there according to the package manager of your distro?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

bobzbobz
Beiträge: 149
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: driver scripts fails

Beitragvon bobzbobz » 22 Sep 2020, 10:14

Hello

Sorry for the delay in reply.
Which command should I execute to find the info you are requesting?

opsi-package-manager -V returns:

Code: Alles auswählen

opsi-package-manager/4.1.1.33
Please help others by sharing your scripts on the OPSI-Wiki.

Benutzeravatar
SisterOfMercy
Beiträge: 1196
Registriert: 22 Jun 2012, 19:18

Re: driver scripts fails

Beitragvon SisterOfMercy » 24 Sep 2020, 11:21

On RHEL or CentOS:

Code: Alles auswählen

yum list installed


So for Debian, Ubuntu it's an apt command.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

bobzbobz
Beiträge: 149
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: driver scripts fails

Beitragvon bobzbobz » 24 Sep 2020, 11:45

You can download the list of installed apps from this link: https://cloud.eucl.dk/s/s4XdiMHwxEFe9kR

The download is password-protected - I will send you the code via Personal Message in this forum.
Zuletzt geändert von bobzbobz am 24 Sep 2020, 11:50, insgesamt 1-mal geändert.
Please help others by sharing your scripts on the OPSI-Wiki.

bobzbobz
Beiträge: 149
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: driver scripts fails

Beitragvon bobzbobz » 24 Sep 2020, 11:50

Apparantly I am unable to send a message..
Password: Lo5977st
Please help others by sharing your scripts on the OPSI-Wiki.

Benutzeravatar
SisterOfMercy
Beiträge: 1196
Registriert: 22 Jun 2012, 19:18

Re: driver scripts fails

Beitragvon SisterOfMercy » 25 Sep 2020, 19:14

Try updating the opsi packages via the opsi-package-updater. The newer version of opsi-utils might solve your problem.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

bobzbobz
Beiträge: 149
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: driver scripts fails

Beitragvon bobzbobz » 28 Sep 2020, 11:16

All new packages are now installed.
The problem still persists.
Please help others by sharing your scripts on the OPSI-Wiki.