Your message dated Sun, 15 Dec 2013 05:05:15 +0100
with message-id <[email protected]>
and subject line Re: Bug#575786: dpkg: refuses to unpack package having 
conflicts+replaces of virtual package
has caused the Debian Bug report #575786,
regarding libcupt-perl: Does not handle automatic upgrade of git packages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
575786: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575786
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libcupt-perl
Version: 1.5.9
Severity: normal

Incoming versions:
Package: git
Version: 1:1.7.0.4-2
Depends: libc6 (>= 2.3.6-6~), libcurl3-gnutls (>= 7.16.2-1), libexpat1 (>= 
1.95.8), zlib1g (>= 1:1.2.0), perl-modules, liberror-perl, libdigest-sha1-perl
Conflicts: git (<< 4.3.20-11), git-completion, git-core (<= 1:1.7.0.4-1), qgit 
(<< 1.5.5)
Provides: git-completion, git-core
Package: git-core
Version: 1:1.7.0.4-2
Depends: git (>> 1:1.7.0.2)
Package: git-svn
Version: 1:1.7.0.4-2
Depends: git (>> 1:1.7.0.4), git (<< 1:1.7.0.4-.), libsvn-perl | 
libsvn-core-perl, libwww-perl, libterm-readkey-perl

Current versions:
Package: git-core
Version: 1:1.7.0.4-1
Depends: libc6 (>= 2.3.6-6~), libcurl3-gnutls (>= 7.16.2-1), libexpat1 (>= 
1.95.8), zlib1g (>= 1:1.2.0), perl-modules, liberror-perl, libdigest-sha1-perl
Conflicts: git (<< 4.3.20-11), git-completion, qgit (<< 1.5.5)
Provides: git-completion
Package: git-svn
Version: 1:1.7.0.4-1
Depends: git-core (>> 1:1.7.0.4), git-core (<< 1:1.7.0.4-.), libsvn-perl | 
libsvn-core-perl, libwww-perl, libterm-readkey-perl

% sudo cupt safe-upgrade -o debug::resolver=1 -o debug::worker=1
Building the package cache... [done]
Initializing package resolver and worker... D: obtaining lock 
'/var/lib/cupt/lock'
[done]
Scheduling requested actions... D: install package 'git-core', version 
'1:1.7.0.4-2'
D: install package 'git-email', version '1:1.7.0.4-2'
D: install package 'git-cvs', version '1:1.7.0.4-2'
D: install package 'gitk', version '1:1.7.0.4-2'
D: install package 'libruby1.8', version '1.8.7.249-3'
D: install package 'unixodbc', version '2.2.14p2-1'
D: install package 'git-svn', version '1:1.7.0.4-2'
D: install package 'ruby1.8', version '1.8.7.249-3'
D: install package 'ri1.8', version '1.8.7.249-3'
D: install package 'odbcinst', version '2.2.14p2-1'
[done]
Resolving possible unmet dependencies... D: started resolving
D: (0:0.0) problem: package 'git-core': unsatisfied depends 'git (>> 1:1.7.0.2)'
D: (0:0.0) -> (1,Δ:+22.6,qΔ:+50.0) trying: package 'git': '<not installed>' -> 
'1:1.7.0.4-2'
D: (0:0.0) -> (2,Δ:-8.4,qΔ:+50.0) trying: package 'git': '<not installed>' -> 
'1:1.7.1~rc1-1'
D: (0:0.0) -> (3,Δ:-362.9,qΔ:+50.0) trying: package 'git-core': '1:1.7.0.4-2' 
-> '1:1.7.0.4-1'
D: (0:0.0) -> (4,Δ:-2006.6,qΔ:+50.0) trying: package 'git-core': '1:1.7.0.4-2' 
-> '<not installed>'
D:  (1:72.6) problem: package 'odbcinst': unsatisfied depends 'odbcinst1debian2 
(>= 2.2.14p2)'
D:  (1:72.6) -> (5,Δ:-10.5,qΔ:+46.7) trying: package 'odbcinst1debian2': '<not 
installed>' -> '2.2.14p2-1'
D:  (1:72.6) -> (6,Δ:-31.1,qΔ:+46.7) trying: package 'odbcinst': '2.2.14p2-1' 
-> '2.2.11-21'
D:  (1:72.6) -> (7,Δ:-352.3,qΔ:+46.7) trying: package 'odbcinst': '2.2.14p2-1' 
-> '<not installed>'
D:   (5:108.7) problem: package 'libruby1.8': satisfied conflicts 
'libreadline-ruby1.8'
D:   (5:108.7) -> (8,Δ:-31.1,qΔ:+44.8) trying: package 'libruby1.8': 
'1.8.7.249-3' -> '1.8.7.249-2'
D:   (5:108.7) -> (9,Δ:-230.0,qΔ:+44.8) trying: package 'libreadline-ruby1.8': 
'1.8.7.249-2' -> '<not installed>'
D:   (5:108.7) -> (10,Δ:-352.3,qΔ:+44.8) trying: package 'libruby1.8': 
'1.8.7.249-3' -> '<not installed>'
D:    (8:122.5) problem: package 'odbcinst1debian2': satisfied conflicts 
'odbcinst1debian1'
D:    (8:122.5) -> (11,Δ:-350.3,qΔ:+43.5) trying: package 'odbcinst1debian1': 
'2.2.11-21' -> '<not installed>'
D:   (6:88.2) problem: package 'unixodbc': unsatisfied depends 
'odbcinst1debian2 (>= 2.2.11-3)'
D:   (6:88.2) -> (12,Δ:-30.1,qΔ:+44.8) trying: package 'unixodbc': '2.2.14p2-1' 
-> '2.2.11-21'
D:   (6:88.2) -> (13,Δ:-351.3,qΔ:+44.8) trying: package 'unixodbc': 
'2.2.14p2-1' -> '<not installed>'
D:    (12:102.9) problem: package 'libruby1.8': satisfied conflicts 
'libreadline-ruby1.8'
D:    (12:102.9) -> (14,Δ:-31.1,qΔ:+43.5) trying: package 'libruby1.8': 
'1.8.7.249-3' -> '1.8.7.249-2'
D:    (12:102.9) -> (15,Δ:-230.0,qΔ:+43.5) trying: package 
'libreadline-ruby1.8': '1.8.7.249-2' -> '<not installed>'
D:    (12:102.9) -> (16,Δ:-352.3,qΔ:+43.5) trying: package 'libruby1.8': 
'1.8.7.249-3' -> '<not installed>'
D:     (14:115.3) problem: package 'ruby1.8': satisfied conflicts 'irb1.8'
D:     (14:115.3) -> (17,Δ:-31.1,qΔ:+42.6) trying: package 'ruby1.8': 
'1.8.7.249-3' -> '1.8.7.249-2'
D:     (14:115.3) -> (18,Δ:-230.0,qΔ:+42.6) trying: package 'irb1.8': 
'1.8.7.249-2' -> '<not installed>'
D:     (14:115.3) -> (19,Δ:-352.3,qΔ:+42.6) trying: package 'ruby1.8': 
'1.8.7.249-3' -> '<not installed>'
D:      (17:126.8) problem: package 'ri1.8': unsatisfied depends 'ruby1.8 (>= 
1.8.7.249-3)'
D:      (17:126.8) -> (20,Δ:-30.1,qΔ:+41.8) trying: package 'ri1.8': 
'1.8.7.249-3' -> '1.8.7.249-2'
D:      (17:126.8) -> (21,Δ:-351.3,qΔ:+41.8) trying: package 'ri1.8': 
'1.8.7.249-3' -> '<not installed>'
D:       (20:138.5) finished
D:       (20:138.5) proposing this solution

The following 1 packages will be INSTALLED:

git

The following 5 packages will be UPGRADED:

git-core git-cvs git-email git-svn gitk

Need to get 0B/6978KiB of archives. After unpacking 32.0KiB will be freed.
Do you want to continue? [y/N/q] y
D:       (20:138.5) accepted

Performing requested actions:
D: new action dependency: 'configure git 1:1.7.0.4-2' -> 'configure git-core 
1:1.7.0.4-2', reason: 'depends: git (>> 1:1.7.0.2)'
D: new action dependency: 'configure git 1:1.7.0.4-2' -> 'configure git-svn 
1:1.7.0.4-2', reason: 'depends: git (>> 1:1.7.0.4)'
D: new action dependency: 'configure git 1:1.7.0.4-2' -> 'configure git-svn 
1:1.7.0.4-2', reason: 'depends: git (<< 1:1.7.0.4-.)'
D: new action dependency: 'configure git 1:1.7.0.4-2' -> 'configure gitk 
1:1.7.0.4-2', reason: 'depends: git (>> 1:1.7.0.4)'
D: new action dependency: 'configure git 1:1.7.0.4-2' -> 'configure gitk 
1:1.7.0.4-2', reason: 'depends: git (<< 1:1.7.0.4-.)'
D: new action dependency: 'configure git-core 1:1.7.0.4-2' -> '(fake) configure 
git-buildpackage [git-core (>= 1:1.5.0.1-1)] 0.4.65', reason: 'depends: 
git-core (>= 1:1.5.0.1-1)'
D: new action dependency: 'configure git 1:1.7.0.4-2' -> 'configure git-cvs 
1:1.7.0.4-2', reason: 'depends: git (>> 1:1.7.0.4)'
D: new action dependency: 'configure git 1:1.7.0.4-2' -> 'configure git-cvs 
1:1.7.0.4-2', reason: 'depends: git (<< 1:1.7.0.4-.)'
D: new action dependency: 'configure git-core 1:1.7.0.4-2' -> '(fake) configure 
topgit [git-core] 0.8-1', reason: 'depends: git-core'
D: new action dependency: 'configure git 1:1.7.0.4-2' -> '(fake) configure 
topgit [git-core] 0.8-1', reason: 'depends: git-core'
D: new action dependency: 'configure git 1:1.7.0.4-2' -> 'configure git-email 
1:1.7.0.4-2', reason: 'depends: git (>> 1:1.7.0.4)'
D: new action dependency: 'configure git 1:1.7.0.4-2' -> 'configure git-email 
1:1.7.0.4-2', reason: 'depends: git (<< 1:1.7.0.4-.)'
D: new action dependency: 'configure git-core 1:1.7.0.4-2' -> '(fake) configure 
gitstats [git-core (>= 1:1.5.2.4)] 2010.02.06-1', reason: 'depends: git-core 
(>= 1:1.5.2.4)'
D: new action dependency: 'configure git-core 1:1.7.0.4-2' -> '(fake) configure 
gitpkg [git-core] 0.14', reason: 'depends: git-core'
D: new action dependency: 'configure git 1:1.7.0.4-2' -> '(fake) configure 
gitpkg [git-core] 0.14', reason: 'depends: git-core'
D: the present action dependency: 'configure git 1:1.7.0.4-2' -> 'configure 
git-core 1:1.7.0.4-2'
D: the present action dependency: 'unpack git-core 1:1.7.0.4-2' -> 'configure 
git-core 1:1.7.0.4-2'
D: the present action dependency: 'configure git 1:1.7.0.4-2' -> 'configure 
git-svn 1:1.7.0.4-2'
D: the present action dependency: 'unpack git-svn 1:1.7.0.4-2' -> 'configure 
git-svn 1:1.7.0.4-2'
D: the present action dependency: 'configure git 1:1.7.0.4-2' -> 'configure 
gitk 1:1.7.0.4-2'
D: the present action dependency: 'unpack gitk 1:1.7.0.4-2' -> 'configure gitk 
1:1.7.0.4-2'
D: the present action dependency: 'configure git 1:1.7.0.4-2' -> 'configure 
git-cvs 1:1.7.0.4-2'
D: the present action dependency: 'unpack git-cvs 1:1.7.0.4-2' -> 'configure 
git-cvs 1:1.7.0.4-2'
D: the present action dependency: 'unpack git 1:1.7.0.4-2' -> 'configure git 
1:1.7.0.4-2'
D: the present action dependency: 'configure git 1:1.7.0.4-2' -> 'configure 
git-email 1:1.7.0.4-2'
D: the present action dependency: 'unpack git-email 1:1.7.0.4-2' -> 'configure 
git-email 1:1.7.0.4-2'
D: started changeset
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
D: unpack  git_1:1.7.0.4-2
dpkg: considering removing git-core in favour of git ...
dpkg: no, cannot proceed with removal of git-core (--auto-deconfigure will 
help):
 git-buildpackage depends on git-core (>= 1:1.5.0.1-1)
  git-core is to be removed.
