[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#770698: apt: wants to install systemd packages on wheezy system with testing at lower priority



Package: apt
Version: 0.9.7.9+deb7u6
Severity: important

Dear maintainer,

I added Jessie as a installation source at lower priority to my wheezy
server VM. It seems owncloud seems to be removed from testing[1]. To have
updated owncloud packages with all security fixes, I can either go for
upstream packages or to testing packages. I decided for the later
according to a recommendation[2].

In order to not have every package in wheezy-backports upgraded to testing
I made sure that wheezy-backports is pinned above testing.

That way there should not be any upgrades to the system unless I explicitely
ask for them. And aptitude agrees:

mondschein:~> LANG=C aptitude dist-upgrade
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

Yet apt-get insists otherwise:

mondschein:~> LANG=C apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

mondschein:~> LANG=C apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  libaudit0 libcryptsetup4 libpam-systemd libsystemd-daemon0
  libsystemd-id128-0 libsystemd-journal0 libsystemd-login0 systemd
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1765 kB of archives.
After this operation, 4573 kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.


This seems to be broke for me in two ways:

1) On the apt upgrade those systemd packages are not shown as held back.

2) It has no business to install these anyway. None of the packages is
currently installed and surely wheezy is priority 500 and testing is priority
150. So no business to install these. Even when I lower testing priority to 100
it insists to install these.

daemon0 libsystemd-id128-0 libsystemd-journal0 libsystemd-login0 systemd ; do LANG=C apt-cache policy $PACKAGE; done
libaudit0:
  Installed: (none)
  Candidate: 1:1.7.18-1.1
  Version table:
     1:1.7.18-1.1 0
        500 http://ftp.de.debian.org/debian/ wheezy/main i386 Packages
libcryptsetup4:
  Installed: (none)
  Candidate: 2:1.4.3-4
  Version table:
     2:1.6.6-3 0
        150 http://ftp.de.debian.org/debian/ jessie/main i386 Packages
     2:1.6.4-4~bpo70+1 0
        200 http://ftp.de.debian.org/debian/ wheezy-backports/main i386 Packages
     2:1.4.3-4 0
        500 http://ftp.de.debian.org/debian/ wheezy/main i386 Packages
libpam-systemd:
  Installed: (none)
  Candidate: 44-11+deb7u4
  Version table:
     215-5+b1 0
        150 http://ftp.de.debian.org/debian/ jessie/main i386 Packages
     204-14~bpo70+1 0
        200 http://ftp.de.debian.org/debian/ wheezy-backports/main i386 Packages
     44-11+deb7u4 0
        500 http://ftp.de.debian.org/debian/ wheezy/main i386 Packages
        500 http://security.debian.org/ wheezy/updates/main i386 Packages
libsystemd-daemon0:
  Installed: (none)
  Candidate: 44-11+deb7u4
  Version table:
     215-5+b1 0
        150 http://ftp.de.debian.org/debian/ jessie/main i386 Packages
     204-14~bpo70+1 0
        200 http://ftp.de.debian.org/debian/ wheezy-backports/main i386 Packages
     44-11+deb7u4 0
        500 http://ftp.de.debian.org/debian/ wheezy/main i386 Packages
        500 http://security.debian.org/ wheezy/updates/main i386 Packages
libsystemd-id128-0:
  Installed: (none)
  Candidate: 44-11+deb7u4
  Version table:
     215-5+b1 0
        150 http://ftp.de.debian.org/debian/ jessie/main i386 Packages
     204-14~bpo70+1 0
        200 http://ftp.de.debian.org/debian/ wheezy-backports/main i386 Packages
     44-11+deb7u4 0
        500 http://ftp.de.debian.org/debian/ wheezy/main i386 Packages
        500 http://security.debian.org/ wheezy/updates/main i386 Packages
libsystemd-journal0:
  Installed: (none)
  Candidate: 44-11+deb7u4
  Version table:
     215-5+b1 0
        150 http://ftp.de.debian.org/debian/ jessie/main i386 Packages
     204-14~bpo70+1 0
        200 http://ftp.de.debian.org/debian/ wheezy-backports/main i386 Packages
     44-11+deb7u4 0
        500 http://ftp.de.debian.org/debian/ wheezy/main i386 Packages
        500 http://security.debian.org/ wheezy/updates/main i386 Packages
