在 live-CD 會話中,我嘗試雙擊桌面上的安裝按鈕來安裝 Lubuntu。此處,CD 開始運行,但隨後停止運行,並且沒有任何反應。
接下來,我重新啟動並再次嘗試直接從啟動選單畫面安裝 Lubuntu forcepae
。一段時間後,我收到以下錯誤訊息:
The installer encountered an unrecoverable error. A desktop session will now be run so that you may investigate the problem or try installing again.
點擊Enter
將我帶到桌面。我應該搜尋哪些錯誤?如何?
感謝您的一些提示!
在 Lubuntu 12.04 上:
uname -a
Linux humboldt 3.2.0-67-generic #101-Ubuntu SMP Tue Jul 15 17:45:51 UTC 2014 i686 i686 i386 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
upowerd 似乎掛起:
Aug 25 10:53:28 lubuntu kernel: [ 367.920272] INFO: task upowerd:3002 blocked for more than 120 seconds.
Aug 25 10:53:28 lubuntu kernel: [ 367.920288] Tainted: G S C 3.13.0-32-generic #57-Ubuntu
Aug 25 10:53:28 lubuntu kernel: [ 367.920294] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Aug 25 10:53:28 lubuntu kernel: [ 367.920300] upowerd D e21f9da0 0 3002 1 0x00000000
Aug 25 10:53:28 lubuntu kernel: [ 367.920314] e21f9dfc 00000086 f5ef7094 e21f9da0 c1050272 c1a8d540 c1920a00 00000000
Aug 25 10:53:28 lubuntu kernel: [ 367.920333] c1a8d540 c1920a00 d9e44da0 f5ef6540 c1129061 00000002 000001c1 0001c37b
Aug 25 10:53:28 lubuntu kernel: [ 367.920351] 00000000 00000002 00000000 e2276240 00000000 00000040 c12b0ec5 c19975a8
Aug 25 10:53:28 lubuntu kernel: [ 367.920368] Call Trace:
Aug 25 10:53:28 lubuntu kernel: [ 367.920389] [<c1050272>] ? kmap_atomic_prot+0x42/0x100
Aug 25 10:53:28 lubuntu kernel: [ 367.920404] [<c1129061>] ? get_page_from_freelist+0x2a1/0x600
Aug 25 10:53:28 lubuntu kernel: [ 367.920417] [<c12b0ec5>] ? process_measurement+0x65/0x240
Aug 25 10:53:28 lubuntu kernel: [ 367.920432] [<c1654c73>] schedule_preempt_disabled+0x23/0x60
Aug 25 10:53:28 lubuntu kernel: [ 367.920443] [<c16565bd>] __mutex_lock_slowpath+0x10d/0x171
Aug 25 10:53:28 lubuntu kernel: [ 367.920454] [<c1655aec>] mutex_lock+0x1c/0x28
Aug 25 10:53:28 lubuntu kernel: [ 367.920478] [<f857223a>] acpi_smbus_transaction+0x48/0x210 [sbshc]
Aug 25 10:53:28 lubuntu kernel: [ 367.920489] [<c11858e1>] ? do_last+0x1b1/0xf60
Aug 25 10:53:28 lubuntu kernel: [ 367.920504] [<f857242f>] acpi_smbus_read+0x2d/0x33 [sbshc]
Aug 25 10:53:28 lubuntu kernel: [ 367.920520] [<f881e0f1>] acpi_battery_get_state+0x74/0x8b [sbs]
Aug 25 10:53:28 lubuntu kernel: [ 367.920535] [<f881e8a9>] acpi_sbs_battery_get_property+0x2a/0x233 [sbs]
Aug 25 10:53:28 lubuntu kernel: [ 367.920549] [<c14fa61f>] power_supply_show_property+0x3f/0x240
Aug 25 10:53:28 lubuntu kernel: [ 367.920561] [<c114664f>] ? handle_mm_fault+0x64f/0x8d0
Aug 25 10:53:28 lubuntu kernel: [ 367.920573] [<c14fa5e0>] ? power_supply_store_property+0x60/0x60
Aug 25 10:53:28 lubuntu kernel: [ 367.920586] [<c1407d20>] ? dev_uevent_name+0x30/0x30
Aug 25 10:53:28 lubuntu kernel: [ 367.920597] [<c1407d38>] dev_attr_show+0x18/0x40
Aug 25 10:53:28 lubuntu kernel: [ 367.920608] [<c11dad15>] sysfs_seq_show+0xe5/0x1c0
Aug 25 10:53:28 lubuntu kernel: [ 367.920621] [<c119846e>] seq_read+0xce/0x370
Aug 25 10:53:28 lubuntu kernel: [ 367.920633] [<c11983a0>] ? seq_hlist_next_percpu+0x90/0x90
Aug 25 10:53:28 lubuntu kernel: [ 367.920644] [<c1179238>] vfs_read+0x78/0x140
Aug 25 10:53:28 lubuntu kernel: [ 367.920654] [<c11799a9>] SyS_read+0x49/0x90
Aug 25 10:53:28 lubuntu kernel: [ 367.920667] [<c165efcd>] sysenter_do_call+0x12/0x28
/var/log/installer/debug 顯示與 upower 相關的錯誤:
Ubiquity 2.18.8
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "overlay-scrollbar"
ERROR:dbus.proxies:Introspect error on :1.23:/org/freedesktop/UPower: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Exception in GTK frontend (invoking crash handler):
Traceback (most recent call last):
File "/usr/lib/ubiquity/bin/ubiquity", line 636, in <module>
main(oem_config)
File "/usr/lib/ubiquity/bin/ubiquity", line 622, in main
install(query=options.query)
File "/usr/lib/ubiquity/bin/ubiquity", line 260, in install
wizard = ui.Wizard(distro)
File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 290, in __init__
mod.ui = mod.ui_class(mod.controller)
File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 93, in __init__
upower.setup_power_watch(self.prepare_power_source)
File "/usr/lib/ubiquity/ubiquity/upower.py", line 21, in setup_power_watch
power_state_changed()
File "/usr/lib/ubiquity/ubiquity/upower.py", line 18, in power_state_changed
not misc.get_prop(upower, UPOWER_PATH, 'OnBattery'))
File "/usr/lib/ubiquity/ubiquity/misc.py", line 809, in get_prop
return obj.Get(iface, prop, dbus_interface=dbus.PROPERTIES_IFACE)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
答案1
這看起來像是一個錯誤,upowerd 由於某種原因掛起。 Ubuntu 論壇上有一個類似但未回覆的報告這裡和薄荷論壇這裡(建議的原因與報告電池狀態有關:“目前我的系統不會顯示充電狀態”)
我建議在 Launchpad 上報告該錯誤,也可能在upower 郵件列表。不過,這似乎是一個罕見的錯誤,因此除非您願意自己調試,否則可能沒有解決方案。
您也許可以透過sudo
root 來解決該問題,然後編輯/usr/lib/ubiquity/ubiquity/upower.py
has_battery 函數並將其變更為:
def has_battery():
return False
這應該會迫使 ubiquity 忽略電池電量並繼續安裝。
答案2
安裝與備用Lubuntu 14.04.1 的安裝程式且該forcepae
選項有效。
首先,問題似乎是硬碟分割區錯誤(兩個分割區之間有未分配的空間)。與普通安裝程式不同,備用安裝程式一開始並沒有失敗,因此可以手動要求安裝程式不要掛載現有分割區並使用整個磁碟用於 Lubuntu。
然而,現在又出現了兩個問題:新安裝的系統可能無法關閉(參見Lubuntu:關機和重新啟動都不起作用)且無法辨識 USB 記憶棒(與中相同的問題USB 已辨識但不可用?)。使用安裝 CD 作為 Live CD 時不會出現這兩個問題。
因此,我想再次嘗試「普通」安裝 CD,但它失敗了,並出現與之前相同的錯誤訊息:
The installer encountered an unrecoverable error. A desktop session will now be run so that you may investigate the problem or try installing again.
進入該桌面會話後,tail -n 800 -F /var/log/kern.log
列出以下內容(抱歉很長;我不知道什麼可能很重要):請參閱https://www.dropbox.com/s/uohd7vmq1ws9oep/Output.txt?dl=0
內容為/var/log/安裝程序從...