pkgsrc-Users archive

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

[pkg_rolling-replace] Updating perl and friends



All,

what is the good and proper way out when pkg_rolling-replace(8) fails with

[...]
===> Building binary package for perl-5.12.2nb1
=> Creating binary package /var/obj/pkgsrc/packages/All/perl-5.12.2nb1.tgz
===> Replacing for perl-5.12.2nb1
WARNING: experimental target - DATA LOSS MAY OCCUR.
===> Updating using binary package of perl-5.12.2nb1
/usr/pkg/sbin/pkg_add -K /var/db/pkg -U -D /var/obj/pkgsrc/packages/All/perl-5.12.2nb1.tgz pkg_add: Dependency of p5-perl-headers-5.1_RC2nb4 fulfilled by perl-5.10.1nb2, but not by perl-5.12.2nb1 pkg_add: Dependency of p5-Module-CoreList-2.36 fulfilled by perl-5.10.1nb2, but not by perl-5.12.2nb1

[ loooong list omitted ]

pkg_add: Package `perl-5.12.2nb1' conflicts with `p5-Digest<=1.16{,nb*}', and `p5-Digest-1.16' is installed.
pkg_add: 1 package addition failed
*** Error code 1

Stop.

The first time I encountered the above, I forcefully deleted perl5, then installed the new one, and let pkg_rolling-replace(8) do its thing. But surely there must be a less disruptive way?

        hauke

--
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email             Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281


Home | Main Index | Thread Index | Old Index