An error code (2) is preventing the updating/installation/removal of packages
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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 commandnamei -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
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
karel
51.9k11110133
51.9k11110133
asked Jan 27 at 15:46
![](https://lh3.googleusercontent.com/-IpDye_Aruf0/AAAAAAAAAAI/AAAAAAAB3js/jGtnWHDn2Gw/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-IpDye_Aruf0/AAAAAAAAAAI/AAAAAAAB3js/jGtnWHDn2Gw/photo.jpg?sz=32)
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 commandnamei -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 commandnamei -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