我做了一个操作,现在不知道怎么解决了

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
ciaciacia
帖子: 3
注册时间: 2008-03-05 13:53

我做了一个操作,现在不知道怎么解决了

#1

帖子 ciaciacia » 2008-03-14 15:17

各位高手,我在终端中输入了apt-get -f install,没有仔细看上面提示,输入了“Yes, do as I say!", 结果,现在我的新立得软件包和APT命令都用不起来了,求大家帮忙给我解决一下阿

下面是操作的具体显示:
david@david-desktop:~/mobile-basic-flash/src$ sudo apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
正在更正依赖关系... 完成
下列软件包将被【卸载】:
alsa-utils apport apport-gtk apt apt-utils aptitude apturl command-not-found fast-user-switch-applet gdebi gdebi-core gdm gnome-app-install language-selector python-apport
python-apt python-launchpad-bugs python-software-properties restricted-manager software-properties-gtk synaptic tasksel tasksel-data ubufox ubuntu-desktop ubuntu-minimal
unattended-upgrades update-manager update-manager-core update-notifier
【警告】:下列的重要软件包将被卸载
请勿尝试,除非您确实知道您在做什么!
apt
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 30 个软件包,有 0 个软件未被升级。
有 2 个软件包没有被完全安装或卸载。
After this operation, 58.6MB disk space will be freed.
您的操作会导致潜在的危害。
若还想继续的话,就输入下面的短句“Yes, do as I say!”
?] yes,do as i say!
中止执行。
david@david-desktop:~/mobile-basic-flash/src$ sudo apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
正在更正依赖关系... 完成
下列软件包将被【卸载】:
alsa-utils apport apport-gtk apt apt-utils aptitude apturl command-not-found fast-user-switch-applet gdebi gdebi-core gdm gnome-app-install language-selector python-apport
python-apt python-launchpad-bugs python-software-properties restricted-manager software-properties-gtk synaptic tasksel tasksel-data ubufox ubuntu-desktop ubuntu-minimal
unattended-upgrades update-manager update-manager-core update-notifier
【警告】:下列的重要软件包将被卸载
请勿尝试,除非您确实知道您在做什么!
apt
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 30 个软件包,有 0 个软件未被升级。
有 2 个软件包没有被完全安装或卸载。
After this operation, 58.6MB disk space will be freed.
您的操作会导致潜在的危害。
若还想继续的话,就输入下面的短句“Yes, do as I say!”
?] Yes, do as I say!
(正在读取数据库 ... 系统当前总共安装有 141478 个文件和目录。)
正在删除 ubuntu-desktop ...
正在删除 fast-user-switch-applet ...
正在删除 gdm ...
正在删除 ubuntu-minimal ...
正在删除 alsa-utils ...
正在删除 apport-gtk ...
正在删除 apport ...
* Stopping automatic crash report generation: apport [ OK ]
正在删除 ubufox ...
正在删除 apturl ...
正在删除 gnome-app-install ...
正在删除 software-properties-gtk ...
正在删除 python-software-properties ...
正在删除 unattended-upgrades ...
正在删除 restricted-manager ...
正在删除 update-notifier ...
正在删除 update-manager ...
正在删除 language-selector ...
正在删除 synaptic ...
正在删除 update-manager-core ...
dpkg - 警告:当删除“update-manager-core”,目录“/var/log/dist-upgrade”非空,因而不会删除该目录。
正在删除 python-apport ...
正在删除 python-launchpad-bugs ...
正在删除 gdebi ...
正在删除 gdebi-core ...
正在删除 command-not-found ...
正在删除 python-apt ...
正在删除 apt-utils ...
正在删除 tasksel ...
正在删除 tasksel-data ...
正在删除 apt ...
正在删除 aptitude ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
david@david-desktop:~/mobile-basic-flash/src$ sudo apt-get install vim-full
sudo: apt-get: command not found
david@david-desktop:~/mobile-basic-flash/src$ sudo apt-get install vim-full
sudo: apt-get: command not found
头像
xiehuoli
帖子: 5941
注册时间: 2006-06-10 8:43
来自: 中国 CS

#2

帖子 xiehuoli » 2008-03-14 15:19

天阿
用liveCD 進去apt-get 呢?
年轻没有失败! ! ! ! ! !
噢!有怪兽,有怪兽!
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#3

帖子 yaoms » 2008-03-14 15:21

。。。。
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
头像
jimhu
帖子: 1322
注册时间: 2006-01-25 22:29
来自: 上海
联系:

#4

帖子 jimhu » 2008-03-14 15:29

apt被你自己删啦,自己找找看AlternativeCD里面有没有apt的软件包?
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#5

帖子 bones7456 » 2008-03-14 15:32

你都说了 Yes, do as I say! 了,得自己负责任了...
关注我的blog: ε==3
aBiNg
帖子: 1331
注册时间: 2006-07-09 12:22
来自: 南京

#6

帖子 aBiNg » 2008-03-14 15:46

apt 能把自己给删除了?牛,有空试试。哈哈。
littleUbuntu
帖子: 1103
注册时间: 2006-10-19 9:02

#7

帖子 littleUbuntu » 2008-03-14 15:57

看完楼主做的事情,有种感觉,像是把你的系统给阉了的感觉。呵呵,说笑结束

一般这种惨剧很难发生,仔细看看都不会通过,而且人家还提醒了。到这一步,只能你自己手动下载apt相关组件,用dpkg -i xxxx来安装它了。 随便找个源,进去下载apt 和aptitude,然后手动装上,之后看看apt能不能用?这种问题还真是第一次碰到。

其实apt也不过是个软件么,所以问题应该不大,我还真想试试。

PS:顺便一提,dsl就是debian做的,然后吧apt卸载了。所以dsl也可以通过安装apt来管理包。很有意思
上次由 littleUbuntu 在 2008-03-14 16:03,总共编辑 1 次。
littleUbuntu
帖子: 1103
注册时间: 2006-10-19 9:02

#8

帖子 littleUbuntu » 2008-03-14 16:01

deadboy
帖子: 141
注册时间: 2008-01-20 0:23

#9

帖子 deadboy » 2008-03-14 16:08

我也有过类似经历,不过删的是更重要的东西,浏览器,终端,窗口管理器。
最后不得不重装。以后再也不敢了……
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#10

帖子 yaoms » 2008-03-14 16:09

用liveCD启动系统,然后 按照 这里的“基本系统”以后的操作 http://wiki.ubuntu.org.cn/UbuntuHelp:In ... B.E7.BB.9F

还可以慢慢构建你的ubuntu。

如果嫌麻烦就 备份(如果必要),然后重装吧。
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
回复