Fix: Handle the messed-up status of packages on Ubuntu derivatives#2507
Fix: Handle the messed-up status of packages on Ubuntu derivatives#2507
Conversation
Pop!_OS supposedly has the 'linux-modules-extra' package, but rejects to install it with a weird error messsage that doesn't even produce a proper exit code. This patch uses a slightly different approach to figuring out if the package is there to be installed. Tested on Pop!_OS 22.04, Ubuntu 24.04 and Debian Bookworm
@ipspace : Sorry for being late, I see that the changes have already been merged, but yes, I can also confirm that everything now installs on Pop!_OS 22.04 flawlessly using the updated scripts from the current |
| EXTRA="linux-modules-extra-$(uname -r)" | ||
| fi | ||
| # Added curl, which is not installed by default on Debian - ghostinthenet - 20220417 | ||
| $SUDO apt-get -y $FLAG_APT install python3 python3-setuptools ifupdown python3-pip curl $EXTRA |
There was a problem hiding this comment.
$SUDO apt-get -y $FLAG_APT install python3 python3-setuptools ifupdown python3-pip curl $EXTRA
Perhaps, there is no need in that $EXTRA variable on this line anymore
There was a problem hiding this comment.
Yeah, that one should go out (the next time we're changing this script ;)
Thanks a million for the confirmation! |
Pop!_OS supposedly has the 'linux-modules-extra' package, but rejects to install it with a weird error messsage that doesn't even produce a proper exit code. This patch uses a slightly different approach to figuring out if the package is there to be installed.
Tested on Pop!_OS 22.04, Ubuntu 24.04 and Debian Bookworm