Date: Fri, 18 Apr 2014 17:33:16 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: pkg don't recognize installed packages Message-ID: <535153CC.5050000@infracaninophile.co.uk> In-Reply-To: <53514A68.806@gmx.de> References: <53514A68.806@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?535153CC.5050000>