Kubuntu 16.10 华硕 N750J
您好,这里是 repotyig 问题。我尝试更新....:
sudo apt-get update
[sudo] password for user:
Get:1 http: //security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Hit:2 http: //ppa.launchpad.net/atareao/telegram/ubuntu yakkety InRelease
Hit:3 http: //de.archive.ubuntu.com/ubuntu yakkety InRelease
Hit:4 http: //repository.spotify.com stable InRelease
Hit:5 http: //de.archive.ubuntu.com/ubuntu yakkety-updates InRelease
Hit:6 http: //ppa.launchpad.net/wine/wine-builds/ubuntu yakkety InRelease
Hit:7 http: //de.archive.ubuntu.com/ubuntu yakkety-proposed InRelease
Hit:8 http: //download.virtualbox.org/virtualbox/debian yakkety InRelease
Fetched 102 kB in 1s (66.7 kB/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
我尝试了一下...
sudo dpkg --configure -a
Setting up linux-headers-4.8.0-34-generic (4.8.0-34.36) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.8.0-34-generic /boot/vmlinuz-4.8.0-34-generic
当我这样做时,就会发生这种情况,并永远留在那里,我尝试关闭它并运行另一个命令,并且不会让我尝试另一个命令,我必须重新启动计算机,如果我尝试以更直观的方式执行此操作,例如......:
software-properties-gtk
(software-properties-gtk:3628): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Cannot set locale: unsupported locale setting
(software-properties-gtk:3628): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(software-properties-gtk:3628): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(software-properties-gtk:3628): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
(software-properties-gtk:3628): Gtk-WARNING **: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(software-properties-gtk:3628): Gtk-WARNING **: Theme directory aplets/64 of theme breeze-dark has no size field
(software-properties-gtk:3628): Gtk-WARNING **: Theme directory aplets/64 of theme breeze-dark has no size field
(software-properties-gtk:3628): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook
(software-properties-gtk:3628): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook
打开“软件和更新”首选项,当您配置并关闭它时,它会自动更新并显示一个窗口:
有关可用软件的信息已过时
要从新添加或更改的源安装软件和更新,您必须重新加载有关可用软件的信息。
您需要有效的互联网连接才能继续。
我单击重新加载并显示:
Setting up linux-headers-4.8.0-34-generic (4.8.0-34.36) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.8.0-34-generic /boot/vmlinuz-4.8.0-34-generic
然后再一次……永远呆在那里什么也不做
你们能告诉我一些可能的解决方案吗?我迷路了。
构建日志:/var/lib/dkms/nvidia-367/367.57/build/:
Kbuild文件:https://paste.ubuntu.com/23911754/
答案1
使用 dpkg -r nvidia-367 删除 Nvidia 驱动程序包(您必须选择其他驱动程序才能卸载)
使用 dpkg --configure -a 配置待处理的软件包
清除的软件包:如何才能彻底删除一个包?
更新和升级: sudo apt-get update 和 sudo apt-get upgrade