Why isn't lxterminal installed when installing lxde-core?

If none of the more specific forums is the right place to ask

Why isn't lxterminal installed when installing lxde-core?

Postby lbuiyzxl » 2017-05-11 11:17

Why isn't lxterminal installed when installing lxde-core?
virtual-package-depends-without-real-package-depends?
The Answer
(I puting so information for google SEO to help more people understand this problem)
What is happen when virtual package depends/recommeds/suggest without real package depends/recommeds/suggest?
Then what should is real installed ?
For example:
Code: Select all
root@debian:/# cat /etc/os-release |grep ^PRETTY_NAME
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
root@debian:/# aptitude --disable-columns show lxpanel
Package: lxpanel                         
Version: 0.9.3-1
State: not installed
Priority: optional
Section: x11
Maintainer: Debian LXDE Maintainers <pkg-lxde-maintainers@lists.alioth.debian.org>
Architecture: i386
Uncompressed Size: 753 k
Depends: libasound2 (>= 1.0.16), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.7), libcairo2 (>= 1.2.4), libfm-gtk4 (>= 1.2.0), libfm4 (>= 1.2.0), libfontconfig1 (>= 2.11), libfreetype6
         (>= 2.2.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.41.1), libgtk2.0-0 (>= 2.24.0), libiw30 (>= 30~pre1), libkeybinder0 (>= 0.3.0), libmenu-cache3 (>= 0.5.0),
         libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libwnck22 (>= 2.30.7), libx11-6, libxml2 (>= 2.7.4), lxmenu-data, lxpanel-data
         (= 0.9.3-1), libfm-modules
