Ubuntu apt dist-upgrade failing due to "/var/lib/dkms/nvidia-fs/2.14.12/source/dkms.conf does not exist" [closed] - apt

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 days ago.
Improve this question
I unfortunately found out during a boot that apt had failed to setup boot for an updated kernel correctly.
When I ran sudo apt dist-upgrade I found it was broken..
I have a manually installed the latest Nvidia GPUdirect/CUDA environment because of how old the official Ubuntu packages are. Obviously the install is now causing problems.
Things I tried:
I tried to find where you could "uninstall nvidia-fs". Couldn't find it on any documentation.
I tried to re-install nvidia-fs using the cuda.run installer. The didn't work successfully.
I traced out the scripts, and found a sizable script program that was called /usr/sbin/dkms, that had a "remove" flag.
ran the following command:
sudo dkms remove -m nvidia-fs -v 2.14.12
and then sudo apt dist-upgrade.
This repaired the kernel install. On to fixing the nvidia-fs install.

Related

How to install Wine on Chrome os to run Windows programs? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 days ago.
Improve this question
I don't know how to make Wine run an specific Windows program (Visualg) through Chrome os' Linux terminal command line. I used these commands below, but I can't figure out what to do after this. I'm a noob and the program is a beginner's coding platform... I did this as Winehq advised.
sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
sudo apt update
sudo apt install --install-recommends winehq-stable
Winehq advised to check if the building dependencies are all there and to 'change directory' to then run my program with 'filename.exe'.
cd (filename)
filename.exe
Although it is not working on my Linux terminal command line unfortunately. LInux terminal displays:
No such file or directory
Command not found
Here's how to run the Windows program:
wine <hoge.exe>
The sample below runs cmd.exe.

Error: grub-efi-amd64-signed in Ubuntu 20.04. Trying to install packages [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm having problems when Iḿ trying ¿to install any package or software.
My OS is Ubuntu 20.04.
I've already tried all the solutions mentioned in this post https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1871963, including configure the UEFI, following the next comand lines:
# sudo apt-get purge grub\*
# sudo apt-get install grub-efi
# sudo apt-get autoremove
# sudo update-grub
etc.
The error message appears even when the upgrades and is installed an app from the "Ubuntu Software" application...
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks!
I had this same problem the last few days. Months ago I installed Ubuntu 20.04 alongside Win10 I had to switch the BIOS to AHCI from RAID as it wouldn't allow install. Then after install I could switch back to RAID to allow Win10 dual boot. However along some update it messed it up and I had to switch back to AHCI and reinstalled grub as above. It sorted the problem.

ubuntu-16.10 unable to locate package [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have recently setup Ubuntu 16.10 and am trying to install PuTTY but keep getting an 'E: Unable to locate package putty' error. I have run both 'sudo apt-get update' and 'sudo apt-get upgrade'. Both complete with success. I have verified that 'main', 'universe', 'restricted', and 'multiverse' are all enabled. But I continue to get the error when trying to install PuTTY. This is the command I'm using 'sudo apt install putty'. Any thoughts on what might be going on?
I was able to finally determine that 16.10 was just too old to update properly. I have moved to 18.04 and successfully installed PuTTY.
This is a common problem when you follow the instructions on the PuTTY website.
Here is how to solve it for ubuntu:
instead of:
sudo apt-get install PuTTY
use:
sudo apt install putty
As expected the package is case sensitive but somehow even PuTTY haven't figured it out.

Install 'yum' in Centos7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
I've deleted yum from my server and I did wget to download yum again and extract it. In this folder, I have a lot of files:
AUTHORS completion-helper.py Makefile shell.py yumcommands.py
bin COPYING output.py test yum-cron
callback.py docs po TODO yummain.py
ChangeLog etc README utils.py yum.spec
cli.py INSTALL rpmUtils yum yum-updatesd.py
How can I install it?
Another solution to install packages is to use the RPM command. You first need to download the rpm file and then install it.
For more infos: RPM man page
So, to install yum, simply run those two commands:
wget https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm
rpm -ivh yum-3.4.3-154.el7.centos.noarch.rpm

Fail to install libsqlite3-dev (rvm requirements) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I've just moved to Ubuntu 12.10 from Win7. Because Ruby development is a kind of pain on Win. But I get stuck on a first step on Ubuntu also.
First I got rvm as it described on rvm web site:
\curl -L https://get.rvm.io | bash -s
And then this
$ rvm requirements
gave me error and here is the log:
...
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsqlite3-dev : Depends: libsqlite3-0 (= 3.7.13-1) but 3.7.15.2-1~pub1 is to be installed
E: Unable to correct problems, you have held broken packages.
I messing around with libsqlite3-dev and libsqlite3-0: re-installing, download and install via dpkg (and forcing instalation also). After one total system reinstall (desperade purge of libsqlite3-0, he-he), 7 hours, dozens web pages and zillions apt-get installs-purge-downloads I totaly don't know what to do. So I can provide any needed log output just don't know what exactly - I am very new in Linux.

Resources