From owner-freebsd-questions@FreeBSD.ORG Fri Apr 18 16:33:34 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33209AD9 for ; Fri, 18 Apr 2014 16:33:34 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CD0C813A6 for ; Fri, 18 Apr 2014 16:33:33 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s3IGXQHY003436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 18 Apr 2014 17:33:27 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s3IGXQHY003436 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1397838807; bh=80IQF29M8LGEDWKA6iazjEYuUjfRwrb7yXJv59pLbTE=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Fri,=2018=20Apr=202014=2017:33:16=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20pkg=20don't=20recognize=20install ed=20packages|References:=20<53514A68.806@gmx.de>|In-Reply-To:=20< 53514A68.806@gmx.de>; b=KXC9sSKVNBme5n6RAxJ2wkxoEstrVQLBzvH37Du8xNSQy8EjP+yzea44kIq0lkEmK O1Nk1TI0ViywDwOjSE0GL4/ktySYVdOoYhF4maxgLbmlqaSeFrb0H3ps2uA/lqOi7v 2z37XNHkLl4NqnJVzPwSFn7GqJXkjdxrj29ZUEyU= Message-ID: <535153CC.5050000@infracaninophile.co.uk> Date: Fri, 18 Apr 2014 17:33:16 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg don't recognize installed packages References: <53514A68.806@gmx.de> In-Reply-To: <53514A68.806@gmx.de> X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WKWbk9cKkPCVpcSauwj7I7mCf0RT2lspT" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2014 16:33:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WKWbk9cKkPCVpcSauwj7I7mCf0RT2lspT Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 18/04/2014 16:53, lokadamus@gmx.de wrote: > Hi all, >=20 > After an upgrade of portmaster and pkg both doesn't show me my installe= d > programms. >=20 > root@FBSDhost:/var/db/pkg # portmaster -L > =3D=3D=3D>>> Root ports (No dependencies, not depended on) > =3D=3D=3D>>> pkg-1.2.7_2 > =3D=3D=3D>>> portmaster-3.17.4 > =3D=3D=3D>>> 2 root ports > =3D=3D=3D>>> Trunk ports (No dependencies, are depended on) > =3D=3D=3D>>> 0 trunk ports > =3D=3D=3D>>> Branch ports (Have dependencies, are depended on) > =3D=3D=3D>>> 0 branch ports > =3D=3D=3D>>> Leaf ports (Have dependencies, not depended on) > =3D=3D=3D>>> 0 leaf ports > =3D=3D=3D>>> 2 total installed ports > =3D=3D=3D>>> There are no new versions available >=20 > root@FBSDhost:/var/db/pkg # pkg info > pkg-1.2.7_2 Package manager > portmaster-3.17.4 Manage your ports without external > databases or languages > root@FBSDhost:/var/db/pkg # >=20 > What can i do to see which software like firefox, thunderbird, xorg is > installed? You need to do two things: 1) If converting from a system that used to use pkg_tools, then one time only, you need to run pkg2ng to import all the packages registered in the old-style package database. 2) If you're on FreeBSD 9.x or earlier, and you intend to install any packages by compiling from ports then you need to add WITH_PKGNG=3Dyes to /etc/make.conf. This is already the default in 10.x and above. It only affects installing from ports, and is irrelevant if you use binary packages exclusively. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --WKWbk9cKkPCVpcSauwj7I7mCf0RT2lspT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTUVPVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT6XAP/3OOdxvYTAZMpXdAKI+Dwn2d U9jFWayyQ6FgakjeTXFoLkLhhCisFsH2wBZLNyolYKzd1dpIJRRQrM1I3KkBjZdC 7wFjnjoSyIwoy9wsOS0wNdHziafJQGKt7aHWHagk0dt4OGS5E8RZj01zzk30kZhe oTk6VfzEZGGj1K9CwpHlibCqT3phIsQkl7FoGQz5fnAsEb2oM7coyWkc8rt2eI6B iFXy3UgqR9B2OfAHGCtH6NTEVxfNzHOYV6ZgnyUruG9DyOZdzOFRMN/PX3o3O0+A MgLiDotTCZ/KkKcHNLRmec2pnqeM9Khb91MFuFnWibratSZ9IRBiuqJdFUnJI5mx n5CLT+lBuBCoXGrPjgUx2nbbFprVFxTUezIfmLBkEBpMbaKMeEor2j7p2riwsQXY nVdtZM9CKftEtzDrl7AWSPEcmkLjrIjb/Yauzelc1hoF2jBvekBaYkqChmYZuMAD NsgAfLQ9zqvD3QoDDUF0UOxwth9fIHCvQ5dRNpxeEOqn8gyAY+gpGPGBaKhLYsrp 6iNHnM/0od8isTYg8rxcijTRPTERanflkpUcQ/yh6+AnplKLtaq8vigy4e3IZcKN rgoX68WBuZxGiCNVPOGV5YO/jQr+j03g8fN+U7DC87CB+55yDVmF9YW9M7aRPpbJ I6H2NzggvJmwd72oOjYP =JLLT -----END PGP SIGNATURE----- --WKWbk9cKkPCVpcSauwj7I7mCf0RT2lspT--