簡體   English   中英

在 Ubuntu 20.4 上找不到獲取

[英]Fetch not found on Ubuntu 20.4

我正在嘗試使用 breakpad,但卡在無法找到 fetch 的位置。我正在嘗試從 Ubuntu 存儲庫安裝 fetch,但 fetch 也不可用。

有什么建議么。

版本經銷商 ID:Ubuntu 說明:Ubuntu 20.04.2 LTS

administrator@ESC-UBUNTU:~$ cd $WORKINGDIR
administrator@ESC-UBUNTU:~$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
fatal: destination path 'depot_tools' already exists and is not an empty directory.
administrator@ESC-UBUNTU:~$ export PATH=$PATH:$WORKINGDIR/depot_tools
administrator@ESC-UBUNTU:~$ cd depot_tools
administrator@ESC-UBUNTU:~/depot_tools$ mkdir breakpad && cd breakpad
mkdir: cannot create directory ‘breakpad’: File exists
administrator@ESC-UBUNTU:~/depot_tools$ fetch breakpad

Command 'fetch' not found, did you mean:

  command 'sfetch' from deb biosquid (1.9g+cvs20050121-11)
  command 'afetch' from deb biosquid (1.9g+cvs20050121-11)
  command 'efetch' from deb acedb-other (4.9.39+dfsg.02-4build1)
  command 'efetch' from deb ncbi-entrez-direct (12.0.20190816+ds-1)
  command 'ifetch' from deb ifetch-tools (0.17.2-2)

Try: sudo apt install <deb name>

administrator@ESC-UBUNTU:~/depot_tools$ cd src
-bash: cd: src: No such file or directory
administrator@ESC-UBUNTU:~/depot_tools$ ./configure
-bash: ./configure: No such file or directory
administrator@ESC-UBUNTU:~/depot_tools$ make
make: *** No targets specified and no makefile found.  Stop.
administrator@ESC-UBUNTU:~/depot_tools$ cd

我的建議是$WORKINGDIR為空。 這就是cd $WORKINGDIR進入您的主目錄的原因,因為它與cd相同。

如果這個建議是正確的,這意味着你正在向你的PATH添加一個相對路徑,這是行不通的。 您需要在PATH中添加depot_tools的完整路徑。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM