[Bug 1550124] Re: package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo-progs 1.4.2-0ubuntu1
*** This bug is a duplicate of bug 1570817 *** https://bugs.launchpad.net/bugs/1570817 ** This bug has been marked a duplicate of bug 1571195 package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo-progs 1.3.0-0ubuntu2 ** This bug is no longer a duplicate of bug 1571195 package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo-progs 1.3.0-0ubuntu2 ** This bug has been marked a duplicate of bug 1570817 package libjpeg-progs (not installed) failed to install/upgrade: Versuch, »/usr/bin/rdjpgcom« zu überschreiben, welches auch in Paket libjpeg-turbo-progs 1.3.0-0ubuntu2 ist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1550124 Title: package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo- progs 1.4.2-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libjpeg8-empty/+bug/1550124/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1550124] Re: package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo-progs 1.4.2-0ubuntu1
Why would you want to install both libjpeg-progs and libjpeg-turbo-progs? "apt-cache depends libjpeg-progs" tells they conflict and replace each other. I noticed similar issue after upgrading from Trusty to Xenial. Both packages were installed. I resolved that by purging libjpeg-progs. I did not want to purge libjpeg-turbo-progs, because jhead depends on it and I wanted to keep it. I had no problem by purging libjpeg-progs by apt, but some have had and here is related post: https://askubuntu.com/q/766929/21005 BTW what is libjpeg8-empty? $ apt-cache policy libjpeg8-empty N: Unable to locate package libjpeg8-empty I see similar bugs Bug #1576010 Bug #1559754 Bug #1576937 Bug #1571195 Bug #1527455 Bug #1516242 ** Tags added: package-conflict -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1550124 Title: package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo- progs 1.4.2-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libjpeg8-empty/+bug/1550124/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1550124] Re: package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo-progs 1.4.2-0ubuntu1
This should provide you with a quick fix. It makes a couple of assumptions such as, that you've attempted to install libjpeg-progs and it's failed. Basically it goes and grabs the package from your cache, extracts out the package, changes the control file to allow it to resolve the conflict and changes the version number (appends this bug report number to it), bundles it back up into a package and then installs the package. It's also untested and assumes you don't have packages in your home folder (libjpeg-progs). #!/bin/bash mkdir ~/libjpeg-progs cp /var/cache/apt/archives/libjpeg-progs* ~/libjpeg-progs cd ~/libjpeg-progs ar x libjpeg-progs*.deb rm libjpeg-progs*.deb debian-binary tar xvf data.tar.* && rm data.tar.* tar xvf control.tar.* --directory DEBIAN && rm control.tar.* cd DEBIAN if [ -z "$( grep "^Replaces:" control )" ] ; then sed '/^Version:/ iReplaces: libjpeg-turbo-progs' control -i else sed 's/\(^Replaces: .*\)/\1, libjpeg-turbo-progs/' control -i fi sed 's/\(^Version: .*\)/\1-1550124/' control -i cd ~ dpkg -b libjpeg-progs . sudo dpkg -i libjpeg-progs*.deb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1550124 Title: package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo- progs 1.4.2-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libjpeg8-empty/+bug/1550124/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1550124] Re: package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo-progs 1.4.2-0ubuntu1
** Changed in: libjpeg8-empty (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1550124 Title: package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo- progs 1.4.2-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libjpeg8-empty/+bug/1550124/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1550124] Re: package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo-progs 1.4.2-0ubuntu1
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libjpeg8-empty (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1550124 Title: package libjpeg-progs 8c-2ubuntu8 failed to install/upgrade: trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo- progs 1.4.2-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libjpeg8-empty/+bug/1550124/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs