package libjpeg-turbo8-dev (not installed) failed to install/upgrade: tentative de remplacement de « /usr/include/jerror.h », qui appartient aussi au paquet libjpeg9-dev:amd64 1:9b-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libjpeg-turbo (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Was installing opencv-dev with aptitude.
Aptitude offered to resolve a conflict between libjpeg packages.
I accepted the offered solution.
Next time I opened aptitude, it sad opencv-dev packaged were not fully installed.
Seems like error is permanent (i.e. will not resolve itself just with upgrade instructions
Dépaquetage de libjpeg-
dpkg: erreur de traitement de l'archive /var/cache/
tentative de remplacement de « /usr/include/
dpkg-deb : erreur : le sous-processus coller a été tué par le signal (Relais brisé (pipe))
Des erreurs ont été rencontrées pendant l'exécution :
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Impossible d'effectuer l'opération demandée sur le paquet. Essai de récupération :
...
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libjpeg-turbo8-dev (not installed)
ProcVersionSign
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
Date: Wed Apr 13 23:20:56 2016
ErrorMessage: tentative de remplacement de « /usr/include/
InstallationDate: Installed on 2016-02-03 (70 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160203)
RelatedPackageV
dpkg 1.18.4ubuntu1
apt 1.2.10
SourcePackage: libjpeg-turbo
Title: package libjpeg-turbo8-dev (not installed) failed to install/upgrade: tentative de remplacement de « /usr/include/
UpgradeStatus: No upgrade log present (probably fresh install)
apt-get dist-upgrade
Reading package lists... Donehighgui-dev : Depends: libjpeg-dev
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libopencv-
libtiff5-dev : Depends: libjpeg-dev
E: Unmet dependencies. Try using -f.
apt-get dist-upgrade -f
Reading package lists... Doneturbo8-devconfiguration libapparmor-perl libapparmor1 libpam-systemdturbo8-dev_1.4.2-0ubuntu3_amd64.deb ...turbo8-dev:amd64 (1.4.2-0ubuntu3) ...apt/archives/libjpeg-turbo8-dev_1.4.2-0ubuntu3_amd64.deb (--unpack):jerror.h', which is also in package libjpeg9-dev:amd64 1:9b-1dev_229-4ubuntu4_amd64.deb ...dev:amd64 (229-4ubuntu4) over (229-4ubuntu1) ...dev_229-4ubuntu4_amd64.deb ..._229-4ubuntu4_amd64.deb ...apt/archives/libjpeg-turbo8-dev_1.4.2-0ubuntu3_amd64.deb
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following NEW packages will be installed:
libjpeg-
The following packages will be upgraded:
apparmor console-setup console-setup-linux isc-dhcp-client isc-dhcp-common keyboard-
libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5widgets5 libsmbclient libsystemd-dev libsystemd0 libudev-dev libudev1 libwbclient0
python-samba samba-common samba-common-bin samba-libs systemd systemd-sysv ubuntu-minimal ubuntu-standard udev
29 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
Need to get 0 B/22.2 MB of archives.
After this operation, 1604 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 255625 files and directories currently installed.)
Preparing to unpack .../libjpeg-
Unpacking libjpeg-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/include/
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../libsystemd-
Unpacking libsystemd-
Preparing to unpack .../libudev-
Unpacking libudev-dev:amd64 (229-4ubuntu4) over (229-4ubuntu1) ...
Preparing to unpack .../libsystemd0
Unpacking libsystemd0:amd64 (229-4ubuntu4) over (229-4ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu2) ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
...
...
...
apt-get dist-upgrade -f
Reading package lists... Doneturbo8-devturbo8-dev_1.4.2-0ubuntu3_amd64.deb ...turbo8-dev:amd64 (1.4.2-0ubuntu3) ...
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following NEW packages will be installed:
libjpeg-
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
36 not fully installed or removed.
Need to get 0 B/254 kB of archives.
After this operation, 1418 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 255626 files and directories currently installed.)
Preparing to unpack .../libjpeg-
Unpacking libjpeg-
dpkg: error processing archive...