我一直都是使用 Windows 的,但是由于我最近对生物信息学感兴趣并且获得了微生物学学位,我发现我需要命令行和更高的计算能力。
我正在全面转换到 Ubuntu 12.04 LTS,说实话,我只需要帮助进行首次设置。我缺乏解决一些问题的命令行知识。
首先,我不断收到一些错误sudo apt-get update
Reading package lists... Error!
W: GPG error: http://us.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: htt://security.ubuntu.com precise-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: htt://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <[email protected]>
W: GPG error: htt://us.archive.ubuntu.com precise-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: htt://us.archive.ubuntu.com precise-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
其次,我在使用新操作系统时遇到了各种随机问题。我点击了“Ubuntu 软件中心”,它打开后崩溃了,没有出现错误框:
“Ubuntu 遇到内部错误”
无法显示详细信息
答案1
您的 BADSIG 问题很简单。您的签名不正确。请使用以下方法更新它们:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
请对每个错误的键都执行此操作,只需更改最后一个键号并保留其余键号。
重建软件缓存:
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update
也许这也能解决您的软件中心问题。
附言:但如果你在这里问——很多好心人肯定会在这里帮助你,你会学到很多东西!但请继续提供尽可能多的错误输出。