Re: Switching from Linux to DFBSD (pkgsrc/packages)
> 1. What's the relationship between pkgin and pkgsrc? I find pkgin > *really* useful so far for a lot of things like OpenOffice, Firefox, > etc., which would have otherwise crippled my machine trying to compile > them. That said, I also have some applications compiled from pkgsrc. > Is it OK/acceptable to mix these two methods? pkgin is one of a number of tools for managing pkgsrc. It's not required; it's just handy. > 2. Is there an equivalent of "pkgin" for managing compiled programs > from pkgsrc? I can surely see a likely use case of someone compiled a > load of applications from pkgsrc, and wanting to peridocially > recompile them if there's been a version increase in the pkgsrc > repository upstream. If I understand your question correctly, the equivalent of pkgin is pkgin. A precompiled pkgsrc program is (unless you change the default options) identical to one you compile yourself. > 3. Also, is there any merit to having a tool which would check either > pkgin or pkgsrc and suggest using a binary or compiled-from-source > based on if the binary file present matches the one to compile from > pkgsrc? I appreciate compilation might necessitate a reason other > than "because I can", but it might be a nice convenience. Does such a > tool exist? pkg_chk can do this, as do other tools. You may be interested in this page: http://wiki.netbsd.se/Tutorials#Pkgsrc Especially the "How to upgrade packages" link. > 4. I note that most of the ownership under "/usr/{src,pkgsrc}" is > owned by group "wheel". That's fine, since my non-root user account > is in this group; I also like to compile things as non-root and then > "sudo bmake install". Is this a recommended way of working? Do I > just "chmod -R g+w /usr", or is there some other preferred way? Most of pkgsrc is getting close to being able to be installed without root access. I've never worked with /usr/src as non-root, though.
Goals page suggestion
Hi Justin and everyone, It would be very cool if someone updated the goals page on the dragonfly site with information on the status of each of the goals/projects. Petr
Re: problem installing OpenOffice
On Friday 13 November 2009 13:31:27 jus...@shiningsilence.com wrote: > > I did "pkg_search office" and got a list of packages. I installed > > koffice, which for some reason caused firefox to be removed. I could not > > find a package for OpenOffice. Attempting to reinstall firefox results in > > this: > > What location is pkgin looking at for downloads? What version of > DragonFly are you running? (arch and version) Here's repositories.conf: http://avalon.dragonflybsd.org/packages/i386/DragonFly-2.5/stable/All http://avalon.dragonflybsd.org/packages/i386/DragonFly-2.4/stable/All #ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/DEVELOPMENT/i386/All #ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.0/All # European countries will prefer the following # ftp://ftp.fr.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.0/All DragonFly dogla 2.5.1-DEVELOPMENT DragonFly v2.5.1.25.gec87c-DEVELOPMENT #0: Mon Oct 5 04:17:26 GMT 2009 p...@dogla:/usr/obj/usr/src/sys/GENERIC i386 phma -- lo ponse be lo mruli po'o cu ga'ezga roda lo ka dinko
Switching from Linux to DFBSD (pkgsrc/packages)
Hi, I've a couple of questions about DF, specifically managing packages/pkgsrc and would welcome any input. Hopefully I've understood this correctly, if not, do correct me. :) I haven't switched from Linux yet, all of this is currently running in my VM. But so far, it's great. So, in no particular order: 1. What's the relationship between pkgin and pkgsrc? I find pkgin *really* useful so far for a lot of things like OpenOffice, Firefox, etc., which would have otherwise crippled my machine trying to compile them. That said, I also have some applications compiled from pkgsrc. Is it OK/acceptable to mix these two methods? 2. Is there an equivalent of "pkgin" for managing compiled programs from pkgsrc? I can surely see a likely use case of someone compiled a load of applications from pkgsrc, and wanting to peridocially recompile them if there's been a version increase in the pkgsrc repository upstream. 3. Also, is there any merit to having a tool which would check either pkgin or pkgsrc and suggest using a binary or compiled-from-source based on if the binary file present matches the one to compile from pkgsrc? I appreciate compilation might necessitate a reason other than "because I can", but it might be a nice convenience. Does such a tool exist? 4. I note that most of the ownership under "/usr/{src,pkgsrc}" is owned by group "wheel". That's fine, since my non-root user account is in this group; I also like to compile things as non-root and then "sudo bmake install". Is this a recommended way of working? Do I just "chmod -R g+w /usr", or is there some other preferred way? Thanks a lot for any advice you can give. I would just like to say that I've been really impressed with the documentation on the DF wiki -- it's been really helpful so far! But I can imagine some of the above is on the wiki, in which case, do point me at it! :) David
Re: problem installing OpenOffice
> I did "pkg_search office" and got a list of packages. I installed koffice, > which for some reason caused firefox to be removed. I could not find a > package for OpenOffice. Attempting to reinstall firefox results in this: What location is pkgin looking at for downloads? What version of DragonFly are you running? (arch and version)
Re: problem installing OpenOffice
> Attempting to install openoffice results in this, even though > pkg_search says it exists: Maybe pkgin and pkg_search are using two different package databases/different pkg_summary files.
HAMMER in real life
Hi All, it would be nice from you if you have any experiences on using HAMMER in production/real life (no matter under how much load). I took a look on the documentation, and do not found the flag that "this stuff is experimental, use it on your own". Why I'm asking this? 1. I didn't found information about this topic on google, shame on me. 2. I'll have a chance to play, deploying a Samba PDC in a small office of a friend of mine. And I still not determined the final version of the underlying infrastructure. As the office is running a charity service, I don't want them to pay me a lot of bucks. So I wanna create some kind of "self serving" backup and restore function to the windows clients, where a snapshot implementation is a really helpful feature. My choices are: a) FreeBSD with gmirror and implementing the snapshot function via hardlinks b) FreeBSD + ZFS c) experimenting with Dragonfly + HAMMER