[Pkg-tigervnc-devel] Bug#764318: libjpeg-progs still needs conflict with libjpeg-turbo-progs
Ben Harris
bjh21 at cam.ac.uk
Wed Oct 22 10:12:24 UTC 2014
Control: clone -1 -2
Control: reassign -2 libjpeg-turbo-progs/1:1.3.1-3
Control: fixed -2 libjpeg-turbo-progs/1:1.3.1-6
Control: reassign -1 libjpeg-progs/1:9a-2
It looks like it's necessary for the new libjpeg-progs to include a
conflict with libjpeg-turbo-progs, since at the moment APT tries to
install them in the wrong order. On my system at the moment:
wraith:/home/bjh21# dpkg -l 'libjpeg*progs'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii libjpeg-progs 1:1.3.1-3 all Programs for manipulating JPEG fi
ii libjpeg-turbo- 1:1.3.1-3 i386 Programs for manipulating JPEG fi
Both libjpeg-progs 1:9a-2 and libjpeg-turbo-progs 1:1.3.1-6 are available
to APT, but it chooses to upgrade libjpeg-progs and keep back
libjpeg-turbo-progs:
wraith:/home/bjh21# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libjpeg-turbo-progs
The following packages will be upgraded:
libjpeg-progs
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
65 not fully installed or removed.
Need to get 0 B/82.6 kB of archives.
After this operation, 121 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 246510 files and directories currently installed.)
Preparing to unpack .../libjpeg-progs_1%3a9a-2_i386.deb ...
Unpacking libjpeg-progs (1:9a-2) over (1:1.3.1-3) ...
dpkg: error processing archive /var/cache/apt/archives/libjpeg-progs_1%3a9a-2_i386.deb (--unpack):
trying to overwrite '/usr/share/man/man1/exifautotran.1.gz', which is also in package libjpeg-turbo-progs 1:1.3.1-3
Errors were encountered while processing:
/var/cache/apt/archives/libjpeg-progs_1%3a9a-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
APT needs to be told that the new libjpeg-progs can't coexist with
libjpeg-turbo-progs 1:1.3.1-3, which I think requires adding a Conflicts:
header to libjpeg-progs (or use of alternatives).
I've tried to re-organise this bug report to reflect the fact that changes
were needed to both packages. I've reassigned 764318 back to
libjpeg-progs alone, while there's a new clone to represent the (fixed)
lack of a Conflicts: header in libjpeg-turbo-progs. According to the BTS
documentation, it's only appropriate to have a bug assigned to two
packages if it can be fixed by a change to either one of those packages.
In this case, it appears that changes to both packages were required.
--
Ben Harris, University of Cambridge Information Services.
More information about the Pkg-tigervnc-devel
mailing list