dpkg: regarding .../git_1:1.7.0.4-2_i386.deb containing git:
 git conflicts with git-completion
  git-core provides git-completion and is present and installed.
dpkg: error processing /var/cache/apt/archives/git_1:1.7.0.4-2_i386.deb 
(--unpack):
 conflicting packages - not installing git
Errors were encountered while processing:
 /var/cache/apt/archives/git_1:1.7.0.4-2_i386.deb
E: /usr/bin/dpkg --unpack --force-bad-path 
/var/cache/apt/archives/git_1:1.7.0.4-2_i386.deb returned non-zero status: 256
D: releasing lock '/var/lib/cupt/lock'
E: error performing command 'safe-upgrade'

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (100, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcupt-perl depends on:
ii  liblist-moreutils-perl      0.25~02-1    Perl module with additional list f
ii  libparse-recdescent-perl    1.964+dfsg-1 Perl module to create and use recu
ii  libterm-size-perl           0.2-4+b1     Perl extension for retrieving term
ii  liburi-perl                 1.54-1       module to manipulate and access UR
ii  libwww-curl-perl            4.11-1       Perl bindings to libcurl
ii  perl [libdigest-sha-perl]   5.10.1-12    Larry Wall's Practical Extraction 

Versions of packages libcupt-perl recommends:
ii  bzip2                         1.0.5-4    high-quality block-sorting file co
ii  gpgv                          1.4.10-3   GNU privacy guard - signature veri
ii  liblocale-gettext-perl        1.05-6     Using libc functions for internati

Versions of packages libcupt-perl suggests:
ii  cupt                          1.5.9      alternative front-end for dpkg -- 
pn  debdelta                      <none>     (no description available)
ii  dpkg-dev                      1.15.5.6   Debian package development tools
pn  dpkg-repack                   <none>     (no description available)
ii  lzma                          4.43-14    Compression method of 7z format in

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi!

On Mon, 2010-03-29 at 12:02:33 +0300, Eugene V. Lyubimkin wrote:
> Package: dpkg
> Version: 1.15.5.6
> Severity: important
> 
> >From dpkg log:
> -8<-
> Selecting previously deselected package libboost1.42-dev.
>  libboost1.42-dev conflicts with bcp
>   libboost1.40-dev provides bcp and is present and installed.
> dpkg: error processing 
> /var/cache/apt/archives/libboost1.42-dev_1.42.0-3_i386.deb (--unpack):
>  conflicting packages - not installing libboost1.42-dev
> ->8-
> 
> Sure, libboost1.42-dev conflicts with bcp, but it also replaces it:
> -8<-
> $ cupt show libboost1.42-dev | grep Replaces
> Replaces: bcp
> ->8-

That's because the request to dpkg was not explicit enough. The way to
do that is to create a “dpkg transaction”, by setting the apropriate
selections so that dpkg knows what it can do. This is how the “venerable”
dselect has worked all this time w/o ever requiring any kind of --force
option.

The rationale is that dpkg does not really like to remove packages if not
asked explicitly, and in a case like this, just removing the interface
providing package might not be enough, and other packages might suddenly
have unsatisfiable dependencies, and dpkg should not start removing stuff
until the situation is ok. That's why either the user or the frontent
should exactly specify what it can do.

Please see the test case on CPR interfaces in the dpkg test suite, as
an example usage:

  
<http://anonscm.debian.org/gitweb/?p=dpkg/pkg-tests.git;a=tree;f=t-conflict-provide-replace-interface;hb=HEAD>

I'm thus closing this report.

Thanks,
Guillem

--- End Message ---

Reply via email to