ubuntu 14.04 apt-get 提示 command not found

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

ubuntu 14.04 apt-get 提示 command not found

#1

帖子 kgd.zhen » 2014-06-25 20:15

Ubuntu 14.04  刚装的,用了一会,apt-get 居然没有了。

执行whereis apt-get 显示为空的。
locate apt-get 显示
/usr/bin/apt-get
/usr/share/bash-completion/completions/apt-get
/usr/share/bash-completion/completions/slapt-get
/usr/share/man/de/man8/apt-get.8.gz
/usr/share/man/es/man8/apt-get.8.gz
/usr/share/man/fr/man8/apt-get.8.gz
/usr/share/man/ja/man8/apt-get.8.gz
/usr/share/man/man8/apt-get.8.gz
/usr/share/man/pl/man8/apt-get.8.gz
/usr/share/man/pt/man8/apt-get.8.gz

但是明明/usr/bin下就没有apt-get,
头像
astolia
论坛版主
帖子: 6703
注册时间: 2008-09-18 13:11

Re: ubuntu 14.04 apt-get 提示 command not found

#2

帖子 astolia » 2014-06-25 20:52

locate的结果是从数据库/var/lib/mlocate/mlocate.db中读的,数据库没有来得及更新

自己重新下载软件包安装就是了

64位:
http://mirrors.aliyun.com/ubuntu/pool/m ... _amd64.deb
http://mirrors.aliyun.com/ubuntu/pool/m ... _amd64.deb

32位:
http://mirrors.aliyun.com/ubuntu/pool/m ... 1_i386.deb
http://mirrors.aliyun.com/ubuntu/pool/m ... 1_i386.deb
kgd.zhen
帖子: 12
注册时间: 2013-03-10 11:46
系统: Ubuntu 12.10

Re: ubuntu 14.04 apt-get 提示 command not found

#3

帖子 kgd.zhen » 2014-06-28 15:24

astolia 写了:locate的结果是从数据库/var/lib/mlocate/mlocate.db中读的,数据库没有来得及更新

自己重新下载软件包安装就是了

64位:
http://mirrors.aliyun.com/ubuntu/pool/m ... _amd64.deb
http://mirrors.aliyun.com/ubuntu/pool/m ... _amd64.deb

32位:
http://mirrors.aliyun.com/ubuntu/pool/m ... 1_i386.deb
http://mirrors.aliyun.com/ubuntu/pool/m ... 1_i386.deb
谢谢,我是用了一种笨方法 ,将其它电脑上的apt-get,http ,gpgv 复制过来了,现在暂时能用了。
14.04 好像有好多问题呀,我现在远程桌面连接时连接不上,知道是什么原因吗?ssh 命令行是可以的,sshd,ssh-agent 都是有的,就是连接不上。
头像
百草谷居士
帖子: 4024
注册时间: 2006-02-10 16:36
系统: debian12/xubuntu2404

Re: ubuntu 14.04 apt-get 提示 command not found

#5

帖子 百草谷居士 » 2014-06-28 16:53

14.04用了这么长时间,感觉没啥问题。
Mint 22 / Xubuntu 24.04

为何热衷于搞发行版的多,搞应用程序开发的少?Linux最多余的就是各种发行版,最缺的就是应用程序,特别是行业应用程序。
回复