dpkg returns an error code (1)
up vote
0
down vote
favorite
After doing this
sudo apt upgrade
I get this error message.
[EnableNBExtensionApp] CRITICAL | Bad config encountered during initialization:
[EnableNBExtensionApp] CRITICAL | Unrecognized flag: '--sys-prefix'
dpkg: error processing package jupyter-nbextension-jupyter-js-widgets (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
jupyter-nbextension-jupyter-js-widgets
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am new Ubuntu user. I seriously don't know how did this happen. Please do not downvote this. This is not a duplicate, any of the previous solutions on this site were not useful. I also googled the error message but the solutions did not help.
upgrade dpkg jupyter
add a comment |Â
up vote
0
down vote
favorite
After doing this
sudo apt upgrade
I get this error message.
[EnableNBExtensionApp] CRITICAL | Bad config encountered during initialization:
[EnableNBExtensionApp] CRITICAL | Unrecognized flag: '--sys-prefix'
dpkg: error processing package jupyter-nbextension-jupyter-js-widgets (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
jupyter-nbextension-jupyter-js-widgets
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am new Ubuntu user. I seriously don't know how did this happen. Please do not downvote this. This is not a duplicate, any of the previous solutions on this site were not useful. I also googled the error message but the solutions did not help.
upgrade dpkg jupyter
Please specify your Ubuntu version. I can't reproduce this on clean Ubuntu 18.04 LTS. Did you triedsudo apt-get install -f
andsudo dpkg --configure -a
? (add output to the question if you have any errors in the output).
â N0rbert
May 24 at 7:42
1
@N0rbert actually it is fixed now. I manually deleted broken packages fromdpkg/info
.
â Siddharth
May 24 at 8:37
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
After doing this
sudo apt upgrade
I get this error message.
[EnableNBExtensionApp] CRITICAL | Bad config encountered during initialization:
[EnableNBExtensionApp] CRITICAL | Unrecognized flag: '--sys-prefix'
dpkg: error processing package jupyter-nbextension-jupyter-js-widgets (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
jupyter-nbextension-jupyter-js-widgets
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am new Ubuntu user. I seriously don't know how did this happen. Please do not downvote this. This is not a duplicate, any of the previous solutions on this site were not useful. I also googled the error message but the solutions did not help.
upgrade dpkg jupyter
After doing this
sudo apt upgrade
I get this error message.
[EnableNBExtensionApp] CRITICAL | Bad config encountered during initialization:
[EnableNBExtensionApp] CRITICAL | Unrecognized flag: '--sys-prefix'
dpkg: error processing package jupyter-nbextension-jupyter-js-widgets (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
jupyter-nbextension-jupyter-js-widgets
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am new Ubuntu user. I seriously don't know how did this happen. Please do not downvote this. This is not a duplicate, any of the previous solutions on this site were not useful. I also googled the error message but the solutions did not help.
upgrade dpkg jupyter
asked May 24 at 7:20
Siddharth
101
101
Please specify your Ubuntu version. I can't reproduce this on clean Ubuntu 18.04 LTS. Did you triedsudo apt-get install -f
andsudo dpkg --configure -a
? (add output to the question if you have any errors in the output).
â N0rbert
May 24 at 7:42
1
@N0rbert actually it is fixed now. I manually deleted broken packages fromdpkg/info
.
â Siddharth
May 24 at 8:37
add a comment |Â
Please specify your Ubuntu version. I can't reproduce this on clean Ubuntu 18.04 LTS. Did you triedsudo apt-get install -f
andsudo dpkg --configure -a
? (add output to the question if you have any errors in the output).
â N0rbert
May 24 at 7:42
1
@N0rbert actually it is fixed now. I manually deleted broken packages fromdpkg/info
.
â Siddharth
May 24 at 8:37
Please specify your Ubuntu version. I can't reproduce this on clean Ubuntu 18.04 LTS. Did you tried
sudo apt-get install -f
and sudo dpkg --configure -a
? (add output to the question if you have any errors in the output).â N0rbert
May 24 at 7:42
Please specify your Ubuntu version. I can't reproduce this on clean Ubuntu 18.04 LTS. Did you tried
sudo apt-get install -f
and sudo dpkg --configure -a
? (add output to the question if you have any errors in the output).â N0rbert
May 24 at 7:42
1
1
@N0rbert actually it is fixed now. I manually deleted broken packages from
dpkg/info
.â Siddharth
May 24 at 8:37
@N0rbert actually it is fixed now. I manually deleted broken packages from
dpkg/info
.â Siddharth
May 24 at 8:37
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039696%2fdpkg-returns-an-error-code-1%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Please specify your Ubuntu version. I can't reproduce this on clean Ubuntu 18.04 LTS. Did you tried
sudo apt-get install -f
andsudo dpkg --configure -a
? (add output to the question if you have any errors in the output).â N0rbert
May 24 at 7:42
1
@N0rbert actually it is fixed now. I manually deleted broken packages from
dpkg/info
.â Siddharth
May 24 at 8:37