OpenPKG 1.0 Released 222
Ralf S. Engelschall writes: "I'm proundly announcing today the release of OpenPKG 1.0,
the world of cross-platform RPM-based Unix software packaging. A flexible and powerful software packaging
facility, OpenPKG eases installation and administration of Unix software across several
platforms. It primarily targets the Unix platforms FreeBSD, Linux and Solaris, but is
portable across mostly all modern Unix flavors. OpenPKG was created in November 2000 and after
over one year of development it is already a mature technology in production use. It is
available as Open Source and is further maintained by both my development team at
Cable & Wireless Germany and our contributors. For more details visit
openpkg.org and
ftp.openpkg.org."
COOL! (Score:1)
Whilst Solaris does have package management, it's not as good as RPM.
Of course, now all you have to do is convince sun to support it
Re:COOL! (Score:1)
Nobody like having to find specific versions for their systems. (unless you're source junkies)
Re:COOL! (Score:2)
You're comparing apples and oranges, my anonymous, not-too-bright child. RPMs are packages. Debian's package management system is, well, a package management system.
I used to use RPMs all the time but since switching to Debian it's SOOOO much easier to get and upgrade packages.
Still apples and oranges. Truth be told, the RPM format is more robust than
Congratulations Ralf. (Score:5, Informative)
http://www.openssl.org/ [openssl.org]
http://www.modssl.org/ [modssl.org]
To say a few.
He's the guy that wrote mod_rewrite back in the old days. Tough guy.
Re:Congratulations Ralf. (Score:1, Funny)
Re:Congratulations Ralf. (Score:4, Insightful)
What *I* want (and yes, I am coding this myself) is a system that only knows as much as necessary to get the package from its original source in the rawest form available. Then the system takes the package and builds/installs it using a user account set aside for the purpose of installing non-base software.
Optimally the package system will help the user write a shareable makefile of sorts and save/share that with other systems that user has and with other users. Then, once the build is done, you zip the build directory back up so that if you should need to work with them again the whole mess is handy.
At its very best the package system recognizes source sources such as tarballs via FTP and HTTP, but also CVS. And finally some hooks to external information sources (announcement lists, a central log of known changes) so that the user can be alerted to potential upgrades, bug fix releases, and security patches.
One thing I don't like about RPM/.deb/etc is that they rely way too heavily on a database of what is installed to determine what they will install next. If I don't package my "found" software using the package system, this causes RPM/dpkg to start complaining about stuff it doesn't have that I know it does.
Re:Congratulations Ralf. (Score:2)
Bah! Why is it that no one suggesting these sorts of things has any operational experience? The chances are that the machine on which you're installing the package doesn't have a C compiler, which tends to make your plans to build from source a little unworkable. The usual answer is people telling me that gcc is available for pretty much every system these days, and that I should just install that. No one seems to have the concept of installing the minimum necessary to get the job done any more, something that's particularly important on public facing (and hence higher security risk) boxen. Sigh.
Re:Congratulations Ralf. (Score:2)
And can you tell me what the odds of this package system being useful to people on those platforms actually are? I don't know if you've ever worked on a non-x86 platform, but try finding even very popular software packages pre-compiled into *either* RPM or
Re:Congratulations Ralf. (Score:2)
My OpenBSD firewall. No use locking a system down if a user can build their own tools
I needed to add snort to the firewall and binary packages made that painless.
Re:Congratulations Ralf. (Score:2, Insightful)
When I went to secure my home web server, I removed the various compiler(s) that had been installed by default. And make. And the various editors. Every shell except bash. All client software - ftp, ssh, telnet, finger.
In short, I removed everything except what was absolutely needed on the box. I have SSH set up so I can connect to the box remotely, but anything else - including file transfers - happens via floppy or CD.
I know there must be a way for a determined attacker to get wahtever software they want onto the system if it's ever compromised. I'm betting that:
(a) the majority of attackers will be l33t script kiddies who lack the skill to compromise the system in the first place, and
(b) anyone who has the time, skill, and energy to do so will probably be off rumaging through an interesting system somewhere else, not my dinky little P133 webserver.
Re:Congratulations Ralf. (Score:2)
The firewall and IDS hosts must be so hard that no browser or FTP/rsync client etc. is installed at all. Upgrades, rules and signatures are tranfered to these systems only by valid, encrypted and keyed clients from appropriate stations- for instance the GUI for Checkpoint Firewall-1 with FWZ. ssh2/scp2 is also acceptable, when RSA key auth is employed (NO passwd!) along with rules and ACLs.
This is a part of "Defense in Depth" practice for Internet hosting.
These defense approaches begin to separate the objectives of Security distinctly from those of Systems administration. This can be counter-intuitive because short-term administrative convenience is reduced to reduce the risks of administrative catastrophe.
I am a little extreme but -provided that my controls are themselves trustworthy- I can provide an extremely hard target!
Of course there are people who can construct exploit tools with sh, awk and dd. It is for these malevolent masterminds that we deploy detective controls!
Re:Congratulations Ralf. (Score:2)
Every single one of the production systems for which I'm responsible (currently Linux/x86, Linux/SPARC, Solaris/SPARC, Tru64, AIX and OpenBSD). If you'd read my original message, you'd see that the lack of a C compiler was through choice, not lack of availability.
couldn't/wouldn't because no precompiled PPC packages existed or were only from sources I had no reason to trust.
That problem wouldn't be solved by a package management system that compiled from source. A source package from an untrusted location is just as bad as a precompiled binary from the same location.
Re:Congratulations Ralf. (Score:2, Insightful)
Every production and testing system I work with has no compiler, because we build software on development systems. The compilation and the installation are separate functions.
There's no reason to install software you don't need, and you don't need a compiler to install a software package.
One reason not to compile your software everywhere you want to install it is because when you test the software and find that it works on your system, you don't want to invalidate that test by installing a different build of the software on subsequent systems.
Re:Congratulations Ralf. (Score:3, Informative)
Purchasing a C compiler costs money and bean counters and the like object to anything that adds to the cost of a box. Using GCC, or for that matter, any software that is not supported by a vendor, is usually strictly forbidden.
This policy or a similar type varient, has been the standard at almost ALL of my employers (3 fulltime and 14 contract over the past 22 years). On the other hand, development boxes are usually not quite as vigilantly monitored.
I am not saying this good or bad just passing along some anecdotal evidence that:
if (sys == Unix) {
C compiler == TRUE
}
is no where near as true now as it once was.
Re:Congratulations Ralf. (Score:2)
Re:Congratulations Ralf. (Score:2, Interesting)
I had this idea myself at one time. Mostly because I think that I have a good name. I figured that windows had wizards to install things, So Linux should have a "Sourcerer". Well maybe you don't find that to be as an amusing pun as I did, but I wish you lots of luck in your project.
I recall that the guy who started KDE (what's name again?) once mentioned working on something like this.
I would be interested in help you out on this. I think that my best skill is in designing User Interface, but I can programme as well. If you need some help send me an email...
Congratulations, ichimunki (Score:5, Informative)
dpkg dependencies and equivs (Score:2)
You don't necessarily have to package anything to get dpkg to know about it. Simply use the "equivs" program: % apt-cache show equivs
...
.
... /usr/local, and use equivs to generate a fake deb telling the packaging system the foo library is installed, and thus all your dependencies will work.
Package: equivs
Description: Circumventing Debian package dependencies
This is a dummy package which can be used to create Debian
packages, which only contain dependency information.
This way, you can make the Debian package management
system believe that equivalents to packages on which other
packages do depend on are actually installed.
Thus, you can build something from source, install it in
On that note, though, I honestly prefer having dpkg and apt-get control all the software installed on my Debian systems. Binary package availibility in the "sid" distribution (or "unstable") is usually only a day or two behind releases of actual source. And for those who fear breakages in sid (which does happen from time to time), there is always the "testing" distribution of Debian, which does not include packages known to be bad by implementing a short waiting period and checking bug tracking systems -- and almost never breaks.
Re:Congratulations Ralf. (Score:2)
Well, there is a standard, on Linux anyway. (Score:2)
Debian supports the LSB in this manner via APT - I think that's a nasty solution, and will cause more long term plain tham implementing things like suggested dependencies (and different levels of suggestion), and some other minor things.
Issues like policy, task packages, and APT are already a reality on many RPM based Linux distributions, so I don't see the technical difference between them really being that great.
Of course, that won't stop the people who haven't used one or other system from complaining below that one or the other system doesn't do things it clearly has for a very long time.
hmm... (Score:2)
In other words, I can burn openpackages to a CD, and install the same packages in BSD, Redhat, and Suse?
Re:hmm... (Score:3, Insightful)
Different systems have different requirements in packages. At a minimum
The only thing I can see being good about it is on systems where you don't have a vendor supported pacakging system as good as RPM. But, if it's purely for functionality, why not just port apt?
Not Exactly.... (Score:2)
They are pushing the use of source packages,
that would need to be compiled, hence, they can
adapt to each platform. They only advocated
the use of binary packahges when the developement
tools ( mainly gcc, automake ) are not available.
It's basically an RPM based FreeBSD ports tree.
Novel idea.. but am not sure the use of RPM
is the best choice...
We shall see..
Re:hmm... (Score:1)
:lol !
Have you seen apt ?
Re:hmm... (Score:2)
get it? no? ask someone who knows.
Re:hmm... (Score:5, Insightful)
First off, no this will not work. Due to different system calls, C libraries, different architectures (CPU etc), etc etc packages will never be that portable. Java and other (supposed to be..) cross-platform type programs might have a chance, but normal applicaties will not be.
So, if a 'package' is not portable, what good will this do me then, you might wonder? Well the thing is, that previously, you had to make a different 'build and package tool' implimentation for every platform you want to compile your program on. pkg/ports stuff on BSD, other pkg stuff on solaris, apt on debian, rpm on redhat & other linux's.
So this is where OpenPKG comes in. You only need to write the 'build and package tool' implimentation once (a so called
(resulting in a binary usable for only that platform).
This makes cross-platform/architecture distribution a lot easier, and a lot easier to maintain.
Re:hmm... (Score:1, Informative)
Doable.
Lets hope that there is sufficient take up to allow proper dependencies to be included and found.
I state again... (Score:2)
that would need to be compiled, hence, they can
adapt to each platform. They only advocated
the use of binary packahges when the developement
tools ( mainly gcc, automake ) are not available.
It's basically an RPM based FreeBSD ports tree.
Novel idea.. but am not sure the use of RPM
is the best choice...
We shall see...
Time loss (Score:4, Flamebait)
Why not just port and use dkpg, apt and associated tools? They were all created to be portable, and are indeed already used in http://fink.sf.net./, http://debian-cygwin.sf.net./ and the like.
Re:Time loss (Score:3, Interesting)
Besides apt already exists for RPM, and works fine. Since my favourite mirror got APT-enabled I've used it almost exclusively.
I would like to start seeing *.lsb.rpm soon, guaranteed to work on all lsb-compliant distributions. As long as they are competently created they should be debianizable through alien .
Re:Time loss (Score:1)
Amen, brother! Score:+1,Insightful (virtual moderator point for you!)
Re:Time loss (Score:5, Insightful)
Re:Time loss (Score:4, Insightful)
My point is that
I have nothing against debs, I like them. I use Debian a lot. I like it. But there really is no point in advocating that everybody should switch to debs, because it isn't going to happen.
Re:Time loss (Score:4, Insightful)
Re:Time loss (Score:2)
It's relevant to point out that it's possible to put together distributions with crappy dependencies using either rpm or deb.
Re:Time loss (Score:2)
Besides. RPMs are not shoddy technology. It is a good technology, that works and is used by almost everyone in the Linux-arena. Please feel free to advocate, but you won't get anywhere, because there simply IS NO POINT in switching to debs. It will buy you almost nothing, at the expense of a lot of work.
Show me some evidence that switching to debs is worth all the effort, and I'll shut up.
Re:Time loss (Score:2)
RPMs are not shoddy technology, I just used it as an example of an inferior technology taking the place of a superior one -- depending on your technical beliefs you could point other examples like Alphas against anything else, RISC against CISC, QUEL against SQL, RDBMS versus object orientation, functional versus OO, Lisp systems versus POSIX, POSIX versus Win32, or whatever.
BTW, if people switched to Debian -- even by using apt with RPM as a bridge to apt with dpkg -- users and sysadmins would be able to more easily compare the quality of the packages they get with Debian ones, to more easily adopt anv verify compliance to better system-wide distribution policies like Debian's before accepting packages from anyone... it would be far easier to package (just recompile and rebuild the packages) to every platform already supported by Debian.
Like POSIX versus Microsoft, it's not about a product like GNU/Linx versus another product like Windows; it's about cultural differences and their practical consequences.
Re:Time loss (Score:2)
Do you run Connectiva or Mandrake?
Re:Time loss (Score:2)
Re:Time loss (Score:2)
Seems to be only two mirrors so far, listed here:
http://apt-rpm.tuxfamily.org
Re:Time loss (Score:1)
"If the build or install process depends on other packages, OpenPKG will tell you about these dependencies and halt the process until you resolve the dependencies installing related OpenPKG packages. "
So it doesn't automagicly resolve problems, like apt-get does, which is why, having used both, I prefer apt-get.
What happened to the effort ot combine rpm and apt ?
Re:Time loss (Score:4, Informative)
For the (hopefully) last time: APT HAS NOTHING TO DO WITH THE PACKAGING SYSTEM other than requiring the package system to know about dependencies. APT works just fine with RPM, just as it works fine with debs and I see no reason why it couldn't work with OpenPKG.
Re:Time loss (Score:2)
As you noted, the user is left feeling the pain, no more than that.
Re:Time loss (Score:1)
Those are both very interesting projects. Since the superiority of deb format is universally acknowledged, I'm surprised that anybody would consider its dumber sister. Debian distribution is famous as the one that you can upgrade to the next version just by typing "apt-get dist-upgrade". That's very powerful package management. Add to this the huge number of software packages that have already been Debian format and are being actively maintained by Debian package maintainers who seem to be only too keen to share their knowledge of the format...
Re:Time loss (Score:2)
The issue with huge number of deb packages, it is true -- all of them created integrated with the same set of packaging and system administration policies in mind. Whereas the rpm format is actually fragmented into a very low lowest common denominator, or else duplicated for all the different inconsistent RPM distros.
Could you give us an URL for a good explanation *and* proposal for this
Re:Time loss (Score:2)
RPM was created as duplication of effort, because Debian wasn't willing to rush a half-baked dpkg. Now it becomes a standard. Reeks to me of Microsoft Windows-like storyline
RPM wasn't a duplication of effort, more of a parallel development. This happened quite frequently in Linux world of the mid nineties - anyone remember the alternatives to the ext2 filesystem (I can't even remember their names now)? We still see it with the proliferation of journaling filesystems.
To see it as some anti-Debian conspiracy is to exhibit unfounded paranoia. The Debian project works to its own agenda, and a pace that some find exasperating, so please don't start anti-RedHat FUD on the basis of that.
As for the merit of porting dpkg, etc. - why would you need to? They already run on most architectures, it just comes down to a choice of distribution. *Personally* I prefer RPM because it handles dependencies and versions in a much more sophisticated manner than debs do. This was borne out of a tedious discussion on my local LUG mailing list, where a Debian contributor bad mouthed RedHat and RPM in particular, and was promptly made to look a fool.
Re:Time loss (Score:2)
The comparision to ext2fs actually works against RPM. In the Linux kernel problem space Linus gets to decide on the standard filesystem, he decides slowly and is conservative so to get technical excellence first. But he simply isn't interested in the distribution problem space.
Excuse me, RPM handles dependencies and version more sophisticadedly? Sure... but here comes Occam's razor: dpkg's way is much simples and get all the work done with less fuss and more efficiently. RPM has lots of short-sighted unnecessary complications built-in.
As for your local LUG mailing list, sorry, but local LUGs aren't any standard for technical excellence. Most people there never seen proper system administration, still think MySQL is really a RDBMS, SQL is the relational standard and don't grok functional languages.
Re:Time loss (Score:2)
As for your local LUG mailing list, sorry, but local LUGs aren't any standard for technical excellence.
The Oxford (United Kingdom) list tends to have reasonably high level of cluefulness thanks to the Universities and number of tech companies hereabouts. The particular people involved in the RPM versus debs discussion, while not being big names in the Linux world, certainly have the bona-fides to know what they're talking about.
Re:Time loss (Score:2)
Equally, the GLLUG (Greater London) list has a fair amount of technical knowledge. It's frequented by both kernel and gcc/glibc hackers. Plus all the other stuff you expect from a LUG list -- clueless newbies, flamefests, etc. All the things that make life interesting :-) But overall, it's a pretty
sound group.
Re:Time loss (Score:2)
Anyway I judge mailing lists and newsgroups just as I judge newspapers, by their treatment of issues I know. Usually they are pretty weak on databases and system administration, instead focusing on the latest, fastest, and fadest. Usually they are as chronologically snobish as the rest of our culture, sposing OODBs, OO programming and Red Hat alike against the sounder RDBMS, functional programming and Debian.
time revision? (Score:2)
Re:time revision? (Score:2)
You are comparing *release* dates, which are totally irrelevant, and so is the initial release state of dpkg and rpp.
The point is that Red Hat forket dpkg -- rather ignored it altogether -- to create rpm because they suffer from the Not Invented Here syndrome; they didn't want to participate in the political and technical Debian open decision making. And in doing so they created a worse packaging system that has worst policy decisions built in.
As for the initial state of dpkg and rpm, the point is that dpkg has the future built in, while rpm was and will always be badly crafted.
Re:time revision? (Score:2)
No I'm not. Why should Red Hat necessarily go with one unfinished unreleased project over another?
As for the initial state of dpkg and rpm, the point is that dpkg has the future built in, while rpm was and will always be badly crafted.
In what way?
Re:time revision? (Score:2)
In the way that dpkg was made to support sound, forward-looking policies, while rpm just to make things work without giving it much thought. The result is that there is a multiplicity of overlapping tools to help overcome shortcomings of rpm at the same time as it has unnecessary complexity (like versioning), while Debian tools are so well thought-of that even apt was made extensible enough to serve rpm also.
Re:Time loss (Score:1)
Re:Time loss (Score:2)
Paralleling the Debian/Red Hat situation, PCs' only advantage is soon to became market~ and mindshare.
Uses separate RPM repository, no NLS (Score:4, Interesting)
Also, I thought it interesting that they favor English as the only language used on Unix machines, and chose not to include NLS support in OpenPKG. And they're not even Americans!
Why RPM ? (Score:1)
My personal experience is
RPM = headache.
APT = a lot of relieve.
mjander.
Re:Why RPM ? (Score:1)
Re:Why RPM ? (Score:2)
Duplication of Effort is *Okay* (Score:5, Insightful)
It's *good* that there is more than one way to do it. I'm glad that open source not only provides for the possibility of multiple approaches (the built-in allowances for forking), it has a long history of such.
Don't like sendmail? Write a different mailer, and perhaps like postfix it will become popular. Think that the available desktop managers were built wrongly? Try coding one using your preferred approach. Having diverse solutions can help improve them all, as features from one program are pulled into others.
The OpenPKG folks saw a need and decided to base their solution on RPM. You may not think that was the wisest choice, but they get to choose where they apply their effort. There is no One Approach to bind all open-source programmers, no One Application in any given niche to which all should contribute. One of the beauties of OSS is that I can choose where I wish to contribute.
Re:Confusion and wasted effort is not *okay* (Score:2)
Choice is good, yes, but there comes a point where you have to realize that choice that creates incompatibilities is not really choice at all.
RedHat is still going to use RPMs, they won't switch to the new format. Neither will Debian. FreeBSD has ports already, and frankly, it's probably better than this option. OS X has apt, ports, AND its own package format, plus purchasable software.
Why do we need another option just to have another option? The only way to make it truly universal is to make it source, and that basically gives you FBSD.
Sure, maybe i'm totally wrong about what this new package system is like, but I don't really care. It's more confusion thrown into the mix, and yet another package format for people to support. It's not worth it. If people are going to duplicate effort, why can' they write software people will use and care about?
There's no reason for anyone to switch from
--Dan
From the faq: (Score:3, Troll)
I dont know about you but that doesnt really inspire a lot of confidence in me. Essentially this reads to me like they wanted to quickly extend an inferior package management system. *shrug*
Re:From the faq: (Score:2)
I dont know about you but that doesnt really inspire a lot of confidence in me. Essentially this reads to me like they wanted to quickly extend an inferior package management system. *shrug*
Well, to me it looks like they're acknowledging that no packaging system is perfect. Deb and RPM both do some things better than the other. One is an LSB standard, the other isn't. They made their choice based on that, fair enough.
Re:From the faq: (Score:2)
RPM?!?!? (Score:1)
come on.. who doesn't like configuring/compiling... it's the best way to install a program... you customize towards your preference... if anything at least use ports instead of RPM
Re:RPM?!?!? (Score:1)
$ rpm --rebuild package.src.rpm
done
Re:RPM?!?!? (Score:2, Insightful)
$ rpm -ta yourSourceThatAmazinglyHasASpec.tar.gz
RPM does nothing to keep a system administrator from customizing their own packages, assuming they sit down for five minutes and learn how to modify a specfile. All it does is allow you another level of control over the files (and their dependencies... and integrity) on a system.
RPM's (Score:2, Insightful)
I guess people prefer package managers to tarballs. And I guess RPM is the most popular PM and that is why they have chosen to do it. Mircosofty? Possibly/Probbably - good? that remains to be seen. I think I'll let other people try it before I infect my system with it ;-)
Incidently, does anybody think it strange that when we create something not Microsofty it slowly becomes Microsofty?
Why settle on one package format? (Score:1, Interesting)
It's too bad (Score:4, Informative)
The other road is to develop a meta-package system which "wraps" the existing native package system. This ensures the two package management systems don't stomp on each other, and allows you to interoperate with the native package management system (Sun's pkgadd, HP's depot, SGI's inst, etc). As many of us know it can get extremely ugly when a package management system starts getting out of sync with what is actually taking place on a filesystem.
To put in a shameless plug (I'm only a customer) for some very cool quasi-commercial effort in this area, we use software packaged by The Written Word [thewrittenword.com]. (yeah, strange name). Their software is of the latter philosophy.
I say quasi-commerical because while they sell distributions packaged on their tools for profit (and provide support and updates for their software by subscription, allowing me to concentrate on my normal duties, not worrying about recompiling this and that when the latest exploit comes out) they are actively involved in open standards-based efforts to develop a true cross-platform open package management system. And by my understanding are committed to switching their system to an open standard once it is standardized and of a sufficient functionality.
Either way, as Debian users know, the important part is not that you pick a good package system. The important part is that you pick a system that is well maintained, so when the next fix for exploit comes out you know that within a short period of time you can run {apt-get,pkg-inst,whatever) and get a working fix installed.
The biggest problem with many of the other package systems out there (Sunfreeware, Red Hat Contrib) is not that the package system is necessarily bad, it's the fact that the people don't maintain the packages. They're either woefully out of date, or compiled with beta snapshots of gcc or libc, have incorrect or missing dependencies, or simply haven't been tested.
Too little, too late (Score:1, Insightful)
The problem with this... (Score:4, Informative)
RPM's source-centric view (where you have to rebuild everything from scratch all the time, making development of the initial distributions extremely time consuming) is also a major problem, because a lot of packages take a long time to compile (we have one that takes several hours on older hardware), and you may be testing fixes, etc. that only affect a single executable in your package.
Anyways, for people that want something a lot more portable and flexible, see my (also free) EPM software at "http://www.easysw.com/epm/". It does native RPM, DPKG, *BSD pkg, System V pkg, IRIX inst, HP-UX swinstall, Tru64 setld, and AIX installp packages, or so-called "portable" install scripts with tar files, all from the same software description/list files. Utilities are provided to automate the building of the list files from already-installed files/directories (the classic RPM BuildRoot stuff) or by intercepting "install" commands, making it very easy to create and/or maintain them.
Sounds a lot like "openpackages" (Score:1)
openpackages "the new standard for open source binaries"
http://www.openpackages.org
I'll never tourch RPM again if I have too (Score:5, Insightful)
Since FreeBSD can run the huge majority of linux applications that I need/want, i have no need to get into RPM-hell again.
If I need to upgrade a system I use cvsup to apply the necessary patches to my source tree and make the world. If I want to update applications, I cvsup my ports tree and run portupgrade. There's nothing easier and it's very rare anything goes wrong.
So, why build this OpenPKG thing in the first place? VC money down the tubes. I'll keep my ports and packages, but I'll never run RPMs again.
Re:I'll never tourch RPM again if I have too (Score:3, Insightful)
Same thing with Debian: small number of groups creating packages, therefor the dependancies are well maintained.
Now, RPM is used by a very LARGE number of groups, many of whom are not even aware of each other's existance. Furthur, some of those groups are very sloppy about the dependancy data they add to their packages (my favorite: I want version 1.2.3-pl5-v4-x_i686_mmx_with_asm_x-thursday-4_31_
The problem is NOT in the package format, it is in the absense of any centralized agency performing QC on the builds.
Re:I'll never tourch RPM again if I have too (Score:2)
Very good. So what do you do if you want to install binary-only packages that don't have corresponding source (VMWare comes to mind as one such package, though it might not be ported to FreeBSD)?
Ah. I see. You just install it and track it manually.
Well, as a system administrator, that's not good enough for me. The reason I like to use a package management system is that it makes it EASY to manage the huge number of files on my system. If I'm not sure what bit of software a particular file belongs to, I can query the package manager (not every file has a manpage, you know). Can you do that with ports?
Ports is an awesome way to keep your system up to date, but don't confuse it with a good package manager. They serve different needs.
Re:I'll never tourch RPM again if I have too (Score:2)
Ah, cool. Ports allows you to determine what piece of software a file belongs to and things like that? If so, then it sounds like a nice solution.
Re:I'll never tourch RPM again if I have too (Score:2)
Dependency problem? You don't know the half of it! Last time I tried to install RedHat (out of curiousity), I found that trying to do something as simple as upgrading Xfree86 from 4.0 to 4.01 required me to update just about every piece of software on the fscking system! (What the hell does XFree need bash dependencies for anyway?) Then to add insult to injury, some packages actually needed you to downgrade certain software (which can't be done unless you uninstall the current version which it won't let you do because that will break other software). And some packages even have circular dependencies that prevent you from installing anything unless you work some kind of RPM command line voodoo!!! Don't forget that some packages need differing versions of the RPM program. And what the hell is the RPM packager doing requiring KERNEL RPMs??!!?!?!!?!
AAAAARRRRRRRGGGGGHHHHHHHHH!!!!!!!!!!!!
Want my opinion? RedHat can take RPM and shove it. I'm sticking with BSD.
Re:I'll never tourch RPM again if I have too (Score:2)
Same with RPMs. They work as a format, but they are wide open for abuse, And the fact that the creator of the format badly abuses them doesn't help anything. BSD packages are just more elegent.
but even when it's a real circular dependency, rpm -i is hardly voodoo.
It's voodoo when the packages have to be listed in some specific order. Why they needed to be in a different order is beyond me. But of course, these types of circular references shouldn't exist in the first place.
[Kernel RPMs] is also (obviously) not a problem with the package system itself
Once again, a matter of elegence. The package system encourages this kind of abuse.
But it isn't, use rpm -U --oldpackage
Fair enough. But why should I even have to deal with this in the first place? Why can't the system understand compatible and incompatible upgrades automatically and either allow the newer version to be used in place of the older version, or install it alongside the current version?
RPM has to be judged by its current use. The maker of a spoon can't be held accountable for misuse of an ordinary spoon. However, if he intentionally manufactures it with dangerous sharp protrutions, you can bet that people will be pretty upset.
Re:I'll never tourch RPM again if I have too (Score:2)
That's the beauty of the ports system! I have these targets and more with the ports collection:
fetch - Retrieves DISTFILES (and PATCHFILES if defined) into DISTDIR as necessary.
fetch-list - Show list of files that would be retrieved by fetch.
fetch-recursive - Retrieves DISTFILES (and PATCHFILES if defined), for port and dependencies into DISTDIR as necessary.
fetch-recursive-list - Show list of files that would be retrieved by fetch-recursive.
extract - Unpacks DISTFILES into WRKDIR.
patch - Apply any provided patches to the source.
configure - Runs either GNU configure, one or more local configure scripts or nothing, depending on what's available.
build - Actually compile the sources.
install - Install the results of a build.
reinstall - Install the results of a build, ignoring "already installed" flag.
deinstall - Remove the installation.
package - Create a package from an _installed_ port.
describe - Try to generate a one-line description for each port for use in INDEX files and the like.
checkpatch - Do a "patch -C" instead of a "patch". Note that it may give incorrect results if multiple patches deal with the same file.
checksum - Use distinfo to ensure that your distfiles are valid.
checksum-recursive - Run checksum in this port and all dependencies.
makesum - Generate distinfo (only do this for your own ports!).
clean - Remove WRKDIR and other temporary files used for building.
clean-depends - Do a "make clean" for all dependencies.
I'll never go back to RedHat or use RPMs or deb files again.
Why RPM? (Score:5, Insightful)
Last week, I tried FreeBSD for the first time. I was very impressed with the ports tree and pkg_add.
What would be the compelling reason to use openpkg on systems with package managers better than RPM?
Re:Why RPM? (Score:2)
But that said, I see one advantage to OpenPKG. Since the binaries inside the OpenPKGs will be different, they aren't portable. The advantage must be that the numbnut build managers at these companies only have to learn one tool. I don't see any advantages for the enduser.
FreeBSD pkg_add (Score:5, Informative)
pkg_add -r gnupg
for instance and the binary package gets automatically ftped down, unpacked, and the pieces installed to the correct locations. With thousands of FreeBSD ports already set up, why should I or anyone switch to this new system?
Re:FreeBSD pkg_add (Score:2)
To add to your point, the only reason anyone would use this is because FBSD ports doesn't come with Linux. If you must run Linux though, run Debian, as it's just as easy as FreeBSD.
apt-get install gnupg
If you use Linux, use Debian, if you use BSD, use FBSD. This new package system is useless.
--Dan
Re:FreeBSD pkg_add (Score:2)
--Dan
Can anyone summarize how this differs from RPM? (Score:2, Interesting)
With RPM, I have a single source RPM, and can build that to create a binary on (theoretically) any architecture (assuming my spec file, etc, take quirks into account.)
Oh, I see that OpenPKG offers a way to download a file and install it, without explicitly already having RPM on your system. Nice but I'm sure there are more perks I'm missing, otherwise this just looks like a rebranded RPM to me.
Enlighten me, please.
Cross-platform? (Score:3, Insightful)
To me, true cross-platformness includes the ability to run on AS/400s, S/390s and VMS. Like emacs or slickedit or... perl?
John.
Re:Cross-platform? (Score:2)
Linux definition
"Runs on Linux and Windows"
Macintosh definition
"Runs on Macintosh and Windows"
Windows definition
"Runs on Windows 2000 and Windows XP"
Re:Cross-platform? (Score:2, Insightful)
"all flavors of Unix" - many competing vendors
There is a difference.
And "cross-platform" != "universal"
Does slickedit run on CP/M? AmigaDOS?
Has anyone actually read their documentation? (Score:4, Informative)
Stupid, stupid rat things! (Score:2)
Mind you, using the RPM system is pretty self-defeating too.
TWW
let's not forget Gentoo (Score:2)
Gentoo Linux (http://www.gentoo.org [gentoo.org]) is building a ports-like tree called Portage, based on Python rather than a mix of Makefiles and shell scripts. It combines the features of cvsup (actually, it just calls rsync; the command to update the portage tree is "emerge rsync"), make install (emerge blah.ebuild) and portinstall (emerge blah/blah). Soon, emerge will have the equivalent up portsupdate.
The system can install source, create bzip2'd tar packages, or, as an option. RPMs.
Crossplatform, I think not... (Score:2)
cross-platform RPM-based Unix software packaging.
crossplatform: [dictionary.com]
software, hardware> A term that describes a language, software application or hardware device that works on more than one system platform (e.g. Unix, Microsoft Windows, Macintosh). E.g. Netscape Navigator, Java.
Using buzzwords, is great and everything if you're a marketing droid, but lets try to be a little more precise among ourselves.
I'm not trying to belittle this accomplishment, and I'm sure it is quite valuable, although I personally would give up apt-get only at gun point and to call something crossplatform that only really ones on one 'platform' is silly.
Re:Crossplatform, I think not... (Score:2)
Do you really think that FreeBSD, Solaris and *-Linux are the same 'platform'?
I think dictionary.com clearly states they are.
Microsoft is moving to MSI (Score:5, Interesting)
The one true package format: setup.exe
I assume you refer to the standard name of a Windows installer program. Those may become obsolete, as Microsoft and other vendors shift to .msi packages that use the Windows Installer [a-softtech.com].
Re:Yet another package management system? (Score:2, Insightful)
Isn't that what open source software is all about? Just as in commercial software, a bunch of different groups work on the same thing in the attempt to be the best, most widely adopted, and thus the standard?
In commercial software, the development and marketing effort goes on only as long as the company can afford it, but in open source it can go on forever as people work endlessly on different versions of the same software that nobody will use! That way you can be forced to have all of the different package managers installed (and keep them updated) so you can use the various software packages you might want to download!
Re:Sounds neat (Score:1, Redundant)
Re:Sounds neat (Score:5, Insightful)
The key is to get your packages from one source, where all the binaries are built relative to the other packages in the repository so that the dependancy names and versions are uniform throughout your system. This is what debian does better then everyone else. It has nothing to do with the DEB format, and it has nothing to do with apt either.
Re:Sounds neat (Score:2, Informative)
errr, compare citrus to citrus, chum: RPM is to APT as .deb is to (e.g.) gnorpm -- .rpm and .deb are package formats, gnorpm and apt are tools for managing those packages (and IIRC one can now use rpms with apt -- Linux Mandrake?)
APT is a tool for managing DEB packages, it is not a packaging format itself.
don't be spreading misinformation ... makes you look ... well, like someone you wouldn't want to look like.