After “sudo apt-get -f install” failed, still can't purge duplicate package





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















After sudo apt-get -f install, got



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
bbswitch-dkms freeglut3 libcg libcggl libcuda1-340 libjansson4 libllvm5.0 libportaudiocpp0 libxnvctrl0 linux-headers-4.4.0-124 linux-headers-4.4.0-124-generic linux-headers-4.4.0-127
linux-headers-4.4.0-127-generic linux-headers-4.4.0-128 linux-headers-4.4.0-128-generic linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic linux-headers-4.4.0-131 linux-headers-4.4.0-131-generic
linux-headers-4.4.0-133 linux-headers-4.4.0-133-generic linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic linux-headers-4.4.0-135 linux-headers-4.4.0-135-generic linux-headers-4.4.0-137
linux-headers-4.4.0-137-generic linux-headers-4.4.0-138 linux-headers-4.4.0-138-generic linux-image-4.4.0-124-generic linux-image-4.4.0-127-generic linux-image-4.4.0-128-generic
linux-image-4.4.0-130-generic linux-image-4.4.0-131-generic linux-image-4.4.0-133-generic linux-image-4.4.0-134-generic linux-image-4.4.0-135-generic linux-image-4.4.0-137-generic
linux-image-4.4.0-138-generic linux-image-extra-4.4.0-124-generic linux-image-extra-4.4.0-127-generic linux-image-extra-4.4.0-128-generic linux-image-extra-4.4.0-130-generic
linux-image-extra-4.4.0-131-generic linux-image-extra-4.4.0-133-generic linux-image-extra-4.4.0-134-generic linux-image-extra-4.4.0-135-generic linux-image-extra-4.4.0-137-generic
linux-image-extra-4.4.0-138-generic linux-signed-image-4.4.0-124-generic linux-signed-image-4.4.0-127-generic linux-signed-image-4.4.0-128-generic linux-signed-image-4.4.0-130-generic
linux-signed-image-4.4.0-131-generic linux-signed-image-4.4.0-133-generic linux-signed-image-4.4.0-134-generic linux-signed-image-4.4.0-135-generic linux-signed-image-4.4.0-137-generic
linux-signed-image-4.4.0-138-generic screen-resolution-extra xserver-xorg-legacy
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libtiffxx5
The following packages will be upgraded:
libtiffxx5
1 upgraded, 0 newly installed, 0 to remove and 169 not upgraded.
3 not fully installed or removed.
Need to get 0 B/9,456 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package libtiffxx5:amd64.
(Reading database ... 755703 files and directories currently installed.)
Preparing to unpack .../libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb ...
Unpacking libtiffxx5:amd64 (4.0.6-1ubuntu0.6) over (4.0.6-1ubuntu0.5) ...
dpkg: error processing archive /var/cache/apt/archives/libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libtiffxx5/changelog.Debian.gz', which is different from other instances of package libtiffxx5:amd64
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
/var/cache/apt/archives/libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Try sudo dpkg -P libtiffxx5:amd64 and got



dpkg: dependency problems prevent removal of libtiffxx5:amd64:
libtiff5-dev:amd64 depends on libtiffxx5 (= 4.0.6-1ubuntu0.6).

dpkg: error processing package libtiffxx5:amd64 (--purge):
dependency problems - not removing
Errors were encountered while processing:
libtiffxx5:amd64



And then sudo dpkg -P libtiff5-dev:amd64 got



dpkg: dependency problems prevent removal of libtiff5-dev:amd64:
libopencv-highgui-dev:amd64 depends on libtiff-dev; however:
Package libtiff-dev is not installed.
Package libtiff5-dev:amd64 which provides libtiff-dev is to be removed.

dpkg: error processing package libtiff5-dev:amd64 (--purge):
dependency problems - not removing
Errors were encountered while processing:
libtiff5-dev:amd64


Just can't purge these packages. Anyone has and idea why?










share|improve this question







New contributor




Kay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 3





    It provides a file that was installed by multiple packages (you were possibly warned on install but forced it), possibly because you've added unofficial sources that have created a package clash. I'd start by exploring that file listed in your messages (dpkg -S) then look at where the packages come from, ensuring they are both intended for xenial and likely back out the unofficial source & package...

    – guiverc
    yesterday




















0















