Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-17-2019, 11:05 PM   #1
Registered: Jul 2007
Posts: 197

Rep: Reputation: 41
sbopkg batch mode

Hello, everyone.

I feel like super stupid, but I don't seem to be able to find a simple thing.

I want to automatically update my nvidia drivers after the kernel update.

To do this, I have written a super simple script:


#if [$(whoami) -neq 'root']; then
#  exit 1

slackpkg -batch=on reinstall xorg mesa
sbopkg -q -e continue -B -i nvidia-legacy390-driver:COMPAT32=on -i nvidia-legacy390-kernel
But sbopkg keeps asking me if I really want to use the COMPAT32 option.

I guess, I can just add a HEREDOC, to supply 'c' to the standard input, but that seems like a dirty trick. Is there really no command line option to supply a default answer to sbopkg?
Old 04-19-2019, 10:54 PM   #2
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,456
Blog Entries: 15

Rep: Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157
I'm no expert with nVidai but I'm curious.

Has using the COMPAT32 option in the past been an issue for you <or> has it worked?

I did some googling and couldn't find another way to update nvidia drivers. The best I found was a Slackware WiKi on nvidia.

If there is a default command that you can pass to sbopkg you might try the man page for sbopkg.

Hope you are able to update your nvidia driver.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to write a batch file in linux?and what are batch(.bat) file benefits? karthilin Linux - Newbie 8 10-15-2012 02:10 PM
Running ‘top’ with ‘Irix mode’ off in batch mode alexz1011 Linux - Software 1 10-02-2009 03:29 PM
i want to convert .wav file into mp3 files in batch mode sparsh Linux - Software 6 11-20-2007 10:53 AM
How can I change display mode from character mode to graph mode wuzhong Linux - Hardware 1 08-08-2004 09:36 AM
MySQL in batch mode ganninu Linux - General 1 11-20-2003 05:49 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration