我有一个运行 Shibboleth 2.4.3 的 Ubuntu(12.04.4 LTS)网络服务器
我认为 Shibboleth 是使用 apt-get 安装的
dpkg --get-selections | grep shib
libapache2-mod-shib2 install
libshibsp5 install
shibboleth-sp2-schemas install
我想升级到 Shibboleth 2.5.3,但 apt-get 告诉我我已经拥有最新版本。但我没有,差得远呢!!
请问有什么建议吗?
根据要求运行 apt-get update 后的一些额外输出
apt-cache show libapache2-mod-shib2
Package: libapache2-mod-shib2
Priority: extra
Section: universe/web
Installed-Size: 826
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Debian Shib Team <[email protected]>
Architecture: amd64
Source: shibboleth-sp2
Version: 2.4.3+dfsg-2ubuntu1
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), liblog4cpp5, libmemcached6 (>= 0.44), libodbc1 (>= 2.2.11) | unixodbc (>= 2.2.11), libsaml7, libshibsp5, libstdc++6 (>= 4.6), libxerces-c3.1, libxmltooling5, adduser
Recommends: apache2, openssl
Conflicts: libapache2-mod-shib
Filename: pool/universe/s/shibboleth-sp2/libapache2-mod-shib2_2.4.3+dfsg-2ubuntu1_amd64.deb
Size: 254496
MD5sum: 72c2d318e6da4f163ea540c43dec64a9
SHA1: e8a29a347540aceba23db65783663f8e05c860ae
SHA256: f0bc6495d3e2ecdadeb4019bba969aef166105500a6b372640a6546d65b11346
Description-en: Federated web single sign-on system (Apache module)
The Shibboleth System is a standards based software package for web
single sign-on across or within organizational boundaries. It supports
authorization and attribute exchange using the OASIS SAML 2.0 protocol.
Shibboleth allows sites to make informed authorization decisions for
individual access of protected online resources while allowing users to
establish their identities with their local authentication systems.
.
This package contains the Shibboleth Apache module for service providers
(web servers providing resources protected by Shibboleth) and the
supporting shibd daemon.
Homepage: http://shibboleth.internet2.edu/
Description-md5: 1b4d36e9224597e639627488183ac5dc
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
编辑升级到 2.5.2 也可以
答案1
Switch.ch 为 ubuntu 12.04 用户提供了一个包含 Shibboleth 2.5 的存储库,如下所示:https://www.switch.ch/aai/docs/shibboleth/SWITCH/2.5/sp/deployment/?os=ubuntu 您应该能够通过执行以下操作来添加他们的存储库并下载 shibboleth 2.5:
sudo apt-get remove libshibsp5
sudo curl -k -O http://pkg.switch.ch/switchaai/SWITCHaai-swdistrib.asc
gpg --with-fingerprint SWITCHaai-swdistrib.asc
sudo apt-key add SWITCHaai-swdistrib.asc
echo 'deb http://pkg.switch.ch/switchaai/ubuntu precise main' | sudo tee /etc/apt/sources.list.d/SWITCHaai-swdistrib.list > /dev/null
sudo apt-get install shibboleth
sudo mkdir -p /var/run/shibboleth
sudo chown _shibd:_shibd /var/run/shibboleth
sudo service shibd restart
答案2
通过运行以下命令确认你的 apt 存储库具有哪个版本:
apt-get update
apt-cache show packagename