libsystemd-login0:
  Installed: (none)
  Candidate: 44-11+deb7u4
  Version table:
     215-5+b1 0
        150 http://ftp.de.debian.org/debian/ jessie/main i386 Packages
     204-14~bpo70+1 0
        200 http://ftp.de.debian.org/debian/ wheezy-backports/main i386 Packages
     44-11+deb7u4 0
        500 http://ftp.de.debian.org/debian/ wheezy/main i386 Packages
        500 http://security.debian.org/ wheezy/updates/main i386 Packages
systemd:
  Installed: (none)
  Candidate: 44-11+deb7u4
  Version table:
     215-5+b1 0
        150 http://ftp.de.debian.org/debian/ jessie/main i386 Packages
     204-14~bpo70+1 0
        200 http://ftp.de.debian.org/debian/ wheezy-backports/main i386 Packages
     44-11+deb7u4 0
        500 http://ftp.de.debian.org/debian/ wheezy/main i386 Packages
        500 http://security.debian.org/ wheezy/updates/main i386 Packages


So it only installs *new* packages, without any existing packages depending
on them - so it appears to me.

I think it has no business to install these, and while I see that
systemd-sysv would not be installed, I´d rather keep my wheezy system
systemd free until I properly switch to it during upgrade to jessie. As
I do not like to run systemd packages on a mixture of wheezy and testing
which in itself is a work-around due to the owncloud package being
removed from testing.

I even did the install of these systemd related packages and purged them
again without any issue. So there is really *nothing* depending on it.
Why does it install these? Maybe due to being marked as essential? If so,
is there a way to tell apt not to install any essential packages from a
distro version that is not the default release?


[1] remove owncloud from wheezy-bpo

    To: debian-backports@lists.debian.org
    Subject: remove owncloud from wheezy-bpo
    Message-id: <1416339055.1521.15.camel@Nokia-N900>

https://lists.debian.org/debian-backports/2014/11/msg00053.html

[2] Re: remove owncloud from wheezy-bpo

    To: debian-backports@lists.debian.org
    Subject: Re: remove owncloud from wheezy-bpo
    Message-id: <546D08EE.7050304@debian.org>

https://lists.debian.org/debian-backports/2014/11/msg00065.html

Thanks,
Martin

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::NeverAutoRemove:: "^gnumach$";
APT::NeverAutoRemove:: "^gnumach-image.*";
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:: "test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i";
APT::Architectures "";
APT::Architectures:: "i386";
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";
APT::Compressor::::Name "";
APT::Compressor::::Extension ".";
APT::Compressor::::Binary "";
APT::Compressor::::Cost "100";
APT::Compressor::::CompressArg "";
APT::Compressor::::CompressArg:: "-9";
APT::Compressor::::UncompressArg "";
APT::Compressor::::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::Media "";
Dir::Media::MountPath "/media/apt";
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$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
Acquire::Languages:: "de";
Acquire::Languages:: "de_DE";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt || exit 10";
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/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/rkhunter ] && grep -qiE '^APT_AUTOGEN=.?(true|yes)' /etc/default/rkhunter; then /usr/share/rkhunter/scripts/rkhupd.sh; fi";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- /etc/apt/preferences --

Package: *
Pin: release a=testing
Pin-Priority: 150

Package: *
Pin: release a=wheezy-backports
Pin-Priority: 200


-- /etc/apt/sources.list --

deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.de.debian.org/debian wheezy-updates main

deb http://ftp.de.debian.org/debian wheezy-backports main contrib non-free

# Jessie für Owncloud, das aus Wheezy-Backports rausgeflogen ist
deb http://ftp.de.debian.org/debian/ jessie main contrib non-free

deb http://security.debian.org testing/updates main contrib non-free


-- System Information:
Debian Release: 7.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (150, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.14-0.bpo.1-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2014.1~deb7u1
ii  gnupg                   1.4.12-7+deb7u6
ii  libapt-pkg4.12          0.9.7.9+deb7u6
ii  libc6                   2.13-38+deb7u6
ii  libgcc1                 1:4.7.2-5
ii  libstdc++6              4.7.2-5

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.6.8.2-1
ii  dpkg-dev    1.16.15
ii  python-apt  0.8.8.2
ii  xz-utils    5.1.1alpha+20120614-2

-- no debconf information


Reply to: