tonywoolf's picture
I am trying to install Confconsole on 32 bit debian jessie. It installs ok, but doesn't start as root normaly at boot time. There is some error about LSB: 
root@home:~# systemctl -l status confconsole.service
● confconsole.service - LSB: Starts confconsole at boot time
Loaded: loaded (/etc/init.d/confconsole)
Active: failed (Result: exit-code) since Sat 2016-03-26 23:01:58 EET; 11min ago
Process: 428 ExecStart=/etc/init.d/confconsole start (code=exited, status=1/FAILURE)

Mar 26 23:01:58 home confconsole[428]: Starting confconsolesetterm: $TERM is not defined.
Mar 26 23:01:58 home systemd[1]: confconsole.service: control process exited, code=exited status=1
Mar 26 23:01:58 home systemd[1]: Failed to start LSB: Starts confconsole at boot time.
Mar 26 23:01:58 home systemd[1]: Unit confconsole.service entered failed state.
I appreciate any help. Thanks!
Jeremy Davis's picture

Have you installed the dependencies? All our commandline UI stuff depends on our (old) libraries. IIRC you will need turnkey-pylib and turnkey-dialog-wrapper (they're on GitHub or in our repo). Confconsole was written years ago and depended on our fork of stuff to work around some issues at the time. There has been intention to go back and tidy things up, but it still works for our purposes so it keeps getting pushed back on the "todo" list...

Also I'd check that your root user has TERM set. Try logging in as the root user and see if you can get it to work there...

Jeremy Davis's picture

I'm guessing that it was something that I mentioned, but others might find it useful if they knew what it was that fixed it...
tonywoolf's picture

My comment was blocked by some spam filter.


Add Turnkey keyring: 
apt-key add turnkey-release-keyring.gpg

Then add repository to /etc/apt/sources.list:
deb [arch=amd64] jessie main

Then install:
apt-get update
apt-get install confconsole

The solution was [arch=amd64], because there is no i386 packages for jessie.

freealx's picture

I gave a try to exactly this [arch=amd64] workaround, but it seems like the problem is with the dependencies

root@fileserver:/home/alex# apt-get install confconsole
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 confconsole : Depends: python-dialog (>= 2.7-1turnkey+4) but it is not installable
               Depends: turnkey-pylib but it is not installable
               Recommends: di-live but it is not installable
               Recommends: resolvconf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

The 'python-dialog' is replaced by 'python3-dialog' in jessie's Python v3.4.

The 'turnkey-pylib' package is not available in the Turnkey repo for jessie.

Am I missing something?

tonywoolf's picture

First install it from deb main, then change it to jessie and apt-get update; apt-get install --reinstall confconsole.
tonywoolf's picture

Sorry, i was on my phone.


First install it from deb deb wheezy main, then change it to jessie and apt-get update; apt-get install --reinstall confconsole.

freealx's picture

To "borrow" the dependencies from wheezy [i386 arch]:

python-dialog (2.7-1turnkey+9+g97403e1)
resolvconf (1.76.1)
turnkey-pylib (0.5+2+gfde3f2b)
confconsole (0.9.4+39+g4bf3279)

... and to upgrade only the confconsole from jessie [all arch]:

confconsole (0.9.4+54+g99603c7)
apt-get install --reinstall confconsole

This is precisely what Jeremy suggested - to use the old dependencies. I was wondering if there are way to do it with jessie packages only, but I saw that in the repo there are only amd64 deps for those...


Jeremy Davis's picture

FYI we will be updating our repo to include 32 bit jessie packages at some point in the not too distant future. We don't intend to support 32 bit "officially" but they will be available.

Also IIRC all of our "amd64" packages (at least all the python ones) are actually arch independent, but our build infrastructure tags then with whatever architecture they were built on. So seeing as we only built 64 bit for v14.x/Jessie they all present as amd64...

Add new comment