我正在尝试owncloud
在 CubieTruck 上安装,带有armhf
架构。
查看时Ubuntu 软件包站点,它被列为“所有”架构。当我在 x64 PC 上
运行时,我也能看到它。 当我尝试在 CubieTruck 中查找包时,我找不到它。 apt-cache show owncloud | grep Architecture
Architecture: all
root@cubie:~$ apt-get install owncloud
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package owncloud
输出apt-cache policy
:
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-security/restricted Translation-en
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-security/main Translation-en
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-security/restricted armhf Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=restricted
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-security/main armhf Packages
release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=main
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/restricted Translation-en
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main Translation-en
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/restricted armhf Packages
release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=restricted
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main armhf Packages
release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=main
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports/ trusty/restricted Translation-en
500 http://ports.ubuntu.com/ubuntu-ports/ trusty/main Translation-en
500 http://ports.ubuntu.com/ubuntu-ports/ trusty/restricted armhf Packages
release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=restricted
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports/ trusty/main armhf Packages
release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=main
origin ports.ubuntu.com
Pinned packages:
我是否遗漏了什么?
答案1
您没有universe
启用 repos 部分。请注意,owncloud
包位于该universe
部分中。
为此,您可以运行sudo add-apt-repository universe
,也可以编辑/etc/apt/sources.list
并手动添加宇宙部分。