Hi there, Today I tried to update my notebook with pkg_upgrade tool, written by a German bsdforen.de member. I ran into problems installing "kdehier4-1.0.6" package.>pkg_upgrade -a >===> Install <perl-5.10.1_2> (lang/perl5.10) >pkg_upgrade: The package <perl-5.10.1_2> will not be installed in favour >of <perl-5.12.1_1>, because they conflict. >===> Install <mp4v2-1.9.1> (multimedia/mp4v2) >pkg_upgrade: The package <mp4v2-1.9.1> will not be installed in favour of ><mpeg4ip-libmp4v2-1.6.1>, because they conflict. >===> Install <kdehier4-1.0.6> (misc/kdehier4) >share/PolicyKit/policy: Could not unlink >tar: Error exit delayed from previous errors. >pkg_add: leave_playpen: can't chdir back to '' >pkg_upgrade: The installation of <kdehier4-1.0.6> failed.After delete the old package with pkg_delete kdehier4-1.0.4 and try installing it by pkg_add kdehier4-1.0.6.tbz the same error occurred. On the recommendation of kamikaze (the developer of pkg_upgrade) i ask for advice on the list. with kind regards rolle
On 17/09/2010 19:02, rolle wrote:> Hi there, > > Today I tried to update my notebook with pkg_upgrade tool, written by a German bsdforen.de member. > I ran into problems installing "kdehier4-1.0.6" package. > >> pkg_upgrade -a >> ===> Install <perl-5.10.1_2> (lang/perl5.10) >> pkg_upgrade: The package <perl-5.10.1_2> will not be installed in favour >of <perl-5.12.1_1>, because they conflict. >> ===> Install <mp4v2-1.9.1> (multimedia/mp4v2) >> pkg_upgrade: The package <mp4v2-1.9.1> will not be installed in favour of ><mpeg4ip-libmp4v2-1.6.1>, because they conflict. >> ===> Install <kdehier4-1.0.6> (misc/kdehier4) >> share/PolicyKit/policy: Could not unlink >> tar: Error exit delayed from previous errors. >> pkg_add: leave_playpen: can't chdir back to '' >> pkg_upgrade: The installation of <kdehier4-1.0.6> failed. > > > After delete the old package with pkg_delete kdehier4-1.0.4 > and try installing it by pkg_add kdehier4-1.0.6.tbz the same error occurred. > On the recommendation of kamikaze (the developer of pkg_upgrade) i ask for advice on the list. > > > with kind regards rolleI had a look at src/usr.sbin/pkg_install/lib/pen.c and am confused as to how this error can come to pass: if (chdir(PenLocation) == FAIL) { cleanup(0); errx(2, "%s: can't chdir back to '%s'", __func__, PenLocation); } The way I read this PenLocation must be empty to show up like this. However, a couple of lines before it says: if (!PenLocation[0]) return 0; Which means to me the chdir shouldn't even performed if PenLocation is empty. Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
On Friday 17 September 2010 19:02:51 rolle wrote:> Today I tried to update my notebook with pkg_upgrade tool, written bya> German bsdforen.de member. I ran into problems installing"kdehier4-1.0.6"> package.ports/UPDATING has the solution for this -- Alberto Villa, FreeBSD Committer <avilla@FreeBSD.org> http://people.FreeBSD.org/~avilla DATA: An accrual of straws on the backs of theories. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 314 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100918/2282ae03/attachment.pgp
> Von: Alberto Villa <avilla@freebsd.org> > Betreff: Re: problem pkg_add kdehier4-1.0.6.tbz > An: freebsd-stable@freebsd.org > CC: "rolle" <v8diemacht@yahoo.de> > Datum: Samstag, 18. September, 2010 02:27 Uhr > On Friday 17 September 2010 19:02:51 > rolle wrote: > > Today I tried to update my notebook with pkg_upgrade > tool, written by > a > > German bsdforen.de member. I ran into problems > installing > "kdehier4-1.0.6" > > package. > > ports/UPDATING has the solution for this > -- > Alberto Villa, FreeBSD Committer <avilla@FreeBSD.org> > http://people.FreeBSD.org/~avilla >Everything worked like expected, thx for your help.