Anybody know apt-get ?
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) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anybody know apt-get ?
On Sun, Nov 7, 2010 at 5:51 AM, Ronald F. Guilmette r...@tristatelogic.comwrote: 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 http://lists.freebsd.org/mailman/listinfo/freebsd-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anybody know apt-get ?
On Sun, 7 Nov 2010 08:52:00 -0500 Chris Brennan xa...@xaerolimit.net wrote: 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?) apt-get update -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anybody know apt-get ?
In article 24360.1289127...@tristatelogic.com you write: I need to get sources for the Linux version of certain programs that reside in a package called bsdutils. So get them, already. No need to screw around with Linux binary installers, particularly not on the FreeBSD list: http://packages.debian.org/lenny/bsdutils R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anybody know apt-get ?
On Sun, Nov 7, 2010 at 9:58 AM, John Levine jo...@iecc.com wrote: In article 24360.1289127...@tristatelogic.com you write: I need to get sources for the Linux version of certain programs that reside in a package called bsdutils. So get them, already. No need to screw around with Linux binary installers, particularly not on the FreeBSD list: http://packages.debian.org/lenny/bsdutils Of course you're correct for what the OP is doing but actually in way this a kind of a cool idea. If you could modify the apt-get installer to know FreeBSD's linux compat layout and brand the binaries appropriately you would have a fabously easy method of installing linux bins although I guess you'd have better luck doing it yum rather than apt-get. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anybody know apt-get ?
On Sun, Nov 07, 2010 at 02:51:52AM -0800, 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: I haven't used APT in a while, but I recall the existence of an apt-get-like tool specifically for dealing with source, called apt-src. You should be able to install it on your system and sift through its manpage at your leisure: apt-get install apt-src -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpgmezFusYU2.pgp Description: PGP signature
Re: Anybody know apt-get ?
Ronald what EXACTLY are you trying to accomplish here? The bsdutils are a collection of commands from the 4.4BSD era that are now included in the util-linux package which is available from Kernel.org http://www.kernel.org/pub/linux/utils/util-linux/ Opportunity is most often missed by people because it is dressed in overalls and looks like work. Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. On Sun, Nov 7, 2010 at 12:51 PM, Ronald F. Guilmette r...@tristatelogic.comwrote: 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) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anybody know apt-get ?
Oops ... the current release of util-linux being available here http://www.kernel.org/pub/linux/utils/util-linux-ng/ Opportunity is most often missed by people because it is dressed in overalls and looks like work. Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. On Sun, Nov 7, 2010 at 10:19 PM, Ross Cameron ross.came...@linuxpro.co.zawrote: Ronald what EXACTLY are you trying to accomplish here? The bsdutils are a collection of commands from the 4.4BSD era that are now included in the util-linux package which is available from Kernel.org http://www.kernel.org/pub/linux/utils/util-linux/ Opportunity is most often missed by people because it is dressed in overalls and looks like work. Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. On Sun, Nov 7, 2010 at 12:51 PM, Ronald F. Guilmette r...@tristatelogic.com 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) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anybody know apt-get ?
In message 20101107140353.5...@unknown, you wrote: On Sun, 7 Nov 2010 08:52:00 -0500 Chris Brennan xa...@xaerolimit.net wrote: 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?) apt-get update Well, um, not having anything really to lose, I su'd to root and tried the above command. The resulting output does not look encouraging: % apt-get update Get:1 http://us.archive.ubuntu.com maverick Release.gpg [198B] Get:2 http://us.archive.ubuntu.com maverick Release [39.8kB] Ign http://us.archive.ubuntu.com maverick Release Err http://us.archive.ubuntu.com maverick/main Packages 404 Not Found [IP: 91.189.92.169 80] Err http://us.archive.ubuntu.com maverick/restricted Packages 404 Not Found [IP: 91.189.92.169 80] Err http://us.archive.ubuntu.com maverick/contrib Packages 404 Not Found [IP: 91.189.92.169 80] Err http://us.archive.ubuntu.com maverick/non-free Packages 404 Not Found [IP: 91.189.92.169 80] Get:3 http://us.archive.ubuntu.com maverick/main Sources [1036kB] Get:4 http://us.archive.ubuntu.com maverick/restricted Sources [4217B] Err http://us.archive.ubuntu.com maverick/contrib Sources 404 Not Found [IP: 91.189.92.169 80] Err http://us.archive.ubuntu.com maverick/non-free Sources 404 Not Found [IP: 91.189.92.169 80] Fetched 1080kB in 7s (151kB/s) Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/main/binary-freebsd-i386/Packages.gz 404 Not Found [IP: 91.189.92.169 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/restricted/binary-freebsd-i386/Packages.gz 404 Not Found [IP: 91.189.92.169 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/contrib/binary-freebsd-i386/Packages.gz 404 Not Found [IP: 91.189.92.169 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/non-free/binary-freebsd-i386/Packages.gz 404 Not Found [IP: 91.189.92.169 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/contrib/source/Sources.gz 404 Not Found [IP: 91.189.92.169 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/non-free/source/Sources.gz 404 Not Found [IP: 91.189.92.169 80] Reading package lists... Done W: GPG error: http://us.archive.ubuntu.com maverick Release: Couldn't access keyring: 'No such file or directory' 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: Some index files failed to download, they have been ignored, or old ones used instead. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anybody know apt-get ?
In message 20101107155831.67847.qm...@joyce.lan, John Levine jo...@iecc.com wrote: In article 24360.1289127...@tristatelogic.com you write: I need to get sources for the Linux version of certain programs that reside in a package called bsdutils. So get them, already. No need to screw around with Linux binary installers, particularly not on the FreeBSD list: http://packages.debian.org/lenny/bsdutils Thank you John, I was not aware of this resource. I now have what I need. Regards, rfg P.S. I am guessing that you are aware that I still get Logic Error whenever I send mail to iecc.com (and I have been unable to reply to Neil on account of that). But on the off chance that this was unintentional, I mention it again, in case you might be inclined to rectify. (I also guess that I am no longer on the spamtools list, correct?) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org