# 树莓派需要安装xxx应用# 由于强制安装xxx包,导致apt相关命令被删除# 执行apt-get install 或者 apt-get update 等指令均提示:# sudo: apt-get: command not found
解决方式
1. 查看 sources.list
root@raspberrypi:~ # cat /etc/apt/sources.list
deb http://mirrors.aliyun.com/raspbian/raspbian/ wheezy main non-free contrib
deb-src http://mirrors.aliyun.com/raspbian/raspbian/ wheezy main non-free contrib