chromeos linux開發環境缺少依賴

chromeos linux開發環境缺少依賴

我正在嘗試讓 rpi-imager 實用程式在 chromebook 上運行。我啟用了linux開發環境,從raspi網站下載了.deb套件文件,並嘗試使用apt安裝:

~$ sudo apt install ./imager_1.6.2_amd64.deb 
Note, selecting 'rpi-imager' instead of './imager_1.6.2_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 rpi-imager : Depends: libgcc-s1 (>= 3.0) but it is not installable
              Depends: libqt5core5a (>= 5.12.2) but 5.11.3+dfsg1-1+deb10u4 is to be installed
              Recommends: udisks2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

有沒有簡單的方法可以讓我將 libgcc 或 libqt 放入我的 chrome LDE 中來解決這些依賴關係?我嘗試在谷歌上搜尋要新增的 chromeos PPA,但沒有找到任何結果。

我熟悉油炸麵包塊,但我想避免僅僅為了成像 SD 卡而設置它。

答案1

我能夠libgcc-s1透過安裝 GCC-10.2.1 解決不相關安裝的缺失問題。雖然apt說它無法取得這些文件,但我可以從這個 gcc 儲存庫

可能有一種方法可以輕鬆使用該存儲庫,但我沒有這樣做,我手動下載並安裝了這兩個文件:

  • gcc-10-base_10.2.1-6+rpi1_armhf.deb
  • libgcc-s1_10.2.1-6+rpi1_armhf.deb

但您需要的其他軟體包似乎不存在。

不確定這是否比使用油炸麵包塊更簡單,或者它是否對其他包有幫助,但也許它對你來說已經完成了一半。

相關內容