Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2008 02:35:01 -0700
From:      David Southwell <david@vizion2000.net>
To:        freebsd-ports@freebsd.org
Cc:        Sergey Matveychuk <sem@freebsd.org>
Subject:   Re: Portupgrade has serious problems
Message-ID:  <200809080235.02554.david@vizion2000.net>
In-Reply-To: <200809071341.14955.david@vizion2000.net>
References:  <200809011300.48256.david@vizion2000.net> <48C15B57.60202@FreeBSD.org> <200809071341.14955.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 07 September 2008 13:41:14 David Southwell wrote:
> On Friday 05 September 2008 09:16:23 you wrote:
> > David Southwell wrote:
> > > On Thursday 04 September 2008 09:38:22 you wrote:
> > >> David Southwell wrote:
> > >>> On Tuesday 02 September 2008 08:26:26 you wrote:
> > >>>> Show please an output of the command:
> > >>>> pkg_info -o apache-2.2.9
> > >>>
> > >>> Following up this one here is another weirdo::
> > >>> ttp://httpd.apache.org/
> > >>> ===>  Cleaning for apache-2.2.9_5
> > >>> --->  Cleaning out obsolete shared libraries
> > >>> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1047
> > >>> packages found (-0 +1) . done]
> > >>> --->  Skipping 'bsdpan-Term-ReadLine-Perl-1.0302' because it is held
> > >>> by user (specify -f to force)
> > >>> --->  Skipping 'devel/p5-IO' because it is held by user (specify -f
> > >>> to force) --->  Skipping 'graphics/ImageMagick' (ImageMagick-6.4.3.4)
> > >>> because a requisite package 'apache-2.2.9_3' () failed (specify -k to
> > >>> force) --->  Skipping 'bsdpan-Shell-0.72' because it is held by user
> > >>> (specify -f to force)
> > >>> --->  Skipping 'misc/p5-Array-Compare' because it is held by user
> > >>> (specify -f to force)
> > >>> --->  Skipping 'devel/p5-Devel-Symdump' because it is held by user
> > >>> (specify -f to force)
> > >>> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
> > >>>
> > >>>
> > >>> Here we have another example of portupgrade gets its dependencies in
> > >>> a twist.
> > >>>
> > >>> Not install Image-Magick on the grounds that apache, which it has
> > >>> just upgraded does not have the previous version installed.
> > >>>
> > >>> This is a constant repeat of the same problem as has happened with
> > >>> kde and elsewjhere
> > >>
> > >> Just again. Show pkg_info -o apache-2.2.9_5 please.
> > >
> > > Here is output..
> > >
> > > But how does it help?
> >
> > It helps me to uderstand why there is no origin in the line:
> > because a requisite package 'apache-2.2.9_3' () failed (specify -k to
> >
> > > Having installed the upgradefrom apache-2.2.9_3 to 2.2.9_5 the database
> > > naturally shows the result of upgrading the database. Is it not more
> > > about what version portupgrade is expecting to find? Having upgraded
> > > why dhould it expect to find  apache-2.2.9_3????
> >
> > I don't know. After apache was updated portupgrade should rebuild its
> > databases. It did it (line: "[Updating the pkgdb <format:bdb_btree> in
> > /var/db/pkg ... - 1047 packages found (-0 +1) . done]"). But for some
> > reason it use old values.
> > What version of db do you use?root@dns1 /var/spool/mqueue]# pkg_info
> > |grep
>
> db
> apr-gdbm-db42-1.3.3.1.3.4 Apache Portability Library
> db4-4.0.14_1,1      The Berkeley DB package, revision 4
> db42-4.2.52_5       The Berkeley DB package, revision 4.2
> dbus-1.2.1          A message bus system for inter-application
> communication dbus-glib-0.76      GLib bindings for the D-BUS messaging
> system
> gdb-6.6_1           GNU GDB of newer version than comes with the system
> gdbm-1.8.3_3        The GNU database manager
> gnome-db-0.2.96_10  Provide uniform access to data sources for the GNOME
> enviro
> libcddb-1.3.0       A library to access data on a CDDB server
> qt4-dbus-4.4.1      Qt4 bindings for the D-BUS messaging system
> qt4-odbc-plugin-4.4.1 Qt ODBC database plugin
> qt4-qdbusviewer-4.4.1 Qt4 D-BUS viewer
> ruby18-bdb-0.6.4    Ruby interface to Sleepycat's Berkeley DB revision 2 or
> lat
> xcmsdb-1.0.1        Device Color Characterization utility for X
> xdbedizzy-1.0.2     Demo of DBE creating a double buffered spinning scene
> xrdb-1.0.4          X server resource database >
>
> > > root@dns1 /usr/home/david]# pkg_info -o apache*
> > > Information for apache-2.2.9_5:
> > >
> > > Origin:
> > > www/apache22
> > >
> > > Information for apache-ant-1.7.0_2:
> > >
> > > Origin:
> > > devel/apache-ant
>

Here is another example:

[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1046 packages 
found (-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for ruby18-gdk_pixbuf2-0.16.0.20080905
===>   ruby18-gdk_pixbuf2-0.16.0.20080905 depends on 
file: /usr/local/lib/ruby/site_ruby/1.8/amd64-freebsd7/glib2.so - found
===>   ruby18-gdk_pixbuf2-0.16.0.20080905 depends on 
file: /usr/local/bin/ruby18 - found
===>   ruby18-gdk_pixbuf2-0.16.0.20080905 depends on executable: pkg-config - 
found
===>   ruby18-gdk_pixbuf2-0.16.0.20080905 depends on 
file: /usr/local/lib/gio/modules/libgiofam.so - found
===>   ruby18-gdk_pixbuf2-0.16.0.20080905 depends on shared library: 
atk-1.0.0 - found
===>   ruby18-gdk_pixbuf2-0.16.0.20080905 depends on shared library: 
glib-2.0.0 - found
===>   ruby18-gdk_pixbuf2-0.16.0.20080905 depends on shared library: 
gtk-x11-2.0.0 - found
===>   ruby18-gdk_pixbuf2-0.16.0.20080905 depends on shared library: 
pango-1.0.0 - found
===>   Generating temporary packing list
===>  Checking if graphics/ruby-gdk_pixbuf2 already installed
/usr/bin/install -c -o root -g wheel -m 0755 
gdk_pixbuf2.so /usr/local/lib/ruby/site_ruby/1.8/amd64-freebsd7
install  -o root -g wheel -m 
444 /usr/ports/graphics/ruby-gdk_pixbuf2/work/ruby-gnome2-all-0.16.0.20080905/gdkpixbuf/lib/gdk_pixbuf2.rb /usr/local/lib/ruby/site_ruby/1.8
===>   Registering installation for ruby18-gdk_pixbuf2-0.16.0.20080905
===>  Cleaning for ruby18-gdk_pixbuf2-0.16.0.20080905
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1047 packages 
found (-0 +1) . done]
--->  Skipping 'x11-toolkits/ruby-gtk2' (ruby18-gtk2-0.16.0.20080706) because 
a requisite package 'ruby18-gdk_pixbuf2-0.16.0.20080706' () failed 
(specify -k to force)
--->  Skipping 'devel/ruby-libglade2' (ruby18-libglade2-0.16.0.20080706) 
because a requisite package 'ruby18-gtk2-0.16.0.20080706' 
(x11-toolkits/ruby-gtk2) failed (specify -k to force)

All these problems have identical symptoms and are fixed by rerunning 
portupgrade!!
It looks as though portupgrade is failing to reexamine the database after each 
upgrade OR is searching for a dependency which is limited to the previous 
version!

David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809080235.02554.david>