我一直是一个 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 <ftpmaster@ubuntu.com>
W: GPG error: htt://security.ubuntu.com precise-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: htt://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: htt://us.archive.ubuntu.com precise-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: htt://us.archive.ubuntu.com precise-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
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.
Run Code Online (Sandbox Code Playgroud)
其次,我对新操作系统有各种随机问题。我点击“Ubuntu 软件中心”,它打开然后崩溃,没有错误框:
“Ubuntu 遇到内部错误”
无法显示细节
Pet*_*ing 51
您的 BADSIG 问题很简单。你的签名不正确。更新它们:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
Run Code Online (Sandbox Code Playgroud)
请通过更改最后一个键号并保留其余键来对每个错误的键执行此操作。
重建您的软件缓存:
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
也许这也能解决您的软件中心问题。
PS:但是如果你在这里问 - 很多好人肯定会在这里帮助你,你会学到很多东西!但是请继续提供尽可能多的错误输出。
| 归档时间: |
|
| 查看次数: |
55247 次 |
| 最近记录: |