小编Fra*_*res的帖子

为什么 apt-get 会自行中止,就好像我按下了“N”?

在 Ubuntu 14.04 上,当我尝试安装应用程序甚至只是执行以下操作时:

sudo apt-get upgrade
Run Code Online (Sandbox Code Playgroud)

我总是在最后得到这条消息:

Do you want to continue? [Y/n] Abort.
Run Code Online (Sandbox Code Playgroud)

我没有输入任何内容,它只是自动中止。

你们能帮帮我吗?

========[ 编辑 #1 8 月 12 日]======== 这里我复制了整个终端文本。我在这里运行了 2 个命令,即: sudo apt-get update 然后在我得到结果后运行 sudo apt-get upgrade

这是从终端复制的文本:

franzbiely@Franz-Gizmo:~$ sudo apt-get update
Ign http://archive.ubuntu.com trusty InRelease                                 
Ign http://ppa.launchpad.net trusty InRelease                                  
Ign http://archive.canonical.com trusty InRelease                              
Ign http://extras.ubuntu.com trusty InRelease                                  
Ign http://archive.ubuntu.com trusty-updates InRelease                         
Ign http://ppa.launchpad.net trusty InRelease                                  
Hit http://archive.canonical.com trusty Release.gpg                            
Hit http://extras.ubuntu.com trusty Release.gpg                                
Ign http://archive.ubuntu.com trusty-backports InRelease                       
Ign http://ppa.launchpad.net trusty InRelease                                  
Hit …
Run Code Online (Sandbox Code Playgroud)

command-line apt error-handling

39
推荐指数
2
解决办法
6万
查看次数

标签 统计

apt ×1

command-line ×1

error-handling ×1