From owner-freebsd-questions@FreeBSD.ORG Sun Nov 7 13:52:23 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 8965C106564A for ; Sun, 7 Nov 2010 13:52:23 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0D00B8FC0C for ; Sun, 7 Nov 2010 13:52:22 +0000 (UTC) Received: by ewy28 with SMTP id 28so2491377ewy.13 for ; Sun, 07 Nov 2010 05:52:22 -0800 (PST) Received: by 10.213.14.146 with SMTP id g18mr3365976eba.18.1289137940396; Sun, 07 Nov 2010 05:52:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.10.65 with HTTP; Sun, 7 Nov 2010 05:52:00 -0800 (PST) In-Reply-To: <24360.1289127112@tristatelogic.com> References: <24360.1289127112@tristatelogic.com> From: Chris Brennan Date: Sun, 7 Nov 2010 08:52:00 -0500 Message-ID: To: "Ronald F. Guilmette" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 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 13:52:23 -0000 On Sun, Nov 7, 2010 at 5:51 AM, Ronald F. Guilmette wrote: > > > 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.commaverick/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.commaverick/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.commaverick/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.commaverick/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) > I am going to take a stab in the dark here and suggest that some sort of db needs to be built for apt ... clues in the part /var/db...... (man apt-get?) Did you know... If you play a Windows 2000 CD backwards, you hear satanic messages, but what's worse is when you play it forward.... ...it installs Windows 2000 -- Alfred Perlstein on chat at freebsd.org > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >