เมื่อเร็ว ๆ นี้รีบูตไฟล์เซิร์ฟเวอร์ของฉันและพบว่ามันจะไม่บูต ขณะนี้ฉันอยู่ในโหมดการกู้คืนสำหรับเคอร์เนลก่อนหน้านี้3.13.0-62-generic
ใน 14.04
เมื่อฉันเรียกใช้sudo dpkg --configure -a
หรือsudo apt-get upgrade
หรือsudo apt-get install -f
ฉันได้รับข้อผิดพลาดต่อไปนี้:
austin@FSERV:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python-samba (2:4.1.6+dfsg-1ubuntu2.14.04.9) ...
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 563, in <module>
main()
File "/usr/lib/python2.7/site.py", line 545, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python2.7/site.py", line 237, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib/python2.7/sysconfig.py", line 578, in get_config_var
return get_config_vars().get(name)
File "/usr/lib/python2.7/sysconfig.py", line 524, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/usr/lib/python2.7/sysconfig.py", line 408, in _init_posix
from _sysconfigdata import build_time_vars
File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in <module>
from _sysconfigdata_nd import *
ImportError: No module named _sysconfigdata_nd
dpkg: error processing package python-samba (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of samba-common-bin:
samba-common-bin depends on python-samba; however:
Package python-samba is not configured yet.
dpkg: error processing package samba-common-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba:
samba depends on python-samba; however:
Package python-samba is not configured yet.
samba depends on samba-common-bin (= 2:4.1.6+dfsg-1ubuntu2.14.04.9); however:
Package samba-common-bin is not configured yet.
dpkg: error processing package samba (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of winbind:
winbind depends on samba (= 2:4.1.6+dfsg-1ubuntu2.14.04.9); however:
Package samba is not configured yet.
dpkg: error processing package winbind (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnss-winbind:amd64:
libnss-winbind:amd64 depends on winbind (= 2:4.1.6+dfsg-1ubuntu2.14.04.9); however:
Package winbind is not configured yet.
dpkg: error processing package libnss-winbind:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-winbind:amd64:
libpam-winbind:amd64 depends on winbind (= 2:4.1.6+dfsg-1ubuntu2.14.04.9); however:
Package winbind is not configured yet.
dpkg: error processing package libpam-winbind:amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-samba
samba-common-bin
samba
winbind
libnss-winbind:amd64
libpam-winbind:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
austin@FSERV:~$
ฉันวางแผนที่จะติดตั้งเคอร์เนลที่ทำให้บูตล้มเหลว แต่ทำไม่ได้เพราะข้อผิดพลาดของหลามนี้ ใครสามารถให้ข้อมูลเชิงลึกใด ๆ