Recommends: xkb-data, x-terminal-emulator, pavucontrol | gnome-alsamixer
Suggests: menu, firefox-esr | firefox | www-browser
Description: LXDE panel
 LXPanel is a GUI application for the Lightweight X11 Desktop Environment (LXDE).
 
 It is derived from fbpanel and includes the following features:
 
 * User-friendly application menu automatically generated from .desktop files on the system
 * Launcher bar (small icons clicked to launch apps)
 * Task bar supporting ICCCM/EWMH `urgency' hint (Pidgin IM windows can flash on new incoming messages)
 * Run dialog (type a command to run, without opening a terminal)
 * Net status icon plug-in (optional).
 * Volume control plug-in (optional).
 * Notification area (system tray).
 * Digital clock.
 * Keyboard LEDs plug-in (display caps/num locks).
 * lxpanelctl: control lxpanel from other programs. For example, "lxpanelctl run" will show the Run dialog in lxpanel, and "lxpanelctl menu" will show the application menu. This
   is useful in combination with window manager key bindings.
Homepage: http://www.lxde.org/
Tags: hardware::input:mouse, interface::graphical, interface::x11, role::program, scope::utility, suite::TODO, uitoolkit::gtk, use::TODO, works-with::software:package,
      works-with::software:running, x11::applet, x11::application

root@debian:/#

"x-terminal-emulator" no listed any real package?so what should is installed?Why?

About jessie mistake the "manual" mark:
I'm not sure,but seem a Bug on jessie base system(I can't sure which specific package have bug) is not on "package control file" bug,because if I modify sources.list to stretch this problem still existing.
My sources.list modify process:
Code: Select all
root@debian:/# cat /etc/os-release |grep ^PRETTY_NAME
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
root@debian:/# cat /etc/apt/sources.list
deb http://ftp.cn.debian.org/debian stretch main
root@debian:/# apt-get update >&-
root@debian:/#

then:
For example on jessie:
https://packages.debian.org/jessie/lxde-core
Code: Select all
apt-get --no-install-recommends install lxde-core

then:
Code: Select all
root@debian:/# apt-mark showmanual |grep 'lxpanel'
lxpanel
root@debian:/# apt-mark showauto |grep 'openbox'
openbox
root@debian:/#

Although 'lxde-core' explicit declared 'lxpanel' as depends.
Seem not all directly depends is marked as manual ,such as 'openbox' still marked as "auto"

--below-is-old-contents--
Why isn't lxterminal installed when installing lxde-core?
Following environment is installed by debootstrap and used by chroot
I expect lxerminal will installed because lxde-core first recommend lxterminal ,but why is "termit" will installed?

What I did and encountered:
Code: Select all
root@debian:~/debian_stretch# debootstrap stretch ./ http://ftp.cn.debian.org/debian/ >/dev/null
root@debian:~/debian_stretch# mount --bind /sys ./sys
root@debian:~/debian_stretch# mount --bind /proc ./proc
root@debian:~/debian_stretch# chroot ./
root@debian:/# apt update >/dev/null 2>&1
root@debian:/# echo Y |apt upgrade >/dev/null 2>&1
root@debian:/# echo n |apt install lxde-core 2>&1| grep -o termit
termit
termit
root@debian:/# echo n |apt install lxde-core 2>&1| grep -o lxterminal
root@debian:/# echo n |apt-get install lxde-core 2>&1| grep -o termit
termit
termit
root@debian:/# echo n |apt-get install lxde-core 2>&1| grep -o lxterminal
root@debian:/# apt-cache policy termit
termit:
  Installed: (none)
  Candidate: 3.0-1+b1
  Version table:
     3.0-1+b1 500
        500 http://ftp.cn.debian.org/debian stretch/main i386 Packages
root@debian:/# apt-cache policy lxterminal
lxterminal:
  Installed: (none)
  Candidate: 0.3.0-2
  Version table:
     0.3.0-2 500
        500 http://ftp.cn.debian.org/debian stretch/main i386 Packages
root@debian:/#


Code: Select all
root@debian:/# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@debian:/# echo n | aptitude --disable-columns --prompt --with-recommends install lxde-core |grep lxterminal
Warning: Invalid locale (please review locale settings, this might lead to problems later):
  locale::facet::_S_create_c_locale name not valid
root@debian:/# echo n | apt install lxde-core |grep lxterminal

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

root@debian:/# echo n | apt-get install lxde-core |grep lxterminal
root@debian:/# aptitude --disable-columns search '~Px-terminal-emulator'|grep ^i
Warning: Invalid locale (please review locale settings, this might lead to problems later):
  locale::facet::_S_create_c_locale name not valid
root@debian:/# aptitude why-not lxterminal
Warning: Invalid locale (please review locale settings, this might lead to problems later):
  locale::facet::_S_create_c_locale name not valid
Not currently installed
The candidate version 0.3.0-1 has priority optional
No dependencies require to remove lxterminal
root@debian:/#


Note on jessie the aptitude listed "lxterminal" without the "{a}" suffix?
Why so on jessie ?

Code: Select all
root@debian:/# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@debian:/# echo n | aptitude --disable-columns --prompt --with-recommends install lxde-core |grep lxterminal
  lxterminal mime-support{a} miscfiles{a} ntfs-3g{a} obconf{a} openbox{a}
root@debian:/# echo n | apt install lxde-core |grep lxterminal

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

  lxpanel-data lxsession lxtask lxterminal mime-support miscfiles ntfs-3g
  lxpanel lxpanel-data lxsession lxtask lxterminal mime-support miscfiles
root@debian:/# echo n | apt-get install lxde-core |grep lxterminal
  lxpanel-data lxsession lxtask lxterminal mime-support miscfiles ntfs-3g
  lxpanel lxpanel-data lxsession lxtask lxterminal mime-support miscfiles
root@debian:/# aptitude --disable-columns search '~Px-terminal-emulator'|grep ^i
root@debian:/# aptitude why-not lxterminal
Unable to find a reason to remove lxterminal.
root@debian:/#
Last edited by lbuiyzxl on 2017-05-20 22:11, edited 20 times in total.
I'm sorry for my bad English skills
I'm don't want to be a nuisance.
lbuiyzxl
 
Posts: 64
Joined: 2017-05-11 08:35

Re: Why isn't lxterminal installed when installing lxde-core

Postby arochester » 2017-05-11 12:39

Lxde-core is very lightweight. It aims to install the minimal to get a working Desktop. My recollection is that it installs Xterm and Uxterm(?).

The full Lxde install will give Lxterminal.

This site http://ahotech.com/2010/07/02/best-ligh ... for-linux/
does not list LxTerminal. Maybe it is seen as too heavy/optional.
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1112
Joined: 2010-12-07 19:55

Re: Why isn't lxterminal installed when installing lxde-core

Postby None1975 » 2017-05-11 14:18

lbuiyzxl wrote:Why isn't lxterminal installed when installing lxde-core?

Hello. It install xterm.
OS: Debian 9.2 / WM: Stumpwm
Debian Wiki | DontBreakDebian, Stumpwm
User avatar
None1975
 
Posts: 225
Joined: 2015-11-29 18:23
Location: Lithuania

Re: Why isn't lxterminal installed when installing lxde-core

Postby lbuiyzxl » 2017-05-11 15:31

@arochester
@None1975
Thank you-all,I just now know it install "termit"
But what mechanism do replace "lxterminal" by "termit" or any "x-terminal-emulator" ?
And, why the aitputde on jessie listed "lxterminal" but without "{a}" suffix?
I'm sorry for my bad English skills
I'm don't want to be a nuisance.
lbuiyzxl
 
Posts: 64
Joined: 2017-05-11 08:35

Re: Why isn't lxterminal installed when installing lxde-core

Postby arochester » 2017-05-11 19:09

I'm not sure that I understand all of this.
Is this related? https://unix.stackexchange.com/question ... -installed

Do you want to install lxterminal? I have it.

Why not just (AS ROOT):
Code: Select all
 apt install lxterminal
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1112
Joined: 2010-12-07 19:55

Re: Why isn't lxterminal installed when installing lxde-core

Postby lbuiyzxl » 2017-05-12 06:37

arochester wrote:I'm not sure that I understand all of this.
Is this related? https://unix.stackexchange.com/question ... -installed

Do you want to install lxterminal? I have it.

Why not just (AS ROOT):
Code: Select all
 apt install lxterminal


On stretch the question is https://unix.stackexchange.com/question ... -installed
On jessie the question is aptitude listed "lxterminal" without "{a}" suffix

I want understand why ,not only install "lxterminal"
I'm sorry for my bad English skills
I'm don't want to be a nuisance.
lbuiyzxl
 
Posts: 64
Joined: 2017-05-11 08:35

When a package recommends A or B, which one is installed?

Postby lbuiyzxl » 2017-05-13 10:02

When a package recommends A or B, which one is installed?
(maybe so post make this question clearer ?)
When a package recommends package A or B (shown as `packagename Recommends A | B` below), which one is installed by default?

For example, on Debian Stretch:
However, `lxterminal` is not installed despite there being no other `x-terminal-emulator` on the system:
Code: Select all
root@debian:/# aptitude --disable-columns search  '~Px-terminal-emulator' |grep -v ^p
Warning: Invalid locale (please review locale settings, this might lead to problems later):
  locale::facet::_S_create_c_locale name not valid
root@debian:/#


Code: Select all
root@debian:/# aptitude -P --with-recommends install lxde-core

Then:
Code: Select all
root@debian:/# aptitude why termit
Warning: Invalid locale (please review locale settings, this might lead to problems later):
  locale::facet::_S_create_c_locale name not valid
i   lxde-core Recommends lxterminal | x-terminal-emulator
i A termit    Provides   x-terminal-emulator


Why wasn't "lxterminal" installed?
I'm sorry for my bad English skills
I'm don't want to be a nuisance.
lbuiyzxl
 
Posts: 64
Joined: 2017-05-11 08:35

Re: When a package recommends A or B, which one is installed

Postby debiman » 2017-05-13 10:08

maybe i'm stupid, but so are computers, and so i'd think that it will first try to install package A, and only if that fails it tries to install B?

or maybe, if B is already installed, there's no need to install A?
User avatar
debiman
 
Posts: 1619
Joined: 2013-03-12 07:18

Re: Why isn't lxterminal installed when installing lxde-core

Postby debiman » 2017-05-13 10:45

lbuiyzxl wrote:the question is aptitude listed "lxterminal" without "{a}" suffix

I want understand why ,not only install "lxterminal"

i don't use aptitude.
what does the {a} signify?

edit:
the answer to op's question is there in the stackexchange article.
yet op keeps on insisting that they had no terminal emulator installed whatsoever. even though they are using command line tools to install things. yeah, whatever. not the first time someone wouldn't want to admit a simple oversight.
User avatar
debiman
 
Posts: 1619
Joined: 2013-03-12 07:18

Re: When a package recommends A or B, which one is installed

Postby dasein » 2017-05-13 12:00

@OP -> You already have an existing thread asking this exact same question. Starting a second thread for the same question is against the basic rules of this forum. Expect one of the threads (ideally this one) to get locked.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Why isn't lxterminal installed when installing lxde-core

Postby dasein » 2017-05-13 12:13

OMG... Not only does the OP start multiple threads here, he's multiple-posting the exact same question over at stack exchange.

Yo, OP! -> You need to stop spamming multiple venues for an answer. The answer was provided to you a day ago in response to one of your SE posts. Pay attention.

Whatever terminal you're already using satisfies the dependency. You are entering commands, cutting-and-pasting output, etc. That is happening via terminal emulator, not magic.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Why isn't lxterminal installed when installing lxde-core

Postby lbuiyzxl » 2017-05-13 13:03

dasein wrote:OMG... Not only does the OP start multiple threads here, he's multiple-posting the exact same question over at stack exchange.

Yo, OP! -> You need to stop spamming multiple venues for an answer. The answer was provided to you a day ago in response to one of your SE posts. Pay attention.

Whatever terminal you're already using satisfies the dependency. You are entering commands, cutting-and-pasting output, etc. That is happening via terminal emulator, not magic.

I'm sorry,which one version of post is best suitable this question?
Answer of Stack Exchange really is not useful,because I'm sure non-existent any x-terminal-emulator

I apologize again.
I just not sure what is best version of question and which where venues is best for question.
Last edited by lbuiyzxl on 2017-05-13 15:49, edited 1 time in total.
I'm sorry for my bad English skills
I'm don't want to be a nuisance.
lbuiyzxl
 
Posts: 64
Joined: 2017-05-11 08:35

Re: Why isn't lxterminal installed when installing lxde-core

Postby debiman » 2017-05-13 13:06

dasein wrote:That is happening via terminal emulator, not magic.

who knows... maybe op's using butterflies?

PS:
oh right, because I'm sure non-existent any x-terminal-emulator - like i said, not the first time someone wouldn't want to admit a simple oversight.
after all, it's much more fun to have "did"-"did not" argument for pages.
User avatar
debiman
 
Posts: 1619
Joined: 2013-03-12 07:18

Re: Why isn't lxterminal installed when installing lxde-core

Postby dasein » 2017-05-13 13:15

lbuiyzxl wrote:...because I'm sure non-existent any x-terminal-emulator

I'm more sure that you're a troll, because no one who isn't POTUS could be so stupid as to deny the undeniable. Terminal output in post = terminal emulator installed.

DFTT link: ucp.php?i=zebra&mode=foes&add=lbuiyzxl
Last edited by dasein on 2017-05-17 12:17, edited 2 times in total.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Why isn't lxterminal installed when installing lxde-core

Postby lbuiyzxl » 2017-05-13 13:20

debiman wrote:i don't use aptitude.
what does the {a} signify?

@debiman
I cna't find manpage for this ,so:
Code: Select all
root@debian:/# aptitude -P install linux-image-686-pae     
Warning: Invalid locale (please review locale settings, this might lead to problems later):
  locale::facet::_S_create_c_locale name not valid
The following NEW packages will be installed:
  busybox{a} firmware-linux-free{a} initramfs-tools{a} initramfs-tools-core{a} irqbalance{a} klibc-utils{a} libglib2.0-0{a} libglib2.0-data{a} libicu57{a} libklibc{a}
  libnuma1{a} libxml2{a} linux-base{a} linux-image-4.9.0-2-686-pae{a} linux-image-686-pae sgml-base{a} shared-mime-info{a} xdg-user-dirs{a} xml-core{a}
0 packages upgraded, 19 newly installed, 0 to remove and 0 not upgraded.
Need to get 54.0 MB of archives. After unpacking 196 MB will be used.
Do you want to continue? [Y/n/?] ?
Commands:
  y: continue with the installation
  n: abort and quit
  i: show information about one or more packages; the package names should follow the 'i'
  c: show the Debian changelogs of one or more packages; the package names should follow the 'c'
  d: toggle the display of dependency information
  s: toggle the display of changes in package sizes
  v: toggle the display of version numbers
  w: try to find a reason for installing a single package, or explain why installing one package should lead to installing another package.
  e: enter the full visual interface
 
  You may also specify modification to the actions which will be taken.  To do so, type an action character followed by one or more package names (or patterns).  The action will
  be applied to all the packages that you list.  The following actions are available:
 
  '+' to install packages
  '+M' to install packages and immediately flag them as automatically installed
  '-' to remove packages
  '_' to purge packages
  '=' to place packages on hold
  ':' to keep packages in their current state without placing them on hold
  '&M' to mark packages as automatically installed
  '&m' to mark packages as manually installed
  '&BD' to install the build-dependencies of a package.
 
  In the list of actions to be performed, some packages will be followed by one or more characters enclosed in braces; for instance: "aptitude{u}".  These characters provide extra
  information about the package's state, and can include any combination of the following:
 
  'a': the package was automatically installed or removed.
  'b': some of the package's dependencies are violated by the proposed changes.
  'p': the package will be purged in addition to being removed.
  'u': the package is being removed because it is unused.
Do you want to continue? [Y/n/?] n
Abort.
root@debian:/#
Last edited by lbuiyzxl on 2017-05-13 15:22, edited 1 time in total.
I'm sorry for my bad English skills
I'm don't want to be a nuisance.
lbuiyzxl
 
Posts: 64
Joined: 2017-05-11 08:35

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable