From owner-freebsd-x11@FreeBSD.ORG Fri Apr 4 05:45:37 2014 Return-Path: Delivered-To: freebsd-x11@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 12A69D25 for ; Fri, 4 Apr 2014 05:45:37 +0000 (UTC) Received: from mail-pd0-x236.google.com (mail-pd0-x236.google.com [IPv6:2607:f8b0:400e:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB560DD6 for ; Fri, 4 Apr 2014 05:45:36 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id y10so2845234pdj.13 for ; Thu, 03 Apr 2014 22:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=NniWdZIJqHDCa8z9kSaXcwr+plwO+C78JEQFP4lyjYY=; b=Snavq9WVCmqqw+vG4jdLFj9jzo9YxVjKF1ItNP/dcJIV6Ts9+Ys05PgWBZT4we62kO 8OBJygQt6APAdJIN1oH9oCDRPVLiafc4IKIriP8y/xaMl8lhjq5PWwMvcwN3KJsSxmZb nFe2h96XVLtk/Yu+fFToqvBeU+oC5+Xs0w4n3GC2HSuCAmDjpgRNSRGmDL+7xEQYGEkK gqPhp21KuGZBRuyd8BALoLKq0M4LFsGMwcoZRZajR9d4wXM6NqQU0ChNu7i2plhRlqtn e2F4jrwxKr38KEnQz93WijTkl/vXfH0LapNS+waUlV8U28eoGBVNt7jMGSD03/nsadZd CRgw== MIME-Version: 1.0 X-Received: by 10.68.139.2 with SMTP id qu2mr12485622pbb.164.1396590336084; Thu, 03 Apr 2014 22:45:36 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.73.34 with HTTP; Thu, 3 Apr 2014 22:45:36 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Apr 2014 22:45:36 -0700 X-Google-Sender-Auth: dlsxCiBAEE1MsiJT_VN5a-VWsEM Message-ID: Subject: Re: pkg2ng # pkg install gnome2 From: Kevin Oberman To: Pedro Carvalho Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-x11@freebsd.org" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 05:45:37 -0000 On Thu, Apr 3, 2014 at 3:26 PM, Pedro Carvalho wrote: > also why does > # make install clean > find the components necessary to assembly gnome2 in the ports > and > # pkg install gnome2 > does not? is it that the binary package hasn't been compiled for freebsd > 10? > if so if programming skills are not necessary i'l do it! > > > On Thu, Apr 3, 2014 at 11:20 PM, Pedro Carvalho >wrote: > > > i know i'l probably get my ears pulled over tcp-ip... > > > > This is about gnome2 > > > > i've googled a lot and saw a few posts on freebsd from some sources. > > FreeBSD 10 has no pkg_add. Now its # pkg install gnome2 > > which does not work: > > > > [root@pedro /usr/ports/x11/gnome2]# pkg install gnome2 > > Updating repository catalogue > > pkg: No packages matching 'gnome2' available in the repositories > > > > > > or # make install clean > > > > which is a freacking tedious process. I've been clicking OK over a period > > of 24H with sleep and its still not installed. > > > > Question: How can i install at once with this new pkg2ng? > > > > additional verbose as -v -r did nothing. > > > > > > If you can help il send you the amount of a beer over paypal. Not fuxxing > > joking... > > > You need to understand the difference between ports and packages. When you 'make instal clean', you are fetching the source distribution and building it. When you install a pkg ("pkg_add" or "pkg install" you are fetching a fully compiled binary built for a specific version of FreeBSD and installing it. The format of a package installed by pkg_add is very different from ones for with "pkg install". I am not certain why the repositories are not being found, but it may be that the pkg.conf file is out of date. Here are the instructions posted for moving from the old to the new package system: To use binary packages: 1. Ensure your pkg(8) is up-to-date. 'pkg -v' should say at least 1.2.7. If it does not, first upgrade from ports. 2. Remove any repository-specific configuration from /usr/local/etc/pkg.conf, such as PACKAGESITE, MIRROR_TYPE, PUBKEY. If this leaves your pkg.conf empty, just remove it. 3. mkdir -p /usr/local/etc/pkg/repos 4. Create the file /usr/local/etc/pkg/repos/FreeBSD.conf with: FreeBSD: { url: "http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", enabled: "yes" } I think the information on defining the FreeBSD repository may be old and it may be used by default if no other repository is defined, but I'm not sure. I am sure that old information in pkg.conf will break things, though. And if this resolves your problem (which it might not), I am a non-drinker. Make a donation to your local Red Cross or Red Crescent, or, better yet, to "The Trampled Rose ". -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com