After sudo apt-get -f install, got



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
bbswitch-dkms freeglut3 libcg libcggl libcuda1-340 libjansson4 libllvm5.0 libportaudiocpp0 libxnvctrl0 linux-headers-4.4.0-124 linux-headers-4.4.0-124-generic linux-headers-4.4.0-127
linux-headers-4.4.0-127-generic linux-headers-4.4.0-128 linux-headers-4.4.0-128-generic linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic linux-headers-4.4.0-131 linux-headers-4.4.0-131-generic
linux-headers-4.4.0-133 linux-headers-4.4.0-133-generic linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic linux-headers-4.4.0-135 linux-headers-4.4.0-135-generic linux-headers-4.4.0-137
linux-headers-4.4.0-137-generic linux-headers-4.4.0-138 linux-headers-4.4.0-138-generic linux-image-4.4.0-124-generic linux-image-4.4.0-127-generic linux-image-4.4.0-128-generic
linux-image-4.4.0-130-generic linux-image-4.4.0-131-generic linux-image-4.4.0-133-generic linux-image-4.4.0-134-generic linux-image-4.4.0-135-generic linux-image-4.4.0-137-generic
linux-image-4.4.0-138-generic linux-image-extra-4.4.0-124-generic linux-image-extra-4.4.0-127-generic linux-image-extra-4.4.0-128-generic linux-image-extra-4.4.0-130-generic
linux-image-extra-4.4.0-131-generic linux-image-extra-4.4.0-133-generic linux-image-extra-4.4.0-134-generic linux-image-extra-4.4.0-135-generic linux-image-extra-4.4.0-137-generic
linux-image-extra-4.4.0-138-generic linux-signed-image-4.4.0-124-generic linux-signed-image-4.4.0-127-generic linux-signed-image-4.4.0-128-generic linux-signed-image-4.4.0-130-generic
linux-signed-image-4.4.0-131-generic linux-signed-image-4.4.0-133-generic linux-signed-image-4.4.0-134-generic linux-signed-image-4.4.0-135-generic linux-signed-image-4.4.0-137-generic
linux-signed-image-4.4.0-138-generic screen-resolution-extra xserver-xorg-legacy
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libtiffxx5
The following packages will be upgraded:
libtiffxx5
1 upgraded, 0 newly installed, 0 to remove and 169 not upgraded.
3 not fully installed or removed.
Need to get 0 B/9,456 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package libtiffxx5:amd64.
(Reading database ... 755703 files and directories currently installed.)
Preparing to unpack .../libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb ...
Unpacking libtiffxx5:amd64 (4.0.6-1ubuntu0.6) over (4.0.6-1ubuntu0.5) ...
dpkg: error processing archive /var/cache/apt/archives/libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libtiffxx5/changelog.Debian.gz', which is different from other instances of package libtiffxx5:amd64
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
/var/cache/apt/archives/libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Try sudo dpkg -P libtiffxx5:amd64 and got



dpkg: dependency problems prevent removal of libtiffxx5:amd64:
libtiff5-dev:amd64 depends on libtiffxx5 (= 4.0.6-1ubuntu0.6).

dpkg: error processing package libtiffxx5:amd64 (--purge):
dependency problems - not removing
Errors were encountered while processing:
libtiffxx5:amd64



And then sudo dpkg -P libtiff5-dev:amd64 got



dpkg: dependency problems prevent removal of libtiff5-dev:amd64:
libopencv-highgui-dev:amd64 depends on libtiff-dev; however:
Package libtiff-dev is not installed.
Package libtiff5-dev:amd64 which provides libtiff-dev is to be removed.

dpkg: error processing package libtiff5-dev:amd64 (--purge):
dependency problems - not removing
Errors were encountered while processing:
libtiff5-dev:amd64


Just can't purge these packages. Anyone has and idea why?










share|improve this question







New contributor




Kay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 3





    It provides a file that was installed by multiple packages (you were possibly warned on install but forced it), possibly because you've added unofficial sources that have created a package clash. I'd start by exploring that file listed in your messages (dpkg -S) then look at where the packages come from, ensuring they are both intended for xenial and likely back out the unofficial source & package...

    – guiverc
    yesterday
















0












0








0








After sudo apt-get -f install, got



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
bbswitch-dkms freeglut3 libcg libcggl libcuda1-340 libjansson4 libllvm5.0 libportaudiocpp0 libxnvctrl0 linux-headers-4.4.0-124 linux-headers-4.4.0-124-generic linux-headers-4.4.0-127
linux-headers-4.4.0-127-generic linux-headers-4.4.0-128 linux-headers-4.4.0-128-generic linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic linux-headers-4.4.0-131 linux-headers-4.4.0-131-generic
linux-headers-4.4.0-133 linux-headers-4.4.0-133-generic linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic linux-headers-4.4.0-135 linux-headers-4.4.0-135-generic linux-headers-4.4.0-137
linux-headers-4.4.0-137-generic linux-headers-4.4.0-138 linux-headers-4.4.0-138-generic linux-image-4.4.0-124-generic linux-image-4.4.0-127-generic linux-image-4.4.0-128-generic
linux-image-4.4.0-130-generic linux-image-4.4.0-131-generic linux-image-4.4.0-133-generic linux-image-4.4.0-134-generic linux-image-4.4.0-135-generic linux-image-4.4.0-137-generic
linux-image-4.4.0-138-generic linux-image-extra-4.4.0-124-generic linux-image-extra-4.4.0-127-generic linux-image-extra-4.4.0-128-generic linux-image-extra-4.4.0-130-generic
linux-image-extra-4.4.0-131-generic linux-image-extra-4.4.0-133-generic linux-image-extra-4.4.0-134-generic linux-image-extra-4.4.0-135-generic linux-image-extra-4.4.0-137-generic
linux-image-extra-4.4.0-138-generic linux-signed-image-4.4.0-124-generic linux-signed-image-4.4.0-127-generic linux-signed-image-4.4.0-128-generic linux-signed-image-4.4.0-130-generic
linux-signed-image-4.4.0-131-generic linux-signed-image-4.4.0-133-generic linux-signed-image-4.4.0-134-generic linux-signed-image-4.4.0-135-generic linux-signed-image-4.4.0-137-generic
linux-signed-image-4.4.0-138-generic screen-resolution-extra xserver-xorg-legacy
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libtiffxx5
The following packages will be upgraded:
libtiffxx5
1 upgraded, 0 newly installed, 0 to remove and 169 not upgraded.
3 not fully installed or removed.
Need to get 0 B/9,456 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package libtiffxx5:amd64.
(Reading database ... 755703 files and directories currently installed.)
Preparing to unpack .../libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb ...
Unpacking libtiffxx5:amd64 (4.0.6-1ubuntu0.6) over (4.0.6-1ubuntu0.5) ...
dpkg: error processing archive /var/cache/apt/archives/libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libtiffxx5/changelog.Debian.gz', which is different from other instances of package libtiffxx5:amd64
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
/var/cache/apt/archives/libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Try sudo dpkg -P libtiffxx5:amd64 and got



dpkg: dependency problems prevent removal of libtiffxx5:amd64:
libtiff5-dev:amd64 depends on libtiffxx5 (= 4.0.6-1ubuntu0.6).

dpkg: error processing package libtiffxx5:amd64 (--purge):
dependency problems - not removing
Errors were encountered while processing:
libtiffxx5:amd64



And then sudo dpkg -P libtiff5-dev:amd64 got



dpkg: dependency problems prevent removal of libtiff5-dev:amd64:
libopencv-highgui-dev:amd64 depends on libtiff-dev; however:
Package libtiff-dev is not installed.
Package libtiff5-dev:amd64 which provides libtiff-dev is to be removed.

dpkg: error processing package libtiff5-dev:amd64 (--purge):
dependency problems - not removing
Errors were encountered while processing:
libtiff5-dev:amd64


Just can't purge these packages. Anyone has and idea why?










share|improve this question







New contributor




Kay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












After sudo apt-get -f install, got



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
bbswitch-dkms freeglut3 libcg libcggl libcuda1-340 libjansson4 libllvm5.0 libportaudiocpp0 libxnvctrl0 linux-headers-4.4.0-124 linux-headers-4.4.0-124-generic linux-headers-4.4.0-127
linux-headers-4.4.0-127-generic linux-headers-4.4.0-128 linux-headers-4.4.0-128-generic linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic linux-headers-4.4.0-131 linux-headers-4.4.0-131-generic
linux-headers-4.4.0-133 linux-headers-4.4.0-133-generic linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic linux-headers-4.4.0-135 linux-headers-4.4.0-135-generic linux-headers-4.4.0-137
linux-headers-4.4.0-137-generic linux-headers-4.4.0-138 linux-headers-4.4.0-138-generic linux-image-4.4.0-124-generic linux-image-4.4.0-127-generic linux-image-4.4.0-128-generic
linux-image-4.4.0-130-generic linux-image-4.4.0-131-generic linux-image-4.4.0-133-generic linux-image-4.4.0-134-generic linux-image-4.4.0-135-generic linux-image-4.4.0-137-generic
linux-image-4.4.0-138-generic linux-image-extra-4.4.0-124-generic linux-image-extra-4.4.0-127-generic linux-image-extra-4.4.0-128-generic linux-image-extra-4.4.0-130-generic
linux-image-extra-4.4.0-131-generic linux-image-extra-4.4.0-133-generic linux-image-extra-4.4.0-134-generic linux-image-extra-4.4.0-135-generic linux-image-extra-4.4.0-137-generic
linux-image-extra-4.4.0-138-generic linux-signed-image-4.4.0-124-generic linux-signed-image-4.4.0-127-generic linux-signed-image-4.4.0-128-generic linux-signed-image-4.4.0-130-generic
linux-signed-image-4.4.0-131-generic linux-signed-image-4.4.0-133-generic linux-signed-image-4.4.0-134-generic linux-signed-image-4.4.0-135-generic linux-signed-image-4.4.0-137-generic
linux-signed-image-4.4.0-138-generic screen-resolution-extra xserver-xorg-legacy
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libtiffxx5
The following packages will be upgraded:
libtiffxx5
1 upgraded, 0 newly installed, 0 to remove and 169 not upgraded.
3 not fully installed or removed.
Need to get 0 B/9,456 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package libtiffxx5:amd64.
(Reading database ... 755703 files and directories currently installed.)
Preparing to unpack .../libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb ...
Unpacking libtiffxx5:amd64 (4.0.6-1ubuntu0.6) over (4.0.6-1ubuntu0.5) ...
dpkg: error processing archive /var/cache/apt/archives/libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libtiffxx5/changelog.Debian.gz', which is different from other instances of package libtiffxx5:amd64
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
/var/cache/apt/archives/libtiffxx5_4.0.6-1ubuntu0.6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Try sudo dpkg -P libtiffxx5:amd64 and got



dpkg: dependency problems prevent removal of libtiffxx5:amd64:
libtiff5-dev:amd64 depends on libtiffxx5 (= 4.0.6-1ubuntu0.6).

dpkg: error processing package libtiffxx5:amd64 (--purge):
dependency problems - not removing
Errors were encountered while processing:
libtiffxx5:amd64



And then sudo dpkg -P libtiff5-dev:amd64 got



dpkg: dependency problems prevent removal of libtiff5-dev:amd64:
libopencv-highgui-dev:amd64 depends on libtiff-dev; however:
Package libtiff-dev is not installed.
Package libtiff5-dev:amd64 which provides libtiff-dev is to be removed.

dpkg: error processing package libtiff5-dev:amd64 (--purge):
dependency problems - not removing
Errors were encountered while processing:
libtiff5-dev:amd64


Just can't purge these packages. Anyone has and idea why?







apt dpkg






share|improve this question







New contributor




Kay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Kay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Kay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









KayKay

1




1




New contributor




Kay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Kay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Kay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 3





    It provides a file that was installed by multiple packages (you were possibly warned on install but forced it), possibly because you've added unofficial sources that have created a package clash. I'd start by exploring that file listed in your messages (dpkg -S) then look at where the packages come from, ensuring they are both intended for xenial and likely back out the unofficial source & package...

    – guiverc
    yesterday
















  • 3





    It provides a file that was installed by multiple packages (you were possibly warned on install but forced it), possibly because you've added unofficial sources that have created a package clash. I'd start by exploring that file listed in your messages (dpkg -S) then look at where the packages come from, ensuring they are both intended for xenial and likely back out the unofficial source & package...

    – guiverc
    yesterday










3




3





It provides a file that was installed by multiple packages (you were possibly warned on install but forced it), possibly because you've added unofficial sources that have created a package clash. I'd start by exploring that file listed in your messages (dpkg -S) then look at where the packages come from, ensuring they are both intended for xenial and likely back out the unofficial source & package...

– guiverc
yesterday







It provides a file that was installed by multiple packages (you were possibly warned on install but forced it), possibly because you've added unofficial sources that have created a package clash. I'd start by exploring that file listed in your messages (dpkg -S) then look at where the packages come from, ensuring they are both intended for xenial and likely back out the unofficial source & package...

– guiverc
yesterday












0






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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Kay is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131564%2fafter-sudo-apt-get-f-install-failed-still-cant-purge-duplicate-package%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Kay is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Kay is a new contributor. Be nice, and check out our Code of Conduct.













Kay is a new contributor. Be nice, and check out our Code of Conduct.












Kay is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131564%2fafter-sudo-apt-get-f-install-failed-still-cant-purge-duplicate-package%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

香粉寮

GameSpot