Your message dated Thu, 23 Mar 2017 11:08:13 +0100 with message-id <20170323100813.w3tae7j5u7lt36j7@crossbow> and subject line Re: Bug#858537: apt: Cannot install openjdk-8-jre-headless b/c breaks ca-certificates-java. Sec update? has caused the Debian Bug report #858537, regarding apt: Cannot install openjdk-8-jre-headless b/c breaks ca-certificates-java. Sec update? to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 858537: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858537 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt: Cannot install openjdk-8-jre-headless b/c breaks ca-certificates-java. Sec update?
- From: "D. Scott Boggs" <sysadmin@tams.tech>
- Date: Thu, 23 Mar 2017 04:54:56 -0400
- Message-id: <[🔎] 20170323085456.14233.81883.reportbug@scotts-server>
Package: apt Version: 1.0.9.8.4 Severity: grave Justification: renders package unusable Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Attempting to install openjdk-8-jre * What exactly did you do (or not do) that was effective (or ineffective)? Ran the command "sudo apt install openjdk-8-jre" * What was the outcome of this action? The following packages have unmet dependencies: openjdk-8-jre : Depends: openjdk-8-jre-headless (= 8u121-b13-1~bpo8+1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. In an attempt to diagnose the issue, I manually attempted installation of unmet dependencies until I reached the bottom of the 'stack', so to speak. I received the following error which I beleive concisely explains the issue: The following packages have unmet dependencies: openjdk-8-jre-headless : Breaks: ca-certificates-java (< 20160321~) but 20140324 is to be installed E: Unable to correct problems, you have held broken packages. So I'm guessing there was a security or otherwise major update, only two days ago, and the repository hasn't caught up yet. I apologize if this bug report is at all misconfigured, this is my first. I would assume a simple workaround would be to manually install ca-certificates-java v20160321 but I have not tried that myself. Thanks for the awesome distro! -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "amd64"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "1"; APT::Install-Suggests "0"; APT::Authentication ""; APT::Authentication::TrustCDROM "true"; APT::NeverAutoRemove ""; APT::NeverAutoRemove:: "^firmware-linux.*"; APT::NeverAutoRemove:: "^linux-firmware$"; APT::NeverAutoRemove:: "^linux-image-3\.16\.0-4-amd64$"; APT::NeverAutoRemove:: "^linux-headers-3\.16\.0-4-amd64$"; APT::NeverAutoRemove:: "^linux-image-extra-3\.16\.0-4-amd64$"; APT::NeverAutoRemove:: "^linux-signed-image-3\.16\.0-4-amd64$"; APT::NeverAutoRemove:: "^kfreebsd-image-3\.16\.0-4-amd64$"; APT::NeverAutoRemove:: "^kfreebsd-headers-3\.16\.0-4-amd64$"; APT::NeverAutoRemove:: "^gnumach-image-3\.16\.0-4-amd64$"; APT::NeverAutoRemove:: "^.*-modules-3\.16\.0-4-amd64$"; APT::NeverAutoRemove:: "^.*-kernel-3\.16\.0-4-amd64$"; APT::NeverAutoRemove:: "^linux-backports-modules-.*-3\.16\.0-4-amd64$"; APT::NeverAutoRemove:: "^linux-tools-3\.16\.0-4-amd64$"; APT::VersionedKernelPackages ""; APT::VersionedKernelPackages:: "linux-image"; APT::VersionedKernelPackages:: "linux-headers"; APT::VersionedKernelPackages:: "linux-image-extra"; APT::VersionedKernelPackages:: "linux-signed-image"; APT::VersionedKernelPackages:: "kfreebsd-image"; APT::VersionedKernelPackages:: "kfreebsd-headers"; APT::VersionedKernelPackages:: "gnumach-image"; APT::VersionedKernelPackages:: ".*-modules"; APT::VersionedKernelPackages:: ".*-kernel"; APT::VersionedKernelPackages:: "linux-backports-modules-.*"; APT::VersionedKernelPackages:: "linux-tools"; APT::Never-MarkAuto-Sections ""; APT::Never-MarkAuto-Sections:: "metapackages"; APT::Never-MarkAuto-Sections:: "restricted/metapackages"; APT::Never-MarkAuto-Sections:: "universe/metapackages"; APT::Never-MarkAuto-Sections:: "multiverse/metapackages"; APT::Never-MarkAuto-Sections:: "oldlibs"; APT::Never-MarkAuto-Sections:: "restricted/oldlibs"; APT::Never-MarkAuto-Sections:: "universe/oldlibs"; APT::Never-MarkAuto-Sections:: "multiverse/oldlibs"; APT::Update ""; APT::Update::Post-Invoke-Success ""; APT::Update::Post-Invoke-Success:: "/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null"; APT::Architectures ""; APT::Architectures:: "amd64"; APT::Compressor ""; APT::Compressor::. ""; APT::Compressor::.::Name "."; APT::Compressor::.::Extension ""; APT::Compressor::.::Binary ""; APT::Compressor::.::Cost "1"; APT::Compressor::gzip ""; APT::Compressor::gzip::Name "gzip"; APT::Compressor::gzip::Extension ".gz"; APT::Compressor::gzip::Binary "gzip"; APT::Compressor::gzip::Cost "2"; APT::Compressor::gzip::CompressArg ""; APT::Compressor::gzip::CompressArg:: "-9n"; APT::Compressor::gzip::UncompressArg ""; APT::Compressor::gzip::UncompressArg:: "-d"; APT::Compressor::bzip2 ""; APT::Compressor::bzip2::Name "bzip2"; APT::Compressor::bzip2::Extension ".bz2"; APT::Compressor::bzip2::Binary "bzip2"; APT::Compressor::bzip2::Cost "3"; APT::Compressor::bzip2::CompressArg ""; APT::Compressor::bzip2::CompressArg:: "-9"; APT::Compressor::bzip2::UncompressArg ""; APT::Compressor::bzip2::UncompressArg:: "-d"; APT::Compressor::xz ""; APT::Compressor::xz::Name "xz"; APT::Compressor::xz::Extension ".xz"; APT::Compressor::xz::Binary "xz"; APT::Compressor::xz::Cost "4"; APT::Compressor::xz::CompressArg ""; APT::Compressor::xz::CompressArg:: "-6"; APT::Compressor::xz::UncompressArg ""; APT::Compressor::xz::UncompressArg:: "-d"; APT::Compressor::lzma ""; APT::Compressor::lzma::Name "lzma"; APT::Compressor::lzma::Extension ".lzma"; APT::Compressor::lzma::Binary "xz"; APT::Compressor::lzma::Cost "5"; APT::Compressor::lzma::CompressArg ""; APT::Compressor::lzma::CompressArg:: "--format=lzma"; APT::Compressor::lzma::CompressArg:: "-9"; APT::Compressor::lzma::UncompressArg ""; APT::Compressor::lzma::UncompressArg:: "--format=lzma"; APT::Compressor::lzma::UncompressArg:: "-d"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::mirrors "mirrors/"; Dir::State::extended_states "extended_states"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::sourceparts "sources.list.d"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::netrc "auth.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Etc::preferencesparts "preferences.d"; Dir::Etc::trusted "trusted.gpg"; Dir::Etc::trustedparts "trusted.gpg.d"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::solvers ""; Dir::Bin::solvers:: "/usr/lib/apt/solvers"; Dir::Bin::dpkg "/usr/bin/dpkg"; Dir::Bin::bzip2 "/bin/bzip2"; Dir::Bin::xz "/usr/bin/xz"; Dir::Bin::lzma "/usr/bin/xz"; Dir::Media ""; Dir::Media::MountPath "/media/cdrom"; Dir::Log "var/log/apt"; Dir::Log::Terminal "term.log"; Dir::Log::History "history.log"; Dir::Ignore-Files-Silently ""; Dir::Ignore-Files-Silently:: "~$"; Dir::Ignore-Files-Silently:: "\.disabled$"; Dir::Ignore-Files-Silently:: "\.bak$"; Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$"; Dir::Ignore-Files-Silently:: "\.save$"; Dir::Ignore-Files-Silently:: "\.orig$"; Dir::Ignore-Files-Silently:: "\.distUpgrade$"; Acquire ""; Acquire::cdrom ""; Acquire::cdrom::mount "/media/cdrom"; Acquire::Languages ""; Acquire::Languages:: "en"; Acquire::Languages:: "none"; Aptitude ""; Aptitude::Get-Root-Command "sudo:/usr/bin/sudo"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10"; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Tools ""; DPkg::Tools::Options ""; DPkg::Tools::Options::/usr/bin/apt-listchanges ""; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null"; CommandLine ""; CommandLine::AsString "apt-config dump"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- # # deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:16]/ jessie main deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:16]/ jessie main deb http://ftp.us.debian.org/debian/ jessie main contrib non-free deb-src http://ftp.us.debian.org/debian/ jessie main deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main # jessie-updates, previously known as 'volatile' deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free deb-src http://ftp.us.debian.org/debian/ jessie-updates main #deb-multimedia.org deb http://www.deb-multimedia.org jessie main non-free #Virtualbox deb http://download.virtualbox.org/virtualbox/debian jessie contrib #I think this one is for adb and fastboot deb http://ppa.launchpad.net/phablet-team/tools/ubuntu yakkety main deb-src http://ppa.launchpad.net/phablet-team/tools/ubuntu yakkety main #Jessie-backports deb http://ftp.debian.org/debian jessie-backports main -- System Information: Debian Release: 8.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages apt depends on: ii debian-archive-keyring 2014.3 ii gnupg 1.4.18-7+deb8u3 ii libapt-pkg4.12 1.0.9.8.4 ii libc6 2.19-18+deb8u7 ii libgcc1 1:4.9.2-10 ii libstdc++6 4.9.2-10 apt recommends no packages. Versions of packages apt suggests: pn apt-doc <none> ii aptitude 0.6.11-1+b1 ii dpkg-dev 1.17.27 ii python-apt 0.9.3.12 -- no debconf information
--- End Message ---
--- Begin Message ---
- To: "D. Scott Boggs" <sysadmin@tams.tech>, 858537-done@bugs.debian.org
- Subject: Re: Bug#858537: apt: Cannot install openjdk-8-jre-headless b/c breaks ca-certificates-java. Sec update?
- From: David Kalnischkies <david@kalnischkies.de>
- Date: Thu, 23 Mar 2017 11:08:13 +0100
- Message-id: <20170323100813.w3tae7j5u7lt36j7@crossbow>
- In-reply-to: <[🔎] 20170323085456.14233.81883.reportbug@scotts-server>
- References: <[🔎] 20170323085456.14233.81883.reportbug@scotts-server>
On Thu, Mar 23, 2017 at 04:54:56AM -0400, D. Scott Boggs wrote: > Ran the command "sudo apt install openjdk-8-jre" > > * What was the outcome of this action? > The following packages have unmet dependencies: > openjdk-8-jre : Depends: openjdk-8-jre-headless (= 8u121-b13-1~bpo8+1) but it is not going to be installed > E: Unable to correct problems, you have held broken packages. That sounds like you are trying to install a package from backports, but you aren't telling apt that it is allowed to do so. Try: apt install openjdk-8-jre/jessie-backports apt install -t jessie-backports openjdk-8-jre (The first one will try to stick to stable packages as much as possible, which might not always work and results in a similar error to what you already saw) > So I'm guessing there was a security or otherwise major update, only two days ago, and the repository hasn't caught up yet. > I apologize if this bug report is at all misconfigured, this is my first. > I would assume a simple workaround would be to manually install ca-certificates-java v20160321 but I have not tried that myself. I /guess/ the ca-certificates-java requirements were raised in the last version of openjdk-8-jre compared to previous versions: In the past the stable ca-certificates-java version was "enough" while now you will need to get that package from backports as well. apt isn't automatically picking packages from backports for installation due to (implicit) configuration, so you have to tell it to that with one of the commands above. Either way, an uninstallable package isn't a bug in apt – it might be that it isn't installable due to a bug, but even if that would be the case the "bigger" bug is with the uninstallable package itself as it needs to be working with the current (for this release) tools. Thanks for taking the time to report and investigate a bug – and as its your first welcome as a Debian contributor! I am closing the bug with this message through as I think as outlined above this is "just" a misunderstanding. There might be something said about impoving the user experience here, but that's a) hard und b) various other open bugs are talking about that, so having another one about the same seems more distracting than helpful. I hope I am not discouraging you with this as that isn't the intended – to stay on top of bugs against apt we just have to be rigid in closing bugs to not drown in them. Lastly, a small tip: Be very careful with the release-critical bug severities. If you aren't 200% sure it is "grave", don't report it as grave. The maintainer can always bump it if needed, but starting at "grave" carries the notion of "drop everything including partner, kids and dayjob and fix that NOW". Best regards David KalnischkiesAttachment: signature.asc
Description: PGP signature
--- End Message ---