Article 4PWBW Xubuntu 18.04.3-32bit - Child process failed on executing bash

Xubuntu 18.04.3-32bit - Child process failed on executing bash

by
madmax25
from LinuxQuestions.org on (#4PWBW)
To make it easier to install a new kernel, I created the following bash:

Code: Kernel installation:
**********************

read -p "Please input kernel number: `echo '\n> '`" a
sleep 1
echo

sudo apt install linux-headers-"${a}" linux-headers-"${a}"-generic linux-image-"${a}"-generic linux-modules-"${a}"-generic linux-modules-extra-"${a}"-generic
sleep 2
echo

read -p "Hit Enter key to close ... " EnterExecution of this script is granted, but still it doesn't work.

There's a message telling me
Code:Child process failed!
Child process cannot be executed. No privilegeHow come and what can I do about it, please?latest?d=yIl2AUoC8zA latest?i=lyxwRMQNdrI:3_AXc7Jv0bo:F7zBnMy latest?i=lyxwRMQNdrI:3_AXc7Jv0bo:V_sGLiP latest?d=qj6IDK7rITs latest?i=lyxwRMQNdrI:3_AXc7Jv0bo:gIN9vFwlyxwRMQNdrI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments