
我目前使用 ubuntu server 20.04 部署我的系統,並根據此腳本新增套件https://gist.github.com/creatldd1/eec887f3f8a0bf48e0e9dec1598b8614rev
我的新硬體包括一個 intel I219-LM (rev11) 作為網路適配器,但不再偵測到該適配器。我可以透過建置並安裝一個套件來解決這個問題https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/安裝後,但是當我在安裝中嘗試這樣做時,我失敗了
2022-04-10 12:48:36,252 ERROR root:39 finish: subiquity/Late/run/command_10: FAIL: Command '['systemd-cat', '--level-prefix=false', '--identifier=subiquity_log.2288', 'sh', '-c', 'curtin in-target --target=/target -- dpkg -i --force-all /awrepo/gp/*.deb']' returned non-zero exit status 1.
2022-04-10 12:48:36,252 ERROR root:39 finish: subiquity/Late/run: FAIL: Command '['systemd-cat', '--level-prefix=false', '--identifier=subiquity_log.2288', 'sh', '-c', 'curtin in-target --target=/target -- dpkg -i --force-all /awrepo/gp/*.deb']' returned non-zero exit status 1.
2022-04-10 12:48:36,252 ERROR subiquity.server.server:414 top level error
Traceback (most recent call last):
File "/snap/subiquity/3119/lib/python3.8/site-packages/subiquity/server/controllers/cmdlist.py", line 106, in _run
await self.run()
File "/snap/subiquity/3119/lib/python3.8/site-packages/subiquitycore/context.py", line 148, in decorated_async
return await meth(self, **kw)
File "/snap/subiquity/3119/lib/python3.8/site-packages/subiquity/server/controllers/cmdlist.py", line 70, in run
await arun_command(
File "/snap/subiquity/3119/lib/python3.8/site-packages/subiquitycore/utils.py", line 85, in arun_command
raise subprocess.CalledProcessError(proc.returncode, cmd)
subprocess.CalledProcessError: Command '['systemd-cat', '--level-prefix=false', '--identifier=subiquity_log.2288', 'sh', '-c', 'curtin in-target --target=/target -- dpkg -i --force-all /awrepo/gp/*.deb']' returned non-zero exit status 1.
不確定那裡會發生什麼此外,該步驟還需要在伺服器安裝步驟中安裝 dkms 和 build-essentials
另外,這似乎有點過分了,那麼有沒有一種更簡單(甚至可能是官方)的方法來將驅動程式添加到安裝中?
編輯:我的第一篇文章不清楚,所以我使它更具體