[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possible bug in dh-python backport (Was: Bug#753517: RFP: [PACKAGE] -- [SHORT DESCRIPTION])



On 3 July 2014 04:39, Niels Thykier <niels@thykier.net> wrote:
I noticed this completely misfiled RFP bug, which seems to be an actual
upgrade problem for dh-python/1.20140511-1~bpo70+1 (file conflicts with
python).

This only seems to be a problem if upgrading from 1.20131021-1 [1], if upgrading from 1.20131021-1~bpo70+1 [2] doesn't seem to do this.

However, I can't properly install 1.20131021-1 on wheezy, hence I don't think this is something we need to worry about. Either the person had broken install, or a custom package with fixed dependencies. My understanding is that wheezy doesn't support the "python3:any" syntax for dependencies.

Notes:

[1] Upgrading from 1.20131021-1

http://snapshot.debian.org/archive/debian/20131021T214902Z/pool/main/d/dh-python/dh-python_1.20131021-1_all.deb


(wheezy)root@aquitard:/tmp# dpkg -i dh-python_1.20131021-1_all.deb
Selecting previously unselected package dh-python.
(Reading database ... 16520 files and directories currently installed.)
Unpacking dh-python (from dh-python_1.20131021-1_all.deb) ...
dpkg: dependency problems prevent configuration of dh-python:
 dh-python depends on python3:any (>= 3.3.2-2~).

dpkg: error processing dh-python (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
 dh-python
(wheezy)root@aquitard:/tmp# dpkg -i dh-python_1.20140511-1~bpo70+1_all.deb 
(Reading database ... 16567 files and directories currently installed.)
Preparing to replace dh-python 1.20131021-1 (using dh-python_1.20140511-1~bpo70+1_all.deb) ...
Unpacking replacement dh-python ...
dpkg: error processing dh-python_1.20140511-1~bpo70+1_all.deb (--install):
 trying to overwrite '/usr/share/man/man1/dh_python2.1.gz', which is also in package python 2.7.3-4+deb7u1
Processing triggers for man-db ...
Errors were encountered while processing:
 dh-python_1.20140511-1~bpo70+1_all.deb


[2] Upgrading from 1.20131021-1~bpo70+1 :


(wheezy)root@aquitard:/tmp# dpkg --unpack dh-python_1.20131021-1~bpo70+1_all.deb
Selecting previously unselected package dh-python.
(Reading database ... 16520 files and directories currently installed.)
Unpacking dh-python (from dh-python_1.20131021-1~bpo70+1_all.deb) ...
Adding 'diversion of /usr/bin/dh_python3 to /usr/bin/dh_python3.real by dh-python'
Adding 'diversion of /usr/share/man/man1/dh_python3.1.gz to /usr/share/man/man1/dh_python3.real.1.gz by dh-python'
Adding 'diversion of /usr/bin/dh_python2 to /usr/bin/dh_python2.real by dh-python'
Adding 'diversion of /usr/share/man/man1/dh_python2.1.gz to /usr/share/man/man1/dh_python2.real.1.gz by dh-python'
Processing triggers for man-db ...
(wheezy)root@aquitard:/tmp# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libffi5 python3 python3-minimal python3.2 python3.2-minimal
Suggested packages:
  python3-doc python3-tk python3.2-doc binfmt-support
The following NEW packages will be installed:
  libffi5 python3 python3-minimal python3.2 python3.2-minimal
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 4522 kB of archives.
After this operation, 15.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://hq.in.vpac.org/debian/ wheezy/main python3.2-minimal amd64 3.2.3-7 [1855 kB]
Get:2 http://hq.in.vpac.org/debian/ wheezy/main libffi5 amd64 3.0.10-3 [24.8 kB]
Get:3 http://hq.in.vpac.org/debian/ wheezy/main python3.2 amd64 3.2.3-7 [2578 kB]
Get:4 http://hq.in.vpac.org/debian/ wheezy/main python3-minimal all 3.2.3-6 [20.9 kB]
Get:5 http://hq.in.vpac.org/debian/ wheezy/main python3 all 3.2.3-6 [43.4 kB]
Fetched 4522 kB in 0s (39.7 MB/s)   
Selecting previously unselected package python3.2-minimal.
(Reading database ... 16568 files and directories currently installed.)
Unpacking python3.2-minimal (from .../python3.2-minimal_3.2.3-7_amd64.deb) ...
Selecting previously unselected package libffi5:amd64.
Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ...
Selecting previously unselected package python3.2.
Unpacking python3.2 (from .../python3.2_3.2.3-7_amd64.deb) ...
Selecting previously unselected package python3-minimal.
Unpacking python3-minimal (from .../python3-minimal_3.2.3-6_all.deb) ...
Selecting previously unselected package python3.
Unpacking python3 (from .../python3_3.2.3-6_all.deb) ...
Processing triggers for man-db ...
Setting up python3.2-minimal (3.2.3-7) ...
Setting up libffi5:amd64 (3.0.10-3) ...
Setting up python3.2 (3.2.3-7) ...
Setting up python3-minimal (3.2.3-6) ...
Setting up python3 (3.2.3-6) ...
running python rtupdate hooks for python3.2...
running python post-rtupdate hooks for python3.2...
Setting up dh-python (1.20131021-1~bpo70+1) ...
(wheezy)root@aquitard:/tmp# dpkg -i dh-python_1.20140511-1~bpo70+1_all.deb
(Reading database ... 17387 files and directories currently installed.)
Preparing to replace dh-python 1.20131021-1~bpo70+1 (using dh-python_1.20140511-1~bpo70+1_all.deb) ...
Unpacking replacement dh-python ...
Setting up dh-python (1.20140511-1~bpo70+1) ...
Processing triggers for man-db ...



--
Brian May <brian@microcomaustralia.com.au>

Reply to: