Bosse_B
Posts: 981
Joined: Thu Jan 30, 2014 9:53 am

warning appears after upgrade on PiB

Tue Feb 10, 2015 8:25 pm

Today I did a sudo apt-get upgrade on my year-old Raspbian installation.
During the install sequence there were a number of these warnings:

Code: Select all

insserv: warning: script 'mathkernel' missing LSB tags and overrides
and these also come now when I try installation of other software.

What does this mean and how can it be fixed?
Bo Berglund
Sweden

User avatar
rpdom
Posts: 17174
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: warning appears after upgrade on PiB

Tue Feb 10, 2015 8:45 pm

Ignore it, or remove the package that "mathkernel" belongs to, if you don't need it.

dpkg -S /etc/init.d/mathkernel might tell you.

User avatar
DougieLawson
Posts: 39126
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: warning appears after upgrade on PiB

Tue Feb 10, 2015 9:36 pm

Bosse_B wrote: What does this mean and how can it be fixed?
It means your installation of Wolfram is out of date and due to be upgraded or purged.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Bosse_B
Posts: 981
Joined: Thu Jan 30, 2014 9:53 am

Re: warning appears after upgrade on PiB

Tue Feb 10, 2015 9:45 pm

What is Wolfram (well not the metal, I assume)???
I got this response:

Code: Select all

pi@raspbian-pi ~ $ dpkg -S /etc/init.d/mathkernel
wolfram-engine: /etc/init.d/mathkernel
Bo Berglund
Sweden

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: warning appears after upgrade on PiB

Tue Feb 10, 2015 10:41 pm

Bosse_B wrote:What is Wolfram (well not the metal, I assume)???
I got this response:

Code: Select all

pi@raspbian-pi ~ $ dpkg -S /etc/init.d/mathkernel
wolfram-engine: /etc/init.d/mathkernel
I would suggest that if you don't know what it is, then you're not using it and removal will free up shedloads of space.

Bosse_B
Posts: 981
Joined: Thu Jan 30, 2014 9:53 am

Re: warning appears after upgrade on PiB

Tue Feb 10, 2015 11:43 pm

OK,
now being a complete illiterate, how can I get rid of wolfram?
Can I use the command (googled):

Code: Select all

sudo apt-get remove wolfram-engine
or should it be just "wolfram" instead of "wolfram-engine"?

Is there a way to check which packages have been installed by apt-get?
Bo Berglund
Sweden

diederik
Posts: 393
Joined: Wed Mar 26, 2014 11:17 pm

Re: warning appears after upgrade on PiB

Wed Feb 11, 2015 12:36 am

Bosse_B wrote:Can I use the command (googled):

Code: Select all

sudo apt-get remove wolfram-engine
or should it be just "wolfram" instead of "wolfram-engine"?
That command from the code section is correct (thus wolfram-engine).
Is there a way to check which packages have been installed by apt-get?
Yes, "dpkg -l" or "aptitude search ~i"

User avatar
rpdom
Posts: 17174
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: warning appears after upgrade on PiB

Wed Feb 11, 2015 8:53 am

To list just packages that are currently installed:

Code: Select all

dpkg -l | grep "^ii"
This only displays lines that start with "ii", which means "has been requested to be Installed" and "is Installed".

Bosse_B
Posts: 981
Joined: Thu Jan 30, 2014 9:53 am

Re: warning appears after upgrade on PiB

Wed Feb 11, 2015 9:53 am

Thanks,
the command listed too many lines for the PuTTY display buffer...
Had to pipe to more to see all.
Rather a big list of software!
No sign of wolfram now that I have done the remove command!
Bo Berglund
Sweden

Return to “Raspberry Pi OS”