Your message dated Thu, 6 May 2010 16:12:20 +0200
with message-id <[email protected]>
and subject line Re: Bug#580488: dpkg: duplicated Provides: field on packages
(already installed) fail to be removed
has caused the Debian Bug report #580488,
regarding dpkg: duplicated Provides: field on packages (already installed) fail
to be removed
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.)
--
580488: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580488
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.15.5.6
Severity: normal
Hello,
Later dpkg upload did a change[1] which prevents packages to have two fields
with same name. Depending on the definition of comma, could be understood as
comma in dependency fields is "acts as if two fields were present".
Dpkg-cross was duplicating Provides: field[2] and it was fixed as it was a
bug, but already installed packages are not easily removable if they have that
duplicated field. In order to prevent a massive break when upgrading cross libs
from lenny to squeeze, could this behaviour be reverted or at least warn about
it and proceed with the removal?
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... DoneThe following packages have been kept back:
libc6-armel-cross libc6-mips-cross libgcc1-mips-cross libstdc++6-mips-cross
The following packages will be upgraded:
libc6-dev-mips-cross libc6-dev-mips64-mips-cross
libc6-dev-mipsn32-mips-cross libn32z1-dev-mips-cross
linux-libc-dev-hppa-cross linux-libc-dev-mips-cross
linux-libc-dev-mipsel-cross linux-libc-dev-powerpc-cross
linux-libc-dev-s390-cross linux-libc-dev-sparc-cross zlib1g-dev-mips-cross
zlib1g-mips-cross
12 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 11.4MB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://www.emdebian.org unstable/main libc6-dev-mips-cross 2.10.2-6
[2549kB]
Get:2 http://www.emdebian.org unstable/main libc6-dev-mips64-mips-cross
2.10.2-6 [2341kB]
Get:3 http://www.emdebian.org unstable/main libc6-dev-mipsn32-mips-cross
2.10.2-6 [2188kB]
Get:4 http://www.emdebian.org unstable/main libn32z1-dev-mips-cross
1:1.2.3.4.dfsg-3 [52.5kB]
Get:5 http://www.emdebian.org unstable/main linux-libc-dev-hppa-cross 2.6.32-11
[687kB]
Get:6 http://www.emdebian.org unstable/main linux-libc-dev-mips-cross 2.6.32-10
[685kB]
Get:7 http://www.emdebian.org unstable/main linux-libc-dev-mipsel-cross
2.6.32-10 [686kB]
Get:8 http://www.emdebian.org unstable/main linux-libc-dev-powerpc-cross
2.6.32-11 [689kB]
Get:9 http://www.emdebian.org unstable/main linux-libc-dev-s390-cross 2.6.32-11
[692kB]
Get:10 http://www.emdebian.org unstable/main linux-libc-dev-sparc-cross
2.6.32-11 [699kB]
Get:11 http://www.emdebian.org unstable/main zlib1g-dev-mips-cross
1:1.2.3.4.dfsg-3 [76.3kB]
Get:12 http://www.emdebian.org unstable/main zlib1g-mips-cross 1:1.2.3.4.dfsg-3
[48.3kB]
Fetched 11.4MB in 0s (27.4MB/s)
dpkg: error processing
/var/cache/apt/archives/libc6-dev-mips-cross_2.10.2-6_all.deb (--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 9 package
'libc6-dev-mips-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/libc6-dev-mips64-mips-cross_2.10.2-6_all.deb
(--unpack): parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 10
package 'libc6-dev-mips64-mips-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/libc6-dev-mipsn32-mips-cross_2.10.2-6_all.deb
(--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 10 package
'libc6-dev-mipsn32-mips-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/libn32z1-dev-mips-cross_1%3a1.2.3.4.dfsg-3_all.deb
(--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 10 package
'libn32z1-dev-mips-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/linux-libc-dev-hppa-cross_2.6.32-11_all.deb (--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 10 package
'linux-libc-dev-hppa-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/linux-libc-dev-mips-cross_2.6.32-10_all.deb (--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 10 package
'linux-libc-dev-mips-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/linux-libc-dev-mipsel-cross_2.6.32-10_all.deb
(--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 10 package
'linux-libc-dev-mipsel-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/linux-libc-dev-powerpc-cross_2.6.32-11_all.deb
(--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 10 package
'linux-libc-dev-powerpc-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/linux-libc-dev-s390-cross_2.6.32-11_all.deb (--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 10 package
'linux-libc-dev-s390-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/linux-libc-dev-sparc-cross_2.6.32-11_all.deb (--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 10 package
'linux-libc-dev-sparc-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/zlib1g-dev-mips-cross_1%3a1.2.3.4.dfsg-3_all.deb
(--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 11 package
'zlib1g-dev-mips-cross':
duplicate value for `Provides' field
dpkg: error processing
/var/cache/apt/archives/zlib1g-mips-cross_1%3a1.2.3.4.dfsg-3_all.deb (--unpack):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 10 package
'zlib1g-mips-cross':
duplicate value for `Provides' field
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev-mips-cross_2.10.2-6_all.deb
/var/cache/apt/archives/libc6-dev-mips64-mips-cross_2.10.2-6_all.deb
/var/cache/apt/archives/libc6-dev-mipsn32-mips-cross_2.10.2-6_all.deb
/var/cache/apt/archives/libn32z1-dev-mips-cross_1%3a1.2.3.4.dfsg-3_all.deb
/var/cache/apt/archives/linux-libc-dev-hppa-cross_2.6.32-11_all.deb
/var/cache/apt/archives/linux-libc-dev-mips-cross_2.6.32-10_all.deb
/var/cache/apt/archives/linux-libc-dev-mipsel-cross_2.6.32-10_all.deb
/var/cache/apt/archives/linux-libc-dev-powerpc-cross_2.6.32-11_all.deb
/var/cache/apt/archives/linux-libc-dev-s390-cross_2.6.32-11_all.deb
/var/cache/apt/archives/linux-libc-dev-sparc-cross_2.6.32-11_all.deb
/var/cache/apt/archives/zlib1g-dev-mips-cross_1%3a1.2.3.4.dfsg-3_all.deb
/var/cache/apt/archives/zlib1g-mips-cross_1%3a1.2.3.4.dfsg-3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Then one could use "$ dpkg -P" and list all dependencies to remove the file,
little bit annoying.
Best regards,
-- Hector Oron
[1] dpkg commit 683d18a89197cfd824aaf291c008aebd9c6bd0c5
[2] DebianBug#578613
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dpkg depends on:
ii coreutils 8.4-1 GNU core utilities
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii lzma 4.43-14 Compression method of 7z format in
dpkg recommends no packages.
Versions of packages dpkg suggests:
ii apt 0.7.25.3 Advanced front-end for dpkg
-- no debconf information
--- End Message ---
--- Begin Message ---
Hello Raphael,
2010/5/6 Raphael Hertzog <[email protected]>:
> Are you sure that the packages you were trying to install did not have the
> problem?
Yes, packages in the repository were affected by this issue (I tried
that time ago).
I have tried to reproduce it this behaviour on a more controlled
environment and you are right, it works as expected.
I close the bug then.
Thanks and apologies for inconveniences!
--
Héctor Orón
"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."
--- End Message ---