An error code (2) is preventing the updating/installation/removal of packages

 Clash Royale CLAN TAG#URR8PPP
Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
An error code (2) is preventing the updating/installation/removal of packages. Here are the details.
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libgnome-bluetooth13
The following NEW packages will be installed
libgnome-bluetooth13
0 to upgrade, 1 to newly install, 0 to remove and 114 not to upgrade.
Need to get 0 B/85.2 kB of archives.
After this operation, 552 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libgnome-bluetooth13:amd64.
dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package 'gnome-bluetooth': Permission denied
E: Sub-process /usr/bin/dpkg returned an error code (2)
output of terminal command namei -l /var/lib/dpkg/info/gnome-bluetooth.list
$ namei -l /var/lib/dpkg/info/gnome-bluetooth.list
f: /var/lib/dpkg/info/gnome-bluetooth.list
drwxr-xr-x root root /
drwxr-xr-x root root var
drwxr-xr-x root root lib
drwxr-xr-x root root dpkg
drwxr-xr-x root root info
-rw-r--r-- root root gnome-bluetooth.list 
apt package-management upgrade dpkg bluetooth
add a comment |Â
up vote
0
down vote
favorite
An error code (2) is preventing the updating/installation/removal of packages. Here are the details.
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libgnome-bluetooth13
The following NEW packages will be installed
libgnome-bluetooth13
0 to upgrade, 1 to newly install, 0 to remove and 114 not to upgrade.
Need to get 0 B/85.2 kB of archives.
After this operation, 552 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libgnome-bluetooth13:amd64.
dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package 'gnome-bluetooth': Permission denied
E: Sub-process /usr/bin/dpkg returned an error code (2)
output of terminal command namei -l /var/lib/dpkg/info/gnome-bluetooth.list
$ namei -l /var/lib/dpkg/info/gnome-bluetooth.list
f: /var/lib/dpkg/info/gnome-bluetooth.list
drwxr-xr-x root root /
drwxr-xr-x root root var
drwxr-xr-x root root lib
drwxr-xr-x root root dpkg
drwxr-xr-x root root info
-rw-r--r-- root root gnome-bluetooth.list 
apt package-management upgrade dpkg bluetooth
 
 
 1
 
 
 
 
 Please edit your question to include the command or sequence of GUI actions that produced the error as well as the output of terminal command- namei -l /var/lib/dpkg/info/gnome-bluetooth.list
 â steeldriver
 Jan 27 at 15:57
 
 
 
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
An error code (2) is preventing the updating/installation/removal of packages. Here are the details.
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libgnome-bluetooth13
The following NEW packages will be installed
libgnome-bluetooth13
0 to upgrade, 1 to newly install, 0 to remove and 114 not to upgrade.
Need to get 0 B/85.2 kB of archives.
After this operation, 552 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libgnome-bluetooth13:amd64.
dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package 'gnome-bluetooth': Permission denied
E: Sub-process /usr/bin/dpkg returned an error code (2)
output of terminal command namei -l /var/lib/dpkg/info/gnome-bluetooth.list
$ namei -l /var/lib/dpkg/info/gnome-bluetooth.list
f: /var/lib/dpkg/info/gnome-bluetooth.list
drwxr-xr-x root root /
drwxr-xr-x root root var
drwxr-xr-x root root lib
drwxr-xr-x root root dpkg
drwxr-xr-x root root info
-rw-r--r-- root root gnome-bluetooth.list 
apt package-management upgrade dpkg bluetooth
An error code (2) is preventing the updating/installation/removal of packages. Here are the details.
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libgnome-bluetooth13
The following NEW packages will be installed
libgnome-bluetooth13
0 to upgrade, 1 to newly install, 0 to remove and 114 not to upgrade.
Need to get 0 B/85.2 kB of archives.
After this operation, 552 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libgnome-bluetooth13:amd64.
dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package 'gnome-bluetooth': Permission denied
E: Sub-process /usr/bin/dpkg returned an error code (2)
output of terminal command namei -l /var/lib/dpkg/info/gnome-bluetooth.list
$ namei -l /var/lib/dpkg/info/gnome-bluetooth.list
f: /var/lib/dpkg/info/gnome-bluetooth.list
drwxr-xr-x root root /
drwxr-xr-x root root var
drwxr-xr-x root root lib
drwxr-xr-x root root dpkg
drwxr-xr-x root root info
-rw-r--r-- root root gnome-bluetooth.list 
apt package-management upgrade dpkg bluetooth
apt package-management upgrade dpkg bluetooth
edited Jan 27 at 16:34


karel
51.9k11110133
51.9k11110133
asked Jan 27 at 15:46


Alex Turner
13
13
 
 
 1
 
 
 
 
 Please edit your question to include the command or sequence of GUI actions that produced the error as well as the output of terminal command- namei -l /var/lib/dpkg/info/gnome-bluetooth.list
 â steeldriver
 Jan 27 at 15:57
 
 
 
add a comment |Â
 
 
 1
 
 
 
 
 Please edit your question to include the command or sequence of GUI actions that produced the error as well as the output of terminal command- namei -l /var/lib/dpkg/info/gnome-bluetooth.list
 â steeldriver
 Jan 27 at 15:57
 
 
 
1
1
Please edit your question to include the command or sequence of GUI actions that produced the error as well as the output of terminal command
namei -l /var/lib/dpkg/info/gnome-bluetooth.listâ steeldriver
Jan 27 at 15:57
Please edit your question to include the command or sequence of GUI actions that produced the error as well as the output of terminal command
namei -l /var/lib/dpkg/info/gnome-bluetooth.listâ steeldriver
Jan 27 at 15:57
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
 
draft saved
draft discarded
 
draft saved
draft discarded
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%2f1000442%2fan-error-code-2-is-preventing-the-updating-installation-removal-of-packages%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
1
Please edit your question to include the command or sequence of GUI actions that produced the error as well as the output of terminal command
namei -l /var/lib/dpkg/info/gnome-bluetooth.listâ steeldriver
Jan 27 at 15:57