我会说我在 Ubuntu 的菜鸟和平庸之间。我目前正在运行 16.04,并且我已经遇到了大约一周的问题,更新永无止境。最终,我重新启动并且在解决此问题之前无法进行任何安装/更新。
两者都dpkg --configure -a
导致apt-get install -f
在正常更新窗口中发生的相同事情。更具体地说,最后一行:
gord0@gord0-P65-P67SG:/var/lib/dpkg/updates$ 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-headers-4.4.0-31 linux-headers-4.4.0-31-generic
linux-image-4.4.0-31-generic linux-image-extra-4.4.0-31-generic
python-compizconfig
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
42 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up google-chrome-stable (55.0.2883.75-1) ...
Setting up imagemagick-common (8:6.8.9.9-7ubuntu5.3) ...
Setting up libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.3) ...
Setting up libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.3) ...
Setting up update-notifier-common (3.168.2) ...
flashplugin-installer: processing...
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20161108.1.orig.tar.gz
Get:1 http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20161108.1.orig.tar.gz [27.2 MB]
Fetched 27.2 MB in 11s (2,462 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20161108.1.orig.tar.gz' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Installing from local file /var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20161108.1.orig.tar.gz
Flash Plugin installed.
Setting up libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Setting up libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Setting up libisc160:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Setting up libdns162:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Setting up libisccc140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Setting up libisccfg140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Setting up libbind9-140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Setting up liblwres141:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Setting up bind9-host (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Setting up dnsutils (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Setting up firefox (50.0.2+build1-0ubuntu0.16.04.1) ...
Please restart all running instances of firefox, or you will experience problems.
Setting up firefox-locale-en (50.0.2+build1-0ubuntu0.16.04.1) ...
Setting up libgs9-common (9.18~dfsg~0-0ubuntu2.2) ...
Setting up libgs9:amd64 (9.18~dfsg~0-0ubuntu2.2) ...
Setting up ghostscript (9.18~dfsg~0-0ubuntu2.2) ...
Setting up ghostscript-x (9.18~dfsg~0-0ubuntu2.2) ...
Setting up imagemagick-6.q16 (8:6.8.9.9-7ubuntu5.3) ...
Setting up imagemagick (8:6.8.9.9-7ubuntu5.3) ...
Setting up libmagickcore-6.q16-2-extra:amd64 (8:6.8.9.9-7ubuntu5.3) ...
Setting up linux-image-4.4.0-51-generic (4.4.0-51.72) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-51-generic
vmlinuz(/boot/vmlinuz-4.4.0-51-generic) points to /boot/vmlinuz-4.4.0-51-generic (/boot/vmlinuz-4.4.0-51-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-51-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-51-generic /boot/vmlinuz-4.4.0-51-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-51-generic /boot/vmlinuz-4.4.0-51-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-51-generic /boot/vmlinuz-4.4.0-51-generic
它永远停留在:/
我只希望安装此更新并退出我的生活,哈哈!任何帮助是极大的赞赏。:]
编辑:结果dkms status
是:
bbswitch, 0.8, 4.4.0-47-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-51-generic, x86_64: installed
nvidia-375, 375.20, 4.4.0-47-generic, x86_64: installed
编辑:结果ls -al /usr/src
是:
共 40 个 drwxr-xr-x 10 根根 4096 Nov 30 11:22 。 drwxr-xr-x 12 根根 4096 Nov 21 15:03 .. drwxr-xr-x 2 root root 4096 Nov 21 15:04 bbswitch-0.8 drwxr-xr-x 27 根根 4096 7 月 19 日 17:47 linux-headers-4.4.0-31 drwxr-xr-x 7 root root 4096 Jul 19 17:47 linux-headers-4.4.0-31-generic drwxr-xr-x 27 root root 4096 Nov 21 14:37 linux-headers-4.4.0-47 drwxr-xr-x 7 root root 4096 Nov 21 14:37 linux-headers-4.4.0-47-generic drwxr-xr-x 27 root root 4096 Nov 30 11:22 linux-headers-4.4.0-51 drwxr-xr-x 7 root root 4096 Nov 30 11:22 linux-headers-4.4.0-51-generic drwxr-xr-x 8 根根 4096 Nov 21 15:29 nvidia-375-375.20
编辑:输出为ls /boot
:
abi-4.4.0-31-generic memtest86+.bin abi-4.4.0-47-generic memtest86+.elf abi-4.4.0-51-generic memtest86+_multiboot.bin config-4.4.0-31-generic System.map-4.4.0-31-generic config-4.4.0-47-generic System.map-4.4.0-47-generic config-4.4.0-51-generic System.map-4.4.0-51-generic efi vmlinuz-4.4.0-31-generic grub vmlinuz-4.4.0-47-generic initrd.img-4.4.0-31-generic vmlinuz-4.4.0-47-generic.efi.signed initrd.img-4.4.0-47-generic vmlinuz-4.4.0-51-generic
编辑:来自sudo make
in的输出/usr/src/nvidia375-375.20
:
制作“CC=cc”KBUILD_VERBOSE=-C /lib/modules/4.4.0-51-generic/build M=/usr/src/nvidia-375-375.20 ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.0- 51-generic/build NV_KERNEL_OUTPUT=/lib/modules/4.4.0-51-generic/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video modules make[1]: 进入目录'/usr/src/linux-headers-4.4.0-51-generic' 会议:INIT_WORK 竞赛:remap_pfn_range 竞赛:follow_pfn 比赛:vmap 竞赛:set_pages_uc 会议:set_memory_uc 竞赛:set_memory_array_uc 会议:change_page_attr 竞赛:pci_get_class CONFTEST:pci_choose_state 竞赛:vm_insert_page CONFTEST:acpi_device_id CONFTEST:acquire_console_sem 会议:console_lock 竞赛:kmem_cache_create 会议:on_each_cpu 会议:smp_call_function 竞赛:acpi_evaluate_integer 竞赛:ioremap_cache 竞赛:ioremap_wc 竞赛:acpi_walk_namespace 竞赛:pci_domain_nr 竞赛:pci_dma_mapping_error 会议:sg_alloc_table CONFTEST:sg_init_table 竞赛:pci_get_domain_bus_and_slot CONFTEST:get_num_physpages 会议:efi_enabled 会议:proc_create_data 竞赛:pde_data 会议:proc_remove 竞赛:pm_vt_switch_required CONFTEST:drm_driver_has_set_busid 竞赛:drm_driver_has_gem_prime_res_obj 竞赛:xen_ioemu_inject_msi 竞赛:phys_to_dma 竞赛:get_dma_ops 会议:write_cr4 CONFTEST:of_parse_phandle 竞赛:for_each_online_node 会议:node_end_pfn CONFTEST:pci_bus_address 竞赛:pci_stop_and_remove_bus_device CONFTEST:pci_remove_bus_device CONFTEST:request_thread_irq 竞赛:remap_page_range CONFTEST:address_space_init_once 竞赛:kbasename CONFTEST:fatal_signal_pending CONFTEST:list_cut_position 比赛:vzalloc CONFTEST:wait_on_bit_lock_argument_count CONFTEST:bitmap_clear 会议:usleep_range CONFTEST: radix_tree_empty 会议:drm_dev_unref CONFTEST:drm_reinit_primary_mode_group 竞赛:drm_atomic_set_mode_for_crtc 竞赛:drm_atomic_clean_old_fb 竞赛:get_user_pages_remote 竞赛:drm_gem_object_lookup 竞赛:i2c_adapter 会议:pm_message_t 会议:irq_handler_t 竞赛:acpi_device_ops 竞赛:acpi_op_remove CONFTEST:outer_flush_all CONFTEST:proc_dir_entry CONFTEST:散点图 会议:sg_table 会议:file_operations CONFTEST:vm_operations_struct CONFTEST:atomic_long_type 会议:pci_save_state 会议:file_inode 会议:task_struct 竞赛:kuid_t 竞赛:dma_ops 竞赛:dma_map_ops CONFTEST:noncoherent_swiotlb_dma_ops CONFTEST:故障标志 竞赛:atomic64_type CONFTEST:地址空间 CONFTEST:backing_dev_info CONFTEST:kernel_write 比赛:strnstr CONFTEST:迭代目录 比赛:kstrtoull 会议:mm_context_t 会议:drm_bus_present 竞赛:drm_bus_has_bus_type 竞赛:drm_bus_has_get_irq 竞赛:drm_bus_has_get_name 竞赛:drm_driver_has_legacy_dev_list CONFTEST:drm_crtc_state_has_connectors_changed 竞赛:drm_init_functions_have_name_arg 竞赛:drm_mode_connector_list_update_has_merge_type_bits_arg 竞赛:drm_helper_mode_fill_fb_struct_has_const_mode_cmd_arg 竞赛:drm_master_drop_has_from_release_arg 竞赛:drm_mode_config_funcs_has_atomic_state_alloc 会议:dom0_kernel_present 竞赛:nvidia_vgpu_kvm_build 会议:drm_available 竞赛:nvidia_grid_build 竞赛:drm_atomic_available 竞赛:drm_atomic_modeset_nonblocking_commit_available CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-frontend.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-instance.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-acpi.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-chrdev.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-cray.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-dma.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-gvi.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-i2c.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-mempool.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-mmap.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-p2p.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-pat.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-procfs.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-usermap.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-vm.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-vtophys.o CC [M] /usr/src/nvidia-375-375.20/nvidia/os-interface.o CC [M] /usr/src/nvidia-375-375.20/nvidia/os-mlock.o CC [M] /usr/src/nvidia-375-375.20/nvidia/os-pci.o CC [M] /usr/src/nvidia-375-375.20/nvidia/os-registry.o CC [M] /usr/src/nvidia-375-375.20/nvidia/os-usermap.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-modeset-interface.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-pci-table.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-kthread-qo CC [M] /usr/src/nvidia-375-375.20/nvidia/nv-kthread-q-selftest.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nv_uvm_interface.o CC [M] /usr/src/nvidia-375-375.20/nvidia/ebridge_linux.o CC [M] /usr/src/nvidia-375-375.20/nvidia/ibmnpu_linux.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nvlink_linux.o CC [M] /usr/src/nvidia-375-375.20/nvidia/nvlink_pci.o SYMLINK /usr/src/nvidia-375-375.20/nvidia/nv-kernel.o LD [M] /usr/src/nvidia-375-375.20/nvidia.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_utils.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_common.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_linux.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_page_migration.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_page_migration_stubs.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_page_migration_kepler.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_page_migration_maxwell.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_page_migration_pascal.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_channel_mgmt.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/nvstatus.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/nv-kthread-qo CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/nv-kthread-q-selftest.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_common_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_channel_directed_tests.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_channel_basic_sanity_tests.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_kernel_events.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_kernel_counters.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_debug_session.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_gpu_ops_tests.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_lite.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_page_cache.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_lite_api.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_lite_prefetch.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_lite_region_tracking.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_mmu_mgmt_pascal.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_mmu_mgmt.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_mmu_mgmt_stubs.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_full_fault_buffer.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm_full_fault_buffer_pascal.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/mmu_fmt.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/gmmu_fmt.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_tools.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_global.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_gpu.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_procfs.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_va_space.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_gpu_semaphore.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_mem.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_rm_mem.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_channel.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_lock.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_hal.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_range_tree.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_range_allocator.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_va_range.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_va_block.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_range_group.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_gpu_page_fault.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_perf_events.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_perf_module.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_mmu.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_pte_batch.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_tlb_batch.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_push.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_pushbuffer.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_thread_context.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_tracker.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_kepler.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_kepler_ce.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_kepler_host.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_kepler_mmu.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_maxwell.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_maxwell_host.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_pascal.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_pascal_ce.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_pascal_host.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_pascal_mmu.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_pascal_fault_buffer.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_policy.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_perf_utils.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_kvmalloc.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_pmm_gpu.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_migrate.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_map_external.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_user_channel.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_hmm.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_perf_heuristics.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_perf_thrashing.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_perf_prefetch.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_test_rng.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_range_tree_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_range_allocator_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_gpu_semaphore_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_mem_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_rm_mem_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_page_tree_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_tracker_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_push_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_channel_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_ce_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_lock_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_perf_utils_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_kvmalloc_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_pmm_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_perf_events_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_perf_module_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_get_rm_ptes_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_fault_buffer_flush_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_mmu_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_peer_identity_mappings_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_va_block_test.o CC [M] /usr/src/nvidia-375-375.20/nvidia-uvm/uvm8_range_group_tree_test.o LD [M] /usr/src/nvidia-375-375.20/nvidia-uvm.o CC [M] /usr/src/nvidia-375-375.20/nvidia-modeset/nvidia-modeset-linux.o SYMLINK /usr/src/nvidia-375-375.20/nvidia-modeset/nv-modeset-kernel.o LD [M] /usr/src/nvidia-375-375.20/nvidia-modeset.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-drv.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-utils.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-crtc.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-encoder.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-connector.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-gem.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-fb.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-modeset.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-mmap.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-fence.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nvidia-drm-linux.o CC [M] /usr/src/nvidia-375-375.20/nvidia-drm/nv-pci-table.o LD [M] /usr/src/nvidia-375-375.20/nvidia-drm.o ld -r -o /usr/src/nvidia-375-375.20/nvidia/nv-interface.o /usr/src/nvidia-375-375.20/nvidia/nv-frontend.o /usr/src/nvidia-375- 375.20/nvidia/nv-instance.o /usr/src/nvidia-375-375.20/nvidia/nv.o /usr/src/nvidia-375-375.20/nvidia/nv-acpi.o /usr/src/nvidia- 375-375.20/nvidia/nv-chrdev.o /usr/src/nvidia-375-375.20/nvidia/nv-cray.o /usr/src/nvidia-375-375.20/nvidia/nv-dma.o /usr/ src/nvidia-375-375.20/nvidia/nv-gvi.o /usr/src/nvidia-375-375.20/nvidia/nv-i2c.o /usr/src/nvidia-375-375.20/nvidia/nv-mempool。 o /usr/src/nvidia-375-375.20/nvidia/nv-mmap.o /usr/src/nvidia-375-375.20/nvidia/nv-p2p.o /usr/src/nvidia-375-375.20/nvidia/ nv-pat.o /usr/src/nvidia-375-375.20/nvidia/nv-procfs.o /usr/src/nvidia-375-375.20/nvidia/nv-usermap.o /usr/src/nvidia-375- 375.20/nvidia/nv-vm.o /usr/src/nvidia-375-375.20/nvidia/nv-vtophys.o /usr/src/nvidia-375-375。20/nvidia/os-interface.o /usr/src/nvidia-375-375.20/nvidia/os-mlock.o /usr/src/nvidia-375-375.20/nvidia/os-pci.o /usr/src/ nvidia-375-375.20/nvidia/os-registry.o /usr/src/nvidia-375-375.20/nvidia/os-usermap.o /usr/src/nvidia-375-375.20/nvidia/nv-modeset-interface。 o /usr/src/nvidia-375-375.20/nvidia/nv-pci-table.o /usr/src/nvidia-375-375.20/nvidia/nv-kthread-qo /usr/src/nvidia-375-375.20/ nvidia/nv-kthread-q-selftest.o /usr/src/nvidia-375-375.20/nvidia/nv_uvm_interface.o /usr/src/nvidia-375-375.20/nvidia/ebridge_linux.o /usr/src/nvidia- 375-375.20/nvidia/ibmnpu_linux.o /usr/src/nvidia-375-375.20/nvidia/nvlink_linux.o /usr/src/nvidia-375-375.20/nvidia/nvlink_pci.oo /usr/src/nvidia-375-375.20/nvidia/nv-modeset-interface.o /usr/src/nvidia-375-375.20/nvidia/nv-pci-table.o /usr/src/nvidia-375- 375.20/nvidia/nv-kthread-qo /usr/src/nvidia-375-375.20/nvidia/nv-kthread-q-selftest.o /usr/src/nvidia-375-375.20/nvidia/nv_uvm_interface.o /usr/ src/nvidia-375-375.20/nvidia/ebridge_linux.o /usr/src/nvidia-375-375.20/nvidia/ibmnpu_linux.o /usr/src/nvidia-375-375.20/nvidia/nvlink_linux.o /usr/src/ nvidia-375-375.20/nvidia/nvlink_pci.oo /usr/src/nvidia-375-375.20/nvidia/nv-modeset-interface.o /usr/src/nvidia-375-375.20/nvidia/nv-pci-table.o /usr/src/nvidia-375- 375.20/nvidia/nv-kthread-qo /usr/src/nvidia-375-375.20/nvidia/nv-kthread-q-selftest.o /usr/src/nvidia-375-375.20/nvidia/nv_uvm_interface.o /usr/ src/nvidia-375-375.20/nvidia/ebridge_linux.o /usr/src/nvidia-375-375.20/nvidia/ibmnpu_linux.o /usr/src/nvidia-375-375.20/nvidia/nvlink_linux.o /usr/src/ nvidia-375-375.20/nvidia/nvlink_pci.o20/nvidia/nvlink_linux.o /usr/src/nvidia-375-375.20/nvidia/nvlink_pci.o20/nvidia/nvlink_linux.o /usr/src/nvidia-375-375.20/nvidia/nvlink_pci.o ld -r -o /usr/src/nvidia-375-375.20/nvidia-modeset/nv-modeset-interface.o /usr/src/nvidia-375-375.20/nvidia-modeset/nvidia-modeset-linux.o 建筑模块,第 2 阶段。 MODPOST 4 个模块 CC /usr/src/nvidia-375-375.20/nvidia-drm.mod.o LD [M] /usr/src/nvidia-375-375.20/nvidia-drm.ko CC /usr/src/nvidia-375-375.20/nvidia-modeset.mod.o LD [M] /usr/src/nvidia-375-375.20/nvidia-modeset.ko CC /usr/src/nvidia-375-375.20/nvidia-uvm.mod.o LD [M] /usr/src/nvidia-375-375.20/nvidia-uvm.ko CC /usr/src/nvidia-375-375.20/nvidia.mod.o LD [M] /usr/src/nvidia-375-375.20/nvidia.ko make[1]: 离开目录'/usr/src/linux-headers-4.4.0-51-generic'
编辑:cat dkms.conf
上述目录中的输出是:
PACKAGE_NAME="nvidia-375" PACKAGE_VERSION="375.20" 清洁=“清洁” BUILT_MODULE_NAME[0]="nvidia" DEST_MODULE_NAME[0]="nvidia_375" DEST_MODULE_LOCATION[0]="/kernel/drivers/char/drm" MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=$kernel_source_dir LD=/usr/bin/ld.bfd 模块" BUILT_MODULE_NAME[1]="nvidia-modeset" DEST_MODULE_NAME[1]="nvidia_375_modeset" DEST_MODULE_LOCATION[1]="/kernel/drivers/char/drm" BUILT_MODULE_NAME[2]="nvidia-drm" DEST_MODULE_NAME[2]="nvidia_375_drm" DEST_MODULE_LOCATION[2]="/kernel/drivers/char/drm" 自动安装=“是” #PATCH[0]="buildfix_kernel_4.9.patch" #PATCH_MATCH[0]="^4.9" #PATCH[0]="buildfix_kernel_4.8.patch" #PATCH[0]="buildfix_kernel_4.6.patch" #PATCH_MATCH[0]="^4.[6-7]" #PATCH[0]="allow_sublevel_greater_than_5.patch" #PATCH_MATCH[0]="^3.[8-9]" #PATCH[1]="buildfix_kernel_3.10.patch" #PATCH_MATCH[1]="^3.[10-11]" #PATCH[0]="buildfix_kernel_3.18.patch" #PATCH[1]="注册-VT-switch-requirements.patch" BUILT_MODULE_NAME[3]="nvidia-uvm" DEST_MODULE_LOCATION[3]="/kernel/drivers/char/drm" DEST_MODULE_NAME[3]="nvidia_375_uvm" #PATCH[1]="buildfix_kernel_4.7_amd64_only.patch"
nvidia dkms 驱动程序构建失败,因此我们将手动尝试并帮助它。
第 1 步(成功)
我们将完全删除 nvidia dkms 驱动程序。
第 2 步(成功)
我们将尝试完成之前失败的更新。
从 Unity 仪表板运行软件更新程序。
如果在前 3 个命令中没有重新启动:
回来报告。
第 3 步(构建失败,正如我们认为的那样)
现在我们将添加/构建/安装 nvidia dkms 驱动程序。
第 4 步(成功)
make
(将其编辑到您的问题中)<pre>
文本的开头和文本</pre>
的末尾底线... nvidia 驱动程序不会
dkms build
在内核 4.4.0 上。问题可能出在 dkms.conf 文件上。用户需要联系 nvidia 以获得支持。也可以尝试从位于 .deb 文件中重新安装 nvidia/var/cache/apt/archives
。