牛肉安装 'libgcc-9-dev' 不可用。我该怎么办?

Beef installation 'libgcc-9-dev' not available. What do i do about it?

注意,选择 'libreadline-dev' 而不是 'libreadline6-dev' 软件包 libgcc-9-dev 不可用,但被另一个软件包引用。 这可能意味着软件包丢失、已过时或 只能从其他来源获得

E: 包 'libgcc-9-dev' 没有安装候选项

Error:- package has no installation candidate

  1. 在终端中输入 (nano /etc/apt/sources.list) 删除其中的所有行

  2. 转到 (https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/)

  3. 复制下面提到的存储库
    将这些行复制并粘贴到源列表中

    {*deb http://http.kali.org/kali kali-rolling main non-free contrib*
    
    *deb http://http.kali.org/kali kali-last-snapshot main non-free contrib*
    
    *deb http://http.kali.org/kali kali-experimental main non-free contrib*
    
    *deb-src http://http.kali.org/kali kali-rolling main non-free contrib*} 
    
  4. 退出并保存按 (ctrl+x) 并按 Y 确认保存

  5. 在终端

    中输入apt update && apt upgrade

//希望有用//