From owner-freebsd-questions@FreeBSD.ORG Sun Nov 7 10:51:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF37B1065679 for ; Sun, 7 Nov 2010 10:51:54 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id BD3688FC0C for ; Sun, 7 Nov 2010 10:51:54 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id E615ABDC34 for ; Sun, 7 Nov 2010 02:51:52 -0800 (PST) To: freebsd-questions@freebsd.org Date: Sun, 07 Nov 2010 02:51:52 -0800 Message-ID: <24360.1289127112@tristatelogic.com> From: "Ronald F. Guilmette" Subject: Anybody know apt-get ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2010 10:51:54 -0000 I need to get sources for the Linux version of certain programs that reside in a package called "bsdutils". I have built and installed the "apt-get" program and now I'm just trying to use it, and things are going very badly indeed. Can anyone tell me what I am doing wrong here? The errors I am getting are shown below, and here are the current contents of my /usr/local/etc/apt/sources.list file: ----------------------------------------------------------------------- # See sources.list(5) for more information, especialy # Remember that you can only use http, ftp or file URIs # CDROMs are managed through the apt-cdrom tool. deb http://us.archive.ubuntu.com/ubuntu/ maverick main restricted contrib non-free # Uncomment if you want the apt-get source function to work deb-src http://us.archive.ubuntu.com/ubuntu/ maverick main restricted contrib non-free ----------------------------------------------------------------------- Here's what happens when I try to fetch the sources: % apt-get source bsdutils Reading package lists... 0%Reading package lists... 100%Reading package lists... Done Building dependency tree... 0%Building dependency tree... 0%Building dependency tree... 0%Building dependency tree... 0%Building dependency tree... Done W: Couldn't stat source package list http://us.archive.ubuntu.com maverick/main Packages (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_main_binary-freebsd-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://us.archive.ubuntu.com maverick/restricted Packages (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_restricted_binary-freebsd-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://us.archive.ubuntu.com maverick/contrib Packages (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_contrib_binary-freebsd-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://us.archive.ubuntu.com maverick/non-free Packages (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_non-free_binary-freebsd-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Could not open file /var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_main_source_Sources - open (2 No such file or directory)