Bug 22244 - file /usr/bin/xxd from install of xxd-7.2.262-alt1 conflicts with file from package vim-common-7.1.315-alt0.M40.1
: file /usr/bin/xxd from install of xxd-7.2.262-alt1 conflicts with file from p...
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/xxd)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2009-11-11 10:43 by
Modified: 2009-11-11 14:03 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-11-11 10:43:52
Попытка dist-upgrade с 4.0 до 5.1:

Committing changes...
Preparing...                
#########################################################################
[100%]
file /usr/bin/xxd from install of xxd-7.2.262-alt1 conflicts with file from
package vim-common-7.1.315-alt0.M40.1
E: Error while running transaction

Не хватает conflicts/obsoletes?
------- Comment #1 From 2009-11-11 13:03:02 -------
Это был не dist-upgrade.
------- Comment #2 From 2009-11-11 13:09:46 -------
Фикс я закоммитил в git, но мне очень интересно как вы умудрились добиться
такого эффекта.
------- Comment #3 From 2009-11-11 13:55:41 -------
Похоже, был виноват старый rpm в контейнере. 4.0-контейнер, свежеобновлённый из
4.0 бранч, накатывается до 5.1 без проблем.

# apt-get dist-upgrade -o Debug::pkgProblemResolver=yes
Reading Package Lists...
Building Dependency Tree...
Starting
Starting 2
Investigating vim-common
Package vim-common has broken dep on rpmlib(PosttransFiletriggers)
Investigating alternatives
Package alternatives has broken dep on rpmlib(PosttransFiletriggers)
Investigating rpm-macros-alternatives
Package rpm-macros-alternatives has broken dep on alternatives
  Considering alternatives 4 as a solution to rpm-macros-alternatives 4
  Holding Back rpm-macros-alternatives rather than change alternatives
Investigating openldap-servers
Package openldap-servers has broken dep on libldap2.3
  Considering libldap2.3 14 as a solution to openldap-servers 2
  Removing openldap-servers rather than change libldap2.3
Investigating vim-console
Package vim-console has broken dep on vim-common
  Considering vim-common 7 as a solution to vim-console 1
  Holding Back vim-console rather than change vim-common
Investigating openldap-clients
Package openldap-clients has broken dep on libldap2.3
  Considering libldap2.3 14 as a solution to openldap-clients 1
  Removing openldap-clients rather than change libldap2.3
Investigating vim-enhanced
Package vim-enhanced has broken dep on vim-common
  Considering vim-common 7 as a solution to vim-enhanced 0
    Reinst Failed early because of rpmlib(PosttransFiletriggers)
    Reinst Failed because of vim-common
  Removing vim-enhanced rather than change vim-common
Investigating gosa-schema
Package gosa-schema has broken dep on openldap-servers
  Considering openldap-servers 2 as a solution to gosa-schema 0
    Reinst Failed because of openldap-servers
  Removing gosa-schema rather than change openldap-servers
Investigating ido-backup-db-ldap
Package ido-backup-db-ldap has broken dep on openldap-servers
  Considering openldap-servers 2 as a solution to ido-backup-db-ldap 0
  Removing ido-backup-db-ldap rather than change openldap-servers
Investigating info-install
Package info-install has broken dep on rpmlib(PosttransFiletriggers)
 Try to Re-Instate vim-common
 Try to Re-Instate alternatives
 Try to Re-Instate vim-console
 Try to Re-Instate info-install
Done
The following packages will be upgraded
  SysVinit alt-gpgkeys apt basesystem bash bash-completion binutils bzip2 bzlib
  ca-certificates cert-sh-functions chrooted coreutils cpio curl diffstat
  diffutils e2fsprogs ed emacs-base etckeeper etcnet etcnet-defaults-server
  etcskel fakeroot file filesystem findutils gawk getopt git-core glibc
  glibc-core glibc-gconv-modules glibc-locales glibc-nss glibc-preinstall
  glibc-timezones glibc-utils gnupg grep groff-base gzip hostinfo hwclock iconv
  ifrename iproute2 iptables iputils ipv6calc klogd less lftp libacl libapt
  libatm libattr libbeecrypt libbfd libblkid libcap libcdb libcom_err libcurl
  libdb4.4 libdevmapper libe2fs libedit libelf libexpat libgpm libidn libkrb5
  libldap2.3 liblua5.1 libmagic libncurses libnetlink libopenslp libpam0
  libpasswdqc libpcap0.8 libpcre3 libpopt libreadline librpm librpmbuild
  libruby libsasl2 libshell libss libtcb libtcl libtinfo libunixODBC libuuid
  libwireless libwrap libzio losetup mailx man module-init-tools mount msulogin
  nfs-utils nss_tcb openssh openssh-clients openssh-server openssl pam
  pam-config pam-config-control pam0-config pam0_mktemp pam0_passwdqc pam0_tcb
  pam0_userpass passwdqc-control perl-Digest-SHA1 perl-Error perl-Git perl-base
  portmap postfix ppp-common procmail procps python-base rkhunter rootfiles rpm
  rsync sed service setproctitle setup sh shadow-convert shadow-edit
  shadow-utils startup strace su sysklogd syslog-common syslogd tar tcb-utils
  tcpdump terminfo termutils time traceroute util-linux vim-minimal vixie-cron
  which zlib
The following packages will be REPLACED:
  altlinux-release-office-server (by altlinux-release-sisyphus) 
  apt-conf-server (by apt-conf-sisyphus)  libgcc4.1 (by libgcc4.4)  libltdl (by
  libltdl3)  libstdc++4.1 (by libstdc++4.4)  mktemp (by coreutils)  openldap
  (by openldap2.4)
The following packages will be REMOVED:
  gosa-schema ido-backup-db-ldap openldap-clients openldap-servers vim-enhanced
The following NEW packages will be installed:
  altlinux-release-sisyphus apt-conf-sisyphus glibc-pthread groff-ps libICE
  libSM libX11 libX11-locales libXau libXdmcp libXt libaudit libcares
  libcrypto7 libdb4.7 libgcc4.4 libgmp libkeyutils libltdl3 liblzma libncursesw
  libssl7 libstdc++4.4 libtic libxcb openldap2.4 sysvinit-utils tzdata
  udev-rule-generator udev-rules util-linux-control xxd xz
The following packages have been kept back
  alternatives info-install vim-common vim-console
161 upgraded, 33 newly installed, 7 replaced, 5 removed and 4 not upgraded.
Need to get 0B/39.0MB of archives.
After unpacking 181MB disk space will be freed.
Committing changes...
Preparing...                 ##################################################
file /usr/bin/xxd from install of xxd-7.2.262-alt1 conflicts with file from
package vim-common-7.1.315-alt0.M40.1
E: Error while running transaction
------- Comment #4 From 2009-11-11 14:03:59 -------
(In reply to comment #3)
> Package vim-common has broken dep on rpmlib(PosttransFiletriggers)
Ну тут всё понятно.

> The following NEW packages will be installed:
>   ... xxd ...
> The following packages have been kept back
>   ... vim-common ...

Уже не первый раз вижу, что если пакет foo не обновляется, его зависимости всё
равно пытаются установиться.