我有一台新的 Debian Jessie 机器,但是当我尝试安装 Lua (5.3) 时apt
出现此错误:
正在读取软件包列表...完成
构建依赖关系树
正在读取状态信息...完成
E: 无法找到包 lua5.3
E:无法通过正则表达式“lua5.3”找到任何包
我一直在谷歌上寻找一些信息,但什么也没找到
barreeeiroo@Telegram /etc> sudo cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 8.1.0 _Jessie_ - Official amd64 NETINST Binary-1 20150606-14:16]/ jessie main
#deb cdrom:[Debian GNU/Linux 8.1.0 _Jessie_ - Official amd64 NETINST Binary-1 20150606-14:16]/ jessie main
deb http://mirror.unitedcolo.de/debian/ jessie main
deb-src http://mirror.unitedcolo.de/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
# jessie-updates, previously known as 'volatile'
deb http://mirror.unitedcolo.de/debian/ jessie-updates main
deb-src http://mirror.unitedcolo.de/debian/ jessie-updates main
barreeeiroo@Telegram /etc>
答案1
您可以安装lua5.3
来自 jessie backports:
sudo nano /etc/apt/sources.list
添加以下行;
deb http://deb.debian.org/debian jessie-backports main
保存Ctrl+ O; Enter; Ctrl+X然后运行:
sudo apt-get update
sudo apt-get -t jessie-backports install lua5.3