Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?
HelloNewly installed 6.1. Barely touched ports so one would expect it to work, yet it fails brutally for me as a new user when I do portupgrade -arR just to upgrade a few packages.I have no clue why and what to do so I am hoping someone here knows. Can't see what I have done wrong. I have followed the available ports docs/mans slavishly. That is always cvsup ports and do a portsdb -Fu; portaudit -Fa before upgrade as well as read UPDATING.The info I've managed to gather is listed below. I don't want to retry the installation and maybe screw up things more before I ask you guys. Problem seems to be with pkg-config or pkgconfig... pkgconfig puzzles me. There exits no port of this in the tree yet it somehow is a package now. Thanks.syscons buffer contents related to error I could get:---> Installing the new version via the port ===> Installing for pkg-config-0.20_2 ===> Generating temporary packing list ===> Checking if devel/pkg-config already installed ===> pkg-config-0.20_2 is already installedYou may wish to ``make deinstall'' and install this port againby ``make reinstall'' to upgrade it properly.If you really wish to overwrite the old port of devel/pkg-configwithout deleting it first, set the variable "FORCE_PKG_REGISTER"in your environment or the "make install" command line. *** Error code 1Stop in /usr/ports/devel/pkg-config. *** Error code 1Stop in /usr/ports/devel/pkg-config. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade42339.5 env PORT_UPGRADE=yes make PORT_UPGRADE=yes reinstall egrep: /var/db/pkg/pkgconfig-0.20/+CONTENTS: No such file or directory ---> Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb in /var/db/pkg ... - 45 packages found (-0 +1) . done] ---> Skipping 'devel/pkg-config' (pkg-config-0.20_2) because it has already failedportversion -vl "<":fontconfig-2.3.2_3,1< needs updating (port has 2.3.2_5,1) linux_base-8-8.0_14 < needs updating (port has 8.0_16) pkgconfig-0.20 < needs updating (port has 0.20_2) xorg-clients-6.9.0_2< needs updating (port has 6.9.0_3) xorg-printserver-6.9.0 < needs updating (port has 6.9.0_1) xorg-server-6.9.0_1 < needs updating (port has 6.9.0_4) xorg-vfbserver-6.9.0< needs updating (port has 6.9.0_1) xterm-206_1 < needs updating (port has 215)pkg_info:bash-3.1.17 The GNU Project's Bourne Again SHell bitstream-vera-1.10_2 Bitstream Vera TrueType font collection cvsup-without-gui-16.1h_2 General network file distribution system optimized for CVS db41-4.1.25_3 The Berkeley DB package, revision 4.1 expat-2.0.0_1 XML 1.0 parser written in C fontconfig-2.3.2_3,1 An XML-based font configuration API for X Windows freetype2-2.1.10_3 A free and portable TrueType font rendering engine gettext-0.14.5_2GNU gettext package gmake-3.81_1GNU version of 'make' utility imake-6.9.0 Imake and other utilities from X.Org jpeg-6b_4 IJG's jpeg compression utilities libXft-2.1.7_1 A client-sided font API for X applications libdrm-2.0.2Userspace interface to kernel Direct Rendering Module servi libiconv-1.9.2_2A character set conversion library libtool-1.5.22_2Generic shared library support script links-2.1.p21,1 Lynx-like text WWW browser linux_base-8-8.0_14 Base set of packages needed in Linux mode (for i386/amd64) lynx-ssl-2.8.5_2A non-graphical, text-based World-Wide Web client with SSL pcre-6.7Perl Compatible Regular Expressions library perl-5.8.8 Practical Extraction and Report Language pkg-config-0.20_2 A utility to retrieve information about installed libraries pkgconfig-0.20 A utility to retrieve information about installed libraries png-1.2.12_1Library for manipulating PNG images portaudit-0.5.11Checks installed ports against a list of security vulnerabi portupgrade-2.1.3.2_2,2 FreeBSD ports/packages administration and management too l s ruby-1.8.4_9,1 An object-oriented interpreted scripting language ruby18-bdb-0.5.9_2 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat tiff-3.8.2 Tools and library routines for working with TIFF images xorg-clients-6.9.0_2 X client programs and related files from X.Org xorg-documents-6.9.0 Documentation of X11 protocol and libraries from X.Org xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts xorg-fonts-cyrillic-6.9.0_1 X.Org Cyrillic bitmap fonts xorg-fonts-encodings-6.9.0_1 X.Org font encoding files xorg-fonts-miscbitmaps-6.9.0_1 X.Org miscellaneous bitmap fonts xorg-fonts-truetype-6.9.0 X.Org TrueType fonts xorg-fonts-type1-6.9.0 X.Org Type1 fonts
Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?
Bobby, On Wed, Aug 02, 2006 at 02:22:18PM +0200, Bobby Knight wrote: > HelloNewly installed 6.1. I recently said hello to a newly installed FreeBSD 6.1 myself. > Barely touched ports so one would expect it to work, That sounds like a reasonable expectation for FreeBSD. I'm new to FreeBSD myself. For the most part I've found it quite stable. I've been a Linux user for years(since the 1.x kernel days) and after only a few days of tinkering with FreeBSD on a test box I'm just about ready to switch my main box over to FreeBSD. > yet it fails brutally for me as a new user when I do portupgrade -arR > just to upgrade a few packages. I experienced a similar failure to the one you describe, although I didn't find it all that brutal. After a few tries I managed to get past it. > I have no clue why and what to do so I am hoping someone here knows. I don't really have a clue as to why myself but I'll tell you what worked for me. There may be a better solution to this and if so hopefully someone with more knowledge than I will point it out. To improve your chances of getting the answers you need you might want to consider paying attention to the guidelines posted occasionally, especially the part about including line breaks. Such a post can be found at: http://Lists.FreeBSD.org/pipermail/freebsd-questions/2006-July/126199.html Reformatting your post so I could reply to it took a bit of time. Since I had a similar problem I took the time to reformat your message and reply to it with the hope that it will encourage someone who might not otherwise have repiled to provide more information and a better solution to the problem. > Can't see what I have done wrong. My guess is you haven't done anything wrong. I had the same problem. > That is always cvsup ports and do a portsdb -Fu; portaudit -Fa before > upgrade as well as read UPDATING. I use portsnap myself and just installed portupgrade and portaudit yesterday. I'm still learning all the proper steps necessary to keep my system up to date. > Checking if devel/pkg-config already installed ===> pkg-config-0.20_2 > is already installed > You may wish to ``make deinstall'' and install this port again by ``make > reinstall'' to upgrade it properly. I tried a 'make deinstall' then 'make reinstall' as the error message suggested. It didn't help. Then, I tried a 'make deinstall' followed by a 'portupgrade -aRr' which appeared to get around the problem. Portupgrade installed the version of pkg-config it really wanted and upgraded everything successfully. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?
On Wednesday 02 August 2006 13:22, Bobby Knight wrote: > HelloNewly installed 6.1. Barely touched ports so one would expect it > to work, yet it fails brutally for me as a new user when I do portupgrade > -arR just to upgrade a few packages.I have no clue why and what to do > so I am hoping someone here knows. Can't see what I have done wrong. I > have followed the available ports docs/mans slavishly. > > That is always cvsup ports and do a portsdb -Fu; portaudit -Fa before > upgrade as well as read UPDATING.The info I've managed to gather is > listed below. I don't want to retry the installation and maybe screw up > things more before I ask you guys. Problem seems to be with pkg-config or > pkgconfig... pkgconfig puzzles me. There > > exits no port of this in the tree yet it somehow is a package now. $ grep pkgconfig /usr/ports/MOVED devel/pkgconfig|devel/pkg-config|2006-05-27|Renamed to use real vendor package name You can probably just pkg_delete pkgconfig, and fix-up the dependencies. Between the two you probably need to install the new version. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?
On Wed, Aug 02, 2006 at 02:34:46PM +0100, RW wrote: > $ grep pkgconfig /usr/ports/MOVED > devel/pkgconfig|devel/pkg-config|2006-05-27|Renamed to use real vendor > package name > > You can probably just pkg_delete pkgconfig, and fix-up the dependencies. > Between the two you probably need to install the new version. Would: portupgrade -f -o pkgconfig pkg-config be the "correct" way to fix such a problem? Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?
On Wednesday 02 August 2006 15:00, Kevin Monceaux wrote: > On Wed, Aug 02, 2006 at 02:34:46PM +0100, RW wrote: > > $ grep pkgconfig /usr/ports/MOVED > > devel/pkgconfig|devel/pkg-config|2006-05-27|Renamed to use real vendor > > package name > > > > You can probably just pkg_delete pkgconfig, and fix-up the dependencies. > > Between the two you probably need to install the new version. > > Would: > > portupgrade -f -o pkgconfig pkg-config > > be the "correct" way to fix such a problem? probably, I don't use portupgrade much myself. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SV: Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?
Thank you for editing my post. Strange that freebsd does not provide any info on how to deal with these problems. I think one is supposed to invoke pkgdb -F when portupgrades fail like this. The question then is how to respond. The most recent page I could find about that is this: http://www.engr.colostate.edu/~reinholz/freebsd/pkgdb_F.html I haven't tried it yet but I suspect I will get some of those same questions when I do. Especieally about stale origin to pkgconfig. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"