Upgrade to 17.10 kernel not able to be installed
I upgraded from 17.04 to 17.10. Ubuntu with Gnome Shell, no Unity. Nvidia graphics, using proprietary driver.
I managed to boot using the old kernel: 4.10.0-42-generic
I tried removing the newer kernels but gpkg gives errors trying to uninstall.
It now boots with the 4.10.0-42-generic kernel automatically, but always required password, even though i set it to log in without password in the settings manager. This was working before the upgrade.
I tried:
sudo dpkg --configure -a
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.
vmlinuz(
) points to /boot/vmlinuz-
(/boot/
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
linux-
sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
linux-
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-
linux-
0 upgraded, 0 newly installed, 4 to remove and 13 not upgraded.
5 not fully installed or removed.
After this operation, 629 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 265425 files and directories currently installed.)
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
linux-
linux-
linux-
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
ls -al /boot
total 289184
drwxr-xr-x 3 root root 4096 Jan 4 10:22 .
drwxr-xr-x 25 root root 4096 Jan 4 10:22 ..
-rw-r--r-- 1 root root 1443962 Nov 9 09:24 abi-4.10.
-rw-r--r-- 1 root root 1443962 Dec 4 09:04 abi-4.10.
-rw-r--r-- 1 root root 204962 Nov 9 09:24 config-
-rw-r--r-- 1 root root 204962 Dec 4 09:04 config-
drwxr-xr-x 5 root root 4096 Jan 4 10:22 grub
-rw-r--r-- 1 root root 42860302 Dec 30 10:04 initrd.
-rw-r--r-- 1 root root 51070561 Jan 3 18:56 initrd.
-rw-r--r-- 1 root root 10331442 Dec 30 10:06 initrd.
-rw-r--r-- 1 root root 10331451 Dec 30 10:06 initrd.
-rw-r--r-- 1 root root 10331444 Dec 30 10:06 initrd.
-rw-r--r-- 1 root root 10333637 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10333568 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10331426 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10333539 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10333541 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10331414 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10331448 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10333583 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10333546 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10333589 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10333559 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10333515 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10331408 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 10331445 Dec 30 10:05 initrd.
-rw-r--r-- 1 root root 182704 Jan 28 2016 memtest86+.bin
-rw-r--r-- 1 root root 184380 Jan 28 2016 memtest86+.elf
-rw-r--r-- 1 root root 184840 Jan 28 2016 memtest86+
-rw------- 1 root root 3722580 Nov 9 09:24 System.
-rw------- 1 root root 3722463 Dec 4 09:04 System.
-rw------- 1 root root 7587600 Nov 9 09:24 vmlinuz-
-rw------- 1 root root 7587600 Dec 4 09:04 vmlinuz-
apt-cache policy dkms
dkms:
Installed: 2.3-3ubuntu3
Candidate: 2.3-3ubuntu3
Version table:
*** 2.3-3ubuntu3 500
500 http://
500 http://
500 http://
500 http://
100 /var/lib/
any thoughts?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- dysonsphere
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I suggest that you try the following:
Open a terminal window and issue the command
uname -a
lsb_release -crid
sudo dpkg --audit
sudo apt-get install --reinstall dkms
and finally copy/paste all output into this question document that we can check.
Revision history for this message
|
#2 |
uname -a
Linux dyson-G751JY 4.10.0-42-generic #46-Ubuntu SMP Mon Dec 4 14:38:01 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
sudo dpkg --audit
[sudo] password for dysonsphere:
The following packages are only half installed, due to problems during
installation. The installation can probably be completed by retrying it;
the packages can be removed using dselect or dpkg --remove:
linux-
linux-
linux-
linux-
sudo apt-get install --reinstall dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
linux-
0 upgraded, 0 newly installed, 1 reinstalled, 4 to remove and 2 not upgraded.
4 not fully installed or removed.
Need to get 68.3 kB of archives.
After this operation, 629 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://
Fetched 68.3 kB in 0s (157 kB/s)
(Reading database ... 264116 files and directories currently installed.)
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
linux-
linux-
linux-
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Revision history for this message
|
#3 |
sudo dpkg --remove linux-image-
[sudo] password for dysonsphere:
(Reading database ... 264116 files and directories currently installed.)
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
dpkg: warning: ignoring request to remove linux which isn't installed
dpkg: warning: ignoring request to remove kernel which isn't installed
dpkg: warning: ignoring request to remove extra which isn't installed
dpkg: warning: ignoring request to remove modules which isn't installed
dpkg: warning: ignoring request to remove for which isn't installed
dpkg: warning: ignoring request to remove version which isn't installed
dpkg: warning: ignoring request to remove 4.1 which isn't installed
Revision history for this message
|
#4 |
Try
sudo dpkg --install /var/cache/
and report the results.
Revision history for this message
|
#5 |
sudo dpkg --install /var/cache/
(Reading database ... 264117 files and directories currently installed.)
Preparing to unpack .../dkms_
Unpacking dkms (2.3-3ubuntu3) over (2.3-3ubuntu3) ...
Setting up dkms (2.3-3ubuntu3) ...
Processing triggers for man-db (2.7.6.1-2) ...
sudo dpkg --configure -a
sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
linux-
0 upgraded, 0 newly installed, 4 to remove and 2 not upgraded.
4 not fully installed or removed.
After this operation, 629 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 264116 files and directories currently installed.)
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
linux-
linux-
linux-
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Revision history for this message
|
#6 |
ok, my first guess (related to a missing dkms.conf file from the dkms package) apparently was wrong.
Let me re-start by requesting some diagnostic information about your system.
Please provide the output of the following commands:
uname -a
lsb_release -crid
df -h
dpkg -l | grep ' linux-i'
sudo updatedb
locate dkms.conf
ls -l /etc/dkms/
ls -l /usr/src/
Remark: The contents of your /boot directory are very strange.
The files initrd.
Revision history for this message
|
#7 |
thanks for taking the time and interest in helping me out.
here is the additional output:
dysonsphere@
Linux dyson-G751JY 4.10.0-42-generic #46-Ubuntu SMP Mon Dec 4 14:38:01 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
dysonsphere@
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
dysonsphere@
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 11M 3.2G 1% /run
/dev/sdb2 462G 107G 333G 25% /
tmpfs 16G 44M 16G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda1 932G 418G 515G 45% /mnt/20C24398C2
tmpfs 3.2G 20K 3.2G 1% /run/user/127
tmpfs 3.2G 68K 3.2G 1% /run/user/1000
dysonsphere@
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
ii linux-image-
ii linux-image-
ic linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rH linux-image-
iH linux-image-
iH linux-image-
ii linux-image-
ii linux-image-
iH linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
dysonsphere@
[sudo] password for dysonsphere:
dysonsphere@
/etc/modprobe.
/usr/src/
/var/lib/
dysonsphere@
total 12
-rw-r--r-- 1 root root 906 Aug 31 2016 framework.conf
drwxr-xr-x 3 root root 4096 Jan 8 07:11 template-
drwxr-xr-x 3 root root 4096 Jan 8 07:11 template-dkms-mkdeb
lrwxrwxrwx 1 root root 19 Apr 13 2017 template-dkms-mkdsc -> template-dkms-mkdeb
dysonsphere@
total 20
drwxr-xr-x 27 root root 4096 Nov 21 16:30 linux-headers-
drwxr-xr-x 7 root root 4096 Nov 21 16:30 linux-headers-
drwxr-xr-x 27 root root 4096 Dec 9 06:55 linux-headers-
drwxr-xr-x 7 root root 4096 Dec 9 06:55 linux-headers-
drwxr-xr-x 8 root root 4096 Dec 30 10:02 nvidia-384-384.90
Revision history for this message
|
#8 |
Please provide also the output of
ls -l /var/lib/dkms/
Revision history for this message
|
#9 |
And the output of another command
dkms status
please.
Revision history for this message
|
#10 |
dysonsphere@
total 12
drwxr-xr-x 3 root root 4096 Dec 12 06:59 bbswitch
-rw-r--r-- 1 root root 6 Aug 31 2016 dkms_dbversion
drwxr-xr-x 3 root root 4096 Jan 3 18:56 nvidia-384
dysonsphere@
bbswitch, 0.8: added
nvidia-384, 384.90, 4.10.0-42-generic, x86_64: installed
Revision history for this message
|
#11 |
I am not really sure why and where the dkms scripts fail. Maybe trying to execute them directly helps finding out the cause.
What output do you get for:
bash -x /etc/kernel/
Revision history for this message
|
#12 |
dysonsphere@
[sudo] password for dysonsphere:
+ inst_kern=
++ uname -s
+ uname_s=Linux
+ case "${uname_s}" in
+ header_
+ kernel=Linux
+ '[' -x /usr/lib/
+ exec /usr/lib/
Error! Could not locate dkms.conf file.
File: does not exist.
Revision history for this message
|
#13 |
ok, and now please tell us what you receive for:
sudo bash -x /usr/lib/
sudo bash -x dkms autoinstall --kernelver 4.10.0-35-generic
Remark:
There seems to be something wrong with your dkms installation. The fact that dkms steps are executed whenever kernel packages are installed or uninstalled, the failures with dkms currently prevent package management.
A different option for repair could be the following:
Completely uninstall dkms, then try to get the package management back into a consistent status, end then re-install dkms and all packages that use it (nvidia, bbswitch, kernels).
Revision history for this message
|
#14 |
dysonsphere@
[sudo] password for dysonsphere:
+ '[' -f /lib/lsb/
+ . /lib/lsb/
+++ run-parts --lsbsysinit --list /lib/lsb/
++ for hook in $(run-parts --lsbsysinit --list /lib/lsb/
++ '[' -r /lib/lsb/
++ . /lib/lsb/
+++ unset UPSTART_SESSION
+++ _RC_SCRIPT=
+++ '[' -r /etc/init/
+++ _UPSTART_
+++ '[' -r /etc/init/
++ for hook in $(run-parts --lsbsysinit --list /lib/lsb/
++ '[' -r /lib/lsb/
++ . /lib/lsb/
++ for hook in $(run-parts --lsbsysinit --list /lib/lsb/
++ '[' -r /lib/lsb/
++ . /lib/lsb/
+++ _use_systemctl=0
+++ '[' -d /run/systemd/system ']'
+++ prog=dkms_
+++ service=
++++ systemctl -p LoadState --value show dkms_autoinstal
+++ state=not-found
+++ '[' not-found = masked ']'
+++ '[' 3747 -ne 1 ']'
+++ '[' -z '' ']'
+++ case $(readlink -f "$0") in
++++ readlink -f /usr/lib/
+++ '[' 0 = 1 ']'
++ for hook in $(run-parts --lsbsysinit --list /lib/lsb/
++ '[' -r /lib/lsb/
++ . /lib/lsb/
+++ LOG_DAEMON_MSG=
++ for hook in $(run-parts --lsbsysinit --list /lib/lsb/
++ '[' -r /lib/lsb/
++ . /lib/lsb/
+++ plymouth --ping
+++ return
++ FANCYTTY=
++ '[' -e /etc/lsb-
++ true
+ '[' '!' -f /etc/debian_version ']'
+ exec=/usr/sbin/dkms
+ prog=dkms
+ test -f /usr/sbin/dkms
+ '[' -e /etc/sysconfig/dkms ']'
+ case "$1" in
+ '[' -n 4.10.0-35-generic ']'
+ kernel=
+ log_daemon_msg 'dkms: running auto installation service for kernel 4.10.0-35-generic'
+ '[' -z 'dkms: running auto installation service for kernel 4.10.0-35-generic' ']'
+ log_use_
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' -t 1 ']'
+ '[' xxterm-256color '!=' x ']'
+ '[' xxterm-256color '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z ']'
+ FANCYTTY=1
+ case "$FANCYTTY" in
+ true
+ /usr/bin/tput xenl
++ /usr/bin/tput cols
+ COLS=80
+ '[' 80 ']'
+ '[' 80 -gt 6 ']'
++ /usr/bin/expr 80 - 7
+ COL=73
+ log_use_plymouth
+ '[' n = y ']'
+ plymouth --ping
+ printf ' * dkms: running auto installation service for kernel 4.10.0-35-generic '
* dkms: running auto installation service for kernel 4.10.0-35-generic ++ /usr/bin/expr 80 - 1
+ /usr/bin/tput hpa 79
+ dkms autoinstall --kernelver 4.10.0-35-generic
Error! Could not locate dkms.conf file.
File: does not exist.
+ log_end_msg 4
+ '[' -z 4 ']'
+ '[' 73 ']'
+ '[' -x /usr/bin/tput ']'
+ log_use_plymouth
+ '[' n = y ']'
+ plymouth --ping
+ printf '\r'
+ /usr/bin/tput hpa 73
+ printf '['
[+ /usr/bin/tput setaf 1
+ printf fail
fail+ /usr/bin/tput op
+ echo ']'
]
+ return 4
Revision history for this message
|
#15 |
++ unset modules_
++ for var in $dkms_conf_
++ unset MODULES_
++ for var in $dkms_conf_
++ unset modules_
++ for var in $dkms_conf_
++ unset STRIP
++ for var in $dkms_conf_
++ unset strip
++ for var in $dkms_conf_
++ unset MODULES_
++ for var in $dkms_conf_
++ unset modules_
++ for var in $dkms_conf_
++ unset AUTOINSTALL
++ for var in $dkms_conf_
++ unset NO_WEAK_MODULES
++ local _conf_file
++ for _conf_file in "$read_conf_file" "/etc/dkms/
++ '[' -e /var/lib/
++ safe_source /var/lib/
++ local to_source_
++ shift
++ export_envs=("$@")
++ declare -a -r export_envs
dysonsphere@
+++ local t
++++ mktemp
+++ t=/tmp/
+++ echo /tmp/tmp.IpArSPi1na
+++ return
++ local tmpfile=
++ exec
++ . /var/lib/
+++ PACKAGE_
+++ PACKAGE_
+++ CLEAN='make clean'
+++ BUILT_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
++++ nproc
+++ PROCS_NUM=8
+++ '[' 8 -gt 16 ']'
+++ MAKE[0]
+++ BUILT_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ BUILT_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ AUTOINSTALL=yes
+++ PATCH[0]
+++ BUILT_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!CLEAN[@]}'
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'CLEAN[0]="make' 'clean"'
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!REMAKE_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!remake_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PACKAGE_
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'PACKAGE_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PACKAGE_
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'PACKAGE_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!POST_ADD[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!POST_BUILD[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!POST_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!POST_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PRE_BUILD[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PRE_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!BUILD_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!BUILD_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!BUILD_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!build_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!OBSOLETE_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MAKE[@]}'
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'MAKE[0]
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MAKE_MATCH[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MODULES_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!modules_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PATCH[@]}'
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'PATCH[
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PATCH_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!patch_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!BUILT_
++++ echo 0 1 2 3
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'BUILT_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'BUILT_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'BUILT_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'BUILT_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!built_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!BUILT_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!built_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!DEST_
++++ echo 0 1 2 3
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!dest_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MODULES_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!DEST_
++++ echo 0 1 2 3
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!dest_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!modules_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MODULES_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!modules_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!STRIP[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!strip[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MODULES_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!modules_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!AUTOINSTALL
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'AUTOINSTALL[
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!NO_
++++ echo
+++ set
+++ grep '^DKMS_DIRECTIVE'
+++ cut -d = -f 2-3
++ . /tmp/tmp.IpArSPi1na
+++ CLEAN[0]='make clean'
+++ PACKAGE_
+++ PACKAGE_
+++ MAKE[0]
+++ PATCH[0]
+++ BUILT_MODULE_
+++ BUILT_MODULE_
+++ BUILT_MODULE_
+++ BUILT_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ AUTOINSTALL[0]=yes
++ rm /tmp/tmp.IpArSPi1na
++ for _conf_file in "$read_conf_file" "/etc/dkms/
++ '[' -e /etc/dkms/.conf ']'
++ for _conf_file in "$read_conf_file" "/etc/dkms/
++ '[' -e /etc/dkms/-.conf ']'
++ for _conf_file in "$read_conf_file" "/etc/dkms/
++ '[' -e /etc/dkms/
++ for _conf_file in "$read_conf_file" "/etc/dkms/
++ '[' -e /etc/dkms/
++ clean='make clean'
++ package_
++ package_
++ post_add=
++ post_build=
++ post_install=
++ post_remove=
++ pre_build=
++ pre_install=
++ obsolete_by=
++ local index array_size=0 s
++ for s in ${#BUILT_
++ (( s > array_size ))
++ array_size=4
++ for s in ${#BUILT_
++ (( s > array_size ))
++ for s in ${#BUILT_
++ (( s > array_size ))
++ for s in ${#BUILT_
++ (( s > array_size ))
++ (( index=0 ))
++ (( index < array_size ))
++ built_module_
++ built_module_
++ dest_module_
++ dest_module_
++ modules_
++ modules_
++ case ${MODULES_
++ case ${STRIP[$index]} in
++ strip[$index]=yes
++ [[ ! -n nvidia ]]
++ [[ ! -n nvidia_384 ]]
++ [[ -n '' ]]
++ [[ ! -n nvidia ]]
++ case ${built_
++ case ${dest_
+++ override_
+++ local orig_location=
+++ [[ -n '' ]]
+++ '[' Linux = GNU/kFreeBSD ']'
+++ case "$running_
+++ echo /updates/dkms
+++ return
++ dest_module_
++ [[ ! -n /kernel/
++ case ${DEST_
++ (( index++ ))
++ (( index < array_size ))
++ built_module_
++ built_module_
++ dest_module_
++ dest_module_
++ modules_
++ modules_
++ case ${MODULES_
++ case ${STRIP[$index]} in
++ strip[$index]=yes
++ [[ ! -n nvidia-modeset ]]
++ [[ ! -n nvidia_384_modeset ]]
++ [[ -n '' ]]
++ [[ ! -n nvidia-modeset ]]
++ case ${built_
++ case ${dest_
+++ override_
+++ local orig_location=
+++ [[ -n '' ]]
+++ '[' Linux = GNU/kFreeBSD ']'
+++ case "$running_
+++ echo /updates/dkms
+++ return
++ dest_module_
++ [[ ! -n /kernel/
++ case ${DEST_
++ (( index++ ))
++ (( index < array_size ))
++ built_module_
++ built_module_
++ dest_module_
++ dest_module_
++ modules_
++ modules_
++ case ${MODULES_
++ case ${STRIP[$index]} in
++ strip[$index]=yes
++ [[ ! -n nvidia-drm ]]
++ [[ ! -n nvidia_384_drm ]]
++ [[ -n '' ]]
++ [[ ! -n nvidia-drm ]]
++ case ${built_
++ case ${dest_
+++ override_
+++ local orig_location=
+++ [[ -n '' ]]
+++ '[' Linux = GNU/kFreeBSD ']'
+++ case "$running_
+++ echo /updates/dkms
+++ return
++ dest_module_
++ [[ ! -n /kernel/
++ case ${DEST_
++ (( index++ ))
++ (( index < array_size ))
++ built_module_
++ built_module_
++ dest_module_
++ dest_module_
++ modules_
++ modules_
++ case ${MODULES_
++ case ${STRIP[$index]} in
++ strip[$index]=yes
++ [[ ! -n nvidia-uvm ]]
++ [[ ! -n nvidia_384_uvm ]]
++ [[ -n '' ]]
++ [[ ! -n nvidia-uvm ]]
++ case ${built_
++ case ${dest_
+++ override_
+++ local orig_location=
+++ [[ -n '' ]]
+++ '[' Linux = GNU/kFreeBSD ']'
+++ case "$running_
+++ echo /updates/dkms
+++ return
++ dest_module_
++ [[ ! -n /kernel/
++ case ${DEST_
++ (( index++ ))
++ (( index < array_size ))
++ [[ -n '' ]]
++ make_command=
++ (( index=0 ))
++ (( index < 1 ))
++ [[ -n 'make' -j8 NV_EXCLUDE_
++ [[ -n '' ]]
++ (( index++ ))
++ (( index < 1 ))
+++ VER 4.10.0-42-generic
+++ echo 4.10.0-42-generic
+++ sed -e 's:\([^
+++ VER 2.6.6
+++ echo 2.6.6
+++ sed -e 's:\([^
++ [[ 004.010.
++ [[ ! -n 'make' -j8 NV_EXCLUDE_
++ [[ ! -n make clean ]]
++ (( index=0 ))
++ (( index < 0 ))
++ count=0
++ (( index=0 ))
++ (( index < 1 ))
++ [[ -n buildfix_
++ [[ ! -n '' ]]
++ patch_array[
++ count=1
++ (( index++ ))
++ (( index < 1 ))
++ [[ '' =~ ^(Y|y) ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ (( 4 == 0 ))
++ [[ ! -n nvidia-384 ]]
++ [[ ! -n 384.90 ]]
++ [[ -n make clean ]]
++ (( return_value == 0 ))
++ last_mvka=
+++ readlink -f /var/lib/
++ last_mvka_
++ return 0
++ return
++ for m in "${dest_
++ [[ -f /var/lib/
++ for m in "${dest_
++ [[ -f /var/lib/
++ for m in "${dest_
++ [[ -f /var/lib/
++ for m in "${dest_
++ [[ -f /var/lib/
++ ret=0
++ state=built
++ _is_module_
++ [[ -n nvidia-384 ]]
++ [[ -n 384.90 ]]
++ [[ -n 4.10.0-42-generic ]]
++ [[ -n x86_64 ]]
++ local d=/var/
++ local k=/var/
++ [[ -L /var/lib/
+++ readlink -f /var/lib/
++ [[ /var/lib/
++ state=installed
++ echo 'installed nvidia-
Revision history for this message
|
#16 |
sudo bash -x dkms autoinstall --kernelver 4.10.0-35-generic
[sudo] password for dysonsphere:
+ shopt -s extglob
+ readonly 'dkms_conf_
PACKAGE_VERSION POST_ADD POST_BUILD POST_INSTALL POST_REMOVE PRE_BUILD
PRE_INSTALL BUILD_DEPENDS BUILD_EXCLUSIVE
build_exclude OBSOLETE_BY MAKE MAKE_MATCH MODULES_CONF
modules_
built_
DEST_MODULE_NAME dest_module_name MODULES_
DEST_
modules_
modules_
modules_
+ dkms_conf_
PACKAGE_VERSION POST_ADD POST_BUILD POST_INSTALL POST_REMOVE PRE_BUILD
PRE_INSTALL BUILD_DEPENDS BUILD_EXCLUSIVE
build_exclude OBSOLETE_BY MAKE MAKE_MATCH MODULES_CONF
modules_
built_
DEST_MODULE_NAME dest_module_name MODULES_
DEST_
modules_
modules_
modules_
+ readonly 'y_re=^(Y|y)'
+ y_re='^(Y|y)'
+ readonly 'mv_re=
+ mv_re='
+ readonly 'rh_kernels=
+ rh_kernels=
+ PATH=/bin:
+ umask 022
+ unset CC CXX CFLAGS CXXFLAGS LDFLAGS
++ uname -r
+ current_
++ uname -s
+ current_os=Linux
+ dkms_tree=
+ source_
+ install_
+ tmp_location=/tmp
+ verbose=
+ symlink_modules=
+ dkms_frameworkc
+ [[ ! -n '' ]]
+ [[ -e /etc/sysconfig/
+ addon_modules_dir=
+ [[ ! -n '' ]]
++ distro_version
++ local LSB_DESCRIPTION DISTRIB_ID DISTRIB_RELEASE ver
++ '[' -r /etc/lsb-release ']'
++ . /etc/lsb-release
+++ DISTRIB_ID=Ubuntu
+++ DISTRIB_
+++ DISTRIB_
+++ DISTRIB_
++ case ${DISTRIB_ID} in
++ [[ -n Ubuntu ]]
++ [[ -n 17.10 ]]
++ echo Ubuntu17.10
+ running_
+ weak_modules=
+ '[' -e /etc/dkms/
+ . /etc/dkms/
+ module=
+ module_version=
+ template_kernel=
+ distro=
+ media=
+ release=
+ conf=
+ kernel_config=
+ archive_location=
+ kernel_source_dir=
+ ksourcedir_fromcli=
+ action=
+ force=
+ no_prepare_kernel=
+ no_clean_kernel=
+ binaries_only=
+ source_only=
+ all=
+ module_suffix=
+ rpm_safe_upgrade=
+ size=1440
+ specfile=
+ legacy_postinst=1
+ directive_array=()
+ kernelver=()
+ arch=()
+ declare -a directive_array kernelver arch
+ weak_modules=
+ last_mvka=
+ last_mvka_conf=
+ try_source_tree=
+ die_is_fatal=yes
+ '[' -x /sbin/weak-modules ']'
+ '[' -x /usr/lib/
+ no_depmod=
+ action_
+ (( 3 > 0 ))
+ case $1 in
+ [[ autoinstall =~ ^(remove|
+ action=' autoinstall'
+ shift
+ (( 2 > 0 ))
+ case $1 in
+ read_arg _ka --kernelver 4.10.0-35-generic
+ local 'rematch=
+ [[ --kernelver =~ ^[^=]*=(.*)$ ]]
+ read _ka
+ return 1
+ shift
+ parse_kernelarch 4.10.0-35-generic
+ [[ 4.10.0-35-generic =~ ^([^/]*)/(.*)$ ]]
+ kernelver[
+ shift
+ (( 0 > 0 ))
+ [[ -n '' ]]
+ (( 1 != 0 && 0 > 1 ))
+ [[ -n 4.10.0-35-generic ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
++ get_num_cpus
++ '[' -x /usr/bin/nproc ']'
++ nproc
+ parallel_jobs=8
+ [[ 8 = 0 ]]
+ '[' -z ' autoinstall' ']'
+ for action_to_run in $action
+ setup_kernels_
+ [[ -n '' ]]
+ [[ autoinstall != status ]]
+ [[ ! -n 4.10.0-35-generic ]]
+ [[ ! -n '' ]]
++ rpm -qf /lib/modules/
++ grep -v 'not owned by any package'
++ grep kernel
++ head -n 1
+ kernelver_rpm=
++ rpm -q --queryformat '%{ARCH}' ''
+ arch[0]=
++ uname -m
+ arch[0]=x86_64
+ [[ x86_64 = x86_64 ]]
+ grep -q Intel /proc/cpuinfo
+ ls /lib/modules/
+ grep -q ia32e
+ (( 1 == 1 && 1 > 1 ))
+ multi_arch=
+ local i=0
+ (( i=0 ))
+ (( 0 < 1 ))
+ [[ x86_64 != x86_64 ]]
+ (( i++ ))
+ (( 1 < 1 ))
+ case "$action_to_run" in
+ check_root
+ (( UID == 0 ))
+ return
+ autoinstall
+ local status mv mvka m v k a last_v last_m tenative
+ local install_count next_depends
+ to_install=()
+ local -a to_install
+ next_install=()
+ local -a next_install
+ installed_
+ local -a installed_modules
+ build_depends=()
+ local -A build_depends
+ read status mvka
++ module_status
++ local 'oifs=
' IFS= mv m v directory ret=1
++ for directory in "$dkms_
++ IFS='
'
++ mv=bbswitch/0.8
++ m=bbswitch
++ v=0.8
++ is_module_added bbswitch 0.8
++ [[ -n bbswitch ]]
++ [[ -n 0.8 ]]
++ [[ -d /var/lib/
++ [[ -L /var/lib/
++ ret=0
++ module_status_built bbswitch 0.8 '' ''
++ local ret=1 directory ka k a state 'oifs=
' IFS=
++ for directory in "$dkms_
++ IFS='
'
++ ka=4.4.
++ k=4.4.0-79-generic
++ a=x86_64
++ is_module_built bbswitch 0.8 4.4.0-79-generic x86_64
++ [[ -n bbswitch ]]
++ [[ -n 0.8 ]]
++ [[ -n 4.4.0-79-generic ]]
++ [[ -n x86_64 ]]
++ local d=/var/
++ [[ -d /var/lib/
++ return 1
++ continue
++ IFS='
'
++ return 1
++ echo 'added bbswitch/0.8'
++ IFS=
++ for directory in "$dkms_
++ IFS='
'
++ mv=nvidia-
+ IFS=/
+ read m v k a
++ m=nvidia-384
++ v=384.90
++ is_module_added nvidia-384 384.90
++ [[ -n nvidia-384 ]]
++ [[ -n 384.90 ]]
++ [[ -d /var/lib/
++ [[ -L /var/lib/
++ ret=0
++ module_status_built nvidia-384 384.90 '' ''
++ local ret=1 directory ka k a state 'oifs=
+ [[ ! -n '' ]]
' IFS=
+ last_m=bbswitch
+ [[ bbswitch != bbswitch ]]
+ _is_module_
+ [[ -n bbswitch ]]
+ [[ -n 0.8 ]]
+ [[ -n 4.10.0-35-generic ]]
+ [[ -n x86_64 ]]
+ local d=/var/
+ local k=/var/
+ [[ -L /var/lib/
+ module_status_weak bbswitch 0.8 4.10.0-35-generic x86_64
++ for directory in "$dkms_
++ IFS='
'
+ '[' -z '' ']'
++ ka=4.10.
+ [[ -n '' ]]
+ return 1
++ k=4.10.0-42-generic
++ a=x86_64
+ read_conf_or_die '' '' /var/lib/
++ is_module_built nvidia-384 384.90 4.10.0-42-generic x86_64
+ read_conf '' '' /var/lib/
++ [[ -n nvidia-384 ]]
++ [[ -n 384.90 ]]
++ [[ -n 4.10.0-42-generic ]]
++ [[ -n x86_64 ]]
++ local d=/var/
++ [[ -d /var/lib/
++ read_conf_or_die 4.10.0-42-generic x86_64 /var/lib/
+ local return_value=0
+ local read_conf_
++ read_conf 4.10.0-42-generic x86_64 /var/lib/
+ local kernelver=
+ local arch=
+ set_kernel_
++ local return_value=0
++ local read_conf_
++ local kernelver=
++ local arch=x86_64
++ set_kernel_
++ _get_kernel_dir ''
++ KVER=
++ case ${current_os} in
++ DIR=/lib/
++ '[' '!' -z '' ']'
++ echo /lib/modules//build
+++ _get_kernel_dir 4.10.0-42-generic
+++ KVER=4.
+++ case ${current_os} in
+++ DIR=/lib/
+++ '[' '!' -z '' ']'
+++ echo /lib/modules/
+ kernel_
+ [[ -n '' ]]
+ [[ -n /var/lib/
+ read_conf_
+ [[ -r /var/lib/
+ die 4 'Could not locate dkms.conf file.' 'File: does not exist.'
+ ret=4
+ shift
++ kernel_
+ error 'Could not locate dkms.conf file.' 'File: does not exist.'
++ [[ -n '' ]]
++ [[ -n /var/lib/
++ read_conf_
++ [[ -r /var/lib/
++ [[ '' = //4.10.
++ for var in $dkms_conf_
++ unset CLEAN
+ exec
++ for var in $dkms_conf_
++ unset REMAKE_INITRD
++ for var in $dkms_conf_
+ echo -n 'Error! '
++ unset remake_initrd
++ for var in $dkms_conf_
Error! ++ unset PACKAGE_NAME
+ for s in "$@"
++ for var in $dkms_conf_
+ echo 'Could not locate dkms.conf file.'
Could not locate dkms.conf file.
++ unset PACKAGE_VERSION
+ for s in "$@"
+ echo 'File: does not exist.'
File: does not exist.
++ for var in $dkms_conf_
++ unset POST_ADD
++ for var in $dkms_conf_
++ unset POST_BUILD
++ for var in $dkms_conf_
++ unset POST_INSTALL
++ for var in $dkms_conf_
++ unset POST_REMOVE
++ for var in $dkms_conf_
++ unset PRE_BUILD
++ for var in $dkms_conf_
++ unset PRE_INSTALL
++ for var in $dkms_conf_
++ unset BUILD_DEPENDS
++ for var in $dkms_conf_
++ unset BUILD_EXCLUSIVE
+ [[ yes = yes ]]
++ for var in $dkms_conf_
+ exit 4
++ unset BUILD_EXCLUSIVE
++ for var in $dkms_conf_
++ unset build_exclude
++ for var in $dkms_conf_
++ unset OBSOLETE_BY
++ for var in $dkms_conf_
++ unset MAKE
++ for var in $dkms_conf_
++ unset MAKE_MATCH
++ for var in $dkms_conf_
++ unset MODULES_CONF
++ for var in $dkms_conf_
++ unset modules_conf_array
++ for var in $dkms_conf_
++ unset PATCH
++ for var in $dkms_conf_
++ unset PATCH_MATCH
++ for var in $dkms_conf_
++ unset patch_array
++ for var in $dkms_conf_
++ unset BUILT_MODULE_NAME
++ for var in $dkms_conf_
++ unset built_module_name
++ for var in $dkms_conf_
++ unset BUILT_MODULE_
++ for var in $dkms_conf_
++ unset built_module_
++ for var in $dkms_conf_
++ unset DEST_MODULE_NAME
++ for var in $dkms_conf_
++ unset dest_module_name
++ for var in $dkms_conf_
++ unset MODULES_
++ for var in $dkms_conf_
++ unset DEST_MODULE_
++ for var in $dkms_conf_
++ unset dest_module_
++ for var in $dkms_conf_
++ unset modules_
++ for var in $dkms_conf_
++ unset MODULES_
++ for var in $dkms_conf_
++ unset modules_
++ for var in $dkms_conf_
++ unset STRIP
++ for var in $dkms_conf_
++ unset strip
++ for var in $dkms_conf_
++ unset MODULES_
++ for var in $dkms_conf_
++ unset modules_
++ for var in $dkms_conf_
++ unset AUTOINSTALL
++ for var in $dkms_conf_
++ unset NO_WEAK_MODULES
++ local _conf_file
++ for _conf_file in "$read_conf_file" "/etc/dkms/
++ '[' -e /var/lib/
++ safe_source /var/lib/
++ local to_source_
++ shift
++ export_envs=("$@")
dysonsphere@
+++ mktemp_or_die
+++ local t
++++ mktemp
+++ t=/tmp/
+++ echo /tmp/tmp.iprjzrMDEM
+++ return
++ local tmpfile=
++ exec
++ . /var/lib/
+++ PACKAGE_
+++ PACKAGE_
+++ CLEAN='make clean'
+++ BUILT_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
++++ nproc
+++ PROCS_NUM=8
+++ '[' 8 -gt 16 ']'
+++ MAKE[0]
+++ BUILT_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ BUILT_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ AUTOINSTALL=yes
+++ PATCH[0]
+++ BUILT_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!CLEAN[@]}'
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'CLEAN[0]="make' 'clean"'
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!REMAKE_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!remake_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PACKAGE_
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'PACKAGE_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PACKAGE_
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'PACKAGE_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!POST_ADD[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!POST_BUILD[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!POST_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!POST_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PRE_BUILD[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PRE_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!BUILD_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!BUILD_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!BUILD_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!build_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!OBSOLETE_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MAKE[@]}'
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'MAKE[0]
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MAKE_MATCH[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MODULES_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!modules_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PATCH[@]}'
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'PATCH[
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!PATCH_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!patch_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!BUILT_
++++ echo 0 1 2 3
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'BUILT_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'BUILT_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'BUILT_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'BUILT_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!built_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!BUILT_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!built_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!DEST_
++++ echo 0 1 2 3
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!dest_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MODULES_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!DEST_
++++ echo 0 1 2 3
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'DEST_MODULE_
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!dest_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!modules_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MODULES_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!modules_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!STRIP[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!strip[@]}'
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!MODULES_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!modules_
++++ echo
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!AUTOINSTALL
++++ echo 0
++ for _i in $(eval echo \${!$_export_
++ eval echo '$_export_
+++ echo 'AUTOINSTALL[
++ for _export_env in "${export_envs[@]}"
+++ eval echo '${!NO_
++++ echo
+++ set
+++ grep '^DKMS_DIRECTIVE'
+++ cut -d = -f 2-3
++ . /tmp/tmp.iprjzrMDEM
+++ CLEAN[0]='make clean'
+++ PACKAGE_
+++ PACKAGE_
+++ MAKE[0]
+++ PATCH[0]
+++ BUILT_MODULE_
+++ BUILT_MODULE_
+++ BUILT_MODULE_
+++ BUILT_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ DEST_MODULE_
+++ AUTOINSTALL[0]=yes
++ rm /tmp/tmp.iprjzrMDEM
++ for _conf_file in "$read_conf_file" "/etc/dkms/
++ '[' -e /etc/dkms/.conf ']'
++ for _conf_file in "$read_conf_file" "/etc/dkms/
++ '[' -e /etc/dkms/-.conf ']'
++ for _conf_file in "$read_conf_file" "/etc/dkms/
++ '[' -e /etc/dkms/
++ for _conf_file in "$read_conf_file" "/etc/dkms/
++ '[' -e /etc/dkms/
++ clean='make clean'
++ package_
++ package_
++ post_add=
++ post_build=
++ post_install=
++ post_remove=
++ pre_build=
++ pre_install=
++ obsolete_by=
++ local index array_size=0 s
++ for s in ${#BUILT_
++ (( s > array_size ))
++ array_size=4
++ for s in ${#BUILT_
++ (( s > array_size ))
++ for s in ${#BUILT_
++ (( s > array_size ))
++ for s in ${#BUILT_
++ (( s > array_size ))
++ (( index=0 ))
++ (( index < array_size ))
++ built_module_
++ built_module_
++ dest_module_
++ dest_module_
++ modules_
++ modules_
++ case ${MODULES_
++ case ${STRIP[$index]} in
++ strip[$index]=yes
++ [[ ! -n nvidia ]]
++ [[ ! -n nvidia_384 ]]
++ [[ -n '' ]]
++ [[ ! -n nvidia ]]
++ case ${built_
++ case ${dest_
+++ override_
+++ local orig_location=
+++ [[ -n '' ]]
+++ '[' Linux = GNU/kFreeBSD ']'
+++ case "$running_
+++ echo /updates/dkms
+++ return
++ dest_module_
++ [[ ! -n /kernel/
++ case ${DEST_
++ (( index++ ))
++ (( index < array_size ))
++ built_module_
++ built_module_
++ dest_module_
++ dest_module_
++ modules_
++ modules_
++ case ${MODULES_
++ case ${STRIP[$index]} in
++ strip[$index]=yes
++ [[ ! -n nvidia-modeset ]]
++ [[ ! -n nvidia_384_modeset ]]
++ [[ -n '' ]]
++ [[ ! -n nvidia-modeset ]]
++ case ${built_
++ case ${dest_
+++ override_
+++ local orig_location=
+++ [[ -n '' ]]
+++ '[' Linux = GNU/kFreeBSD ']'
+++ case "$running_
+++ echo /updates/dkms
+++ return
++ dest_module_
++ [[ ! -n /kernel/
++ case ${DEST_
++ (( index++ ))
++ (( index < array_size ))
++ built_module_
++ built_module_
++ dest_module_
++ dest_module_
++ modules_
++ modules_
++ case ${MODULES_
++ case ${STRIP[$index]} in
++ strip[$index]=yes
++ [[ ! -n nvidia-drm ]]
++ [[ ! -n nvidia_384_drm ]]
++ [[ -n '' ]]
++ [[ ! -n nvidia-drm ]]
++ case ${built_
++ case ${dest_
+++ override_
+++ local orig_location=
+++ [[ -n '' ]]
+++ '[' Linux = GNU/kFreeBSD ']'
+++ case "$running_
+++ echo /updates/dkms
+++ return
++ dest_module_
++ [[ ! -n /kernel/
++ case ${DEST_
++ (( index++ ))
++ (( index < array_size ))
++ built_module_
++ built_module_
++ dest_module_
++ dest_module_
++ modules_
++ modules_
++ case ${MODULES_
++ case ${STRIP[$index]} in
++ strip[$index]=yes
++ [[ ! -n nvidia-uvm ]]
++ [[ ! -n nvidia_384_uvm ]]
++ [[ -n '' ]]
++ [[ ! -n nvidia-uvm ]]
++ case ${built_
++ case ${dest_
+++ override_
+++ local orig_location=
+++ [[ -n '' ]]
+++ '[' Linux = GNU/kFreeBSD ']'
+++ case "$running_
+++ echo /updates/dkms
+++ return
++ dest_module_
++ [[ ! -n /kernel/
++ case ${DEST_
++ (( index++ ))
++ (( index < array_size ))
++ [[ -n '' ]]
++ make_command=
++ (( index=0 ))
++ (( index < 1 ))
++ [[ -n 'make' -j8 NV_EXCLUDE_
++ [[ -n '' ]]
++ (( index++ ))
++ (( index < 1 ))
+++ VER 4.10.0-42-generic
+++ echo 4.10.0-42-generic
+++ sed -e 's:\([^
+++ VER 2.6.6
+++ echo 2.6.6
+++ sed -e 's:\([^
++ [[ 004.010.
++ [[ ! -n 'make' -j8 NV_EXCLUDE_
++ [[ ! -n make clean ]]
++ (( index=0 ))
++ (( index < 0 ))
++ count=0
++ (( index=0 ))
++ (( index < 1 ))
++ [[ -n buildfix_
++ [[ ! -n '' ]]
++ patch_array[
++ count=1
++ (( index++ ))
++ (( index < 1 ))
++ [[ '' =~ ^(Y|y) ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ (( 4 == 0 ))
++ [[ ! -n nvidia-384 ]]
++ [[ ! -n 384.90 ]]
++ [[ -n make clean ]]
++ (( return_value == 0 ))
++ last_mvka=
+++ readlink -f /var/lib/
++ last_mvka_
++ return 0
++ return
++ for m in "${dest_
++ [[ -f /var/lib/
++ for m in "${dest_
++ [[ -f /var/lib/
++ for m in "${dest_
++ [[ -f /var/lib/
++ for m in "${dest_
++ [[ -f /var/lib/
++ ret=0
++ state=built
++ _is_module_
++ [[ -n nvidia-384 ]]
++ [[ -n 384.90 ]]
++ [[ -n 4.10.0-42-generic ]]
++ [[ -n x86_64 ]]
++ local d=/var/
++ local k=/var/
++ [[ -L /var/lib/
+++ readlink -f /var/lib/
++ [[ /var/lib/
++ state=installed
++ echo 'installed nvidia-
Revision history for this message
|
#17 |
if I read your output correctly, then the culprit with the missing dkms.conf file is bbswitch.
What is the output of
ls -l /var/lib/
Revision history for this message
|
#18 |
looks like this is in fact the culprit.
thanks.
any way to fix?
dysonsphere@
total 4
drwxr-xr-x 3 root root 4096 Dec 12 06:59 0.8
dysonsphere@
total 4
drwxr-xr-x 3 root root 4096 Jun 10 2017 4.4.0-79-generic
lrwxrwxrwx 1 root root 21 Oct 5 2016 source -> /usr/src/
dysonsphere@
total 4
drwxr-xr-x 2 root root 4096 Jun 10 2017 x86_64
dysonsphere@
total 0
dysonsphere@
ls: cannot access '/usr/src/
Revision history for this message
|
#19 |
Try
sudo apt-get install --reinstall bbswitch-dkms
and if that fails, as a next step try
sudo dpkg --install /var/cache/
and report the results.
Revision history for this message
|
#20 |
dysonsphere@
[sudo] password for dysonsphere:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
bumblebee
The following packages will be REMOVED:
linux-
linux-
The following NEW packages will be installed:
bbswitch-dkms
0 upgraded, 1 newly installed, 4 to remove and 17 not upgraded.
4 not fully installed or removed.
Need to get 11.6 kB of archives.
After this operation, 629 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://
Fetched 11.6 kB in 0s (49.2 kB/s)
(Reading database ... 264116 files and directories currently installed.)
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Removing linux-image-
depmod: FATAL: could not load /boot/System.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
linux-
linux-
linux-
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
dysonsphere@
Selecting previously unselected package bbswitch-dkms.
(Reading database ... 264117 files and directories currently installed.)
Preparing to unpack .../bbswitch-
Unpacking bbswitch-dkms (0.8-4ubuntu1) ...
Setting up bbswitch-dkms (0.8-4ubuntu1) ...
Removing old bbswitch-0.8 DKMS files...
Loading new bbswitch-0.8 DKMS files...
Error! DKMS tree already contains: bbswitch-0.8
You cannot add the same module/version combo more than once.
dpkg: error processing package bbswitch-dkms (--install):
subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
bbswitch-dkms
Revision history for this message
|
#21 |
Try
sudo dpkg --purge bbswitch-dkms
sudo dpkg --install /var/cache/
Revision history for this message
|
#22 |
thanks for your continued help. still not quite there though.
dysonsphere@
[sudo] password for dysonsphere:
(Reading database ... 264124 files and directories currently installed.)
Removing bbswitch-dkms (0.8-4ubuntu1) ...
dysonsphere@
Selecting previously unselected package bbswitch-dkms.
(Reading database ... 264117 files and directories currently installed.)
Preparing to unpack .../bbswitch-
Unpacking bbswitch-dkms (0.8-4ubuntu1) ...
Setting up bbswitch-dkms (0.8-4ubuntu1) ...
Removing old bbswitch-0.8 DKMS files...
Loading new bbswitch-0.8 DKMS files...
Error! DKMS tree already contains: bbswitch-0.8
You cannot add the same module/version combo more than once.
dpkg: error processing package bbswitch-dkms (--install):
subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
bbswitch-dkms
Revision history for this message
|
#23 |
ok, not yet...
sudo dpkg --purge bbswitch-dkms
dkms status
If this shows ... bbswitch ... then issue
sudo dkms remove bbswitch/0.8
an re-try
sudo dpkg --install /var/cache/
Revision history for this message
|
#24 |
shoot...i get an ...bbswitch... after the first command
then get an error when issuing the remove command.
dysonsphere@
[sudo] password for dysonsphere:
(Reading database ... 264124 files and directories currently installed.)
Removing bbswitch-dkms (0.8-4ubuntu1) ...
dysonsphere@
bbswitch, 0.8: added
nvidia-384, 384.90, 4.10.0-42-generic, x86_64: installed
dysonsphere@
Error! Invalid number of parameters passed.
Usage: remove <module>
or: remove <module>
Revision history for this message
|
#25 |
Try
sudo dkms remove bbswitch/0.8 -all
Revision history for this message
|
#26 |
dysonsphere@
[sudo] password for dysonsphere:
Error! Unknown option: -all
Usage: /usr/sbin/dkms [action] [options]
[action] = { add | remove | build | install | uninstall | match | autoinstall
| mkdriverdisk | mktarball | ldtarball | mkrpm | mkkmp | mkdeb | mkbmdeb | status }
[options] = [-m module] [-v module-version] [-k kernel-version] [-a arch]
[-d distro] [-c dkms.conf-location] [-q] [--force] [--all]
[-j number]
dysonsphere@
dysonsphere@
(Reading database ... 264134 files and directories currently installed.)
Preparing to unpack .../bbswitch-
Unpacking bbswitch-dkms (0.8-4ubuntu1) over (0.8-4ubuntu1) ...
Setting up bbswitch-dkms (0.8-4ubuntu1) ...
Removing old bbswitch-0.8 DKMS files...
Loading new bbswitch-0.8 DKMS files...
Error! DKMS tree already contains: bbswitch-0.8
You cannot add the same module/version combo more than once.
dpkg: error processing package bbswitch-dkms (--install):
subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
bbswitch-dkms
Revision history for this message
|
#27 |
What do you get for
sudo dkms remove bbswitch/0.8 -all
sudo dkms status
ls -l /var/lib/dkms/
Revision history for this message
|
#28 |
oops, again the typo error with the missing double dash character
sudo dkms remove bbswitch/0.8 --all
sudo dkms status
ls -l /var/lib/dkms/
Revision history for this message
|
#29 |
dysonsphere@
[sudo] password for dysonsphere:
dysonsphere@
bbswitch, 0.8: added
nvidia-384, 384.90, 4.10.0-42-generic, x86_64: installed
dysonsphere@
total 12
drwxr-xr-x 3 root root 4096 Dec 12 06:59 bbswitch
-rw-r--r-- 1 root root 6 Aug 31 2016 dkms_dbversion
drwxr-xr-x 3 root root 4096 Jan 3 18:56 nvidia-384
Revision history for this message
|
#30 |
It seems that this needs a manual clean-up
sudo rm -r /var/lib/
dkms status
If this does not show bbswitch any more, then a new installation of that package should finally work
sudo dpkg --install /var/cache/
Revision history for this message
|
#31 |
ok that seems to have done the trick!
here is the output from those commands and then apt-get update.
should i just run the software updater now to get all packages up to date, or is there a better way to do that give the circumstances?
dysonsphere@
[sudo] password for dysonsphere:
dysonsphere@
nvidia-384, 384.90, 4.10.0-42-generic, x86_64: installed
dysonsphere@
(Reading database ... 264138 files and directories currently installed.)
Preparing to unpack .../bbswitch-
Unpacking bbswitch-dkms (0.8-4ubuntu1) over (0.8-4ubuntu1) ...
Setting up bbswitch-dkms (0.8-4ubuntu1) ...
Loading new bbswitch-0.8 DKMS files...
Building for 4.10.0-42-generic
Building initial module for 4.10.0-42-generic
Done.
bbswitch:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod...
DKMS: install completed.
dysonsphere@
Hit:1 http://
Get:2 http://
Hit:3 http://
Hit:4 http://
Get:5 http://
Hit:6 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Hit:7 https:/
Fetched 433 kB in 1s (388 kB/s)
Reading package lists... Done
Revision history for this message
|
#32 |
running the updater shows a number of updates ready, so looks good.
Just weary of clicking update lest I break something again.
thanks so much for all your patience.
Revision history for this message
|
#33 |
I am happy to read that the problem that has blocked updating seems solved.
This has also taught me some tricks how to cope with a broken dkms system.
Sooner or later you will have to accept the challenge and install the available updates (also with respect to spectre and meltdown vulnerabilities).
Before you do that you can execute some checks with the commands
sudo dpkg --audit
sudo dpkg --configure -a
apt list --upgradeable
Revision history for this message
|
#34 |
FIXED!!!!!
Thank you so much for sticking with me on this.
Revision history for this message
|
#35 |
Thanks Manfred Hampl, that solved my question.
Revision history for this message
|
#36 |
ugh. i spoke too soon.
the update ran, and gave the message that the computer was now up to date.
i tried to open the settings app to set the login to automatic, but the app would not open.
i restarted the computer, and now it will not reboot.
i get greeted with a black screen with scrolling text that blacks out almost instantaneously, then flashes text again, blacks out, and this just cycles for ever.
it looks like the screen that appears just before booting, with the green "OK"s at the start of each line.
i am seriously considering starting up with a live disk, backing up my data, if i can reach the secondary drive in the live disk session, and doing a fresh install of the last LTS.
but if you have any idea how to save this installation I will try your suggestions first.
thanks again for all your patience.
Revision history for this message
|
#37 |
Try selecting on older kernel from the grub menu ("advanced" option).
Revision history for this message
|
#38 |
OK. I will try that when I get home tonight.
All the best.
Revision history for this message
|
#39 |
I cannot get into grub to select the kernel.
Holding shift at startup does nothing, goes right back to that flashing text on black screen.
Sent from Blue
On Jan 15, 2018, 07:13, at 07:13, Manfred Hampl <email address hidden> wrote:
>Your question #662683 on Ubuntu changed:
>https:/
>
> Status: Open => Answered
>
>Manfred Hampl proposed the following answer:
>Try selecting on older kernel from the grub menu ("advanced" option).
>
>--
>If this answers your question, please go to the following page to let
>us
>know that it is solved:
>https:/
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https:/
>
>You received this question notification because you asked the question.
Revision history for this message
|
#40 |
Ok
So it loads to grub screen if I repeatedly mash the shift key.
There I am given the choice of:
4.10.0-42
4.10.0-40
Both generic and both with a corresponding recovery mode.
Starting with 4.10.0-40 results in the same issue as starting normally.
I did 4.10.0-42 recovery mode.
Ran dpkg.
Reported that there are 6 packages to upgrade.
Failed to fetch. Could not resolve ca.archive.
Aborting
Restoring original system state
Enable networking doesn't seem to do anything
Failsafe graphics mode gives a blinking cursor.
I can get to the root shell.
Sent from Blue
On Jan 15, 2018, 07:13, at 07:13, Manfred Hampl <email address hidden> wrote:
>Your question #662683 on Ubuntu changed:
>https:/
>
> Status: Open => Answered
>
>Manfred Hampl proposed the following answer:
>Try selecting on older kernel from the grub menu ("advanced" option).
>
>--
>If this answers your question, please go to the following page to let
>us
>know that it is solved:
>https:/
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https:/
>
>You received this question notification because you asked the question.
Revision history for this message
|
#41 |
This is weird. I do not have any explanation for this.
As long as there is no indication which program fails, it is almost impossible to correct the problem.
Do you have a possibility to connect the system to a wired network? This might enable internet access also in recovery mode.
Revision history for this message
|
#42 |
Very weird indeed.
I have a suspicion that it has to do with the Nvidia driver, but cannot
confirm.
I was connected to a wired network, and still could not get access to
the internet.
I checked ifconfig in root recovery mode and only had the loopback
connection.
I think I will resign to try to backup my data in a live session and do
a fresh install of the os.
Would you recommend I roll back to the 16.04 LTS. My understanding is
that it might play better with my Nvidia graphics card. I do like the
gnome desktop better than unity, though. Is it better to go with the
regular Ubuntu 16.04 and install gnome shell in that, go with Ubuntu
Gnome 16.04, or just jump back into trying Ubuntu 17.10? I understand
these questions are unrelated to the original issue, so I can look
elsewhere to figure that out if you are not comfortable answering this.
Again thanks for all your patience in helping me with this.
On 2018-01-16 2:28 AM, Manfred Hampl wrote:
> Your question #662683 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> This is weird. I do not have any explanation for this.
> As long as there is no indication which program fails, it is almost impossible to correct the problem.
>
> Do you have a possibility to connect the system to a wired network? This
> might enable internet access also in recovery mode.
>
Revision history for this message
|
#43 |
Doing a new installation might really be the best solution. In any case it is strongly recommended to create backup copies of your files to another medium, and a live system should enable you doing that (the release of the live system does not really matter).
There are pros and cons for 16.04 vs. 17.10; 16.04 is more stable, 17.10 has some newer additions, etc.
It is more a matter of personal preference, and the same is true for the desktop environment to be installed.
There is one thing that you could try before starting any new installation attempt: uninstall the bbswitch-dkms package.
Revision history for this message
|
#44 |
Thanks again.
I will try to uninstall bbswitch-dkms when i get home tonight.
I will update and close the question, one way or another, after trying that.
All the best,
Ken
On 2018-01-16 7:37 AM, Manfred Hampl wrote:
> Your question #662683 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Doing a new installation might really be the best solution. In any case
> it is strongly recommended to create backup copies of your files to
> another medium, and a live system should enable you doing that (the
> release of the live system does not really matter).
>
> There are pros and cons for 16.04 vs. 17.10; 16.04 is more stable, 17.10 has some newer additions, etc.
> It is more a matter of personal preference, and the same is true for the desktop environment to be installed.
>
> There is one thing that you could try before starting any new
> installation attempt: uninstall the bbswitch-dkms package.
>
Revision history for this message
|
#45 |
FIXED!!!!!!
in the root recovery mode terminal i had to remount the file system as r/w with:
$ mount -o remount,rw /
then purged bbswitch
this didn't fix it, so...
again in root recovery:
i checked my nvidia packages with:
$ dpkg -l | grep -i nvidia
and uninstalled the nvidia driver that was listed with:
$ apt-get remove nvidia-384
i then restarted the machine and was finally greeted with the login!
once in ubuntu i opened the software-
rebooted and now about shows that i am using my GeForce GTX 980M
thanks so much for not giving up on this!
all the best,
Ken