On Mon, Sep 07, 2015 at 08:08:47PM +0200, chals wrote:
> Date: Mon, 7 Sep 2015 20:08:47 +0200
> From: chals <ch...@chalsattack.com>
> To: Debian Live <debian-live@lists.debian.org>
> Cc: Gerard ROBIN <g.rob...@free.fr>
> Subject: Re: prevent a package to be installed
 
> On Mon, Sep 7, 2015 at 3:12 PM, Gerard ROBIN <g.rob...@free.fr> wrote:
> > Hello,
> > probably a stupid question:
> > when I make an iso image I don't choose the package lightdm, but it
> > is in the iso image constructed. How can I prevent lightdm to be
> > installed ? (I use xfce4)
> > I prefer to start in console and use startx if necessary.
 
> You should use apt pinning in order to achieve that. I copy and paste
> from live-manual:
> 
> Negative pin priorities will prevent a package from being installed,
> as in the case where you do not want a package that is recommended by
> another package. Suppose you are building an LXDE image using
> task-lxde-desktop in config/package-lists/desktop.list.chroot, but
> don't want the user prompted to store wifi passwords in the keyring.
> This metapackage depends on lxde-core, which recommends gksu, which in
> turn recommends gnome-keyring. So you want to omit the recommended
> gnome-keyring package. This can be done by adding the following stanza
> to config/apt/preferences:
> 
> 
> Package: gnome-keyring
> Pin: version *
> Pin-Priority: -1
> 
> Use this example to achieve your goal. Good luck

Thank you but it's not so simple

cat preferences

Package: lightdm
Pin: version *
Pin-Priority: -1

Package: lightdm-gtk-greeter
Pin: version *
Pin-Priority: -1

Package: nano
Pin: version *
Pin-Priority: -1

this work fine for lightdm and lightdm-gtk-greeter but not for nano.
(I use vim)

On the other hand after the boot time I am well in console, but when I hit 
the login and the password, I don't stay in the console, xwindow starts 
automaticaly.
This is not what I want and remove lightdm have no use to me. I don't 
understand 
why xwindow start automatically.

-- 
Gerard
___________________________________________
*******************************************
*  Created with "mutt 1.5.23"             *
*  under Debian Linux JESSIE version 8.1  *
*  Registered Linux User #388243          *
*  https://Linuxcounter.net               *
*******************************************

Reply via email to