Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 20:39:22 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        wsk <wsk@gddsn.org.cn>
Cc:        gnome@freebsd.org
Subject:   Re: pkgdb coredump while upgrade gnome2.8-->2.10
Message-ID:  <1110850762.6745.12.camel@shumai.marcuscom.com>
In-Reply-To: <42363B9B.8060302@gddsn.org.cn>
References:  <42363B9B.8060302@gddsn.org.cn>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-9JYvsEYsl6dR6FvjtEI9
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2005-03-15 at 09:34 +0800, wsk wrote:
> lp# sh gnome_upgrade.sh
>=20
> WARNING: To prevent crashing your system, as well as to significantly spe=
ed
> up the upgrade, you are strongly advised to run this program from a conso=
le.
> If any GNOME or GTK+-2 application is running, you MUST abort now.
>=20
> WARNING: If necessary, hit Control-C now, drop to a terminal, and
> restart the
> upgrade.
>=20
> Hit <ENTER> to continue with the upgrade:
>=20
> You can watch the upgrade process in real-time by running:
> tail -f /var/tmp/gnome_upgrade_log.8OrDJM
> =3D=3D=3D> Generating list of ports to upgrade in
> /var/tmp/gnome_upgrade_lst.sYd4gm ...[Updating the pkgdb
> <format:dbm_hash> in /var/db/pkg ...
> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:432: warning: Object#type is
> deprecated; use Object#class
> origins - not a string (NilClass); rebuild needed] [Rebuilding the pkgdb
> <format:dbm_hash> in /var/db/pkg ... - 257 packages found (-0 +257)
> .ruby18 in free(): error: chunk is already free
> Abort trap (core dumped)
> DONE.
> =3D=3D=3D> Generating list of external dependencies ...[Updating the pkgd=
b
> <format:dbm_hash> in /var/db/pkg ...
> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:432: warning: Object#type is
> deprecated; use Object#class
> origins - not a string (NilClass); rebuild needed] [Rebuilding the pkgdb
> <format:dbm_hash> in /var/db/pkg ... - 257 packages found (-0 +257)
> .ruby18 in free(): error: chunk is already free
> DONE.
>=20
> >>>>> STAGE 1 of 4: Cleaning the package database.
>=20
> The nautilus-media port was removed, because its functionality
> was merged into another application. This next step might complain
> about the nautilus-media port no longer existing. When it asks what
> you want to do about it, you can either choose choose "[no]" to
> ignore the issue, or, if (and only if!) you are very familiar with
> pkgdb(1), you can hit CTRL-D to remove the dependency.
>=20
> =3D=3D=3D> Running /usr/local/sbin/pkgdb to start with a consistent packa=
ge
> database ...Abort trap (core dumped)
> FAILED.
> ERROR: /usr/local/sbin/pkgdb repair has failed. Please repair the package
> database by hand (run "pkgdb -F"), then re-run this script. If you requir=
e
> additional help, compress /var/tmp/gnome_upgrade_log.8OrDJM, and send it =
to
> freebsd-gnome@FreeBSD.org.
>=20
> and run pkgdb -F:lp# pkgdb -F
> ---> Checking the package registry database
> [Updating the pkgdb <format:dbm_hash> in /var/db/pkg ...
> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:432: warning: Object#type is
> deprecated; use Object#class
> origins - not a string (NilClass); rebuild needed] [Rebuilding the pkgdb
> <format:dbm_hash> in /var/db/pkg ... - 257 packages found (-0 +257)
> .ruby18 in free(): error: chunk is already free
> Abort (core dumped)

Remove /var/db/pkg/pkgdb.db, then re-run pkgdb -Ff.  Fix any errors that
are reported.  Once you have your pkgdb properly initialized, re-try the
gnome_upgrade.sh.

Joe

>=20
> thanks any reply with appreciates
>=20
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-9JYvsEYsl6dR6FvjtEI9
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCNjzKb2iPiv4Uz4cRAmBiAKCuACOSkEmLsb+W/XM5UduB/5lVNQCfcogs
KdcDUQKMtsMfk03dQ9Ly+Ws=
=nVPa
-----END PGP SIGNATURE-----

--=-9JYvsEYsl6dR6FvjtEI9--



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