Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2003 14:16:28 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Fernan Aguero <fernan@iib.unsam.edu.ar>
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   Re: how to deal with missing +CONTENTS (or how to use cvsweb)
Message-ID:  <1062180988.47188.35.camel@shumai.marcuscom.com>
In-Reply-To: <20030829180953.GB57412@iib.unsam.edu.ar>
References:  <20030829180953.GB57412@iib.unsam.edu.ar>

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

--=-0O64tlnGYuHnxd5L40bK
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2003-08-29 at 14:09, Fernan Aguero wrote:
> Hi!
>=20
> I had some problems with my /var/db/pkg and lost a few
> +CONTENTS files. I now want to pkg_delete those ports and
> reinstall them.
>=20
> Problem obviously is that I need a +CONTENTS file for
> pkg_delete to work. I can delete files manually, if I had a
> pkg-plist for the version I have installed.=20
>=20
> The problems are as far as I could get with imake-4.2.0_1
> and tcl-8.0.5.
>=20
> Now, I thought that I could go to cvsweb and look for
> imake-4.2.0_1 and be done. However it seems that I can only
> get to files based on their revision or CVS tags. Am I
> missing something?
>=20
> If I'm correct and -4.2.0_1 means PORTVERSION=3D4.2.0 and
> PORTREVISION=3D1, I think that revision 1.22 of the imake-4
> Makefile could be the one I need. However, later revisions
> (up to 1.25) also match 4.2.0_1.
>=20
> Question: how do I get to the pkg-plist corresponding to
> this Makefile? They don't share the revision number, were
> not modified at similar dates ...
>=20
> I hope you see my confusion. If you have ideas on how to
> better use cvsweb, I'd be glad to hear them.
>=20
> Also, if you happen to know of a better way of deinstalling
> files for which no +CONTENTS is available, and from a port
> that is currently at a newer version, please let me know.

What you can do is remove the various /var/db/pkg directories, then
reinstall the same version, then do a pkg_delete (if you really wanted
to get rid of those ports).  If you just want to restore the +CONTENTS
files, remove the /var/db/pkg directories, then reinstall the ports.

Joe

>=20
> Thanks in advance for any help,
>=20
> Fernan
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

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

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

iD8DBQA/T5h8b2iPiv4Uz4cRAlumAJ0RrYeg8hrxcxQcqmwDXfMOS5EImwCdE4Ha
zctz6J156/m+OrqOViHWj40=
=4fjN
-----END PGP SIGNATURE-----

--=-0O64tlnGYuHnxd5L40bK--



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