Reading package lists... Done Building dependency tree Reading state information... Done jenkins is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: jenkins : Depends: daemon but it is not going to be installed Depends: default-jre-headless (>= 2:1.7) but it is not going to be installed or java7-runtime-headless E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). ci@88f78f64-194c-eeb3-fc36-e20231f58fed:~/applications$ sudo apt-get -f install jenkins Reading package lists... Done Building dependency tree Reading state information... Done jenkins is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: jenkins : Depends: daemon but it is not going to be installed Depends: default-jre-headless (>= 2:1.7) but it is not going to be installed or java7-runtime-headless E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
根据提示我就
1
apt-get -f install
后来就报下面的了
1 2 3 4 5
Errors were encountered while processing: libpam-systemd:amd64 policykit-1 colord policykit-1-gnome
Package: policykit-1 Status: install ok unpacked Priority: optional Section: admin Installed-Size: 400 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: amd64 Multi-Arch: foreign Version: 0.105-4ubuntu3.14.04.1 Depends: libc6 (>= 2.7), libglib2.0-0 (>= 2.37.3), libpam0g (>= 0.99.7.1), libpolkit-agent-1-0 (>= 0.105), libpolkit-backend-1-0 (>= 0.99), libpolkit-gobject-1-0 (>= 0.101), libpam-systemd, dbus Conffiles: /etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf newconffile /etc/pam.d/polkit-1 newconffile /etc/polkit-1/localauthority.conf.d/50-localauthority.conf newconffile /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf newconffile /etc/polkit-1/nullbackend.conf.d/50-nullbackend.conf newconffile Description: framework for managing administrative policies and privileges PolicyKit is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes. . It is a framework for centralizing the decision making process with respect to granting access to privileged operations for unprivileged (desktop) applications. Homepage: http://hal.freedesktop.org/docs/PolicyKit/ Original-Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>