Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
lbuiyzxl
Posts: 66
Joined: 2017-05-11 08:35

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

#1 Post by lbuiyzxl »

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.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

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

#2 Post by arochester »

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.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

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

#3 Post by None1975 »

lbuiyzxl wrote:Why isn't lxterminal installed when installing lxde-core?
Hello. It install xterm.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

lbuiyzxl
Posts: 66
Joined: 2017-05-11 08:35

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

#4 Post by lbuiyzxl »

@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.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

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

#5 Post by arochester »

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

lbuiyzxl
Posts: 66
Joined: 2017-05-11 08:35

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

#6 Post by lbuiyzxl »

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: 66
Joined: 2017-05-11 08:35

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

#7 Post by lbuiyzxl »

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.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

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

#8 Post by debiman »

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: 3063
Joined: 2013-03-12 07:18

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

#9 Post by debiman »

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
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

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

#10 Post by dasein »

@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: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

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

#11 Post by dasein »

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.

lbuiyzxl
Posts: 66
Joined: 2017-05-11 08:35

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

#12 Post by lbuiyzxl »

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.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

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

#13 Post by debiman »

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
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

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

#14 Post by dasein »

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: http://forums.debian.net/ucp.php?i=zebr ... d=lbuiyzxl
Last edited by dasein on 2017-05-17 12:17, edited 2 times in total.

lbuiyzxl
Posts: 66
Joined: 2017-05-11 08:35

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

#15 Post by lbuiyzxl »

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: 66
Joined: 2017-05-11 08:35

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

#16 Post by lbuiyzxl »

dasein wrote:Terminal output in post = terminal emulator installed.
@dasein
https://wiki.debian.org/Debootstrap
I using terminal emulator on jessie chroot to other debian system that non-existent any x-terminal-emulator,this explain is OK?
Last edited by lbuiyzxl on 2017-05-13 21:28, edited 1 time in total.
I'm sorry for my bad English skills
I'm don't want to be a nuisance.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

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

#17 Post by debiman »

@dasein: in all fairness, it IS possible that op installed lxde straight from the tty, non-X, but sure they would have explained that because it does seem like a relevant detail.

nevertheless, from the info gathered so far, it is very, very clear that some terminal emulator (most likely xterm) must have been already installed.
and output that would have confirmed that has been requested, but never provided.

and in any case, it's a non-issue, nothing is broken, op just wants to know WHY... WFW...

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

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

#18 Post by dilberts_left_nut »

Duplicate threads merged.
AdrianTM wrote:There's no hacker in my grandma...

User avatar
orythem27
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

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

#19 Post by orythem27 »

debiman wrote:nevertheless, from the info gathered so far, it is very, very clear that some terminal emulator (most likely xterm) must have been already installed.
From what I understand, OP is suggesting that 'termit' is installed by the 'lxde-core' metapackage, not before. That is to say, before 'lxde-core' is installed, there is no terminal emulator package in the system. In fact, OP performed the installation of 'lxde-core' right after a fresh debootstrap minimal installation, without any GUI-related stuff.

So, a really confusing situation. Hopefully OP would provide us with more specific details. e.g. Is this problem fully reproducible?

lbuiyzxl
Posts: 66
Joined: 2017-05-11 08:35

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

#20 Post by lbuiyzxl »

orythem27 wrote:e.g. Is this problem fully reproducible?
At least this problem fully reproducible for me
https://unix.stackexchange.com/question ... -installed

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:/#
@orythem27
Thank you help me clarify :D
Last edited by lbuiyzxl on 2017-05-15 14:39, edited 1 time in total.
I'm sorry for my bad English skills
I'm don't want to be a nuisance.

Post Reply