Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2009 13:58:28 +0100
From:      "Daniel Bye" <danielby@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: jpeg-7 - rebuild all dependencies - how?
Message-ID:  <20090724125828.GD51640@torus.slightlystrange.org>
In-Reply-To: <20090724125542.GC51640@torus.slightlystrange.org>
References:  <20090724120343.GA74404@aurora.oekb.co.at> <20090724125542.GC51640@torus.slightlystrange.org>

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

--DiL7RhKs8rK9YGuF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Ooops! My apologies - it seems that an earlier version of UPDATING did inde=
ed
say to pkg_delete.

Ewald, I'm sorry for sounding so patronising - I feel like a total fool now.

~blush

Dan


On Fri, Jul 24, 2009 at 01:55:42PM +0100, Daniel Bye wrote:
> On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
> > Hi,
> >=20
> > Updating one of my sytems I followed /usr/ports/UPDATING and did a
> > "pkg_delete -r jpeg-6b_7" - only to discover that everything that
>=20
> Au contraire, Blackadder. UPDATING says to run either of=20
>=20
> portmaster -r jpeg*
>=20
> OR
>=20
> portupgrade -fr graphics/jpeg
>=20
> It says nothing of pkg_delete.
>=20
> > depends on jpeg-* is gone - this involves little wonders like the
> > complete gnome2 environment plus e.g. firefox, gimp,
> > openoffice.=20
>=20
> pkg_delete -r <package> - recursively delete <package> and all others tha=
t=20
> depend on it.
>=20
> >=20
> > What's really bad however is that all information about the
> > dependencies that were there before is now gone, i.e. the system has
> > no clue that e.g. gnome2 was installed.
>=20
> Yep, because pkg_delete removed their entries from the registry.
>=20
> >=20
> > Fortunately, in my particular case, I did a "pkg_info -Rx jpeg-" prior
> > to that pkg_delete so at least I have clue as to the state of my ports
> > that depend on jpeg-* before that pkg_delete.
> >=20
> > So here are my questions:
> >=20
> > o) Do I really have to re-build every port that depends on jpeg-* from
> > scratch; i.e. "make && make install"ing every port? (i.e. take the
> > list from pkg_info (see above) and build everything by hand)
>=20
> That's going to be the best bet, yes.
>=20
> >=20
> > o) Is there a less painful way to upgrade everything that depends on jp=
eg-*
>=20
> You could try installing prebuilt packages, but they might not all have b=
een
> updated yet to use the new version of jpeg.=20
>=20
> > PS: To my understanding the information in /usr/ports/UPDATING is a
> > little misleading without mentioning anything that "pkg_delete"
> > basically removing all dependencies leaving the system in a state with
> > the dependent packages deleted having no clue as to what was there
> > before. Maybe a little hint about this would possibly keep others from
> > falling into similar traps....
>=20
> Read the relevant entry again. It mentions nothing about running pkg_dele=
te.
>=20
> Dan
>=20
> --=20
> Daniel Bye
>                                                                      _
>                                               ASCII ribbon campaign ( )
>                                          - against HTML, vCards and  X
>                                 - proprietary attachments in e-mail / \



--=20
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

--DiL7RhKs8rK9YGuF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkppr/QACgkQixf5fBYiFmoeVgCcDjv9VpeadSMut1J/Vb2eLsXl
+egAn1oEt7BSYWlALiJ6YXPbI5g1ZqXb
=ml75
-----END PGP SIGNATURE-----

--DiL7RhKs8rK9YGuF--



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