Bug#894828: apt-get -s install lxde-core don't install lxterminal in newly base system ?

2018-04-05 Thread xvapiew asdfoq
Package: apt
Version: 1.6~beta1
Severity: normal
X-Debbugs-CC: da...@kalnischkies.de

Thank you for clear my claim.
Now I think my claim is:
For this case, can apt ask the user instead of random pick?



Bug#894828: apt-get -s install lxde-core don't install lxterminal in newly base system ?

2018-04-05 Thread David Kalnischkies
Control: reassign -1 lxpanel 0.9.3-1

Hi,

On Thu, Apr 05, 2018 at 03:33:20AM +0200, xvapiew asdfoq wrote:
> That meaning I use debootstrap+chroot do these things,so I 99% sure no one 
> terminal is installed.(except some terminal marked as 'core' ,and so on)

Please provide the exact commands you run, otherwise reproducing what
you claim is at least a bunch of guesswork, if not impossible.

So, what did I do to verify that this isn't a bug (in apt)?

# debootstrap sid debbug-894828-apt-install-lxde-core 
http://deb.debian.org/debian
# chroot ./debbug-894828-apt-install-lxde-core apt install lxde-core -s -o 
Debug::pkgDepCache::Marker=1 &> /tmp/install.log

Inspecting the /tmp/install.log indeed shows no install of lxterminal,
but of another x-terminal-emulator provider: vala-terminal. Why is that?
That is why I added the debug option… the relevant output:

[…]
   MarkInstall lxde-core:amd64 < none -> 9 @un puN Ib > FU=1
 MarkInstall lxpanel:amd64 < none -> 0.9.3-1 @un uN Ib > FU=0
[…]
   MarkInstall vala-terminal:amd64 < none -> 1.3-6+b1 @un uN Ib > FU=0
[…]

So lxpanel provided that "choice", looking at its recommends list we see
that it just says x-terminal-emulator, so just a virtual package without
mentioning a real package first – aka apt is free to choose any provider
and happens to pick "the wrong one" just because.


Hence reassigning to lxpanel so they can add a "lxterminal |" (or any
other environment appropiate recommendation) if they/users aren't happy
with a random pick by apt.

(Yes, if apt would work differently that would be better "hidden" by
accident and apt might change in the distant future to "hide" it better,
but the problem remains if the user requested lxpanel instead of
lxde-core, so I leave it at no bug in apt)


Best regards

David Kalnischkies


signature.asc
Description: PGP signature


Bug#894828: apt-get -s install lxde-core don't install lxterminal in newly base system ?

2018-04-04 Thread xvapiew asdfoq
Package: apt
Version: 1.6~beta1
Severity: normal
X-Debbugs-CC: aga...@siduction.org

I'm sure all 'x-terminal-emulator' is non-installed due I do this immediately 
after base system installed.
That meaning I use debootstrap+chroot do these things,so I 99% sure no one 
terminal is installed.(except some terminal marked as 'core' ,and so on)



Bug#894828: apt-get -s install lxde-core don't install lxterminal in newly base system ?

2018-04-04 Thread Alf Gaida
i guess there is a terminal installed (maybe xterm) - have a look at the
dependencies:

% apt show lxde-core
Package: lxde-core
Version: 9
Priority: optional
Section: metapackages
Source: lxde-metapackages
Maintainer: Debian LXDE Maintainers

Installed-Size: 11,3 kB
Depends: lxpanel, pcmanfm, lxde-session
Recommends: gksu, lxterminal | x-terminal-emulator, notification-daemon,
xscreensaver
Suggests: firefox-esr | firefox | www-browser, lxde, lxlauncher

so lxde-core will never install lxterminal. Thats the expected behaviour
and not a bug - lxde-core is for users who want to select their packages
mostly themselve.

https://askubuntu.com/questions/366135/how-to-search-for-packages-that-provides-a-virtual-package

Cheers Alf



Bug#894828: apt-get -s install lxde-core don't install lxterminal in newly base system ?

2018-04-04 Thread xvapiew asdfoq
Package: apt
Version: 1.6~beta1
Severity: normal

apt-get -s install lxde-core don't install lxterminal in newly base system ?
For example:
root@debian:~# apt-get -s install lxde-core |grep lxterminal
root@debian:~# echo $?
1
root@debian:~# 
But:
root@debian:~# apt-cache show lxde-core |grep lxterminal
Recommends: gksu, lxterminal | x-terminal-emulator, notification-daemon, 
xscreensaver
root@debian:~# 
I'm sure all 'x-terminal-emulator' is non-installed due I do this immediately 
after base system installed.



-- 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::Sandbox "";
APT::Sandbox::User "_apt";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image-4\.13\.4$";
APT::NeverAutoRemove:: "^linux-headers-4\.13\.4$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.13\.4$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.13\.4$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.13\.4$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.13\.4$";
APT::NeverAutoRemove:: "^gnumach-image-4\.13\.4$";
APT::NeverAutoRemove:: "^.*-modules-4\.13\.4$";
APT::NeverAutoRemove:: "^.*-kernel-4\.13\.4$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.13\.4$";
APT::NeverAutoRemove:: "^linux-tools-4\.13\.4$";
APT::NeverAutoRemove:: "^linux-cloud-tools-4\.13\.4$";
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::VersionedKernelPackages:: "linux-cloud-tools";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "contrib/metapackages";
APT::Never-MarkAuto-Sections:: "non-free/metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Move-Autobit-Sections "";
APT::Move-Autobit-Sections:: "oldlibs";
APT::Move-Autobit-Sections:: "contrib/oldlibs";
APT::Move-Autobit-Sections:: "non-free/oldlibs";
APT::Move-Autobit-Sections:: "restricted/oldlibs";
APT::Move-Autobit-Sections:: "universe/oldlibs";
APT::Move-Autobit-Sections:: "multiverse/oldlibs";
APT::Architectures "";
APT::Architectures:: "i386";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "0";
APT::Compressor::lz4 "";
APT::Compressor::lz4::Name "lz4";
APT::Compressor::lz4::Extension ".lz4";
APT::Compressor::lz4::Binary "false";
APT::Compressor::lz4::Cost "50";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "100";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-6n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "200";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "300";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-6";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "400";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-6";
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::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