Bug 22256 - non-declared conflicts with old gnupg2 inhibit a smooth upgrade
Summary: non-declared conflicts with old gnupg2 inhibit a smooth upgrade
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gnupg2-common (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 03:14 MSK by Ivan Zakharyaschev
Modified: 2010-01-29 18:17 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2009-11-12 03:14:40 MSK
gnupg2-common-2.0.13-alt1

gnupg2-common-2.0.13-alt1 has file conflicts with older releases of gnupg2, but they are not declared in the package. So this is an obstacle for a smooth upgrade of packages; for example:

apt> install kde4webdev
Unrequested changes are needed to execute this operation.
The following packages will be upgraded
  akonadi-common libakonadiprotocolinternals libgpgme
The following NEW packages will be installed:
  gnupg2-common kde4pimlibs kde4webdev kde4webdev-common kde4webdev-kfilereplace kde4webdev-kimagemapeditor kde4webdev-klinkstatus
  kde4webdev-kommander kde4webdev-kxsldbg libklinkstatuscommon4 libkommandercore4
3 upgraded, 11 newly installed, 0 removed and 0 kept.
Will need more 4524kB of archives.
After unpacking will need more 14,8MB of disk space.
Do you want to continue? [Y/n] 
apt> commit 
The following packages will be upgraded
  akonadi-common libakonadiprotocolinternals libgpgme
The following NEW packages will be installed:
  gnupg2-common kde4pimlibs kde4webdev kde4webdev-common kde4webdev-kfilereplace kde4webdev-kimagemapeditor kde4webdev-klinkstatus
  kde4webdev-kommander kde4webdev-kxsldbg libklinkstatuscommon4 libkommandercore4
3 upgraded, 11 newly installed, 0 removed and 2134 not upgraded.
Need to get 1521kB/4524kB of archives.
After unpacking 14,8MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 ftp://ftp.altlinux.org i586/classic kde4webdev-common 4.3.2-alt1 [22,0kB]
Get:2 ftp://ftp.altlinux.org i586/classic libklinkstatuscommon4 4.3.2-alt1 [120kB]
Get:3 ftp://ftp.altlinux.org i586/classic kde4webdev-klinkstatus 4.3.2-alt1 [158kB]
Get:4 ftp://ftp.altlinux.org i586/classic kde4webdev-kfilereplace 4.3.2-alt1 [502kB]
Get:5 ftp://ftp.altlinux.org i586/classic libkommandercore4 4.3.2-alt1 [101kB]
Get:6 ftp://ftp.altlinux.org i586/classic kde4webdev-kommander 4.3.2-alt1 [20,0kB]
Get:7 ftp://ftp.altlinux.org i586/classic kde4webdev-kimagemapeditor 4.3.2-alt1 [165kB]
Get:8 ftp://ftp.altlinux.org i586/classic kde4webdev-kxsldbg 4.3.2-alt1 [431kB]
Get:9 ftp://ftp.altlinux.org i586/classic kde4webdev 4.3.2-alt1 [2847B]                                                                    
Fetched 1521kB in 7s (217kB/s)                                                                                                             
Committing changes...
Preparing...                     ################################################################################################### [100%]
file /usr/bin/gpg-connect-agent from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/gpg2 from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/gpgconf from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/gpgkey2ssh from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/gpgparsemail from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/gpgsm from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/gpgsm-gencert.sh from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/gpgv2 from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/kbxutil from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/scdaemon from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/symcryptrun from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/bin/watchgnupg from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/lib/gnupg/gnupg-pcsc-wrapper from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/lib/gnupg/gpg-check-pattern from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/lib/gnupg/gpg2keys_curl from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/lib/gnupg/gpg2keys_finger from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/lib/gnupg/gpg2keys_hkp from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/gnupg/com-certs.pem from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/gnupg/gpg-conf.skel from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/gnupg/help.de.txt from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/gnupg/help.txt from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/gnupg/qualified.txt from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/info/gnupg2.info.bz2 from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/be/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/ca/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/cs/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/da/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/de/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/el/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/en@boldquot/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/en@quot/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/eo/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/es/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/et/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/fi/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/fr/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/gl/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/hu/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/id/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/it/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/ja/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/nb/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/pl/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/pt/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/pt_BR/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/ro/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/ru/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/sk/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/sv/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/tr/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/zh_CN/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/locale/zh_TW/LC_MESSAGES/gnupg2.mo from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man1/gpg-preset-passphrase.1.gz from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man1/gpg2.1.bz2 from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man1/gpgconf.1.gz from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man1/gpgparsemail.1.gz from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man1/gpgsm-gencert.sh.1.gz from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man1/gpgsm.1.bz2 from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man1/gpgv2.1.gz from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man1/scdaemon.1.gz from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man1/symcryptrun.1.gz from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man1/watchgnupg.1.gz from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man8/addgnupghome.8.gz from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
file /usr/share/man/man8/applygnupgdefaults.8.gz from install of gnupg2-common-2.0.13-alt1 conflicts with file from package gnupg2-2.0.8-alt1
E: Error while running transaction
Reading Package Lists... Done
Building Dependency Tree... Done
E: Handler silently failed
apt> 

So I suggest to add formal conflicts with older releases gnupg2 to the package.

More info about the case in the example:

apt> showpkg gnupg2-common gnupg2
Package: gnupg2-common
Versions: 
2.0.13-alt1(/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_p5_branch_i586_base_pkglist.classic)

Reverse Depends: 
  gnupg2-agent,gnupg2-common 2.0.13-alt1
  gnupg2,gnupg2-common 2.0.13-alt1
  gnupg,gnupg2-common 2.0.13
  claws-mail-plugin-smime,gnupg2-common
Dependencies: 
2.0.13-alt1 - /bin/sh (0 (null)) /lib/ld-linux.so.2 (0 (null)) coreutils (0 (null)) gawk (0 (null)) glibc-utils (0 (null)) grep (0 (null)) libassuan-pth.so.0(ASSUAN_1_0_4) (0 (null)) libassuan.so.0 (0 (null)) libassuan.so.0(ASSUAN_1_0_4) (0 (null)) libc.so.6(GLIBC_2.0) (0 (null)) libc.so.6(GLIBC_2.1) (0 (null)) libc.so.6(GLIBC_2.1.3) (0 (null)) libc.so.6(GLIBC_2.2) (0 (null)) libc.so.6(GLIBC_2.3) (0 (null)) libc.so.6(GLIBC_2.3.3) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libc.so.6(GLIBC_2.7) (0 (null)) libdl.so.2(GLIBC_2.0) (0 (null)) libdl.so.2(GLIBC_2.1) (0 (null)) libgcrypt.so.11(GCRYPT_1.2) (0 (null)) libgpg-error.so.0 (0 (null)) libksba.so.8(KSBA_0.9) (0 (null)) libldap-2.4.so.2 (0 (null)) libpth.so.20 (0 (null)) libresolv.so.2(GLIBC_2.0) (0 (null)) libresolv.so.2(GLIBC_2.2) (0 (null)) libutil.so.1(GLIBC_2.0) (0 (null)) libz.so.1 (0 (null)) rtld(GNU_HASH) (0 (null)) su (0 (null)) 
Provides: 
2.0.13-alt1 - gnupg2-common gnupg2-gpg 
Reverse Provides: 
gnupg2-common 2.0.13-alt1
Package: gnupg2
Versions: 
2.0.13-alt1(/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_p5_branch_i586_base_pkglist.classic)
2.0.8-alt1(/var/lib/rpm/Packages)

Reverse Depends: 
  libgpgme,gnupg2 1.9.6
  kde4pim-kleopatra,gnupg2
  gnupg2-agent,gnupg2 2.0.11-alt1.M40.1
  alternatives,gnupg2 1.9.7-alt2
Dependencies: 
2.0.13-alt1 - info-install (0 (null)) gnupg2-agent (5 2.0.13-alt1) gnupg2-common (5 2.0.13-alt1) newpg (3 2.0.13-alt1) 
2.0.8-alt1 - info-install (0 (null)) /bin/sh (0 (null)) /bin/sh (0 (null)) coreutils (0 (null)) gawk (0 (null)) glibc-utils (0 (null)) grep (0 (null)) libassuan-pth.so.0(ASSUAN_1_0_4) (0 (null)) libassuan.so.0 (0 (null)) libassuan.so.0(ASSUAN_1_0_4) (0 (null)) libc.so.6(GLIBC_2.0) (0 (null)) libc.so.6(GLIBC_2.1) (0 (null)) libc.so.6(GLIBC_2.1.1) (0 (null)) libc.so.6(GLIBC_2.1.3) (0 (null)) libc.so.6(GLIBC_2.2) (0 (null)) libc.so.6(GLIBC_2.3) (0 (null)) libc.so.6(GLIBC_2.3.3) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libdl.so.2(GLIBC_2.0) (0 (null)) libdl.so.2(GLIBC_2.1) (0 (null)) libgcrypt.so.11(GCRYPT_1.2) (0 (null)) libgpg-error.so.0 (0 (null)) libksba.so.8(KSBA_0.9) (0 (null)) libpth.so.20 (0 (null)) libresolv.so.2(GLIBC_2.0) (0 (null)) libresolv.so.2(GLIBC_2.2) (0 (null)) libusb-0.1.so.4 (0 (null)) libutil.so.1(GLIBC_2.0) (0 (null)) libz.so.1 (0 (null)) rtld(GNU_HASH) (0 (null)) sh (0 (null)) su (0 (null)) newpg (3 2.0.8-alt1) 
Provides: 
2.0.13-alt1 - gnupg2 gpg-agent gnupg-agent newpg 
2.0.8-alt1 - gnupg2 gpg-agent gnupg-agent newpg 
Reverse Provides: 
gnupg2 2.0.8-alt1
gnupg2 2.0.13-alt1
apt>
Comment 1 Repository Robot 2010-01-29 18:17:42 MSK
gnupg2-2.0.13-alt2 -> sisyphus:

* Fri Jan 29 2010 Sergey V Turchin <zerg@altlinux> 2.0.13-alt2

- add conflict with non-splitted package (ALT#22256)
- fix provides for gnupg-agent