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

The name of the pictureThe name of the pictureThe name of the pictureClash 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









share|improve this question



















  • 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














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









share|improve this question



















  • 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












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









share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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












  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491