[03:32] <ubuntu_> Does anybody get MAAS cloud based installs of ubuntu server there is rack and region options not fully sure about the difference...
[03:41] <ubuntu_> Is this really for cloud computing or for clustering?
[06:38] <ubuntu_> is there away to list the contents of a package one apt-cache search for but wants to look at the contents its going to install before installing it on his system something like a dpkg -L but not have to download it
[06:39] <ubuntu_> Because that would be greate in find /locate particular packages that have libraries or header file dependencies you want
[06:39] <ubuntu_> but cann't find easilly
[06:40] <sarnold> ubuntu_: it depends what you want; apt-get --simulate can do that. apt-file search can do the latter..
[06:41] <ubuntu_> Well i want to go thru apt-cache search . | grep "regex" then all the packages i get pack beable to dpkg -L there contents / search there internal contents before downloading
[06:44] <sarnold> install apt-file
[06:44] <ubuntu_> I guess i could just download the whole repo's i guess then dpkg -L them greping the output
[06:44] <sarnold> it'll do what you want
[06:45] <sarnold> you certainly can download the whole repo if you want; my mirror is around 1TB of data..
[06:46] <ubuntu_> I understand how does apt-file work is it using any HDD space
[06:46] <ubuntu_> or memory
[06:46] <ubuntu_> Or just reading remotely
[06:47] <sarnold> apt-file requires around 33 megabytes
[06:47] <sarnold> a lot smaller than the whole archive :)
[06:47] <ubuntu_> of memory or disk space
[06:47] <sarnold> disk space
[06:48] <ubuntu_> cool
[06:56] <ubuntu_> no not really that cool seems overly complicated just to do a search for a type of expression thru the repo and to bring back the packages that have the expression
[06:59] <sarnold> hmm, I thought you wanted to find specific files
[07:01] <ubuntu_> i want to search for say a file say myfile.h  and bring back all packages in the repo that have that file in them. Just showing the package one can apt-get that has myfile.h in them say or some.so file say
[07:02] <ubuntu_> Seems like apt-file displays long file paths  ... , etc ,etc
[07:03] <ubuntu_> I wanted a tool to beable to search for files or folders or regex  thru out the repo and would bring back all packages that have them in them.
[07:03] <sarnold> ubuntu_: try "apt-file search -x 'lib.*ssl.*so'
[07:04] <ubuntu_> I hope you get what i am saying... this would make it 1000 times easier in finding packages you have to install to clear up your dependency issues on .h files or .so   at the preprocessor stage or the  compiling/linking stages
[07:06] <ubuntu_> ya thats what i want perfect
[07:14] <ubuntu_> so then apt-file search -x 'sys/exec.h'  bring back only libwibble-dev means that there is virtually no package that can clear this make error up in the standard ubuntu repo's
[07:14] <ubuntu_> csu/boot.h:39:22: fatal error: sys/exec.h: No such file or directory
[07:14] <ubuntu_>  #include <sys/exec.h>
[07:15] <sarnold> whichever project supplied your csu/boot.h file probably has a list of packages that needs to be installed
[07:16] <ubuntu_> granted i am trying to compile openbsd on ubuntu and have the bmake package installed
[07:17] <ubuntu_> where would that be it was downloaded from the openbsd source branch in there repo's
[07:18] <sarnold> ah
[07:18] <sarnold> you've got a very interesting project on your hands :)
[07:18] <ubuntu_> and i realized i need bmake the bsd make because i was getting all issues with no target,...etc issue... having got by all that i am left with the usual make header file issue or library dependencies missing
[07:19] <ubuntu_> so i thought if i had a tool like apt-file i could locate the missing packages more quickly or at least figure out if they exist in the standard repo's of ubuntu ...
[07:19] <sarnold> probably that file is supplied by the openbsd libc package
[07:20] <ubuntu_> I realize if apt-file is right there is no package
[07:20] <sarnold> right
[07:21] <ubuntu_> ya but you still need the header files and libraries to compile/build the openbsd source .. and if there is not an equivalent ubuntu package for it how are you going to build the source ever
[07:21] <sarnold> well, from an openbsd machine :) hehe
[07:22] <sarnold> bedtime here, have fun, good luck :)
[07:22] <ubuntu_> I guess one next move would be to hunt down the header/libary files maybe wget them from *bsd site and put symbolic links in the /usr/include directory
[07:22] <sarnold> don't bother wget, just cvs the whole tree https://www.openbsd.org/anoncvs.html
[07:22] <ubuntu_> then bmake it
[07:22] <sarnold> and don't pollute your own /usr/include
[07:23] <sarnold> stick it in a home directory or /opt or something
[07:23] <ubuntu_> But this gets back into the chicken and egg problem of located header/library files obviously there cann't be a general search tool like apt-file for everything plus would probably be far to cumbersome...
[07:24] <ubuntu_> so a developer is always left with waiting on where the header files and libraries are
[07:25] <ubuntu_> I mean i feel pretty confident that if i found them i could just hopefully add symbolic links to folders in the /usr/include file
[07:25] <sarnold> no :)
[07:25] <sarnold> hehe
[07:25] <ubuntu_> for the installation instead of having to  add a 100 lines of -I  includes
[07:25] <sarnold> the openbsd libc is very closely tied to the openbsd kernel
[07:26] <sarnold> the openbsd applications are very closely tied to the openbsd libc
[07:26] <sarnold> trying to build the entirety of openbsd on a linux distribution is going to be a crazy amount of work
[07:26] <ubuntu_> So i am going to have to compile on a kvm based virtual machine on a linux not on bare metal linux
[07:26] <sarnold> you _might_ be able to do it
[07:26] <sarnold> maybe not
[07:26] <sarnold> yes, running openbsd in qemu would be a significantly faster way to get there
[07:27] <ubuntu_> well the might beable to do it hinges on figure out all the packages i need to wget and placing them in the proper places for the bmake Makefile
[07:28] <sarnold> hehe but they'll fall apart when they try to include structures from the C libraries, and the glibc structures won't line up with the openbsd structures, and the openbsd libc can't speak to the linux kernel...
[07:28] <sarnold> trust me, this is a far more difficult problem than just wgetting the right things
[07:29] <ubuntu_> I am curious if one was to figure out all the include dependencies/libraries and download them could he uses symlinks in the /usr/include file and keep the directories seperated from linuxes good include files?
[07:29] <ubuntu_> Or will Makefiles choke whent he see symlinks instead of files
[07:29] <sarnold> how? they both expect e.g. /usr/include/stdio.h to exist and be appropriate -- if you replaced /usr/include/stdio.h with the version from openbsd, you could not compile linux programs
[07:30] <sarnold> and the openbsd /usr/include/stdio.h will include a thousand other files, all the way back to the headers that make systemcalls; the syscalls won't line up between the two systems
[07:31] <ubuntu_> Ok so then is there away to tell a Makefile to uses a different /usr/include something like a chroot to a different /usr/include where you store your openbsd user land stuff
[07:31] <sarnold> if I were to tackle this problem I'd want a team of four or five geniuses and I'd expect the first program to run in a year or so.
[07:32] <sarnold> ubuntu_: CFLAGS=-I
[07:32] <ubuntu_> I ?
[07:32] <sarnold> gcc uses -I to know where to look for <> headers
[07:33] <ubuntu_> you mean -I on command line . Or uses CFLAG=yourpathtobsdfiles
[07:33] <sarnold> both, CFLAGS=-I/path/to/openbsd/headers
[07:33] <sarnold> you've got ambitious goals, I'll give you that :) haha
[07:33] <sarnold> now it's really bed time
[07:33] <sarnold> have fun
[07:34] <ubuntu_> Ok not practical when it comes to calling kernel level stuff would have to  build the kernel first then the userland
[07:36] <ubuntu_> But building the kernel shouldn't depended on much external libraries as the userland depends on the kernel. The kernel itself should be doable provide you get all the headers for the kernel source
[07:36] <ubuntu_> I think it would all have to be self contained in bsd kernel source code... hummm confused
[07:36] <ubuntu_> think more about it later
[13:45] <Guest72125> Good Morning.  Not sure if this is the right room to ask but my Ubuntu Upgrade hung waiting for terminal input.
[13:45] <Guest72125> Could someone help or tell me the proper room
[13:45] <Guest72125> to ask for help in, please.
[13:46] <Kilos> hi Guest72125 join #ubuntu
[13:46] <Guest72125> Thanks Kilos
[13:46] <Kilos> you welcome
[13:46] <Guest72125> Have a good day
[13:46] <Kilos> you too ty
[13:47] <Guest72125> ty