I've been using Ubuntu for a couple months now but just recently the command
sudo apt upgrade has stopped working. I get the error:
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libjpeg-turbo8 libjpeg-turbo8:i386 Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: libjpeg8 libjpeg8:i386 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/272 kB of archives. After this operation, 524 kB of additional disk space will be used. (Reading database ... 273198 files and directories currently installed.) Preparing to unpack .../libjpeg8_8d-1+deb7u1_i386.deb ... De-configuring libjpeg8:amd64 (8c-2ubuntu8) ... Unpacking libjpeg8:i386 (8d-1+deb7u1) over (8c-2ubuntu8) ... dpkg: error processing archive /var/cache/apt/archives/libjpeg8_8d-1+deb7u1_i386.deb (--unpack): trying to overwrite '/usr/lib/i386-linux-gnu/libjpeg.so.8', which is also in package libjpeg-turbo8:i386 1.4.2-0ubuntu3 Preparing to unpack .../libjpeg8_8d-1+deb7u1_amd64.deb ... De-configuring libjpeg8:i386 (8c-2ubuntu8) ... Unpacking libjpeg8:amd64 (8d-1+deb7u1) over (8c-2ubuntu8) ... dpkg: error processing archive /var/cache/apt/archives/libjpeg8_8d-1+deb7u1_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libjpeg.so.8', which is also in package libjpeg-turbo8:amd64 1.4.2-0ubuntu3 Errors were encountered while processing: /var/cache/apt/archives/libjpeg8_8d-1+deb7u1_i386.deb /var/cache/apt/archives/libjpeg8_8d-1+deb7u1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
If you need any clarification on my problem please be specific. And also please dumb down all answers.
Thanks in advance
sudo apt upgrade.