Slashdot Mirror


Is It Time To Change RPM?

Floris pointed us to an excellent article over at Freshmeat discussing the problems with RPM. It compares RPM to the other alternatives (mainly Debian's apt system) and discusses where the problems are. It's not a distribution war thing, this is a serious problem that needs discussing. Read the story and chime in.

264 comments

  1. oh btw by fluxrad · · Score: 1

    the "do-everything" button was an abstraction. you should have realized that.

    i've read many of your comments, and agree with quite a few of them, but your views on what a package management system should be able to do for the user are off the wall for reasons already expressed by myself and others.


    FluX
    After 16 years, MTV has finally completed its deevolution into the shiny things network

    --
    "It is seldom that liberty of any kind is lost all at once." -David Hume
    1. Re:oh btw by The+Pim · · Score: 2
      the "do-everything" button was an abstraction. you should have realized that.

      I did. I also realized that it was the wrong abstraction. :-)

      There's a big difference between "give me easy access to all the relevant information" and "figure out what to do". Now, I admit that there were elements of both in my original message. But as far as the package manager is concerned, the first is primary. Because once the ability to get all the information (and the hooks to act on it) is there, people can start figuring out how to make use of it. I think there's plenty of room for improvements that hackers would appreciate before we get into the realm of "the computer is smarter than you" idiot-ware.

      your views on what a package management system should be able to do for the user are off the wall

      We might disagree about what should be in the package manager proper, but I maintain that the package manager should facilitate some of the potential front-end features I described.

      --

      The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
  2. Re:The Fundamental Mistake here by Arker · · Score: 1

    The original poster seemed to be implying that we'd run into compatibility problems by making additions to RPM.

    Not at all. What I'm saying is that the pre-existing packages are no advantage, because you'll have to make new ones to support the exapanded functionality. Which means that the primary motivation given for trying to make .rpm do these things instead of simply using .debs for their distribution is specious. Why re-invent the wheel?

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  3. Re:No one tackles the hard problems by wenzi · · Score: 1
    the problem is stagnation. rpm hasn't been moving. I think we could all agree that rpm's have fallen behind. I don't think we should compare deb to rpm's at all. it doesn't really matter. what matters is that people don't get involved. looking at the changelog file, it looks like the only person doing anything is jbj@redhat.com, and it looks more and more like maintenance mode.

    I think a lot of these features would be great. that is the great part about open source software. if people want some of these features. people can always write them and contribute.

    --
    -- I doubt, therefore I might be.
  4. Re:Problems with ports by Metrol · · Score: 3

    Firstly, it's not easy to update the ports tree itself

    You're going about it the wrong way there. Have a look see at the FreeBSD Handbook for CVSup for more details on this. Also, if you don't already have a copy, go pick up "The Complete FreeBSD" from Walnut Creek. It's an outstanding book, and one that I found to be a much easier read than many of the Linux specific books out there. It has a chapter covering the ports tree that I think you'd benefit from.

    Mind you, ports do have their problems. All in all, I think that it's a far better approach to software distribution than anything else that I've seen. A more in depth discussion of this, which even relates to this thread, was done a few weeks back right here on Slashdot, "Unified BSD packaging system?". One of the concepts brought up in that discussion I haven't seen mentioned in this one is if there is some way to unify all the *nix world rather than just the various flavors of Linux.

    It sure would be cool to see a group work out the best of the best features from the leading methods of distributing software and bring it to all the platforms. Definitely not holding my breath for anyone to actually do this, just a pleasent thought just the same.

    --
    The line must be drawn here. This far. No further.
  5. Re:One thing I hate about RPM by LionMan · · Score: 1

    It is infinitely configurable. But Linux, along with the other unices, is made to be a server - and servers are made to be used by users, not administrators (they have their own user accounts). The users are definitely used to the common directory structure. Sure, you can do whatever you want your own box, but your users might not know what the fsck is going on.

    --
    -Leo
  6. Re:Linux is a glass statue when it comes to stabil by AviN · · Score: 2

    > One famous saying that applies to Linux is this: too many cooks spoil the broth. With the thousands of driver modules, library modules, and executables, Linux is one big mob of code.

    What you're saying makes no sense. Linux is not one big mob of code, it's the exact opposite. The code is neatly divided into pieces, each piece serving a different purpose. This way each team can work on a specific piece of software, with minimum compatibility problems.

    The difference between Linux and Windows in that aspect, is that while Linux packages different programs/libraries/whatever in different packages, Windows "is one big mob of code", with *everything* distributed as one huge package.

    > It's surprising that it's as stable as it is;

    In that case, Linux vs. Windows is just an exception to the rule, right? I suppose then you can provide other examples then ... ?

    > it's not surprising that it's as hard to upgrade as it is.

    Obviously you're not using the right distribution and/or the right tools. I can upgrade my entire distribution to the latest cutting edge software with `apt-get update; apt-get -y dist-upgrade`, then come back later when the download is complete, and take 5 minutes to configure it.

  7. Re:Well, you didn't have the SDK. by UnknownSoldier · · Score: 1

    > Microsoft doesn't dole out the DirectX SDK out freely (or do they?

    Yes, they do: DirectX 7 SDK

    If game developers had to pay for it, it would of seriouslly put a dent on DirectX becoming the standard Win32 hardware acceleration API.

  8. The problem with RPM is uptodate documentation! by baywulf · · Score: 4

    In my opinion, the problem with RPM is that the documentation is falling behind. The book 'Maximum RPM' is of very good quality but it hasn't been updated since RPM 2.0 days really and so many things have changed or features have been added. For example, the relocatable packaging feature has been greatly improved. Macros and triggers have been added. The latest RPM can do automatic gzip or documentation, strip binaries and do additional checks. All this leads to RPMS of varying quality because they come from various sources, each with differing opinions and standards. If you want to see how bad it is, just use the program 'rpmlint' or a typical RPM package and see all the warnings it gives you.

    1. Re:The problem with RPM is uptodate documentation! by AntiBasic · · Score: 1

      Thats the intrinsic problem with books. You'll NEVER find up to the minute documentation in a printed form. Man pages are just fine for situations such as these.

    2. Re:The problem with RPM is uptodate documentation! by be-fan · · Score: 1

      Problem: Why the f*ck is there a book about a PACKAGE MANAGEMENT SYSTEM! A package manager should be akin to a boot-loader in simplicity. There shouldn't be more than a page of documentation on the thing.

      --
      A deep unwavering belief is a sure sign you're missing something...
    3. Re:The problem with RPM is uptodate documentation! by m0nkyman · · Score: 1

      Perhaps because it explains how to make your own packages... not just how to use it? Remember, RPM is GPL'd, and we can all use the tool.

      --
      ~ a low user id is no indication I have a clue what I'm talking about.
  9. Re:One thing I hate about RPM by LionMan · · Score: 1

    Sorry, I don't really use perl. My bad . . .

    --
    -Leo
  10. RPM vs .DEB by Servo · · Score: 1

    I hate to be involved in the Debian vs RPM based distro holy war, but Debian's packaging system is one of the things I think makes it so much better.

    --
    A slip of the foot you may soon recover, but a slip of the tongue you may never get over. -Benjamin Franklin
  11. mod SomeOtherGuy post up! by erotus · · Score: 1

    hmmm... interesting theory here. I don't believe that rpm's were made for this intended purpose, but you do have a point. Debian upgrades are a breeze compared to rpm distro's. Once Debian is installed there is nothing but upgrade from there. Just point apt-get to the right place and there you go. Redhat might not like it if people only bought a distro once and then just apt-get distupgdraded it from there.

    Debian, being completely non-commercial does not have this concern. I don't use Debian as my desktop because it's not as cutting edge as I like, however, if you run it as a server it minimizes administration hassles and it makes maintaining your box much easier.

    1. Re:mod SomeOtherGuy post up! by Rakarra · · Score: 1
      Debian upgrades are a breeze compared to rpm distro's. Once Debian is installed there is nothing but upgrade from there. Just point apt-get to the right place and there you go.

      I don't know, I haven't had much of a problem upgrading my RedHat machine. Once I downloaded an entire distribution and ran rpm -Fhv *.rpm to upgrade.. it wasn't that hard. Granted, this won't always work if a new library is used in your old programs, but that's usually easy to fix as well.

  12. Re:If tarball isn't your only pkg fmt, you're a LO by Rev.+DeFiLEZ · · Score: 1
    hehehe sorry i was too concerned about his last name to check the whole post.

    my fault
    -rev

  13. Problems with ports by pwhysall · · Score: 1

    Ports is indeed a very cool system, but there are one or two wrinkles.

    Firstly, it's not easy to update the ports tree itself; either I'm dumb or the documentation doesn't tell you how to do it. I'd like to be able to do something like this:

    $ cd /usr/ports
    $ make update

    And magically, version numbers update and new packages appear.

    Secondly, ports doesn't seem to support any kind of history on the packages; you get the latest version that your ports collection knows about and that's it.

    Thirdly, there seems to be no way of verifying the installation of a particular package; like rpm --verify.

    I'm sure that these things will get straightened out in time (or not if they're dumb ideas).
    --

    --
    Peter
    1. Re:Problems with ports by AntiBasic · · Score: 1
      Firstly, it's not easy to update the ports tree itself; either I'm dumb or the documentation doesn't tell you how to do it. I'd like to be able to do something like this:

      $ cd /usr/ports $ make update

      And magically, version numbers update and new packages appear.

      You can just use cvsup to update only your /usr/ports.

    2. Re:Problems with ports by dkesh · · Score: 1
      Firstly, it's not easy to update the ports tree itself

      How about:

      $ cvsup /usr/share/examples/cvsup/ports-supfile

    3. Re:Problems with ports by be-fan · · Score: 2

      www.freebsd.org/ports

      --
      A deep unwavering belief is a sure sign you're missing something...
  14. Re:One thing I hate about RPM by LionMan · · Score: 1

    That's an excellent idea! ok, but now it's time to rewrite anything that depends on certain things being in certain places. number one: the linux kernel expects init to be in one of several places which include /bin/init, /sbin/init and the like - but if it's not there it will panic (but only if it can't find a shell to dump you into first, which is likely if /bin is not /bin). However, if you just want to change directory names, use symlinks - you don't need a config file for that.

    --
    -Leo
  15. Re:One thing I hate about RPM by IkeTo · · Score: 1

    It really install to /usr/local/bin? Then the distributor of Quake2 is violating FHS. The whole packaging system is not supposed to touch the /usr/local directory!

  16. Re:The best distribution by drsoran · · Score: 1

    The problem with that is, after a year or two of installing applications from tarballs you have shit strewn all over your box, incompatible library versions, and generally no version control system. It's a mess. At home on a personal system that you don't care about it is fine.. you can always wipe the system and reinstall every year or so, but on a production system you need more control over your packaging.

  17. debconf by Eladio+McCormick · · Score: 1
    It would be nice to see both apt and RPM adopt a rich XML-based standard for expressing prompts, defaults and so forth for interactive installers, along with a way to express what prompts can be silenced and with what effect, so that text, widget-independent GUI, and web-based (among others) interfaces to interactive installation can be built without breaking anything.

    Oh, you mean, like debconf? Well, IIRC it's not XML, and there's still a fair number of debs that don't use it, but the functionality is mostly there.

    It provides an interface for front ends to ask you config stuff for packages, and stores your answers in a database-- it won't ask you the same questions again, unless the packager makes it do so for some important reason. It's configurable in the level of questions it will ask-- ask only critical stuff, and go for defaults on the rest, ask everything, and a few points in between...

    1. Re:debconf by Anomie-ous+Cow-ard · · Score: 2
      ... and it comes with the dpkg-reconfigure command, so you don't have to reinstall to reconfigure the package.

      -----

      --

      --
      perl -e'$_=shift;die eval' '"$^X $0\047\$_=shift;die eval\047 \047$_\047"' at -e line 1.

  18. Re:Packaging is just plain dumb by Metrol · · Score: 3

    Where you do bring up some good points here, the basic concept of what you're talking about just isn't desirable. Let's work through your example, which is a fair one to be sure.

    On the destkop, a user who, on Christmas morning, getting messages that Barbie Magic Funhouse can't be installed because it conflicts with sendmail and will break dependencies for Evolution is complete, utter and total, unadulterated failure.

    It seems that you are referring to a Windows based install here, or at least that's the premise I'm working from. It's quite likely that this Barbie program is going to require DirectX of some version level, as well as other possible shared libraries from Windows. What does the software OEM do in this case? They include on the CD any of the possible shared library versions that may not be up to date, then the installer looks to see if it needs to upgrade the system or not.

    Certainly the weakest point of RPM's is that they are simply awful at dealing with library dependancies. That doesn't mean that this problem can't be resolved, it just means there is a problem. The BSD folks recognized this problem a while back, and address it quite nicely with their package and ports system of installation.

    Coming back to this example, in the FreeBSD world if a library equivalent to DirectX were to be needed by this Barbie program, the package would go and hunt down that dependency on the Internet. It's pretty powerful stuff, and goes a long ways to working around the problems that you've brought up.

    To date, I only have experience with RPM's and FreeBSD's system of handling installations. I understand that Debian's package management has similar dependency finding capabilities. It's probably fair to say that none of the present solutions now being used are optimal. I would include even Windows installs as problematic in this regard, and anyone who has run into "Can't find VB400RUN.dll" before can certainly appreciate this.

    I am of the belief that a truly optimal system can be developed, just based on what I've seen to date. Where I have hope here, I also have a great deal of doubt that the various groups backing their preferred method can step out of their foxholes long enough to work towards that.

    Bottom line, there's more going on out here than just RPM's not finding dependancies. Have yourself a look about, there are some very cool things that are already in place, and in work.

    --
    The line must be drawn here. This far. No further.
  19. Re:One thing I hate about RPM by LionMan · · Score: 1

    That's what symlinks and shell aliases are for. And bash's default config file aliases ls to dir for all you DOS people, so you don't have to think too hard ;)

    --
    -Leo
  20. Re:No one tackles the hard problems by AviN · · Score: 1

    > security.debian.org does make it possible to install only security fixes on a stable system. That's an important but very limited case. It doesn't help if I replace security with any other criterion.

    Can you give example of another criterion?

    > Moreover, what if I'm running unstable? I often do this, but there are still times when I don't want to risk installing any upgrades but critical ones.

    Why are you running unstable, if you want to only risk installing critical updates?

    > hold is a very blunt instrument. For example, if I install version 1 and put the package on hold, I will get alerted by deselect when version 2 comes out (ie, it will appear in the "Updated" section"), but if I choose not to upgrade, I won't get any new indication when version 3 comes out. I have to remember that version 2 was the last version I considered.

    I could be wrong, but I think `apt-get dist-upgrade` will tell you when a potential upgrade is being put on hold.

    > Debian stable does not contain only well-integrated, well-tested packages. If you think so, you're either horribly biased or smoking something. Think about GNOME in slink. Or the many orphaned packages in any stable release. Or all the random little programs used by almost nobody and packaged by novice Debian developers.

    *shrug*. I don't use stable, so I wouldn't know. Unstable is plenty stable enough for me. Perhaps someone else can comment ... ?

  21. see this article about a new 'bsd package format by Bazzargh · · Score: 2

    at some site called slashdot...
    http://slashdot.org/article.pl?sid=00/09/13/0634 210&mode=flat

    funny how that article got one (abusive) comment and this one got hundreds, they're essentially about the same thing.

    Anyway for what its worth - I think all the people thinking about this shit should talk to each other more. Theres not just rpm, deb, and that bsd development, but things happening on the fringes like the rpm-for-cygwin development (http://cygwin-rpm.sourceforge.net/ yay, no more searching through the list of ported software) and loki games' setup tool (http://www.lokigames.com/development/setup.php3)

  22. Re:No one tackles the hard problems by mosch · · Score: 5

    ask why a new version of a package was released?
    see a list of changes between old and new versions?

    Well, RPM does include a Changelog which should include why the package was released, and what changes were made. check the --changelog option.

    tell the system to apply only security or high-priority fixes?

    You can do this mostly by installing a distro, and then tracking a particular version of it. Redhat-6.2 has lots of updates, but all of them fall into your 'security/high-priority' category.

    tell the system to automatically process all updates except those involving specified packages, which I want to approve on a case-by-case basis?

    It's trivial to setup something like this where you mirror the appropriate dir on updates.redhat.com, then have a script which does an rpm -F foo.rpm on every rpm whose name isn't listed in 'no-auto-upgrade.txt'. However, given your original statement, it's not possible. You're saying that you want it to automatically everything, except it should psychically know what you want to pick and choose from. Ummm... no matter how you cut it, you'll at some point have to tell the system 'upgrade or no'.

    tell the system never to upgrade packages that require upgrades of packages used by other software (eg, libraries)?

    This is the default behavior of RPM. You have to use --nodeps to override it.

    ask for packages that will help me convert GIF files to PNG?

    You want natural language capability search built into your package manager? You've watched too much star trek. If however you did a quick search for RPMs that contained both 'GIF' and 'PNG' in their name on a site like rpmfind.net you'd find gif2png is readily available.

    ask for only packages targeted at beginners?

    I have no idea what use this is. Beginner is a very broad term. Is Enlightenment aimed at beginners? How about Windowmaker? The answer for both is a resounding maybe!, depending on the configuration. How about gcc, is that for beginners? After all, most computer barely-literates don't know how to use a compiler. And bind, that's definitely an advanced package right? unless of course you install a caching-nameserver rpm that helps the beginner have their own caching nameserver, then it's beginner. Or an obvious beginner package like grip, whcih isn't beginner at all, i mean, you have to know about mp3 encoders and cd rippers.

    ask for only well-integrated, well-tested packages?

    Use RedHat, they'll only give you these. If you stick to basics, unless you use Mandrake, you usually won't get anything that's not well-tested and integrated.

    get reviews of a package?

    Ah yes, all programs expand until they read mail. Or in your case, you're asking for the package manager to read newsgroups and mailing lists, so it'd be a newsreader too. Maybe we should just integrate this package manager of yours into emacs.

    find out how to get started using a package?

    The RPM format allows for certain files to be flagged as documentation and generally installs them in the path /usr/doc/$rpm_name. and man files in /usr/man. you can get a list of what it installed by doing rpm -qi package_name.

    begin browsing the documentation for a package before approving a full installation?

    again, you're asking the package manager to do things that just don't make sense. Why not read up on the software, then install it? Or just install it, and if it's no use to you, do an 'rpm -e'.

    have some help in configuration updates?

    These are called man pages, and documentation files. You read them and they help you. Or hell, if reading real documentation is too much work for you, then see if there's a HOWTO that you can peruse somewhere on the net.

    Personally I use FreeBSD which has it's own unique set of strengths and weaknesses, and if you don't think anybody out there is thinking about this stuff, you should read this document which is a summary of the state of these things in FreeBSD, and some ideas on how to progress.


    ----------------------------
  23. Re:I dont' see what the big deal is... by Dionysus · · Score: 3

    I LOVE rpm! What could be easier than rpm -Uvh file.rpm?

    apt-get install package.

    Try downloading gnucash and install it. It will fail with a bunch of dependencies. Of course, it's close to impossible to find the where those programs/libraries are, and if you find them, you can't find the rpms for them.

    In Debian, 'apt-get install' will retrieve the dependencies too.

    --
    Je ne parle pas francais.
  24. Re:The Fundamental Mistake here by Dwonis · · Score: 1

    Say something useful.

    If it's compatibility you want, have a look at "alien".
    --------
    "I already have all the latest software."

  25. Feh! RPM. by The+Iconoclast · · Score: 1

    apt-get/.deb/dselect are SOOOOO amazingly cool.

    I like to put it this way:

    RPM is what windows install/uninstall was meant to be.

    apt-get was what RPM was what meant to be.

    --
    Quando Omni Flunkus Moritati
    1. Re:Feh! RPM. by slakr67 · · Score: 1

      Then you must only deal with MS apps, I have to make three registry hacks just to change the IP address on a ghosted NT machine with Netware clients installed. Registry hacking is part of using any version of Windows, but seems more common on networked machines with a lot of 3rd party apps. Don't call someone a troll just because you have been lucky enough to avoid hacking the registry.

      --
      To fail is human, to blue screen MS!
    2. Re:Feh! RPM. by dlb · · Score: 1

      "But thinking that it will eventually displace the Debian package system or, indeed all other package systems, is absurd"

      Frankly, I hope it does. There are things I like about both camps that I wish I could have in one tool. I have to work with rpm AND debs, and there are more things about debs (like babysitting an upgrade, lame docs -- How can I RTFM when there is no FM?) that I could do without.

      But I dont see anything wrong with one-tool-fits-all. To each his own, I suppose.

    3. Re:Feh! RPM. by Rhys+Dyfrgi · · Score: 2

      I agree that apt is awesome. But dselect? dselect's lameness is the reason for apt's existence

      dselect is based on apt. apt is the base of the package system. What you're thinking of is probably console-apt, known to most through apt-get, the central control binary.

      apt is a frontend to dpkg.

      Sorta. See, there's only one program in the whole bunch that actually knows the dpkg file format, and that's dpkg-deb. Apt is really a system for updating files. Any file. Apt can be easily adapted to any group of files that lend themselves to being packaged. You could use apt to get the latest Slashdot stories, if you wanted. apt-get update to grab the headlines, apt-get install some_headline to install the comments... &c.

      The apt system is pretty complex. It was hard for me to get my mind around. Hell, I've been using Debian for around a year now, and I just recently 'got it'. Most people never have reason to learn, so they don't.
      ---

      --
      END OF LINE
    4. Re:Feh! RPM. by Reality+Master+101 · · Score: 1

      It's why Windows has such a bad reputation - novices, much like yourself, think that it doesn't happen and wonder why their Windows installation breaks after 3 months of messing it up.

      Uh, duh. Apparently you have no clue, but are trying to pretend that you do. Yes, some (badly written) software leaves behind registry crap. But so what? Do you think the operating system scans for dead registry entries and executes code based on them?

      The original assertion was that "look at all the crap windows users go through (hacking the registry and other nonsense)". I have installed literally hundreds of Windows applications. Again, I have never had to hack the Registry to remove crap that was causing the system to fail. Dead registry crap doesn't kill the system any more than leaving dead directories under Linux will kill the Kernel.

      I'm sure someone out of the thousands of people who see this can find some example (particularly badly behaved device drivers, which can be badly behaved on any O/S). But again, the original assertion is clearly false.

      On the other hand, I have had badly written RPMs go out and kill configuration files that they shouldn't.


      --

      --
      Sometimes it's best to just let stupid people be stupid.
    5. Re:Feh! RPM. by bigchris · · Score: 1

      Then you haven't really installed very much on Windows, have you?

    6. Re:Feh! RPM. by dlb · · Score: 2

      "apt-get was what RPM was what meant to be."

      That doesn't mean that that functionality can't be built into RPM. I found debian's tools clumsy, and the documentation was hideous. There's no need to have a whole handful of tools just to do package management.

      At least Redhat put a lot more effort into documenting how RPM works. There's less of a learning curve on average, and that's why RPM will eventually succeed.

    7. Re:Feh! RPM. by davekam · · Score: 1
      I don't see why everyone is complaining about debian's documentation. I've found it to be excellent and well thought out. Check the packaging and policy manuals.

      I've used both rpm and deb and in my experience debian puts a lot more effort into not screwing stuff up (to put it simply). Alternatives, diversions, always saving copies of both old and new config files regardless of which you told it to use. I'm in control already instead of having to be on guard constantly for installers that screw things up in their zeal to make things "easier". I know that's windows MUCH more than rpm, but it's relative.

      I do admit it's annoying that debian updates are not fully automated, i.e. you must be there to answer the questions. But in most cases I'd rather be asked than not. debconf's solution is good, where it asks them all at the beginning -- of course the package must use it, but more and more are.

    8. Re:Feh! RPM. by jeffry_smith · · Score: 1

      Yes, it does scan the ENTIRE registry at bootup & program load. Back when I used to use Windows, I discovered that if I nuked the entire setup, reinstall from scratch Windows & all apps, it speeded things up. One example: One time I did this, the registry went from 1.9MB to 800KB. I ended up with the exact same apps installed, yet cut over 1MB out of the registry. Why? Obvously kruft. Bootup time dropped considerably, program load by about 1/4.

      Of course, if you nuke the registry, you're shafted as well.

    9. Re:Feh! RPM. by Chalst · · Score: 2
      The comment about RPM being adopted by the LSB bothered me a great
      deal too. Is there any foundation for this claim (I have not
      heard anything about it either)?

      If package managers are to be merged without Redhat and Debian
      being forced to agree on a single package/configuration policy, then
      it is clear that there needs to be something like a DISTRIBUTION_POLICY
      database that governs the behaviour of the package manager. Making
      this work just possibly might be one of those things that is easier
      than it sounds...

    10. Re:Feh! RPM. by dalraun · · Score: 2
      apt-get/.deb/dselect are SOOOOO amazingly cool.

      I agree that apt is awesome. But dselect? dselect's lameness is the reason for apt's existence.

      comparing rpm and apt is comparing apples to oranges. rpm == dpkg. apt is a frontend to dpkg.

      this article is about taking the auto-retrieval features of apt (which everyone loves) and applying them to rpm -- ie, using apt as a frontend to rpm instead of dpkg. So, therefore, you could combine the (implied) superiority of the debian system's auto-retrieval with the ubiquity of redhat's rpm format. Personally I'm going to keep using apt as a frontend to dpkg, keep installing .deb packages, and not worry about it... what does worry me is the author's dismissal of .deb, suggesting that rpm may become part of LSB (something I haven't heard about) and implying that therefore .deb might as well give up.

    11. Re:Feh! RPM. by VultureMN · · Score: 1

      It's bad apps that leave all kinds of shit in the registry, but it's stupid OS design to have a huge monolithic complicated registry like that in the first place. This shouldn't be an issue at -all-; different apps should have their own different config files so it's less painfull to manually change stuff if needed.

    12. Re:Feh! RPM. by redtux · · Score: 1

      Try upgrading office 97 to office 2000 (note I am using pure MS examples) whle keeping access 97 on the system Then you get delete dll's, registry entries ad infinitum

      --
      Microsoft(tm) - a particular virulent virus that has infected most Pc's.
    13. Re:Feh! RPM. by dalraun · · Score: 1
      dselect is based on apt. apt is the base of the package system. What you're thinking of is probably console-apt, known to most through apt-get, the central control binary.

      No, I'm thinking of dselect.

      Sorta. See, there's only one program in the whole bunch that actually knows the dpkg file format, and that's dpkg-deb. Apt is really a system for updating files. Any file. Apt can be easily adapted to any group of files that lend themselves to being packaged. You could use apt to get the latest Slashdot stories, if you wanted. apt-get update to grab the headlines, apt-get install some_headline to install the comments... &c. The apt system is pretty complex. It was hard for me to get my mind around. Hell, I've been using Debian for around a year now, and I just recently 'got it'. Most people never have reason to learn, so they don't.

      Well, I've been using Debian for over three years, since version 1.3 (bo). Back then, there was no apt. The was dpkg, and there was dselect as a front end. The base install just threw you into dselect, and there you selected the packages and then installed by way of one of dselect's "methods". You would also use dselect if you wanted to sync up to unstable, by having dselect use "dpkg-ftp" or the like ... and the first time I saw that I was damn impressed.

      But dselect's interface has not changed too much since then (I don't know for sure since I avoid it if possible). The dependency handling is unpleasant, and overall it is rather cumbersome. Debian has been talking about replacing it for some time -- originally the project for the replacement of dselect was called "diety." Indeed, the apt mailing list is still deity@lists.debian.org, and this old project design shows the original intentions of the project. Apt was the result of the deity project.

      Well, as it tends to happen within debian, technical items that appeal to volunteer developers come before less glamourous UI issues, so the grand GUI for deity/apt never really materialized, while the apt-get backend tool flourished. (Wichert's first answer in his slashdot interview was about this very topic.) apt-get as it is today is great for developers, sysadmins, and power users, but still doesn't provide that friendly interface that everyone says debian lacks. Since dselect has yet to be fully replaced, apt was integrated as a dselect "method", replacing dpkg-ftp, dpkg-www, etc, as the Jason Gunthorpe mail linked to above says. Debconf has been added to the mix also, handling package configuration issues.

      Apt is a very well implemented piece of software. It just happened to end up filling a niche slightly different than originally intended. console-apt, gnome-apt, etc etc, have all been attempts at a dselect-like UI for apt, but haven't been complete enough to be full replacements. Remember, "The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time." Its nice to hear that people are adopting apt-get for non-debian purposes.. go GPL. Whether it is worth it for RedHat to adopt apt-get, I don't know. Either way, debian and dpkg will live on.

      Matt Toups
      debian user, sysadmin, and former part-time debian-devel lurker.

    14. Re:Feh! RPM. by Reality+Master+101 · · Score: 1

      Just look at all the crap windows users go through (hacking the registry and other nonsense) to purge software from their machines even after "uninstalling" it.

      I have never in my life had to hack the registry to purge software even after uninstalling it. If you're going to troll, at least try to have a grain of truth at the center. I hate incompetent trolls.


      --

      --
      Sometimes it's best to just let stupid people be stupid.
    15. Re:Feh! RPM. by Drathos · · Score: 1

      um.. no offense.. but when was the last time you looked in your registry after uninstalling something? a lot of windows software.. um.. forgets to remove all of it's info out of the registry. it may remove some, which will prevent problems with windows, but it doesn't always remove everything.

      i've had to clean the registry for several systems with almost no software installed on them because i couldn't install something on them. the install would seem to work, but then complain of a full registry, at which point all the info it stored on the hd was useless..

      --
      End of line..
    16. Re:Feh! RPM. by dvdeug · · Score: 2

      What do you mean by "RPM will eventually succeed"?
      In many ways, it already has. But thinking that it will eventually displace the Debian package system or, indeed all other package systems, is absurd. Debian people find debs work for us, and we have no plans to change. I'm sure the Stampede people and the Slackware people feel the same way about their packaging systems. Life doesn't have to have one winner take all.

    17. Re:Feh! RPM. by bmacy · · Score: 2

      I agree apt-get is amazing. *But* I think the big issue is not the package format.

      What I've found is that the Debian package maintainers do a lot better job of creating a good package. I've had crappy ones too... messed/missing up deps, a lot of hand modifying needed, etc.

      RedHat on the other hand doesn't seem to put as much effort, or maybe it's just a process thing.

      Other stuff like search for packages, seeing changelogs, etc... those are more tool issues than packaging issues.

      Anyways, all said (as a long time Slackware then RedHat user) I find the Debian packages more reliable. The upgrades actually work and they are easy to apply.

      Brian Macy

    18. Re:Feh! RPM. by JimDabell · · Score: 1

      There are many windows installers. Some suck (mainly in a bloat sense), some are excellent. Most perform flawlessly.

      Are you trolling? Have you used any at all? If, by "performing flawlessly", you mean "there isn't a chance of being able to remove it completely" and perhaps "it automagically fucks up whatever file associations you have set up", then perhaps I can agree.

      RPM can only dream of being as good as some of the better ones.

      Bzzt - way wrong. RPM isn't "an installer" - it's a package management system. This isn't just a way of getting your program onto millions of hapless desktops. It's a way of managing what's installed on your system. There isn't, as far as I am aware, a single package management system for Windows. Yes, you have a crippled little bunch of registry keys, and the defecto :) standard of installshield for installing/uninstalling, but that's it. No querying, no checksums, little to no versioning, etc, etc. The list goes on.

      Nullsoft superPIMP installer is good - excellent compression, low overhead, totally free.

      Really? So it has to do the archiving itself, it has to do the compression itself, and it has to be wrapped in executable code that does all this for every single application you want to install? Now that's really low overhead.

  26. Re:Neither. by dlb · · Score: 1

    That's unfortunate, because nobody cares about NoMad Linux.

  27. Packaging is just plain dumb by Ukab+the+Great · · Score: 2

    Packaging (and shared code) inevitably causes more problems than it solves. Maybe a few geeks like us would appreciate the better use of resources that shared code gives. But most users (and probably a few geeks as well) would be better served making each program its own seperate entity--One program, one set of code. Some will no doubt decry my advocacy for static linking (I'll make an exception for things like glibc), but take into account that Linux is starting to get into the regular consumer market. The regular joe, home consumer market has a totally different set of rules and goals than the workplace IT market. And currently, I see the linux movement making a very large mistake by approaching the desktop market with the same exact strategies and objective as the server market. Success and failure in the two markets is very different. On the server, a crash is failure. Some script kiddie rooting the box is failure. On the destkop, a user who, on Christmas morning, getting messages that Barbie Magic Funhouse can't be installed because it conflicts with sendmail and will break dependencies for Evolution is complete, utter and total, unadulterated failure. And up to this point, the linux community has done nothing but bury its head in the sand and try to rely on the internet to solve problems that static linking could easily solve. The funny thing about the word "dependency"--it usually comes after the words "co" and "drug". Seriously, ask 1000 people outside a CompUSA what they would rather have: An OS that uses their memory and disk space more efficiently, or an OS that lets them install as much software as they want without breaking anything and which will never preclude the installation of any other software. 999 of them will go with the latter. Most people want computers that simply just work. This is The Reality That Is The Desktop.

    1. Re:Packaging is just plain dumb by um...+Lucas · · Score: 1

      Actually, most Mac programs are staticly linked, in that when you install a program, it's just one large application that functions on it's own, save for dependencies on things like quicktime. And microsoft apps unload a bunch of stuff into the system folder, but by and large, when you install a program on a Mac, everything installs into only the folder you specified, rather than scattering randomly named .dll files into the system folder.

      some mac programs do make use of shared libraries, though. But even for those ones, when you launch them, they first look in the folder that the program is in for the library. if it's not there, then it looks in the system folder.

      Makes it really easy to move programs from machine to machine, or set up a base system to clone other machines from.

      If librarys and DLL's are good for managing memory, that's good, but we've got plenty of disk space these days so that each program you install can (read: should) keep its' DLL's to itself rather than putting them into a shared repository. I hate uninstalling windows programs and being asked what to do with a given DLL that was found in the windows registry. Since they have such obscure names, i often just leave them, and therefore end up needing to do periodic reinstalls, just to purge those DLL's and abandoned registry entries from my systems...

      Sorry for the ramble...

    2. Re:Packaging is just plain dumb by josepha48 · · Score: 4
      Even windows does not do static linking. Windows has all those dlls that come with the packages. I am sure that Mac is probably the same. Static linking has its place, but not for everything. dll save space. If you have all static programs on your machine all programs would get to be big giant monsters that were memory hogs as well. You would not be able to dynamically load and unload dll's either. Sure you may have a faster program, but that extra speed would not be all that much to a shared object and ususally is not needed.

      This is really off topic.

      Now about rpm and apt-get which is what this was really about. RPM does allow you to save configs, that is whay I usually have all these .rpmsave files after I upgrade a program. I think it would be nice if there was a switch that could be passed to rpm like 'rpm -Uvh --keepconfig .rpm` to save my current configuration file without creating the rpmsave files.

      rpm is not perfect. debs are not either. Last time I tried to install debain it did all its package checking at the time I selected the package rather than let me select the packages and then when I was ready to install tell me what dependancies I missed. I like rpm cause I think it was easier to learn than deb's, just my opinion though which where i am I am entitled to!

      Now apt-get may work with rpms. This is good. So when does that project get started?

      A second feature that would be real nice in rpm is more than just an rpm problems. It is a *nix make problem. Makefiles are not all the same. Some packages use automake and autoconf to generate the Makefile while some people just use make. Then there is really no way to know what it being installed if you are not the packager and without looking at all the sources. If I download a tar.gz and want to have an rpm out of it making that specfiles can be a real pain in the but, and half the time you can never be sure that you got all the files correctly. There has got to be a better way! If a program is in perl it may not use configure scripts it may just use a perl script. Maybe what needs to happen is a concerted effort into creatinga new system management tool. One that takes a snapshot of the system before a package is going to be insatlled and then one that takes one after. Window is doing something like this and allowing users to go back to a given point in time. So you could take a snapshot of the system before you install a program and then after you install it you can see what is changed. If rpm had this capability rpm would see what files had changed after you installed some programs ie after you do a make install or whatever. Those changes could be updated in the rpm database. If something failed the rpm database could roll the system back to before the fiels were installed. It needs some way of doing this. Maybe a program that could be turned and off at will. You could turn on the system file watcher and after you do a make install it would give you alist of fiels that have changed. It would have to be smart enough to ignore /proc of course and /tmp (or configurable to ignore certain directories) hmm ....

      I don't want a lot, I just want it all!
      Flame away, I have a hose!

      --

      Only 'flamers' flame!

    3. Re:Packaging is just plain dumb by josepha48 · · Score: 2
      True windows programs do use there own dlls. But they are dll or dynamically linked libraries. But they also use the system dll's. does MFCdll rign a bell? It shoudl it is the foundation of lots of windows programs. As well as many other shared dll. OLE or 'object linking and embedding' woudl make IE a huge monster.

      As I said I was not sure about mac. however you say Mac programs are staticly linked, in that when you install a program, it's just one large application that functions on it's own,. Installing into one folder is not the same as statically linked. Statically linked means that the dlls are part of the executable. Im sure that if you install programas on a Mac and it is not one file that gets installed you are useing shared objects.

      What you are actually talking about is 'where' prorgams are installed as opposed to how programs are compiled. 'static' and shared refer to how are program is compiled not how it is installed.

      Now if you look at a RH distribution. They are working on that one putting things in one place. Part of that problem stems from the unix file system. It is inherently flawed. It is flawed in the fact that it was set up so that if you want to test software you install into /usr/local/{bin,lib,sbin, etc} if you are installing into the sytem you install into /usr/{bin,lib,etc}. This comes from early UNIX not the packaging system. In looking at redhat most of a program gets installed into /usr/lib/ and then the executables are in /usr/bin. This is done cause /usr/bin is in almost everyone path. If they kept all teh executables in /usr/lib/ then you woudl need to add each dir to your path and then logout and login to have the changes take effect or 'export PATH=$PATH:/usr/lib/` (assuming bash shell here) after each install. Maybe someday people will do that under unix. Maybe the tree will be /usr/packages and then set the env for the system to include the new program and all. Each package then can have a bin,lib. The problem with this is that you eventually will run out of env space when your path gets to be 30 pages long.

      I don't want a lot, I just want it all!
      Flame away, I have a hose!

      --

      Only 'flamers' flame!

    4. Re:Packaging is just plain dumb by Tassach · · Score: 2
      Static and dynamic linking both have their uses. Neither one should be used exclusivly. Dynamic linking makes sense for pervasive code -- glibc is a perfect example for this. If 25% of the programs on a system need a common piece of code, then it makes sense to dynamically link that code. If only a half-dozen programs need it, it should be statically linked.
      For the desktop market, I agree that compatability is far more important than efficiency or elegance. If you are selling Barbie's Magic Funhouse for Linux, you want to make sure that it works under as many different configurations as is possible. Windoze software is pretty good at this -- Joe Sixpack can stick the Barbie's Magic Funhouse CD into the drive, hit the install button, and be fairly certian that little Suzie isn't going to be dissapointed on Christmas morning.

      Personally, I think a full-blown desktop is overkill for the average consumer. The needs of most people would be better served by a console-like device (Think Playstation 2 / X-Box). The OS it runs is irrelevant to the user -- all they ever see is the application they are running. You want to surf or send email? Stick the Netscape CD in and away you go. Want to write your term paper? Put in the StarOffice CD. Want to play a game? Stick the game CD into the slot. Maximum flexibility, minimum fuss.

      Geeks and techies need full-blown computers; Joe and Jane Sixpack don't -- they want somthing that's as simple and reliable as a video game console or a VCR, and even that is pushing some people's capabilities to the limit. (Flashing 12:00 syndrome, anyone?)


      "The axiom 'An honest man has nothing to fear from the police'

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    5. Re:Packaging is just plain dumb by MrBogus · · Score: 1


      95% of what Microsoft installs in your system folder:extentions are shared libraries, and that is the Apple recommended place for them.

      The fact that only one major Mac vendor uses shared libs is pretty sad. What's even sadder is that the userbase complains about it. What's even more sad is that some users are complaining about MOSX's lack of an 'extension manager'.

      (They are conditioned to believe that "Extensions" are all INITs that patch the OS, which has never been true.)

      --

      When I hear the word 'innovation', I reach for my pistol.
  28. Re:One thing I hate about RPM by Abigail · · Score: 2
    people EXPECT perl to be in /usr/sbin/perl

    sbin??? I seriously hope your users don't expect a statically linked perl. As for the "right" place of perl, there are many. /usr/bin/perl and /usr/local/bin/perl are common, depending whether your vendor shipped perl with the OS or not. However, another common place is /opt/perl; common enough for perl's configure to use a different file layout for installation prefix paths with and without perl in them.

    There is a reason for (almost) everything in *nix based systems, including the organization of directory structures. this was all "planned out" - well evolved actually

    It maybe be evolved, but it has evolved in a huge mess. There's /bin and /usr/bin, and /sbin and /usr/sbin. Where do we find a shell? On some systems, in /bin/sh, others quote some standard and put it in /usr/bin/sh, and yet other systems have /bin symlinked to /usr/bin. And binaries go in bin directories, while libraries go in lib? Sure, but what's sendmail doing in /usr/lib then? /etc is for configuration files you say, but what are all those executable programs doing in /etc and below? (Some systems have more of them than others).

    Every UNIX vendor and every sysadmin has its own idea of a proper layout. And the result is that you have some vague idea where a certain file might be located, but there's a myriad of exceptions.

    You are in a maze of twisty little Unices, all different.

    -- Abigail

  29. Thanks for that by pwhysall · · Score: 1

    I will take a look. Told you I was being dumb :)

    This perhaps needs to be mentioned more clearly in the handbook section on ports; even better, wrap it up in a shell script so dummies like me can do "sh /usr/ports/updateports.sh" or something and all the hard bits are done for me...

    A platform-agnostic packaging system is desperately needed. I'd do something about it myself if I didn't have the coding ability of a sleeping snail.
    --

    --
    Peter
  30. Re:in defense of RPM by Abigail · · Score: 2
    What happens when you have 20+ servers,

    You use NFS, AFS or some other shared file system. Or in case the servers are connected by sneaker net, tapes.

    -- Abigail

  31. Package management is a big subject by pwhysall · · Score: 1

    If you've ever used a Real Operating System such as VMS or even maybe a not-so-Real one like Solaris, you'll find that the package management tools are pretty good - and vast wads of documentation are available for them.

    Naturally, VMS has the best one (PolyCenter) but the pkgtool that Solaris has isn't bad either.

    But the point is these tools are not akin to a bootloader in simplicity because the problem they attempt to solve is not a simple problem.
    --

    --
    Peter
    1. Re:Package management is a big subject by afc · · Score: 1

      I wouldn't go sofar as calling Solaris package tools good. Useful perhaps, but good? Nah....
      --

      --
      Information wants to be beer, or something like that.
  32. Re:I dont' see what the big deal is... by planet_hoth · · Score: 1

    How about...

    rpmfind gnucash

    That'll take care of the dependencies for you. Or even better, use Helix Code's updater (of course that only covers certain desktop apps currently.)

    --

  33. Re:no need to change RPM to be more like Debian by jetson123 · · Score: 2

    That's not quite what I meant by "function". The dependency is still on something called "smtp-daemon". If something with that name is there but it doesn't function in the way that the package expects, it's completely undefined what happens. Maybe the user will get an error message at some point, or maybe his mail will just disappear. Depending on a package called "smtp-daemon" or on a file called "/usr/lib/sendmail" both is error prone.

  34. Hey dickless... by Graymalkin · · Score: 1

    yeah you. Making things easier to use (adding post-install script running to rpm) is NOT dumbing things down. You haven't done shit hardwork for Unix or anything else. Making the OS a challenge to use DOES NOT PROMOTE THE ASSERTATION THAT IT IS POWERFUL. If the OS or the system-level tools are a crudge then the system is useless to anyone who wants or needs to get real work done. Moving files back and forth and listening to MP3s is not real work. Administrators also do not like difficult to use systems, it makes their job ten times harder. Having a single program keep track of all your apps and files needed by the system is a great boon to someone without an infinite amount of time to write, debug, test and impliment a script to do the same thing. Hey is your mom calling? You better go do the dishes.

    --
    I'm a loner Dottie, a Rebel.
    1. Re:Hey dickless... by cculianu · · Score: 1

      Based on your posting, I can tell that you are truly a gifted person with a special talent for expressive language. Have you considered a career in writing? Or will that not fit with your busy schedule cleaning toilets?

  35. Re:No one tackles the hard problems by PurpleBob · · Score: 2

    On a slightly different topic, how is it that everyone's getting along so well on unstable? I tried 'apt-get dist-upgrade' on unstable (after installing a fresh Debian system) and the next time I rebooted, my system was so screwed that I decided to wipe the drive and start over.

    I was somewhat wondering how safe it was that it was installing IPv6 stuff in netbase as I saw it scroll by, and sure enough, after the reboot, the network didn't work. And not having access to the network somewhat left me stranded.

    Was this an extreme circumstance, or is this the kind of thing that eventually happens when you run unstable?
    --
    No more e-mail address game - see my user info. Time for revenge.

    --
    Win dain a lotica, en vai tu ri silota
  36. ever tried rpmfind? by beacon · · Score: 2

    It's not perfect but it's some of the way there. It also has autoupdate functionality in the latest versions.

    ------------------------------
    [ from the rpmfind website ]

    $ rpmfind -q --upgrade balsa
    [search for approx 30 seconds ... 28.8 Kbps PPP connection]
    Installing balsa will requires 9574 KBytes

    ### To Transfer:
    ftp://rpmfind.net/linux/freshmeat/libpng/libpng- 1.0.1-1.i386.rpm
    ftp://rpmfind.net/linux/redhat/redhat-5.0/i386/R edHat/RPMS/ImageMagick-3.9.1-1.i386.rpm
    ftp://rpmfind.net/linux/redhat-labs/gnome/suppor t/RPMS/giflib-3.0-2.i386.rpm
    ftp://rpmfind.net/linux/contrib/hurricane/i386/g iflib-3.0-4.i386.rpm
    ftp://rpmfind.net/linux/redhat/redhat-5.0/i386/R edHat/RPMS/libgr-progs-2.0.13-4.i386.rpm
    ftp://rpmfind.net/linux/redhat-labs/gnome/devel/ 1998052417/RPMS/imlib-1.4-1998052414.i386. rpm
    ftp://rpmfind.net/linux/redhat-labs/gnome/devel/ 1998052417/RPMS/glib-1.1.0-1998052414.i386 .rpm
    ftp://rpmfind.net/linux/redhat-labs/gnome/devel/ 1998052417/RPMS/gtk+-1.1.0-1998052414.i386 .rpm
    ftp://rpmfind.net/linux/redhat-labs/gnome/devel/ 1998052417/RPMS/gnome-libs-0.13-1998052414 .i386.rpm
    ftp://rpmfind.net/linux/redhat-labs/gnome/devel/ 1998052417/RPMS/balsa-0.2.0-1998052416.i38 6.rpm
    Do you want to download these files to /tmp [Y/n/a] ? : n
    $

  37. A pet peeve and a helpful document by mosch · · Score: 2

    A rich XML based syntax? Just a pet peeve of mine, but why does everything have to be XML based? It's like Microsoft saying that C++ is the first language to have the ability to have XML-based comments embedded in the code. Yep, it is. But is =head1 really any better or worse than ?

    As for your requests for functionality, perhaps you should read Installation and package tools document, version 1.0 by jkh over at the FreeBSD side of the world. While I know I'll be burned at the stake for saying good things about FreeBSD on slashdot, that document has some excellent thoughts which the Linux world could also benefit from.
    ----------------------------

    1. Re:A pet peeve and a helpful document by Enahs · · Score: 1

      >but why does everything have to be XML based?

      Amen. And, besides, XML is essentially an over-glorified style guide. Yeah, it's great that so many folks are working toward a single style for writing files. But not everything has to be XML. XML can't walk my dog, either, even if I write a definition for . :^)

      >While I know I'll be burned at the stake for
      >saying good things about FreeBSD on slashdot

      Some brilliant person decided to flame you for apparently being a karma whore. This strikes me as a statement of truth. :^) In truth, the *BSD and Linux worlds share more than the average 13-year-old-mentality Slashdot reader realizes. I honestly wish we had learned some more FreeBSD lessons by now. :^) I don't envy them, though, since their system seems to go at the Deb...er, snail's pace at adopting new features. Ah, well. Perhaps we can find a happy medium someday. :^)

      --
      Stating on Slashdot that I like cheese since 1997.
    2. Re:A pet peeve and a helpful document by Olivier+Galibert · · Score: 1

      XML because after a while everybody becomes tired of writing Yet Another Parser[tm], while slapping in the libxml works perfectly.

      OG, converting all the config files of his program to XML

  38. Re:Hmm, auto-update anyone? by Dionysus · · Score: 1
    I think that it's time the linux community stop wasting time on frills and spend more time on what they do best: building a stable OS with good, solid and secure code.

    Who are you to tell what the "Linux Community" is should or shouldn't do? If the both KDE and GNOME teams decide to spend the rest of their natural life writing notepad clones, guess what? You don't have a say in the matter.

    You're not paying them to do what they're doing. And just because you happen to use somebody's program, don't pretend that the author 'owe' you anything.

    As to dependencies. You must have a lot of time on your hand. I fail to see what I can learn from the fact that application Foo depends on library FuuBarLib.so.1.0.2.5-1 and FaabarLib.so.3.32.102.2, but won't work with FuuBarLib.so.1.0.1.4-3. Of course, since most of the time, the documentation (if there are any) only mentions that it depends on FuuBarLib.so.1.0.2.5-1. Nowhere does it mention where this particular library is found, nor what the package it might be found in.

    And what are you doing, using RPM if you want to know what is installed on your system? Just roll your own distribution and feel really 3L337.

    Remember, just because something is properly installed on your system, doesn't mean that you can't download the sourcecode and check it out. You just don't have to do it if you don't want to.

    --
    Je ne parle pas francais.
  39. I didn't read it? Really? by hatless · · Score: 2

    From the Freshmeat editorial:

    RPM packages can't be configured interactively. They won't ask you if you want to keep the current version of a configuration file, install a new version, or compare the two versions. They won't stop services before updating and restart them afterwards. The MTA won't ask you a few questions and configure itself. They won't even issue a warning to the administrator. We need to walk one more step to have it work properly.

    ...it would be a valuable addition to RPM to provide some mechanism to configure all unpacked but unconfigured packages. Pre- and post-install scripts, as well as pre- and post-removal scripts, should be executed appropriately to allow smooth upgrading of running services. Package maintainers would have to add such scripts to their packages and make sure they'll not break the system the package is being installed on, keeping in mind the diversity of RPM-based distributions out there. Auditing, predependencies, package flags, and auto-deconfiguration functionality must be implemented.

    This doesn't sound like someone acquainted with RPM's script-calling features to me.

  40. Yep I had the SDK by infiniti99 · · Score: 1

    DirectX 5.2 I think. It came with a book I bought called "Inside DirectX" by Microsoft Press. I believe they give it out for free at the DirectX website though.

    -Justin

  41. Re:rpm by Dionysus · · Score: 1

    There is, dpkg. If you don't want to use Debian, Stormix and Corel is using this package system too.

    --
    Je ne parle pas francais.
  42. Re:Linux is a glass statue when it comes to stabil by JimDabell · · Score: 1

    One famous saying that applies to Linux is this: too many cooks spoil the broth.

    Do you know what that saying even means, or did you just stop thinking at the "too many" bit? Don't worry, I already know the answer.

    With the thousands of driver modules, library modules, and executables, Linux is one big mob of code.

    And you think that it would be less code if the drivers, libraries and programs were globbed into one giant 2GB file? And just as flexible? And just as maintainable?

    It's surprising that it's as stable as it is;

    Excuse me? Being split up into clearly-defined modules, each focused on a single task, is likely to make something less stable in your opinion?

    it's not surprising that it's as hard to upgrade as it is.

    Hard to upgrade? If you want just a couple of things installing, then it's not hard to click a few RPMs or just use apt or whatever. If you want to upgrade across the board, then just pop a CD in, boot from it, and most distributions will ask you if you want to upgrade. I don't see Windows being any better in this respect, yet I see it as being less flexible.

    When I begin coding software

    Oh, so you are new to writing software? I never would have guessed, I mean you show such a flair for good design.

    I will keep modularity to a minimum

    And reinvent the wheel every time you write a new program? Or do you think that if you link statically, your code isn't modular?

    and I will never code for Linux or release my source code.

    One word: gutted.

    Since you are new to software development (assuming you aren't trolling), how about you accept that there just might be the slightest chance that people with more experience and skill have put more than a little thought into how both systems work. Then examine how each system works and learn from it. I'm pretty sure you'll find that Windows is a lot more modular than you think.

  43. Re:Business Logic by Dionysus · · Score: 1

    Well, considering the fact that RedHat and the commercial distributions business model is not to make money on the CD but rather the services, it shouldn't matter much.

    And even though apt-get is great, I wouldn't be using it to upgrade a whole distribution if I was on a dial-up line (I'm sorry, but I can't wait 15 hours+ to upgrade/install my system).

    --
    Je ne parle pas francais.
  44. Re:The Fundamental Mistake here by AviN · · Score: 1

    Because it would be very difficult for Redhat to switch their entire distribution to dpkg. It would be much easier for them to add the additional functionality, and just update the packages to support it, rather than remaking them from scratch.

    Of course, I'd *much* rather see everyone switch to dpkg (I'm a Debian user myself), but I just don't think that's going to happen.

  45. Re:No one tackles the hard problems by dlkinney · · Score: 1

    get reviews of a package?

    Ah yes, all programs expand until they read mail. Or in your case, you're asking for the package manager to read newsgroups and mailing lists, so it'd be a newsreader too. Maybe we should just integrate this package manager of yours into emacs.

    Why does the packager have to write the reviews? Couldn't there exist a site that allows users to rate packages the way IMDB.com rates movies, Amazon.com rates books, or Flashline.com rates components?

  46. Re:One thing I hate about RPM by mosch · · Score: 2

    chattr +i makes the file immutable, +u makes it so when the file is deleted, the contents are saved.

    or if you're in the BSD land, then it's chflags schg to make the file system immutable, sunlnk to make it system undeleteable, or ucgh/uunlink for user immutable/un-deleteable versions of the above.
    ----------------------------

  47. Re:No one tackles the hard problems by AviN · · Score: 1

    > On a slightly different topic, how is it that everyone's getting along so well on unstable? I tried 'apt-get dist-upgrade' on unstable (after installing a fresh Debian system) and the next time I rebooted, my system was so screwed that I decided to wipe the drive and start over.

    Well, I'd imagine upgrading from stable to unstable is likely to require a lot of reconfigurations. To maintain a system running unstable is no big deal though.

    > I was somewhat wondering how safe it was that it was installing IPv6 stuff in netbase as I saw it scroll by, and sure enough, after the reboot, the network didn't work. And not having access to the network somewhat left me stranded.

    Yikes. :-) Never tried IPv6 in Debian. I personally don't think I've ever ran into a problem from installing a new unstable package that I wasn't able to repair, though.

  48. Re:Linux is a glass statue when it comes to stabil by AviN · · Score: 1

    So you're saying it's easier to debug code when it's all bundled together in one big mess, then when it's divided into different pieces, each piece serving a different purpose?

    I'm not really much of a programmer, but I know enough about programming to know that it's much easier to debug a modularized program rather then a program which is one big blob of code.

    Correct me if I'm wrong, but what you seem to be saying is that Linux *should* be unstable because it's modularized ("one big mob of code"), and that Windows *should* be stable because it's less modularized and not seperated into individual packages. Is that right?

  49. Re:Read the article before you moderate (or post) by mattdm · · Score: 1
    The .deb packaging scheme has flaws of its own. It's more complicated to deal with multiple sources and multiple patches in one package, and as the article says, you can't have two versions of the same package (different kernels, for example) installed alongside each other.

    --

  50. Re:No one tackles the hard problems by Eladio+McCormick · · Score: 1
    ask why a new version of a package was released?
    see a list of changes between old and new versions?

    Grab the version of aptitude on unstable. In the screen that shows the data about a package, you can hit 'C', and it will download and display the Debian changelog for it. This is the closest feature to that available.

    Unless you count the fact that in a BSD ports style system, you can look at everything in the source before you decide to build and install...

  51. Office 2000 by Graymalkin · · Score: 2

    Yeah on a board full of 15 year old Linux zealots mentioning Office 2000 is silly but hey, fuck you. Office 2000 has a very very very good installation/management tool, one that I have not seen equaled before (not that one doesn't exist, I just haven't seen it personally). You get to choose which components to install, it checks for all dependancies and will fix things that end up broken, you can have part of the installation on CD part on disk and park on the network and it will all work pretty seemlessly, and you can keep everything updated and good to go from the internet. I really wish the RPM system could do all of that.
    Of course Office was designed to work with the installer which is a big help there. I think that goes to show the people putting out a program are responsible for the install and setup of said program. Know the limitations of your distrobution medium, don't write shit that a majority of people can't use because they don't have some exclusive kernel hack or obscure/outdated/stupid library (that is unless your intent is for people not to be able to use it without these things). I remember back in the day of Windows 95 when people wanted to do graphics or animations in their apps they would just use Quicktime because it was well established and meant less work for them. The problem was that everyone used a different version of Quicktime and installing a program fucked everything up. The situation shined some light on the major drawback of the installation wizard for Windows, the lack of context logic which would let you keep your updated version of a dependancy and not fuck things up because of it and that programmers were being lax with their dependancy management. The article points out the same problem with RPM and how things are going now. I hope everyone learns their lesson and package systems manage whole systems well (not just a single program) and programmers make sure their shit works unexclusively.

    --
    I'm a loner Dottie, a Rebel.
  52. Various issues by Cato · · Score: 2

    Your list of functions is useful but it includes a great mixture of different types of things, and it's worth breaking them out:

    - some that depend on Web-based, collaborative package reviews (which don't really exist yet and IMO are a big need for open source). This needs addressing, ideally using websites that have proper XML tagging so that programs can extract the reviews and search/analyse them more easily.

    - some that depend on the package (e.g. help files or intro docs, and the ability to browse package docs before installing).

    - some which are true package management issues, e.g. don't install packages that would require upgrades to libraries already in use. This is an example of policy - it would be helpful if a standard approach to such policies could be defined, then the various packaging tools could make sure they support this, and the GUIs could make it easy to specify this.

    I think a lot of these issues are being addressed, but in a piecemeal fashion, e.g. Freshmeat.net is great on listing packages but not on reviews, various packaging GUIs may make it possible to more easily browse docs and specify more complex policies.

    It might be useful to have a packaging framework initiative that tries to encourage various efforts in these areas and acts as a central point of information and even standards (e.g. standardised XML tags for reviews).

    My main issue with packaging tools is that even with GUIs they require a lot of user expertise - first of all, where to find the RPM, then checking it's the latest version and compatible with your system, then which mirror to select for a fast download (a separate problem but one that should be automated, see the SPAND project).

    Then there's the issue of managing or archiving the downloaded packages once installed. It would be useful if there was a log file of all installed packages + how they were installed, held in the archive directory, so that you could just back up this directory to get a fairly quick and dirty restore of this system (or to ease mirroring installs on other systems).

  53. Re:One thing I hate about RPM by Enahs · · Score: 1

    >One of the problems with RPM is that they arean't >always relocatable. The packager has to give you
    >the option for that to work. Now I don't
    >know whether or not that works with quake, but if
    >you take enlightenment as an example, it isn't
    >relocatable.

    Sorry, I thought it was important to quote the whole thing. :^)

    This is exactly true. The thing is, RPM's powerful feature set is dependent upon the packager to implement features like this.

    You've stumbled upon a debate that's been raging a while: how do you make a package manager that can put files in the filesystem in a relocatable way and still not break anything and everything? I personally vote for a re-work of Encap, but that's just me. :^)

    --
    Stating on Slashdot that I like cheese since 1997.
  54. I agree completely! by spitzak · · Score: 2
    The responses seem to be these:

    1. "Windows uses shared libraries" But I don't think installation on Windows is too great either. They invented the term "dll hell".

    2. "But glibc is huge!" I don't think he was talking about glibc or xlib or anything else you always get on a stock system. He's talking about libart and gnome libs and Qt: the files that are causing the problem! I don't see any reason why these cannot be static linked.

    If we are worried about memory, add a hash encoding scheme for readonly pages so identical pages are in the same memory. This will result in probably more savings than shared libraries. If we are worried about disk space create a file system with the same type of hashing.

    Also, what is wrong with source code? How about designing a "packaging" system that COMPILES the program. I believe users are willing to wait for the compilation, if only it was automatic.

    The files for a package can all remain in a directory despite the problems with the Unix file system if you use symbolic links from the proper place to the package directory.

  55. Yes, it is a little difficult by AintTooProudToBeg · · Score: 1

    To install Joe's program, you need Bob's kernel hack, but for Bob's kernel hack, you've got to have Suzy's patches, but Suzy's patches only work with a year-old kernel, unless you get Mike's patches to Suzy's patches, but even then, those conflict with Jeff's drivers, which can be resolved only by installing Nancy's patches...

    From http://www.spatula.net/proc/linux/index.src

  56. Re:The best distribution by Enahs · · Score: 1

    Encap supplies that kind of functionality. The following example implies that you have a more-or-less properly packaged source tree (i.e. autoconf & buddies)

    ./configure --prefix=/usr/local/encap/[packagename]
    make; make install
    encap

    and encap makes symlinks to /usr/local/bin, /usr/local/lib, etc. When it comes time to uninstall the package, you simply remove the directory and run "encap", which removes the symlinks associated with the package.

    It saves an incredible number of headackes and (you'll appreciate this, drsoran) a lot of *time.* Especially if you don't have a lot of itme to burn. (Sorry; couldn't resist a Dr. Soran joke :^)

    --
    Stating on Slashdot that I like cheese since 1997.
  57. POSIX !! by sbryant · · Score: 2

    Looks to me like everybody missed one: the POSIX package format. It has been in existance for quite a few years now and is used by various other OSes. There was even a Linux version (done by Unifix, the same people who did the POSIX certified distro).

    It's been at least 2 years since I used the POSIX package management tools, but as I recall, it did all the dependancy stuff, pre/post install scripts, in-place upgrades etc. It even knew about architectures. Packages could be local files, on a tape device, read from a server and so on.

    No doubt, it doesn't do everything you ever wanted, but I'm not aware of any readons why it would be a bad alternative to RPM/DPKG.

    -- Steve

  58. Re:The Fundamental Mistake here by AviN · · Score: 1

    The original poster seemed to be implying that we'd run into compatibility problems by making additions to RPM. I provided a simple way to keep compatibility problems at a minimum. My post had absolutely nothing to do with compatibility between RPM and dpkg. Perhaps I should be the one telling *you* to say something useful.

  59. Conectiva RPM! by cesarcardoso · · Score: 1

    Conectiva missed the whole point of APT. APT is not about automatic updates of the system. It's all about freedom to trim the system (/etc/apt/sources.list) so you can (i) use faster mirrors (ii) use new sources from third-party sites so third-party software can also benefit from APT.

    Given the early record of Conectiva in trying to do a closed Linux, I wonder if you can expand their APTized RPT. I don't wonder, I'm certain that you can only use THEIR site. And their ftp sucks so bad that you can't resume downloads!

    And one thing more: this ensures Conectiva users can only use Conectiva RPMs. (I doubt RedHat will use it, and have my reserves if other distros RPM users will use it also).

    --
    Cesar Cardoso can be found at cesar at zyakannazio dot eti dot br (or at least I believe so)
    1. Re:Conectiva RPM! by afc · · Score: 1
      Por curiosidade, quando foi que a Conectiva tentou introduzir (epa!) um Linux proprietário (minha tradução livre do seu "closed Linux")?

      Ninguém impede que um usário de RedHat instale RPMs da Conectiva (ou da SuSE, da Mandrake, da Caldera ou do seu Zé da padaria). Pessoas sensatas, entretanto, não misturam RPMs de diversas distribuições a menos que estes sejam explicitamente alardeados como "independente de distribuição").
      --

      --
      Information wants to be beer, or something like that.
    2. Re:Conectiva RPM! by cesarcardoso · · Score: 1

      Um pacote que não vem com o fonte do kernel (Conectiva 4.2) e um instalador que não permite escolher quais pacotes instalar é mais que suficiente, não?

      E o fato de RPMs de distros diferentes não se misturarem por acaso dá à Conectiva o direito de criar um RPM ultrapróprio?

      --
      Cesar Cardoso can be found at cesar at zyakannazio dot eti dot br (or at least I believe so)
    3. Re:Conectiva RPM! by marcelo_wt · · Score: 1

      Oi, O CL 4.2 servidor tem o pacote kernel-source-2.2.13-9cl.i386.rpm, que inclúi o source do kernel. O instalador gráfico não permite a seleção de pacotes, mas o modo texto permite. E o que o impede de instalar/desinstalar pacotes após a instalação?

    4. Re:Conectiva RPM! by PlainSpooky · · Score: 1

      Keep in english! Our non-brazilian friends must participate! :) The problem is not use RPM or DEB. The problem is that Conec-shit is interested in remove the "RedHat clone" image. And try to make something different as "assimilate" brazilian Linux Experts. Get off RPM is the first step! :)

  60. Package Management and file management by RottenApple · · Score: 1

    Well, although I've use Linux for long time, S/W management on Linux doesn't look as smooth as that of Mac or Windows.

    For example, although there is no package management program on Mac, you always have feeling that you know what you installed, and where they are, etc. But on Linux, although you know that, but you feel that something is not perfect and you feels as if you miss something.

    There are lots of programs are installed when you install Linux, but it's common that people don't know what are installed and what they are.

    I think any package manager or Linux file/directory configuration should address it.

    Isn't it strange that there is no "Installed S/W list" or something like that on Mac, but it's easier to track those on Mac?
    ( Windows has one. It's Add/Remove S/W control panel. )
    And.. on Mac, you can safely remove and copy your apps freely. But on Windows or Linux you can't.
    Especially on Windows. Mac S/W doesn't locate extension files on system folder except for when it's really necessary.
    Windows is not at the level of Mac in that sense, but file management on Windows feels easier than that on Linux.
    What is missing on Linux?
    Hmm..

  61. Re:Linux is a glass statue when it comes to stabil by AFCArchvile · · Score: 1
    "So you're saying it's easier to debug code when it's all bundled together in one big mess, then when it's divided into different pieces, each piece serving a different purpose?"

    That's what remark lines are for, to index the source file.

    My reason in saying that a modular setup is unstable is in the fact that the upgrading of one module at a time leads to instability from module incompatibility. For example, I installed a mod for Unreal Tournament (more modules for an already overmodularized game). I thought that it stank, so I uninstalled it. Next thing I know, the uninstaller removed a critical module inside a module, so I was forced to re-install the entire thing! That's why I hate modular setups; because of the christmas light factor: if one module goes dead, then the entire program goes kaput.

    --
    "Ancillary does not mean you get to rule the world." --U.S. Circuit Judge Harry Edwards, speaking to the FCC's lawyer
  62. Re:see this article about a new 'bsd package forma by Enahs · · Score: 1

    I don't know; maybe it's just me, but I think that packaging systems are just a workaround for the fact that UN*X-like filesystems weren't really meant for folks installing/uninstalling a bunch of crap all the time. UN*X machines seem to be designed to be kinda like a telephone: you use it, you occasionally have to make moderate changes to change with the times, but not much happens in the way of change.

    I rather like FreeBSD's way of doing things; the fact that you can rebuild a system by issuing a single "make" just gives me goosebumps. :^) It'd be kinda nice if the *Linux community were that organized. Unfortunately, there's not that kind of organization; we're not as bad as *BSD but not as good as FreeBSD, if you know what I mean.

    Still not sure? What I mean is that there's not one standard distro, like, say, call it FreeLinux. Have a standard committee (yeah, I know; people will be screaming "Debian!" and they can scream all they want.) and build *one* source tree.

    The only thing I would change about the FreeBSD-style build is to allow for changes to the base without upsetting the main build. Perhaps have standard stuff like the kernel, libc, gcc, X11, etc. as part of the standard build and maintain things like KDE, GNOME, specific graphic support like Glide drivers, etc. separate. These should be separate in the sense that one could pull them out easily. How could that be done? Well, I'm partial to Encap, but that's just me. :^)

    Yeah, I think that's sad that only one comment was made on the new BSD packaging system, and an abusive one than that. Yeah, the folks that read Slashdot are kinda biased. :^) The only reason I've been aware of the *BSD world lately is that I've been trying to build a set of standard BSD utils for Linux, mainly for shits & giggles. :^) (BTW if anyone is working on this and has any clues for me, let me know.)

    --
    Stating on Slashdot that I like cheese since 1997.
  63. Re:I don't think so by Dwonis · · Score: 1

    I've never *ONCE* *EVER* had apt core-dump on me. Expecially since most of apt is shell scripts.

    Debian's "must be free" policy is just fine. Debian also distributes "non-free" packages (not officially part of the distro, but still very easy to get at), if you want them.
    --------
    "I already have all the latest software."

  64. Re:linux-ports? by spankenstein · · Score: 1

    I am SO for something like this! I have been a faithful Debian user for 3 years, but I work with RedHat, SuSE, etc. at work everyday. I've also had some decent experience with FreeBSD and the ports collection ROCKS!

    I really like Debian's packaging and tools (yes the tools rock but the Packges and the system as a whole is what makes apt-get so neat) I also really like binary packages with simple default configs and dependency checking.

    Ports has most of this already. If there was a way to adapt ports and source .debs I would be in heaven!

    I have seriously considering porting ports to Linux, but currently don't have enough free time to spearhead such a movement.

    If the BSD's standardize on the same ports... why not move it to linux and have that in common across ALL platforms. I'm sure that you could get it to check the dependencies of the existing package format so you don't needlessly compile unneeded things.

    This woould also be a great way for commercial software makers to distribute their software too. make can handle binaries too.... just have the "make world" just do the binary install. All they would have to provide is a tarball of their ports directory.

    Using make and some external utilities (dpkg and rpm for dependencies) can and DOES make for a very robust package management system.

  65. Re:Neither. by dlb · · Score: 1

    "I actually use Encap on a Linux-Mandrake box(!) to keep track of what packages I've installed by source, rather than making my own RPMs."

    Hey, now thats not a bad idea!

  66. Re:The Fundamental Mistake here by Arker · · Score: 1

    Well we aren't talking about RedHat here (it would be embarrasing for them to do this, and counterproductive as well - they designed RPM for the needs of the market they are going after, and it servest them fairly well) but Conectiva - a very different distribution designed for a different market. It is Conectiva that desires the apt functionality - RedHat does not. And yes, it would be a pain to switch over in midstream, but it would be equally a pain to try and hack RPM into doing things that it's designers consciously eschewed - AND THEN deal with the support nightmare created by using what amounts to a different architecture by the same name - i.e. other rpms will no longer work, but there will be no readily apparent clue to the users that they won't or why they won't.

    When a fundamental decision was made in mistake, correcting it after is always a pain. Every package in the distribution will have to be remade either way. Compatibility with packages from other distributions will be broken either way..

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  67. Re:Asshole by Enahs · · Score: 1

    No, no, no.

    You've got it all wrong. Yeah, I know you're trolling. Ya got me. You got the bastard who's karma is permanently stuck at 5. So bite me.

    How have you got it wrong? Well, I've watched people make comments about, say, *BSD in a discussion like this and get a (0, Offtopic) or a (-1, Troll) or something like that. Most of the time they're not. Why were they marked trolls? Because people like to rant enthusiastic with such witty comments like "Fuck you; we're talking about Linux not *BSD" and so on.

    What's wrong with the attitude? THEY'RE NOT THINKING!!! It never occurs to them that they might learn something. Ever, say, taken a look at the FreeBSD build tree? BRILLIANT! It's so simple a trained monkey could build it from source. Will we learn from it? Heck no; it's FreeBSD. (NOTE: smarter people will.)

    Putting the "I know I'll get modded down for this" usually ensures that the person reading the comment will stop and think before they start ranting, or, worse, the karma whores with new moderator status start knocking them down for thinking. (Bad person. Double plus ungood think!)

    --
    Stating on Slashdot that I like cheese since 1997.
  68. Re:One thing I hate about RPM by fsck · · Score: 1

    Windiots don't like to use the keyboard. Click. Click. Click.

    If Microsoft innovated an onscreen virtual keyboard, I bet Windiots would rather click on the keys with a mouse cursor, over using an archaic keyboard, 'cause those are only for DOS anyways.

    --

    Lars - ...I could always phone Linus when I had a problem.
  69. You, sir by pwhysall · · Score: 1

    are a STAR!

    This worked fantastically well.

    Eternal thanks and gratitude.
    --

    --
    Peter
  70. Err... by kackdrang · · Score: 1

    Real men compile themselves.

  71. Re:I will probably never code for Windows again by JKR · · Score: 1
    What are you gibbering about? Windows is perfectly happy with a command line build system, and if you really don't like using NMAKE, CL, LINK etc. then get CygWin and use UNIX style development tools.

    What's really cool is that MS developer tools are quite happy with '/' instead of '\' in things like include paths, so there's no problems using CL.EXE from Cygwin bash.

    Pity Sun's JDK can't do the same trick. Or gcc, for that matter.

  72. Re:You've Never installed a demo by Reality+Master+101 · · Score: 1

    Often the demoware writers will "hide" a registry key somewhere which they look for later, so that you can't do multiple demo installs (particularly for time-limited demos).

    That's a designed-in feature, not a bug. You may not like it, but blame it on the application software, not on Windows. Ditto to your other arguments.


    --

    --
    Sometimes it's best to just let stupid people be stupid.
  73. Re:RPM hits sweet spot of functionality and ease by cjwatson · · Score: 1

    Port lintian (Debian's implementation of the same thing). If you have a policy to work from, it wouldn't be that hard.

  74. The only way to get RPM on SYSV is inside an RPM by Vandenzob · · Score: 1

    How dumb can that get? You would think thye would provide you with a UNIX tar ball? A UNIX Sys-V pkg file? Or even the old detested CPIO archive? NOPE! The only way to get RPM for systems without RPM, that is every UNIX system apart from Linux, is to get an RPM package with the binaries compiled for your platform or an rpm with the source.

    Honnestly, I remember Linux as 40 diskettes install, way back when you compiled your own stuff and Linux wasn't that "pretentious" and quite open. Today I have the feeling Linux users don't have a clue about UNIX, just look at how un-portable some of the code is today.
    Why bitch like an old WWI veteran? Cause it's Sys-V that still brings the moohla home for the employed sysadmin.

    pkgtools are my choice. Anyone feeling for a port?

  75. Re:Off-topic, but I'll bite... by volpe · · Score: 2

    A few comments on remarks you made, in roughly the order that I encountered them:

    1) Nobody here says they defend a person's freedom "to do what they wish without being harassed", regardless of what it is that they wish. People defend a person's freedom to do the things that they ought to be able to do, and that's usually the result of a trade-off between the rights of the do-er and the rights of the do-ee.

    2) Your sexual *orientation* is not illegal, at least not in the U.S. If you're arrested, it's because of illegal acts you commit.

    3) Don't even THINK about comparing yourself to a holocaust victim.

    4) What technology would protect you from those who would harm you; who wishes to deny you said technology; and what do you mean by "harm" in this context?

    5) Yes, the word "pedophile" was hijacked just the way the word "hacker" was. "Pedophile" means, literally, "lover of children", and without its current twisted connotations, would more aptly refer to those who truly love children, such as their parents and grandparents.

    6) If the majority of pedophiles (current common connotation and usage, i.e. someone who desires sexual contact with children) have never done anything illegal with a child, it is because they have done the right thing and restrained themselves.

    7) I don't know what you mean by "valid" in the context of "[my sexual orientation is] just as valid as homosexuality...". An "orientation" is neither moral nor immoral. It simply is. Behavior is a different story.

    8) Nobody misuses the word "pedophile" to mean rapist or murderer. However, some pedophiles also happen to be rapists (which they can become simply by acting on their orientation) and murderers. What I find hypocritical is the fact that YOU are the one misusing the word "pedophile" to refer to someone such as yourself who, by your own admission, desires sexual contact with a child, when in fact the word should refer to someone who *truly* loves children and wants to protect them from people such as yourself who would engage in sexual behavior with them if they had their way. Your comments here are akin to those of a *cracker* who complains about the abuse of the term "hacker".

    9) If you truly had a deep understanding of children, you would understand, as the rest of us do, that children lack the maturity, wisdom, and judgement required to give INFORMED CONSENT to engaging in various activities, such as sexual activity, and that an adult, any adult, has too strong an authoritative influence over a child, any child, for a sexual relationship to be legitimately construed as "consensual" in any meaningful sense of the word.

    In conclusion, if you feel the urge to steal, but you refrain, then you can function in society. If you feel the urge to kill, but you refrain, then you can function in society. And if you feel the urge to have sexual relations with children, but you refrain, then you can function in society. But if someone can't resist the urge to have sex with children, then perhaps that person should take Dennis Miller's advice and commit suicide, or, as he put it, "just lean into the strike zone, and take one for the team".

  76. Re:no need to change RPM to be more like Debian by Phil+Hands · · Score: 1

    The package in question is "mail-transport-agent". There is a section of the Debian Policy Manual which defines the features expected in an MTA.

    If the feature you seek is within that policy definition of an MTA, then you can depend upon "mail-transport-agent" with confidence. If not, then you need to determine which other package(s) (real or virtual) satisfy your needs.

    If this hypothetical need is something that more than one package requires, then defining a new virtual package, defined in terms of that need, provides pretty much what you request.

    It would be entirely possible to break the features covered by mail-transport-agent into a whole list of feature-based virtual packages, but from expeience (in Debian) is seems that that is not in fact required.

    There are one or two very specific virtual packages in Debian, for example:
    c-shell - Anything providing a suitable /bin/csh
    wish - Anything that provides /usr/bin/wish
    which are effectively what you are calling features. Note, these are more than file dependancies, because they carry with them the requirement that the functionality of the file be "standard"

    --

    Debian: GNU/Linux done the Linux way
  77. Re:Linux is a glass statue when it comes to stabil by AviN · · Score: 1

    The issue here is that your uninstaller is broken. If you were using good packaging system (such as dpkg or RPM), this would not be an issue, because the "critical module" would not have been deleted. If you don't mind me asking, what packaging system were you using?

    And since when do Christmas lights break if one light dies?

  78. Re:it's not the format, it's the policies by cjwatson · · Score: 1

    In Debian, DFSG-freeness isn't connected to the filesystem structure at all. Non-free packages (say, Netscape) are still placed in /usr, because the Debian policy applies to free and non-free packages alike.

    The policy is what makes Debian so solid, mostly adhering to the principle of least surprise. The process is open and evolving, too.

  79. Re:No one tackles the hard problems by Anonymous Coward · · Score: 1

    "begin browsing the documentation for a package before approving a full installation?

    again, you're asking the package manager to do things that just don't make sense. Why not read up on the software, then install it? Or just install it, and if it's no use to you, do an 'rpm -e'."

    The difference here is User Centric versus System Centric computing. It's possible to do the things you are asking, but it's also possible for the package manager to do some of them. It's not unreasonable to ask for a package manager to provide the tools you would want when looking at a package.

    Why not have the manager open the man file? Link to the webpage? Provide an overview? Nothing here is impossible, but you make it sound silly for this guy to even ask for these things.

  80. Why can't... by electricmonk · · Score: 1

    ...everyone just use tar.gz? I mean, it's not that hard, just type

    $tar xzvf MyProgram.tar.gz

    IT'S NOT THAT HARD, PEOPLE!

    --
    Friends don't let friends use multiple inheritance.
    1. Re:Why can't... by be-fan · · Score: 1

      What happens when you uninstall it?

      --
      A deep unwavering belief is a sure sign you're missing something...
  81. RPM cannot be interactive. by mrsam · · Score: 2
    The thing is that RPM packages **cannot** have interactive install/uninstall scripts. Well, sure, you can create one of these things, however all you could do with them is use them yourself.

    All RPM packages shipped by redhat or any distributor (AFAIK) are **designed** to be noninteractive, so that the vendor's installer can load them up as part of a nice graphical installation script.

    And I think that's right. I think that if there is any complicated configuration procedure, it should be made part of the application's internal configuration screen. Package installation and uninstallation has to be as simple as possible, no more complicated then copying a bunch of files, and maybe running a simple script, or two. That's it.

    I don't want to turn Linux in 'doze, where you have to screw around with a bunch of convoluted questions during installation, then, after it's installed and you realize that you've fscked up, you have to go back and reinstall the bloody thing. No thanks.

    ---

  82. Re:linux-ports? by enedwaith · · Score: 1

    I must say that I have wanted to see a linux version of the *BSD ports tree. I prefer to work with source rather than precompiled binaries. I just think that, for me anyway, binary packaging systems are to easy to break. You can easilly add things to a system not going through the packaging system that will screw up the entire packaging system because they don't check if things actually exist on a system just if they have been installed with a package.

  83. Re:I wish I could do this myself, but... by itsbruce · · Score: 1
    Many of you will be familiar with GNU Stow, and maybe even some of you had tried it. Well, I have. It's pretty nasty.

    What's nasty (or cumbersome) about it? Simple and elegant, I would have called it. The only awkward thing can be getting the makefiles to do what they are told - and it's hardly stow's fault if people write kludged makefiles.

  84. Re:One thing I hate about RPM by LionMan · · Score: 1

    As I've said before, OOPS! I don't use perl, I just randomly see it being used around me. I'm a C/C++ person, so don't bug me with your little interpreted string parsers. feh! ;)

    --
    -Leo
  85. I tackled some of the hard problems by jab · · Score: 1
    ...at least on paper.

    tell the system to apply only security or high-priority fixes?

    ask for only packages targeted at beginners?

    These two problems (and many more not mentioned) can be addressed by having subdistributions. The could be a subdistribution of Debian that never changes except security fixes. There could be a subdistribution that only contains packages for beginners.

    What you are asking for is many different perspectives on how to organize software collections, and this can be done by a multi-tiered distribution system with many middlemen. I finished a thesis on this subject in 1997. Just read chapters 1,2, and 5 -- the rest talks about a specific design/implementation to address the problem that was, um, lacking.

    1. Re:I tackled some of the hard problems by Chalst · · Score: 2

      I had a brief scan of those chapters. It looks to me that you are
      looking at package management mostly from the point of view of the
      individual user working within a relatively homogeneous local system.
      Is this right?

  86. Re:The Fundamental Mistake here by Dwonis · · Score: 1

    I'm sorry. I read your post again, and I'm not exactly sure what I was thinking.
    --------
    "I already have all the latest software."

  87. Re:Linux is a glass statue when it comes to stabil by mindstrm · · Score: 2

    Right.
    And for the most part, getting those depedencies resolved is *easy and fast*.

    With rpm, it's fairly simple.
    With apt + deb, it's dead easy. (not judging either.)

    With windows? Ha.

    Linux is hard to upgrade??
    Which distro do you mean?

    Redhat isn't too hard, although it can be a bit messy.
    Slackware is a bitch.
    Debian is dead easy.

    Each has it's flaws and strengths.

  88. Re:One thing I hate about RPM by fsck · · Score: 1

    Last time i used a redhat box, rm was aliased to rm -i or some shit like that so it asked you if you really wanted to delete the file(s), just like the default setting for deleting stuff to the recycle bin in Microsoft Windows. So you couldn't blast stuff away without actually knowing you were doing it. Of course, thats what happens when you use root as your user account ...

    --

    Lars - ...I could always phone Linus when I had a problem.
  89. Re:Ahh rpm... by psergiu · · Score: 1

    > patching anyone??

    NOOOOO ! God forbid ! If you recompile a binary for performance'n'stuff (that's why .srpm and .src.deb were made for) - you're dead, having as many chances for the binary to run as with dd if=/dev/random of=binary. Look at the kernel: yes, a patch is smaller than a kernel - but all the patches required to transform an 2.2.5 (shipped with an imaginary distro) to 2.2.17 or the patches to get from 2.2 to 2.4 are WAY WAY WAY bigger put together than the kernel itself. And no, having a zilion patches for upgrading ANY verion to ANY version is not a good ideea for the ftp servers's owners.
    --

    --
    1% APY, No fees, Online Bank https://captl1.co/2uIErYq Don't let your $$$ sit in a no-interest acct.
  90. Re:You're kidding, right? by Woody77 · · Score: 1

    I prefer the term "Boofing"... I "boof" the box every 6-12 months... People where I used to work thought I was crazy, but then they always commented on how much faster my comptuer was...

    What really amazes me is how installing software on windows bogs it down, without it even being loaded. Just having something like MS-Office eating a Gig of HD space isn't that bad, I've got just as many MP3s (legal, not being shared), and they don't cause problems. It's just the 5-10MB of data that was just thunked into the damn registry. Why do they need to register 200+ classes?

    I like my Debian boxes. So nice to install, so fast, I set them up, they run, and since I don't worry about public attacks (firewalled heavily by other people), I can pretty much just let them sit and serve me files.

  91. Why is it... by alpha317 · · Score: 1

    Why is it that people assume that sex is inherently harmful? I agree that harm (such as STD's and unwanted pregnancy) can be a result of sex, but in that case wouldn't it be better if children gained experience in it with adults rather than learning by trial-and-error from eachother?

    1. Re:Why is it... by volpe · · Score: 1

      It's potentially harmful. And it has potentially long-lasting effects on the psyche. It is due to these potential effects that we demand informed consent.

      And, in answer to your question, you make the logical fallacy of assuming that those are the only two alternatives. Another alternative is to allow them to have a childhood that is free from the pressures of being enticed into sex by an authority figure. Children don't have to learn trial-and-error. They can be allowed to become adults, at which time they have the level of maturity needed to give informed consent.

  92. One thing I hate about RPM by AFCArchvile · · Score: 1
    It never lets you determine the directory. Sure, the C libraries need to go into /usr/lib, but when I installed the Quake 2 binaries, I wanted it to go into /quake2, and not /usr/local/bin/quake2. Sure, call me a filename simpleton, but I shiver at the thought of having my games and programs in a subfolder of a subfolder of a folder, especially when I have to type the entire stinking path in just to execute the program.

    I think that RPM needs to be more like InstallShield for Windows; letting you pick the directory while it puts the system files where they're supposed to be. Enough of this "non-intervention" installation package system, it's time for the users to demand control over their own files. This right has gone unenforced for far too long.

    --
    "Ancillary does not mean you get to rule the world." --U.S. Circuit Judge Harry Edwards, speaking to the FCC's lawyer
    1. Re:One thing I hate about RPM by Tassach · · Score: 2
      ... especially when I have to type the entire stinking path in just to execute the program.

      There are lots of simple solutions to this "problem". How about using an alias? Using csh/tcsh:
      alias playquake "cd /usr/local/bin/quake2 ; quake2"
      Add it to your .tcshrc file and you never have to worry about it again. (the bash/ksh equivelent is left as an exersize for the reader). Or you could just write a script file called playquake that does the same thing and put it in a directory that IS in your path (/usr/local/bin would be the logical choice). If you must have a directory called "quake2" hanging off your root directory, why not just create a symbolic link:
      ln -s /usr/local/bin/quake2 /quake2

      What you are whining about is a FEATURE, not a bug -- *nix systems are designed around a standard directory tree. RPM puts Quake under /usr/local because that's where things like that are supposed to go. That way, you can go to ANY *nix system in the world and find whatever it is you are looking for. Learn somthing about *nix systems administration before you go crying about non-existant problems.


      "The axiom 'An honest man has nothing to fear from the police'

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    2. Re:One thing I hate about RPM by mrfiddlehead · · Score: 1
      Time to buy a book on unix/linux and read it friend. There are several ways to get to an executable. If it is installed into /usr/local/bin then just be sure it is in your PATH (see /etc/profile or $HOME/.bash_profile). Alternatively you can create a symlink into your ~/bin directory (assuming that ~/bin is in your PATH),

      ln -s /usr/local/bin/quake2 ~/bin

      Another method is to create an alias and put it into your ~/.bashrc file,

      alias quake=/usr/local/bin/quake2

      There is little reason to relocate an rpm for the reasons you give. You might want to relocate a program to test it, if it's already installed on your system, otherwise, programs should go where you'd expect to find them (having config files in or under /etc, for example, is something that you come to expect, if you relocate then you have to go to /otherdir/etc.

      If you don't know about www.linuxdoc.org go there and read the Bash HOWTO.

      --
      :wq
    3. Re:One thing I hate about RPM by afc · · Score: 1

      That's the quality of newbies we get these days. And to think that some of them regard themselves as experts...Shudder.
      --

      --
      Information wants to be beer, or something like that.
    4. Re:One thing I hate about RPM by NSK · · Score: 1

      "especially when I have to type the entire stinking path in just to execute the program." ..so put the path in your path then?

    5. Re:One thing I hate about RPM by fsck · · Score: 1

      What the fuck do folders for dead tree sheets have to do with a computers filesystem ?

      --

      Lars - ...I could always phone Linus when I had a problem.
    6. Re:One thing I hate about RPM by Tassach · · Score: 1

      Having rm aliased to rm -i is a pretty standard convention for the default setup on just about every *nix box I've ever used. If you don't like it, edit your fscking .bashrc|.tcshrc to remove the alias. The first thing I do with any new *nix account is to set the aliases the way I like them. I think it's a pretty good safety precaution -- if you arn't clueful enough to be able to edit your .bashrc file to change an alias, you probably arn't clueful enough to be trusted to use rm without having -i set.
      "The axiom 'An honest man has nothing to fear from the police'

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    7. Re:One thing I hate about RPM by afc · · Score: 1
      And what, oh enlightened one, may we the unwashed masses of /. ask, gives Your Leetness the idea that the simple act of ./configure && make && make install that tarball will magically eliminate a buffer overflow?

      Or did you mean a trojaned binary? You know, source could be trojaned too, right? Do you inspect the sofware you install for trojans? All of it? Yeah, right...
      --

      --
      Information wants to be beer, or something like that.
    8. Re:One thing I hate about RPM by Baloo+Ursidae · · Score: 1

      Uhh, you say you need to type the entire path, why not just do this:
      $ cd /usr/local/bin/quake2
      $ ./quake2

      Its really not hard. And it helps keep everything organised and relatively findable.

      And not to nitpick, but we call them directories.

      --
      Help us build a better map!
    9. Re:One thing I hate about RPM by chrismcc@netus.com · · Score: 4

      Hello...

      rpm --relocate /usr/local/games/quake2=/quake2 quake.rpm

      --
      Christopher McCrory "The guy that keeps the servers running" chrismcc@gmail.com http://www.pricegrabber.com
    10. Re:One thing I hate about RPM by cloudmaster · · Score: 1
      One of the problems with RPM is that they arean't always relocatable. The packager has to give you the option for that to work. Now I don't know whether or not that works with quake, but if you take enlightenment as an example, it isn't relocatable.

      Actually, there's a -badreloc switch that allows you to use "bad" relocations. I used that a lot in an automated installer to relocate stuff that I didn't want installed to a networked trash folder. That way I could nfs mount things like /usr on a lab full of machines - some of which didn't have enough room locally for the complete SuSE install I was doing - without rpm complaining about not being able to write to a (RO) share. I should prolly put that script up on the web somewhere - kickstart's got nothing on my install script... :)

    11. Re:One thing I hate about RPM by LionMan · · Score: 1

      there is a REASON for it to go into /usr/local/bin/quake2. There is a reason for (almost) everything in *nix based systems, including the organization of directory structures. this was all "planned out" - well evolved actually. the point is that most people are USED to the directory structures where configuration files are in /etc, home directories are in /home, and so on. people EXPECT perl to be in /usr/sbin/perl, not something like /mystuff/perl. So whereas Installshield lets you pick where things go, on *nix boxen it is better to pu something in the most obvious place for it. which is why it doens't ask you where to put it. of course you can force these things to happen, but it's simpler if things are where they are expected. if my passwd file was in /configuration/passwords, people would be missing something . . . if you catch my drift. So let it be - the directory structure is accepted and proven!

      --
      -Leo
    12. Re:One thing I hate about RPM by aphrael · · Score: 2

      Ah, but you can just do

      ln -s /usr/local/bin/quake2 something_in_your_path, and it isn't an issue.

      it's *significantly* easier for system administrators if everything installs into well-known locations. and it wouldn't surprise me if a lot of programmers haven't actually *tested* under custom installations, which is admittedly lame, but what can you do?

    13. Re:One thing I hate about RPM by cculianu · · Score: 1
      Try this, genius-boy...

      cd /usr/local/bin
      ln -s quake2/quake2 quake2
      cd ~iamatwink
      quake2
      woohoo!

      The above example implies that you keep '.' in your path. Don't tell me you ACTUALLY keep '.' in your path?!?!?! Man you are LAME.

      (So how do you like attitude directed at you, you moron?)

    14. Re:One thing I hate about RPM by Pulzar · · Score: 1
      Uhh, you say you need to type the entire path, why not just do this:
      $ cd /usr/local/bin/quake2

      I hate to break it to you, but you just typed the entire path :).

      --
      Never underestimate the bandwidth of a 747 filled with CD-ROMs.
    15. Re:One thing I hate about RPM by puetzk · · Score: 2

      umm, he put the link in /usr/local/bin (which is presumably in the path)

      --
      The Matrix is going down for reboot now! Stopping reality: OK. The system is halted.
    16. Re:One thing I hate about RPM by MsGeek · · Score: 1
      A better way would be to have ONE config file that HAD absolutely to be in one particular place, preferably IMHO not in a directory at all (ie. in the root).

      Sounds suspiciously like the Windoze registry.

      --
      Knowledge is power. Knowledge shared is power multiplied.
    17. Re:One thing I hate about RPM by SmokeSerpent · · Score: 1
      Re:One thing I hate about RPM (Score:2) by aphrael (burble@aphrael.org) on Sunday September 17, @03:15PM PDT (#28)

      it's *significantly* easier for system administrators if everything installs into well-known locations.

      How much easier will it be when all of our applications are named "zzyzxf4btlp" or "AGnutellaClientIWroteAndSubmittedToFreshmeatBecau seOpenSourceRocks-OhAndSorryAboutTh eLongName-TheShorterOnesAreAllTaken" due to name collision issues?

      --
      All kings is mostly rapscallions. -Mark Twain, The Adventures of Huckleberry Finn
    18. Re:One thing I hate about RPM by fsck · · Score: 1

      Slackware does not do that. For everything else is just a modified Red Hat.

      --

      Lars - ...I could always phone Linus when I had a problem.
    19. Re:One thing I hate about RPM by Baloo+Ursidae · · Score: 1

      Alright then, if you use bash, add this to your .bashrc

      alias quake2='/usr/local/bin/quake2/quake2'

      Now you don't have to do that path every time.

      --
      Help us build a better map!
    20. Re:One thing I hate about RPM by Abigail · · Score: 2
      Here I was doing it the hard way making a symlink in my ~/bin

      So, what happened to everyones PATH variables?

      -- Abigail

    21. Re:One thing I hate about RPM by stefanlasiewski · · Score: 2

      See, you should just put /usr/local/bin in your PATH. Then you can type 'quake2' from anywhere and have it start up, assuming that quake2's environment doesn't look for anything in '.' .

      I agree with you. The UN*X directory structures can be really silly at times. My brain has trouble telling the difference between enviornment /usr/local/bin vs /bin vs /local/bin vs /opt/bin vs /local/opt/bin vs /Sys5v4/style/directory vs /ucb/style/direcory vs /redhat-linux/interpretation/of/the/posix/standard vs /debians/interepretation/of/the/posixs/standard vs /directory/left/around/for/backwards/capatabilty , they're all full of symlinks pointing to each other. ARG! It's enough to make me pee in my pants!

      --
      "Can of worms? The can is open... the worms are everywhere."
    22. Re:One thing I hate about RPM by Fishstick · · Score: 2

      Here I was doing it the hard way making a symlink in my ~/bin

      ln -s /usr/share/local/games/quake2/quake2 bin/quake2

      --

      There is much cruelty in the universe, John.
      Yeah, we seem to have the tour map.

    23. Re:One thing I hate about RPM by brianosaurus · · Score: 1

      Try this, genius-boy...

      cd /usr/local/bin
      ln -s quake2/quake2 quake2
      cd ~iamatwink
      quake2

      woohoo!

      --
      blog
    24. Re:One thing I hate about RPM by treke · · Score: 1

      One of the problems with RPM is that they arean't always relocatable. The packager has to give you the option for that to work. Now I don't know whether or not that works with quake, but if you take enlightenment as an example, it isn't relocatable.
      treke

    25. Re:One thing I hate about RPM by treke · · Score: 1

      There already is one I think. Try doing a man on chattr and looking at the i attribute. Then the file can't be modified, linked, or deleted even by root.
      treke

    26. Re:One thing I hate about RPM by Coward,+Anonymous · · Score: 1

      ln -s quake2/quake2 quake2

      Since quake2 is a directory, you're not going to be able to make a symlink with that same name.

    27. Re:One thing I hate about RPM by zoftie · · Score: 1

      Yes RPM is a hack with a bunch of patches... so what? If you are real serious about installing software, use tar.gz. Binary distros are more suceptible to Buffer overflow attacks. Serious Sysadmin would never install binaries from some scuzzy site. =)

  93. Re:The Fundamental Mistake here by AviN · · Score: 1

    No problem. :-)

  94. Re:No one tackles the hard problems by Rohan+Talip · · Score: 1
    The RPM format allows for certain files to be flagged as documentation and generally installs them in the path /usr/doc/$rpm_name. and man files in /usr/man. you can get a list of what it installed by doing rpm -qi package_name.

    Actually it is rpm -ql package_name for listing all installed files, and rpm -qd package_name for documentation files.

    Rohan

    --

    Rohan
  95. Hmm, auto-update anyone? by neo-phyter · · Score: 1

    Am I the only one who thinks that the ability to know exactly what is being installed on my system at any given time is a good thing? Don't get me wrong, I'm all for functionality, and ease of use when it comes to up-dating packages, but one of the reasons that I use linux is because I got sick of things like Explorer's auto-update garbage. I have only been using linux for a few months, and I've learned a lot from rpm's "failed dependencies". Even though these install trials a pain when they're happening, I like them because they force me to crack open a man page or a howto and figure out what exactly is going wrong and how exactly I (newbie or otherwise) can solve the problem. Invariably, the problem is solved, not by some automagic process, but by my learning something new. I like that. I think that it's time the linux community stop wasting time on frills and spend more time on what they do best: building a stable OS with good, solid and secure code.

  96. Re:No one tackles the hard problems by Skeezix · · Score: 2

    Or how about a binary incremental (patch) upgrade? I know that's not easy, but it would be really nice.
    ----

  97. Re:Missing the point by LinuxElite · · Score: 1

    Umm, Solaris pkgadd, pkginfo, pkgrm utils suck. Ever wonder what package filex belongs to? How about the amount of Solaris packages? (Don't say www.sunfreeware.com either, those packages are old and there isn't many of them) The *BSD ports method has some cool features, but how about upgrades? How about makefiles that don't work? How is the ports collection any more flexible than say RPM? Or for that matter better implemented? I have used the *BSD ports collection for about a year and find them to be lacking in features/robustness compared to Debian's packaging system. I have had more than a few *BSD ports fail because "all of the ports haven't been converted to the new method/system (I am using 4.0 STABLE)". Having multiple QT libraries is a real pain, etc.

  98. Re:tar balls. by mrfiddlehead · · Score: 1

    tar zxf tarball.tgz
    cd tarball
    ./configure --prefix=/tmp/tarball
    test test test
    ick
    rm -rf /tmp/tarball

    --
    :wq
  99. apt vs rpm by Dionysus · · Score: 3

    I used RedHat for about 4 years, and recently switched to Debian mostly because of dpkg.

    I'm sorry, but dpkg as a package management tool is so superior to rpm, that it was like going from Windows to Linux again. Yes, Windows is nice if you've never experienced anything else, but once you tried something better, you really don't understand how you could have been so blind.

    Redhat 5.x used rpm 2.x. Redhat 6.x uses rpm 3.x. Redhat 7 will be using rpm 4.0. Guess what, each major version of rpm is incompatible with the previous version. This coupled with the fact that I have never successfully upgraded a RedHat system (I usually either reinstall or do a manual update, as in go through my list of rpms and do a rpm -Uvh package.rpm from the CD, making sure I don't upgrade packages that are newer than those on the CD).

    In Debian, I changed my sources.list and did a 'apt-get dist-upgrade'.

    apt-get install will ask stop and ask for configuration issues. I have yet to find a rpm package that did that.

    rpm -bb -clean --rmsource package.spec is supposed to compile, create rpm, and remove the source and spec file according to the docs. It never removed the spec file in rpm v3.x

    lets say I wanted to remove xanim. I have aktion installed dependent on xanim.

    In dpkg, I would do:
    apt-get remove xanim
    Since aktion depends on xanim, dpkg will ask if I want to remove xanim to and *do* it in the same step.

    rpm -e xanim
    Failes because aktion (if the dependency is even set up) has something dependent on it. You then have to do a rpm -e for each dependent.

    Quite frankly, having used both, I just like dpkg much better, I wish all Linux distributions would just bite the bullet and standardize on it. Heck, if each major version of rpm is uncompatible with the previous version, it's no harder to go over to dpkg than to go to the new rpm (just write a tool that convert the rpm database to dpkg's text based database).

    --
    Je ne parle pas francais.
  100. Ahh rpm... by mezziah · · Score: 2

    Nice article... cept i think the comments were more interesting than the article itself... I use rpm alot and it really annoys me sometimes..i do agree with the fact that configuration should be based in the program itself and for there to be a default config and be able to reconfig within the program... packet management is exactly that managing packages and making sure their in the right place and all dependencies are accounted for...not to be messing around with config files within the actual programs i think thats beyond the scope and function of packet management... i sure would like it if someone would do something about the dependency problems that crop up when ur installing packages...at least link us to where we can find the dependencies heh... All in all rpm and apt are a god send...especially for newbies but the can really be a pain in the neck sometimes...and the fact that when u wanna update packages u have to download the entire binary again maybe slightly bigger...patching anyone??

    --
    "Thats the way the cookie gets totally stomped on!"
  101. Re:I dont' see what the big deal is... by Dwonis · · Score: 1

    dpkg is pretty decentralized (as much as RPM is, anyway). Ever edited /etc/apt/sources.list?
    --------
    "I already have all the latest software."

  102. Re:I wish I could do this myself, but... by kcarnold · · Score: 3

    As far as operability on a completely mucked system, I have on occasion relied on the (nice) fact that a .deb is really just an 'ar' archive.

    Say I wanted to forcefully reinstall a package, not caring about the database and such, just get me my program back:

    # mkdir /tmp/package-extract
    # cd /tmp/package-extract
    # ar x /path/to/archive/like/var/cache/apt/archives/file. deb
    # cd /
    # tar zxvf /tmp/package-extract/data.tar.gz

    control.tar.gz in the same archive contains all the scripts and such, so you can even run those manually if you need to. And the package database is (for better or for worse) ASCII anyways, so even if you only can get 'ed' working, you can mess around with it anyway.

    I used Red Hat and rpm for about 6 months. Then I discovered Debian, and liked it a lot better, largely because of its package management. rpm can conceivably do a lot of the things Debian packages can do, but Debian has it here, now. As for the multiple versions of packages advantage claimed by RPM users, I should note that Debian packages (most often libraries) can have a version appended to the end of the name, and many do. libc5 and libc6 are quite plainly two distinct packages as far as the package management system is concerned, even though they provide much the same functionality. This applies similarly with other packages whose maintainer(s) have judged that having two or more versions of that specific package on a system is useful.

    As for the file dependencies, I can see how that is a good idea (you execute, link to, copy, move, etc. files, not packages), but as the article mentions, it expands the dependency tree quite a bit, and I have personally had no trouble with Debian's package-oriented package management (if you depend on one file in a package, you likely depend on, or could somehow benefit from, the rest of those files, and they would get installed anyway when you installed the package). Need the GNOME headers? apt-get install libgnome-dev. Not brain surgery, and beats Windows's install-remove system by a landslide. Mac uninstallers can leave things behind also, but being able to just throw away the app's folder, preferences, and in some cases control panel and extension, is a very nice idea IMHO, but it doesn't scale well. I'd like to see what OS X does. (pssst, anybody got the CD? Can you post an ISO?)

  103. registry by Hard_Code · · Score: 2

    Hate to say it, but as we expect more and more from our packaging mechanisms, we have to lean more towards a central repository, or "registry" if you can stand it. Not that that "registry" has to be in some funky proprietary format, but there needs to be some central place where apps and configuration utilities can get some info about their installation, configuration, and removal. I mean, the passwd file itself serves as a "registry" of user account info that other applications are dependent upon. This is fine.

    I think there is some project out there to standardize configuration files. One of the suggestions was XML. While I think for very simple configurations XML is going overboard, I do think some standardization needs to be made. When I configure an application, I don't want to have to learn a new configuration format. And I would like all installation and removal to be done in a uniform seamless manner for all applications. So, in short, I think we need standardization on these issues. Since *everybody* has to install and remove stuff on different systems at some point, "choice" is not a perfect alibi here.

    --

    It's 10 PM. Do you know if you're un-American?
    1. Re:registry by 0x0000 · · Score: 1
      Hate to say it, but as we expect more and more from our packaging mechanisms, we have to lean more towards a central repository, or "registry" if you can stand it.
      Interesting. I thought that the Windoze registry itself was an attempt to mimic the functionality of the *nix /etc and .../X11/app-defaults directories.

      The structure is already there, we just need to be using it.

      On the subject of config files: I have found unix config files be quite uniform. I think what's really needed for config files is a set of meta-data that describes the relationship between packages. I don't know if XML would fill that bill, or not. Definitely we don't need to screw with application level config files (which are beautiful in their simplicity:)...

      Fwiw, I should think a good a good litmus test for a 'package manager' would be its ability to seamlessly and transparently upgrade the X server without losing config data....


      0x0000

      --
      "The Internet is made of cats."
  104. Stow by Rohan+Talip · · Score: 1
    Stow works well enough for installing from source packages that install into the "standard" directories: bin, lib, etc, info, man and so on.

    If I have the source code for a package I am more likely to install it with

    ./configure --prefix=/usr/local/pkg/package_name-version
    make
    make install

    ... than to build and install an RPM ... just my preference.

    I actually install into /usr/local/pkg/package_name-version-number, rather than /usr/local/stow/... as I sometimes use lndir or even just ln manually instead, thus the independent directory name. I sometimes also keep multiple versions of software around with only one set of symbolic links in /usr/local, just in case I have needed to revert to an old version, which I have had to do once or twice!

    Stow doesn't work that well for pre-compiled binary packages that have odd directory names and documentation files in the main directory.

    Sure, you can remove them, rename them etc, but I like to keep /usr/local as clean as possible.

    Just my addition to the subject of package installation.

    Rohan

    --

    Rohan
    1. Re:Stow by dbarclay10 · · Score: 2

      Thanks for reminding me of something ;) Someone asked me where I thought stow was a bit flaky/immature. One of my big gripes was its inability to really upgrade. You can completely remove a tree and re-do everything, but it's all done by hand. I think this is just because stow doesn't know anything about versions. However, it would be good if I could do an upgrade more automatically.

      Dave
      'Round the firewall,
      Out the modem,
      Through the router,
      Down the wire,

      --

      Barclay family motto:
      Aut agere aut mori.
      (Either action or death.)
  105. Apt-get: package management of the future? by interi · · Score: 1

    I started out on a debian machine(well aside from that short encounter with mandrake..) and Apt is a kick ass package management system. And with aptitude it is even better. I admit I only really use aptitude to find out what packages are available, but it is a step in the right direction. I manage Redhat boxes at work and rpm is difficult to deal with in comparison to apt. I can't easily query a trusted source of packages and it is hard to understand all the commands. APT is it..

    --
    -b
  106. well, basically... by bbk · · Score: 2

    All this piece really says is that developers and packagers need to do a better job of keeping dependancy lists and such in good order. RPM has some great features, and Redhat has made a lot of progress on it feature wise - version 3 is far better than previous versions, and includes the pre and post install script capability as described in article.

    I see this as less of a problem with RPM and more of a problem with developers. This is not to say that RPM couldn't be improved - it could run ldd or some such library dependancy program on binaries to help out the situation, or some modified version of strace that checks to see which files it accesses, but in the end it falls to the developer and packager to make sure that the package is works correctly and lacks dependancy problems.

    BBK

  107. Re:RPM hits sweet spot of functionality and ease by Tassach · · Score: 1

    How about just making a rpm-lint program to check to make sure your package follows the suggested policies? If building a package it that hard, write a front-end to make it easier.

    "The axiom 'An honest man has nothing to fear from the police'

    --
    Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
  108. Re:sources... by afc · · Score: 1
    You know what a source RPM is? You know that the source RPM includes the original tarball of the program, as it is provided by the maintainer? You know you can get that tarball from the source RPM and do pretty much anything that your little 'leet heart desires with it? You know that you can go one step ahead and make your personal customizations, rebuild the binary RPM package and install that instead of the original?

    Consider yourself enlightened.
    --

    --
    Information wants to be beer, or something like that.
  109. In all my years... by Elwood+P+Dowd · · Score: 1

    In the brief time that I've been using *nix... I have downloaded & installed 2 rpms successfully. I have *never* had a problem with a gnu-style ./configure;make;make install. Not once. I don't really understand why package managers are usefull to anyone at all.
    --

    --

    There are no trails. There are no trees out here.
  110. It's not source packages, but binary ones. by Convergence · · Score: 2

    The problem with all of the library dependencies isn't really the packaging system, it's the fact that packages are distributed in binary format. That has disadvantages..

    Dependences cannot be expressed easily. (Like based on the compiler or another library.. There's a reason that every library number increases whenever a new version of glibc comes out.)

    Someone tries to install two packages that require the same library, but different versions, at the same time.. BOOM.

    Maybe Bernstein had it right.. Binary distribution sucks.. Use the source.. This is (IMHO) How freebsd gets around the problem.. By forcing you to compile every package as you install it.. This isn't QUITE so bad for installing a couple individual packages.

  111. RPM hits sweet spot of functionality and ease by echion · · Score: 1
    If it becomes more exhaustive to package RPMs as the editorial suggests, won't that make it less likely people will do it?

    The suggested policies may be a Good Thing (tm), but they raise the barriers-to-package a lot higher.

  112. I HATE THIS DUMBING DOWN OF EVERYTHING!! by cculianu · · Score: 1
    RPM packages can't be configured interactively. They won't ask you if you want to keep the current version of a configuration file, install a new version, or compare the two versions. They won't stop services before updating and restart them afterwards.

    RPM is fine. I think anyone with half a brain can read a readme file and be told to run a configure script or something (post-install).

    And running /etc/rc.d/init.d/servicename stop is NOT THAT HARD! People would do well to figure out how their linux system works!!

    And you can compare versions of config files yourself for crying out loud.

    I think RPM is in fact overkill for what it does, and there's no need to bloat it up and make it even MORE brain-dead friendly!!

    Personally this move towards dumbing down computers (it all started with the damn MAC, then windows... and now it's happening to Unix) makes me sick. I don't like every tom dick and harry out there with 1/5 of a brain reaping the benefits of our hard work as developers and not appreciating what goes into making it all work so smoothly. Personally I think the more we make them suffer, the more they will appreciate us as developers!!

    Also, I think that one shouldn't underestimate the intelligence and capabilities of users. I think we should look to challenging our users and educating them rather than dumbing down everything to the point where it is no longer fun. Detail is a good thing!

  113. They have an on-screen keyboard in MS Millenium! by IMZombie · · Score: 1

    They probly have in Win98/2000 too. It's part of their "accesibility options" for disabled people.

  114. Actually perl is usually in /usr/bin by cculianu · · Score: 1

    Perl is usually in /usr/bin or /usr/local/bin. I don't think anyone in their right mind would put it in /usr/sbin. -cc

  115. Why DON'T we have something like apt-get for RPM? by grytpype · · Score: 2

    I don't understand why someone doesn't just write the damn thing. The rpmfind database seems to have all the necessary information, why doesn't someone just write the wrapper that will make it work like this:

    #rpm-get windowmaker update
    Installed version of windowmaker is 0.58
    Found windowmaker on rpmfind.net.
    Latest version of windowmaker on rpmfind.net is 0.62
    Update? Y
    Retrieving windowmaker-0.62-2.i386.rpm.......
    Needs libpng >= 1.03. You have libpng version 1.02 installed.
    Update libpng? Y
    Found libpng on rpmfind.net.
    Latest version of libpng on rpmfind.net is 1.02.
    Found libpng on sunsite.unc.edu.
    Latest version of libpng on sunsite.unc.edu is 1.03.
    Retrieving libpng-1.03.i386.rpm......
    Package gimp needs libpng.s0.0 from libpng version 1.02. [F]orce upgrade of libpng, [i]nstall new over old, or [a]bort? I
    Installing libpng..........
    Updating windowmaker........
    Keep local copy of RPMs? N
    Deleting libpng-1.03.i386.rpm.
    Deleting windowmaker-0.62-2.i386.rpm.
    Finished.

    That's what I would like to see. I know, "code it yourself."

    --

    - Have a picture

  116. no need to change RPM to be more like Debian by jetson123 · · Score: 2
    I don't see anything that can be done with Debian packages that can't be done easily with RPM.

    When it comes to limitations, both packages share them. Both of them only specify dependencies by name, rather than by function. That makes it impossible to assure that a particular installation is actually working or how to fix it if it isn't.

    Neither of them requires test cases to test an installation.

    And both systems allow arbitrary install/deinstall scripts, making it impossible to write general tools that analyze automatically what happens during package install/deinstall.

    Rather than spending time making one more like the other, we should stick with what we have and worry about the next generation packaging tool, which will probably have to be started from scratch.

    1. Re:no need to change RPM to be more like Debian by Dionysus · · Score: 2

      Both of them only specify dependencies by name, rather than by function. Actually, there is a hack to make Debian depend on function. For instance, mutt depends on a mail server to work. Now exim, sendmail and qmail will all satisfy this dependency. Create a virtual (forget the official name for it) package that mutt depends on, for instance smtp-daemon package. Make exim, sendmail and qmail satisfy this dependency. So, dpkg will satisfy by function rather than package name.

      --
      Je ne parle pas francais.
  117. Re:ehhh.. maybe. but the author was in part wrong. by hey! · · Score: 2

    I've used apt and rpm with autoRPM. Apt wins hands down in my book.

    Apt is absolutely perfectly suited to the task at hand, which is getting everything you need together to install a particular piece of software. The task flows completely smoothly with never a hitch.

    RPM is more of a hackish tool. There's always some trial and error. There's nothing wrong with this in general, other than I usually have other fish to fry.

    Example: the other day we had a cert advisory story related to a vulnerability in wu-ftpd. If I were on a debian system I'd have that sucker set up to be fixed in about a minute and very shortly thereafter all would have been made well as I went on to do other things. Instead I spent a nice Sunday afternoon making repeated trips rpmfind.net. RPM fans who think I'm a moron are welcome to point out that I should have used the --do-it-intelligently-this-time switch. My parents installed me with the --i-can-take-it option. I'll fully admit I'm lazy. I want my package management system to take the objective I handle and take care of all the details, such as traversing the dependency tree, fetching all the needed files, verifying their cryptographic signatures, installing them and configuring them, while I selfishly take all the credit.

    RPM fans are always saying "you need to learn more about RPM". Fair enough, but what's sauce for the goose is sauce for the gander. You need to learn more about apt.

    I'd be interested in hearing from others who've tried both.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  118. Re:You say directory, I say folder. by AFCArchvile · · Score: 1
    Sorry, folder just rolls right off the tongue. Even when I'm talking about directories (as they should be called in non-GUI commandline situations), I have the propensity to call them "folders."

    I'm sure that all of you have your own little habits and quirks; just keep in mind that I won't criticize you excessively on them, as you did mine.

    --
    "Ancillary does not mean you get to rule the world." --U.S. Circuit Judge Harry Edwards, speaking to the FCC's lawyer
  119. Re:The best distribution by Kazymyr · · Score: 1

    ...except if you use installwatch (search for it on freshmeat). I've been doing all my installs on Slackware from source via installwatch for about a year now, and I love it. Uninstalling is a breeze! No more old versions around, etc. The Slackware-specific version is at Linuxmafia.

    --
    I hadn't known there were so many idiots in the world until I started using the Internet -Stanislaw Lem
  120. sources... by danme · · Score: 1

    I think one of the biggest disadvantages when using rpm is the lack of pure source distributions, that is, tarballs containing only a Makefile and some source files.

    Those are the one that screw my system up. Sure, rpm -ta works but only when the tarball supports it.

  121. Re:tar balls. by Kazymyr · · Score: 1

    Get installwatch from freshmeat. With it, you can get a tarball, compile, then let installwatch supervise the make install and write a log file - then a helper app (inst2rpm for rpm-based distros, inst2slack for Slackware) parses the log file and updates your package database accordingly. Works really fine.

    --
    I hadn't known there were so many idiots in the world until I started using the Internet -Stanislaw Lem
  122. Re:No one tackles the hard problems by mosch · · Score: 1

    That's exactly my point. Your suggestion for how to implement this in the package manager means you turn the package manager into a web browser. Either way it's out of scope.
    ----------------------------

  123. The Fundamental Mistake here by Arker · · Score: 4

    These guys are making a fundamental mistake. What they want is to make .rpm act like .deb. This is not going to happen in any meaningful way. .RPM and .deb are the result of fundamentally different design philosophies.

    Yes, it is possible to make apt work with .rpms - but this will ONLY work satisfactorily with .rpms that are written with this in mind. The reasons given for using .rpm instead of .deb here basically boil down to there being more .rpms and more people using .rpm - but since all new .rpms will have to be produced to work with this system anyway, this is a false advantage. The installed base, the already existing library of .rpms, are going to be useless to this project in any case.

    Obviously what they should do is just use .deb. The pre-existing base for .deb may be smaller than for .rpm, but it's infinitely larger than the pre-existing base of .rpms that contain the information needed to make this work, because that set doesn't exist at all.

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
    1. Re:The Fundamental Mistake here by AviN · · Score: 1

      Newer versions of RPM can support additional features, and still provide compatibility for previous RPM packages.

  124. rpm by kpeerless · · Score: 1

    I wish somebody would do something. I'm sick and tired of chasing dependencies all over the map. By the time you've downloaded the program and then the dependencies you can blow off the day. There's gotta be a better way.

  125. Re:Asshole by mosch · · Score: 1

    maybe i said that because, *gasp*, i really did expect that mentioning FreeBSD as a valuable source of potential design information for Linux would cross religious barriers, and get me marked as flamebait.

    Impossible you think? Then look at the maturity which exudes from your reply to my message, and think about what you've added to the /. community. The answers, in case you missed them, are both negative. And that's *really* common, especially among the karma whores who play the /. game very well, as long as the goal isn't the disemmination of useful information or the creation of interesting dialogue. I'm referring instead to the people who think that a goatse.cx or rotten.com link is the coolest thing on the planet.
    ----------------------------

  126. Re:ehhh.. maybe. but the author was in part wrong. by Morrigu · · Score: 1

    After using apt for the first time, I've been a steadfast Debian whore. Nothing beats 'apt-get update; apt-get upgrade' for saving a day's worth of effort poking around rpmfind.org for libraries or dependent packages.

    Just the fact that I can do this out of the box in a Debian-based installation (you *could* set up autorpm & co. to do all this, with some effort) convinces me to use apt.

    -another debian user-

    ------------------

    --
    "We can categorically state that we have not released man-eating badgers into the area." - Major Mike Shearer, UK
  127. Re:I dont' see what the big deal is... by Frodo · · Score: 1

    Well, it might be close to impossible to _you_, but some people know to use rpmfind and rpmfind.net and gnorpm and whatever tool you like to do it. And I don't believe apt-get is going to find my .deb I rolled out just a hour ago. It's obviously one tool for one distribution with one central repository. Once you go out of this repository (and gnucash is obviously out of the RedHat) into the fields of wild - I doubt apt-get could be much of help to you, without strong effort of the packager.

    --
    -- Si hoc legere scis nimium eruditionis habes.
  128. So, what happened to everyones PATH variables? by yuri+benjamin · · Score: 1

    Keep PATH short. It's safer. Ever heard of the old trojan trick of placing a script called ls in one of the dirs in someones PATH?

    --
    You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
  129. Re:Asshole by yuri+benjamin · · Score: 1
    I clicked that link once and I'm not falling for it again.

    I'm at work. I could be monitored any time.

    Links like that are diabolical.

    --
    You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
  130. ehhh.. maybe. but the author was in part wrong. by hatless · · Score: 4

    RPM's got its flaws--in particular the bloat of its cross-dependency database once a system's gone through a few big waves up upgrades. But Mr. Matsuoka--and Mr. Covey--show themselves to be surprisingly ignorant of RPM's capabilities.

    What set off little bells in my head was his contention that RPM can only update files and doesn't run pre- and post-install scripts and can't prompt users for parameters and install options for the packages in question.

    This is just plain wrong. An RPM can contain and run both pre- and post- scripts both during install and uninstall operations. Plenty of RPM packages containing shared libraries, for example, silently run an ldconfig after installation. RPMs of things like mysql and postgres often do a lot more--initializing a database, setting up default db users and, yes, prompting for things. If his SMTP MTA packages don't prompt for anything, that's the packager's fault. Hopefully Mr. Matsuoka's job at Connectiva isn't as lead packager for their distro.

    It would be nice to see both apt and RPM adopt a rich XML-based standard for expressing prompts, defaults and so forth for interactive installers, along with a way to express what prompts can be silenced and with what effect, so that text, widget-independent GUI, and web-based (among others) interfaces to interactive installation can be built without breaking anything. But this wasn't Mr. Matsuoka's complaint. He seems to think RPM's can't be made to prompt users or execute scripts.

    As for Mr. Matsuoka's other contention, that RPM needs changes in order to allow smooth auto-updating of packages, this too shows inexperience. I'm sure users of, say, Helix-Update, RedHat's Priority Update tool, and for that matter the fully-automated silent autoRPM utility would be surprised to hear RPM lacks such functionality. That he doesn't know this is kind-of-sort-of excusable, since it's not covered in the books and documentation for RPM. Not so the pre/post install script stuff. That's in the docs.

    1. Re:ehhh.. maybe. but the author was in part wrong. by Jason+W · · Score: 4
      The author of the article must not have made an RPM before. Every specfile generator out there has a section for pre and post install scripts. Plus, there is no reason why you can't include other commands in the middle of other sections, as is appropriate on a package-by-package basis. As you mentioned, a /lot/ of programs run ldconfig.

      Configuration programs can be run also. Take the SSH RPMs for example. After installing the server RPM, it generated public and private keys. Saved me the trouble of doing it by hand, and made sure it was done right. I believe the client RPM even asked for a keyphrase. There's no explaination for what the author of the article said about not having configuration tools, except for inexperience.

      I do agree that standard configuration parameters would be a nice addition, but there is absolutely no reason why package maintainers should have to conform to anything other than the stand specfile pre- and post- install sections. It allows them much more freedom and ease of use to use the scripts that come with their tar files. Why bother converting them to yet another format?

      ----

  131. Re:I wish I could do this myself, but... by dbarclay10 · · Score: 2

    Well, I dunno. Just seems like a lack of polishing to me, but this is of course just my opinion. At least on my system, it takes forever to 'stow -D '. In the time it took to unstow a librep-devel package I had installed, I had written a script that would find all the files in the /usr/stow/librep-devel-<version> directory, and remove them one by one. It didn't check to make sure that they were Stow's files, but it tells you something anyways.

    A few other little things, like one-step unstow/removing. The fact that it relies on the user's current directory, and on the directory Stow is installed in(for default options, anyways).

    :) Anyways, I like the concept! :) Ya can all check out my more in-depth thoughts at http://dharris.twu.net once I get it finished.

    Dave
    'Round the firewall,
    Out the modem,
    Through the router,
    Down the wire,

    --

    Barclay family motto:
    Aut agere aut mori.
    (Either action or death.)
  132. in defense of RPM by fluxrad · · Score: 3

    i'd like to make a little note in the defense of RPM's. I like 'em. I don't use 'em much, maybe thats why i find RPM so appealing.

    When you're installing an application for linux, i am of the opinion that it's best to do it from source. The idea of pre-compiled binaries just doesn't sit well with me for quite a number of reasons. Foremost, i don't like the idea that i'm using a binary build on someone else's box. And i certainly don't like the fact that i don't have the source sitting in front of me to hack, if i'm bored, or to just peer into, etc. (pls no posts on src.rpm)

    RPM's, i feel, are great for the little utils. Miscellaneous files that i need for x without wanting to download and compile those binaries on my own. I just download an RPM and whabam! it's installed. Dependency problems? --nodeps. Won't install for some other reason? --force.

    Maybe there are issues to be addressed if you want RPM to become your standard installer for absolutely everything. Yes, Forest Gump needs something more powerful. My question is simply why argue about RPM or apt when you've got source?

    It's like arguing whether you'd like to buy a pinto or a ugo when you can get a porsche for free. (some assembly required ;-)


    FluX
    After 16 years, MTV has finally completed its deevolution into the shiny things network

    --
    "It is seldom that liberty of any kind is lost all at once." -David Hume
    1. Re:in defense of RPM by mindstrm · · Score: 2

      If you alone are in charge of the machines, and have the time to do this, that's great.

      For major packages like apache and such, yes, it's best to do them yourself, from the ground up, so you know exactly what's up.. however.

      What happens when you have 20+ servers, and a couple other staff who have to be taught to maintain them? Sure.. you can all do it.

      What I've found is that Debian is fantastic for this, for servers. I trust that the debian folks have done a rather thorough job of their package tree, and it is SO easy to maintain. I can do a hundred systems, all the same, all in sync, easy.
      Am I saying this is the way to go? Well, it was the way to go for me, in my situation.

      Why argue? Source is source. we already have that.

      Let's say you have a particular way of compiling things. Lets' say you also have a hundred servers, in eight cities. Perhaps you would set up a central archive of things you have compiled so you don't have to do it for every single box. You'd probably add some scripts and tools to help you update all those boxes with new versions, and to allow you to revert back to previous compiles of things. I would HOPE you have revision control for your servers to some degree.

      Now you could do this, and do it well..
      but what you would have is your own package management system.

      Let me say.. from personal experience, I don't like rpm in practice. I like it as a tool, but it just gets too messy in practice. I DO Like to compile my own if possible. RPM is usually a last resort when I'm in a hurry.

      With Debian, I don't have this problem. If it comes out of the standard debian archive, then I can trust it. IF it isn't there, then I compile and install in /usr/local.

      and THAT is why I have package managent.

  133. Re:PMS by yuri+benjamin · · Score: 1

    I love the acronym! PMS. Yeah, that sells. When I saw the subject header I thought it was going to be a funny post.

    --
    You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
  134. Re:Business Logic by SomeOtherGuy · · Score: 1

    15+ hours if done all at once....5 minutes a day if done daily.

    --
    (+1 Funny) only if I laugh out loud.
  135. Windows just made computers easier!!! by Zaaf · · Score: 1

    Windows allowing apps to write all over the registry without my knowledge is a feature?

    Windows is designed to bring the desktop to the masses. It therefore will hide everything that might be complicated. And they hide it well. So Windows will do a lot that you will not know about, like maybe sending data to Microsoft about your box. This shouldn't worry you because "[They] Do Know What Is Good For You And You Do Not!!!"

    That's why I like linux and thats why I uses tarballs. It's my box, so if it's messed up, then it should be my own fault, not the fault of me not understanding some feature.

    ---

    --

    ---
    "Multiple exclamation marks are a sure sign of a sick mind." (Terry Pratchett)
  136. Re:I dont' see what the big deal is... by mindstrm · · Score: 2

    deb is not centralized at all, only for convenience.

    apt typically uses between 2 and 20 different sites to fetch files from. Dependencies are not centrally stored, but contained within each .deb

    apt keeps a chache of everything available, and takes care of resolving dependencies.

    so the typical behavior is 'apt-get update' (to update the cache' then apt-get upgrade (to check for newer versions of installed packages) or apt-get install package (to install a package) or apt-cache search string (to search the cache for a string)

    BTW.. the original article at freshmeat is about exactly this.. it's not saying that .rpm and .deb suck, it' ssyanig that rpm has a few features missing that make it fundamentally difficult to integrate it with apt. IT also points out weakenss in .deb. RPM does more, but is missing a few things that enable this tight form of system management.

  137. Why you will NOT test the Conectiva changes to RPM by cesarcardoso · · Score: 1

    Simple. You can't make a GPL version of the Conectiva distro. They install StarOffice 5 (which is NOT GPL) as a default with the distro.

    While ago, Bruno "Buick" Collovini, a famous Brazilian Linuxer, asked the people from a LUG (LUGs in Brazil are all become Conectiva money-free propaganda commitees) if a GPL disk can be made if the SO 5 was pulled. Nobody even answered if the installation was functional without the SO 5.

    And more: a guy started to sell Conectiva disks, a mirror of their ftp. He suffered so much pressure from Conectiva and their gang that he had to pull out.

    So: you MUST buy full Conectiva boxes to test their RPM.

    You've been warned.

    --
    Cesar Cardoso can be found at cesar at zyakannazio dot eti dot br (or at least I believe so)
  138. tar balls. by AeiwiMaster · · Score: 1

    A feature I would like to see in RPM.
    Is the ability to install tar balls!
    Then it would be easier to install and remove experimental software.

  139. Re:OK, enough flaming from bible thumpers. by itarget · · Score: 1

    If you don't like to change an operating system much at all, what are you doing trying to install programs to irregular locations? ;)
    ---
    Where can the word be found, where can the word resound? Not here, there is not enough silence.

    --

    "Where shall the word be found, where will the word resound? Not here, there is not enough silence." -T.S. Eliot
  140. Business Logic by SomeOtherGuy · · Score: 3

    I have used RPM (Redhat for 3 years & Mandrake for a while) and now use Debian (for one year now). I guess my question is this: Would not it scare the RPM based distros to go with DEB, when it would be easier to only install a distribution 1 time. I mean their has to be something to the fact that each time I walk into Best Buy or Comp-usa, I notice a new point release of Redhat, Mandrake, Caldera, or Suse...I think apt-get update;apt-get dist-upgrade would just rain on that parade.

    What do you think?

    --
    (+1 Funny) only if I laugh out loud.
  141. Re:No one tackles the hard problems by Phil+Gregory · · Score: 1
    Would it be better if I'd said I wanted to pipe the changelog to grep? Approve or reject upgrades with scheme code? Run diff3 --merge on the current, old, and new config files, starting $EDITOR on the result to resolve conflicts while popping up the new man page for the config file in another xterm? You can't do any of these things now because the information's not there, and the infrastructure's not there.

    The information is there. When I do an upgrade in Debian, it checks the config files. If a file has been changed from outside the package management system, I get:

    Setting up ssh (2.2.0p1-1) ...

    Configuration file `/etc/ssh/sshd_config'
    ==> File on system created by you or by a script.
    ==> File also in package provided by package maintainer.
    What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
    D : show the differences between the versions
    Z : background this process to examine the situation
    The default action is to keep your current version.
    *** sshd_config (Y/I/N/O/D/Z) [default=N] ?

    Picking option D gives me a context diff run though the default system pager (normally 'less'). Option Z gives you a shell and you're free to do whatever you want. The new file is in <old file name>.dpkg-new


    --Phil (No, dpkg isn't perfect, but it is really nice.)
    --
    355/113 -- Not the famous irrational number PI, but an incredible simulation!
  142. Re:If tarball isn't your only pkg fmt, you're a LO by Rev.+DeFiLEZ · · Score: 1
    excuse me. I currently maintain 22 linux boxes (debian) 5 of which are woody. i hardly have the time to be constantly compiling on my boxes.

    granted there are occasions where compiling is the only solution however why rebuild the wheel if goodyear's wheels are perfectly fine?

    this comment seems to come from a user that has far to much time on his hands.

    rev
    ps. linux torvalds (afaik) uses redhat, want to tell him to stop leeching like a BBS luser?

  143. Re:RPM Drives Me Nuts by maw · · Score: 1
    [root@habernero src]# rpm -e Mesa-3.2-1.src.rpm
    error: package Mesa-3.2-1.src.rpm is not installed

    [root@habernero src]# rpm -i Mesa-3.2-1.src.rpm
    error: package Mesa-3.2-1.src.rpm is already installed

    When you're doing rpm -e, you don't type the .rpm; you're uninstalling a package not a .rpm file.

    While Red Hat Linux is far from a perfect distribution, it's intellectually dishonest to knock its tools when you clearly haven't read their documentation carefully enough.

    (Although, on the other hand, it could be a reason to bag rpm's poor documentation, and the documentation on Red Hat in general. Have a look at /usr/doc/ and cry at its uselessness.)

    --
    You're a suburbanite.
  144. Re:No one tackles the hard problems by The+Pim · · Score: 1
    Can you give example of another criterion?

    On debian-changes, I see that uploads have a priority. Say I want only high-priority upgrades. (For that matter, why don't I see this priority anywhere in the installer or the package? What's the point of dropping useful information?)

    Why are you running unstable, if you want to only risk installing critical updates?

    I've been following unstable, and my system is happy now, but I just got some important work to do. I don't want to take any chances for the next week, unless they're security upgrades (or dependencies thereof).

    --

    The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
  145. Re:No one tackles the hard problems by The+Pim · · Score: 1
    Picking option D gives me a context diff run though the default system pager (normally 'less'). Option Z gives you a shell and you're free to do whatever you want. The new file is in .dpkg-new

    And where is the old original config file? You have soooo much more information to work with if you have that. In my opinion, you can't do a proper merge without all three files (mine, older, and yours in diff3 terminology).

    No, dpkg isn't perfect, but it is really nice.

    I agree with that :-)

    --

    The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
  146. it all boils down to.. by MaxieZeus · · Score: 1
    the fact that all distros are the same except for 3 things (imho): installation, configuration, and upgrading. So this is where the debate lies. these three differences define our distributions. and the package manager plays an important role in all three aspects. I would have to say that either can install equally well, however apt-get beats rpm on the other two fronts.

    Ask any debian user why they use it, and one of the first 3 things theyll say (and more than likely the first) is ease of update.

    so why keep rpm? because so many of us are familiar with it? I hope not. If that were the case we should all be using windows. I really see no valid reason to continue using rpm. Thats my 2 cents

    Maxie Z

    1. Re:it all boils down to.. by Dwonis · · Score: 1

      This is what makes Debian *much* different from the other distros.
      --------
      "I already have all the latest software."

  147. Re:No one tackles the hard problems by The+Pim · · Score: 1
    Oh, it's there...just not with a package management system. So the question becomes, why are you after that functionality in an RPM?

    You're dead-on, and I haven't given a coherent argument for why it should be in rpm. Some other day :-)

    --

    The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
  148. Re:No one tackles the hard problems by The+Pim · · Score: 1

    Hey, cool, I'll do this once I start tracking unstable again. (I maintain machines that are still on slink, and I promised myself that I'd keep my machine on potato until all the others are upgraded!)

    Thanks for the tip.

    --

    The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
  149. LPM by gavinhall · · Score: 1

    Posted by polar_bear:

    While the folks who are doing the Linux Standard
    Base Project are working on everything else,
    perhaps they could provide a spec for LPM - a
    Linux Package Manager - something that provides
    interoperability with RPM / DEBs and eventually
    replaces both.

    I have five boxen at home - one runs SuSE, one
    Mandrake-Linux, one Storm Firewall and the other
    two are Slackware. Personally, I still prefer
    to build from source tgzs - because I don't
    really care 100% for either package manager.

    Ah well - nothing is perfect and both formats
    will only improve with time.

  150. No one tackles the hard problems by The+Pim · · Score: 4
    All of the package management systems duck the hard problems of creating a user-centered system management tool. Why can't I
    • ask why a new version of a package was released?
    • see a list of changes between old and new versions?
    • tell the system to apply only security or high-priority fixes?
    • tell the system to automatically process all updates except those involving specified packages, which I want to approve on a case-by-case basis?
    • tell the system never to upgrade packages that require upgrades of packages used by other software (eg, libraries)?
    • ask for packages that will help me convert GIF files to PNG?
    • ask for only packages targeted at beginners?
    • ask for only well-integrated, well-tested packages?
    • get reviews of a package?
    • find out how to get started using a package?
    • begin browsing the documentation for a package before approving a full installation?
    • have some help in configuration updates?
    This is an abbreviated list, but I've wished for some variant of each many times.

    Note I acknowledge that these are hard problems. I don't expect them to get implemented overnight. The problem is, I don't see anyone even trying. (Possibly Helix Code, it's too soon to be sure; at any rate, they will need the help of the distribution maintainers to go all the way.) Someone could make a great contribution by seriously studying what users need to take control of their systems and designing a solution, not just looking for the next hack.

    I use Debian personally. I think dpkg+apt has more cool hacks than rpm+autorpm (or whatever), but I don't think it's significantly further in the big picture. I do think it has more possibilities, given its philosophy and development community.

    Finally, I know some moron will jump up saying that rpm wasn't meant to do all this, and its developers intentionally limit its scope. I don't care whether rpm solves the problem, or a system build around rpm solves it; I do care that the problem isn't being addressed.

    --

    The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
    1. Re:No one tackles the hard problems by The+Pim · · Score: 2
      i think M$ makes an operating system that you might like to check out.

      Really, I thought they made Windows?

      I see half of linux users bitching that they want it all (these are mostly new-school linux users that i've seen) and i see another half that want's nothing more than a kernel and a keyboard.

      Trust me, I'm not new-school. But I think that anyone satisfied with the current state of Linux is badly lacking in imagination or ambition.

      I really don't want to see linux turn into an OS where you click the do-everything button and all of the sudden you're set to do whatever it is that you wanted.

      Did I say anything about buttons? Would it be better if I'd said I wanted to pipe the changelog to grep? Approve or reject upgrades with scheme code? Run diff3 --merge on the current, old, and new config files, starting $EDITOR on the result to resolve conflicts while popping up the new man page for the config file in another xterm? You can't do any of these things now because the information's not there, and the infrastructure's not there. Not because there are no buttons.

      Please don't assume that usability means baby talk.

      --

      The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
    2. Re:No one tackles the hard problems by AviN · · Score: 1

      > tell the system to apply only security or high-priority fixes?

      http://www.debian.org/security/

      > tell the system to automatically process all updates except those involving specified packages, which I want to approve on a case-by-case basis?

      This can be done in Debian. There's probably a simpler way to accomplish this, but you can run dselect, search for the package, and hit '=' to put the package on hold, so it will not be updated automatically.

      > ask for packages that will help me convert GIF files to PNG?

      You can search descriptions at http://packages.debian.org.

      > ask for only well-integrated, well-tested packages?

      That's what Debian's stable distribution is for.

    3. Re:No one tackles the hard problems by fluxrad · · Score: 2

      i think M$ makes an operating system that you might like to check out.

      The fundamental problem is this. I see half of linux users bitching that they want it all (these are mostly new-school linux users that i've seen) and i see another half that want's nothing more than a kernel and a keyboard.

      What we need to find is a common middle-ground. I really don't want to see linux turn into an OS where you click the do-everything button and all of the sudden you're set to do whatever it is that you wanted. That doesn't promote intelligence about the OS you're using. Yes, computers are tools, but if absolute automation is the way of the future, the users are going to become a slightly different kind of tool ;-)


      FluX
      After 16 years, MTV has finally completed its deevolution into the shiny things network

      --
      "It is seldom that liberty of any kind is lost all at once." -David Hume
    4. Re:No one tackles the hard problems by Otterley · · Score: 1
      Why can't I
      • ask why a new version of a package was released?
      • see a list of changes between old and new versions?
      You can:

      rpm -qp --changelog rpm-file
    5. Re:No one tackles the hard problems by duffbeer703 · · Score: 1

      Following your logic, I think we should avoid packages all together and integrate every conceivable function into rpm.

      Just think, you could have rpmquake, even have a windows port as part of rpm!

      Yes I am on crack

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    6. Re:No one tackles the hard problems by fluxrad · · Score: 1

      You can't do any of these things now because the information's not there, and the infrastructure's not there.

      Oh, it's there...just not with a package management system. So the question becomes, why are you after that functionality in an RPM?


      FluX
      After 16 years, MTV has finally completed its deevolution into the shiny things network

      --
      "It is seldom that liberty of any kind is lost all at once." -David Hume
    7. Re:No one tackles the hard problems by The+Pim · · Score: 2
      Your answers are very superficial. I use Debian, so I know about all the things you mention. They all fall short.

      • security.debian.org does make it possible to install only security fixes on a stable system. That's an important but very limited case. It doesn't help if I replace security with any other criterion. Moreover, what if I'm running unstable? I often do this, but there are still times when I don't want to risk installing any upgrades but critical ones.

      • hold is a very blunt instrument. For example, if I install version 1 and put the package on hold, I will get alerted by deselect when version 2 comes out (ie, it will appear in the "Updated" section"), but if I choose not to upgrade, I won't get any new indication when version 3 comes out. I have to remember that version 2 was the last version I considered.

      • searchable package descriptions are nice, and I use apt-cache search all the time, but I often miss packages by choosing the wrong search strings. A more structured way of describing package functionality would be better.

      • Debian stable does not contain only well-integrated, well-tested packages. If you think so, you're either horribly biased or smoking something. Think about GNOME in slink. Or the many orphaned packages in any stable release. Or all the random little programs used by almost nobody and packaged by novice Debian developers.

      --

      The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
  151. apt-get update/upgrade by spinfire · · Score: 2
    I have had experiences with both Debian and RedHat's packaging systems; i would definetly say dpkg is better. I run the Woody (unstable) version of debian, and packages are updated nightly. It is of great power to simply type

    apt-get update
    apt-get upgrade

    and have the machine automagically be brought up to date. Also, the dependancy system is much more powerful, and it enables the sysadmin to add packages easily at a later date (RPM does not have an easy method of [re,de]selection like dselect). If i use apt-get install blurglator it will always install the packages it depends on without help from the sysadmin.

  152. Actually, what I'd like to see by voidptr · · Score: 1

    Is something more akin to the *BSD ports collection in Linux, rather than deb or rpm. I can't think of the last time I actually used either deb or rpm on a Linux box, it's usually easier to get source and compile rather than find a up-to-date package in either format. OTOH, using a BSDish box is usually simply cd /usr/ports/<class>/<program>; make && make install to install the most recent stable version.

    --
    This .sig for unofficial government use only. Official use subject to $500 fine.
    1. Re:Actually, what I'd like to see by Enahs · · Score: 1

      >All you need to do this with a Debian system

      And you've stated the problem right there. All you need to do this with a *Debian* system.

      Linux is a kernel, and most distros call themselves [Blah] Linux. So many variations, all known as [Blah] Linux. I'd like to see something more generic, meself. NE1 care to help build a tree so I can do a "make world" on a Linux box? :^)

      Or, for that matter, NE1 care to tell me what includes I'm going to need to complete my build of *BSD standard utils on a Linux box? I've got the install subdir, and I've grabbed some stuff from the kernel, but I don't have everything. Any *BSD porters care to help me out here? TIA. :^)

      --
      Stating on Slashdot that I like cheese since 1997.
  153. I wish I could do this myself, but... by dbarclay10 · · Score: 4

    I wish I had more time to learn how to program, and then actually program something. Many of you will be familiar with GNU Stow, and maybe even some of you had tried it. Well, I have. It's pretty nasty. While it works, it is cumbersome. But, I strongly think they've got the right idea.

    For those of you not familiar with GNU Stow, it allows you to install a program in an arbitrary subdirectory(say, /usr/local/stow/Quake2-version), and then it makes symbolic links, recursively, from the installation directory to the system directories. ie: /usr/local/stow/Quake2-version/bin/quake2 is linked to /usr/bin/quake2.

    I really think that's an incredibly good thing. For many reasons, and let me elaborate.

    If you're at an unfamiliar system, or you're using a rescue disk, you might not know of, or have access to a package manager. You can't add nor delete packages, and you can't query packages. You don't know what files a package contains, and you don't know to which package a file belongs. I feel it's imperative that you can accomplish all of those tasks with standard *NIX utilities(ie: ls, mv, cp, ln, rm, cat, etc., etc.). To see what files are contained in the aforementioned Quake II package, I'd just need to do a 'ls -R /usr/local/stow/Quake2-version'. To see what what package owned /usr/bin/quake2, I'd just need to do 'ls -l /usr/bin/quake2'.

    Of course, a good symbolic-link-based package manager should be a bit more complete. Now, RPM(I don't know about APT) uses a database to store its information. I gotta say, that's pretty stupid(no offense, RPM guys - I'm sure you have good reasons). At least, it's not very robust, from a system recovery/stability standpoint. So we want to get rid of a database. After all, we want to be able to manage packages with standard *NIX utilities, if we're really stuck in a bind. So, I guess each package would have some files, in its installation root(ie: /usr/local/stow/Quake2-version/), describing some things. Files named things like Requirements, Provisions, PackageInfo, PackageConfig.

    Requirements - Would have sections on both file-dependancies(ie: /bin/ls) if the package required individual files, and package-dependancies(ie: fileutils-4.0).
    Provisions - Would have sections on libraries and possibly a seciton on packages which the installed package replaces(ie: Postfix replaces sendmail).
    PackageInfo - Would have a description of the package, and some notes on how the particular package may differ from the standard source distribution. Also some user-friendliness things like the type of software(ie: System -> Libraries) and such.
    PackageConfig - This would contain the pre- and post-install scripts(yes, we really want to know what a package does!), and maybe anything that was done during installation based on any input the user gave.

    These are just ideas, and I don't have the skills or time to implement them, so don't take it to heart too much ;) To be honest, I don't think any new package management system will succeed unless it has compatibility layers for RPM and APT. Both on the shared-library leve, and on the command-line level.

    'Round the firewall,
    Out the modem,
    Through the router,
    Down the wire,

    --

    Barclay family motto:
    Aut agere aut mori.
    (Either action or death.)
  154. You've Never installed a demo by MemRaven · · Score: 2
    I've had significant problems with windows demoware. Often the demoware writers will "hide" a registry key somewhere which they look for later, so that you can't do multiple demo installs (particularly for time-limited demos).

    Tri-Plus WinSpace, which I used at a job which forced me to use NT, did this famously. I tried a beta, and they had to send me instructions on hacking my registry to install the full version because the beta (demo) had a broken installer.

    So perhaps you haven't had to do this, but trust me, other people have. Perhaps you just haven't lived life on the cutting edge enough to do this sorta thing, but I've had to do it several times.

  155. RPM --rebuild by mab · · Score: 1

    One thing I would like to see is the ability to
    do a rpm --rebuild target

    eg rpm --rebuild php.src.rpm postres

    I don't have LDAP, imap and all the other stuff that the rpm --rebuild php has. And its a pain
    editing the spec file

    is this possible now?

  156. Re:Linux is a glass statue when it comes to stabil by AFCArchvile · · Score: 1

    It's not a set number, it's determined by the painful but time-tested process of debugging and runtime testing; something that Linux developers never do enough of, I might add.

    --
    "Ancillary does not mean you get to rule the world." --U.S. Circuit Judge Harry Edwards, speaking to the FCC's lawyer
  157. Something wrong about the argument by iramkumar · · Score: 2

    The whole discussion thing will in the end boil down to something like a apt-get/Debian vs RPM/RedHat fight (..remember GNOME/KDE some days back ). Ok RPM doesn't have any automatic update feature ..so what ? aren't there scripts which can do it ?

    Just because the debian version seems/is/works better doesnot mean RPM is bad .. i for one find it very comfortable to work with and would hate to read the man pages again !!

  158. New things under development by Diesel+Dave · · Score: 3

    The Linux Router Project is working on a radically different OS as well well as a new packaging system based on neither RPM or DEB.

    For the last 3 years I've done nothing but heavy development work and sysadmin. (For self and on contract) I've worked with Solaris, Redhat, and especially Debian, and can honestly say when it comes to 'real world' production systems all of them suck for long term system maintainance.

    Out of all of them Debian is still best all around. (System and packaging) But it's packaging system could be a hell of a lot better. (I'm not still running 'slink' on my box because I want to...)

    I think when we are done with our new breed OS, all the linux 'vendors' are going to be brought to task to look at how we did our packaging. Probably some of them will be adopting it. (That's is if we don't over take them all first. : >)

    This is a feature list of what we are working on:

    [name withheld]
    ==============
    Defined:
    A Unix type system software managment format, utilizing
    a logical hiearchy for root layout, with de-centralized physical data
    distribution.

    Features:
    No centralized package or physical data location

    Allows conflicting packages/applications to be installed at the same time.
    Package managment tool is able to enable or disable installed packages
    dynamically, while preserving package configuration autonomy.

    Generic and distributed nature. Multiple hosts can share the same
    package installation via network mounts, while preserving package
    configuration autonomy.

    Allows hand fitting of root components (outside of /usr/local) with no
    package conflicts

    Logical root extensions for chroot, remote host, or virtual machine operation

    'Open' physical packaging format allowing easy creation, extension, and future enhancment.

  159. it's not the format, it's the policies by Nemesys · · Score: 3
    The RPM format may have limitations. What's being compared is RPM-based distributions and Debian GNU/Linux. The Debian system is in a different category, simply because it's SO MUCH BIGGER. All the packages, even for really obscure things, are managed by the same organisation and forced to conform to a set of rules, rather than there being a core and a contrib section.

    Don't look at the technology (RPM vs deb). Look at what the people are doing. What's going on in Debian's case is that they're doing a lot less (shoehorning each bit of software into their rule system) with a whole lot more. The sorts of things one finds in /usr/local (that is, not distributed with the OS) on a Unix you may well expect in /usr on a Linux system, since Linux distros ship them. The sorts of things which may live in /usr/local on a non-Debian system probably live (if they're DFSG-free) in /usr on Debian, simply cause it's broader.

    This is another reason Debian's so anal about its Free Software guidelines ... if it doesn't meet the litmus test, then you can't distribute some version of it with all the paths changed to match the Debian universe, essential for integration and stability.

  160. Re:Neither. by Enahs · · Score: 1

    True...but one doesn't have to use NoMad to use Encap. I actually use Encap on a Linux-Mandrake box(!) to keep track of what packages I've installed by source, rather than making my own RPMs.

    Yes, this tends to break RPM, but hey, the article *is* about problems with RPM. :^)

    --
    Stating on Slashdot that I like cheese since 1997.
  161. Re:Linux is a glass statue when it comes to stabil by voidptr · · Score: 1

    When I begin coding software, I will keep modularity to a minimum

    And the next month when it comes time to fix it or add a new feature, you'll change your mind. I'm curently in the process of evaluating code that was written 3 months ago for a web site with no thought to style or modularity, and the end result is the entire thing is getting tossed and redone from scratch, at a not insignificant cost in time and resources. If you think you're going to write code without regard to any accepted software engineering principles, you're an idiot.

    Windows has the same library dependency problems you attribute to Linux, it just hides it slightly better at times, and makes it worse at other times. Remember trying to track 4 versions of slightly different VBRUNx00.DLL? Or how installing certain versions of Word just happen to change various system DLLs that break Netscape in new and interesting ways?

    --
    This .sig for unofficial government use only. Official use subject to $500 fine.
  162. Re:OBFlame by Enahs · · Score: 1

    Yeah...and it shouldn't be a place for whiny bastards either...oh, well.

    --
    Stating on Slashdot that I like cheese since 1997.
  163. RTFM by hatless · · Score: 2

    To uninstall a package, you give the name of the package, not the name of the file that it was installed from. In other words:

    rpm -e Mesa

    1. Re:RTFM by nihilogos · · Score: 1

      Ta. Or tar.

      --
      :wq
  164. Re:Linux is a glass statue when it comes to stabil by AFCArchvile · · Score: 1

    I said I'd keep it to a minumum, not entirely shun it. Sure, there's cases where I'd want modularity (sound engine, 3d engine, net engine), but I'm not going to subdivide related parts of code into 16 different modules, as is the case in Linux.

    --
    "Ancillary does not mean you get to rule the world." --U.S. Circuit Judge Harry Edwards, speaking to the FCC's lawyer
  165. PMS by moath · · Score: 1

    I'm presently in charge of a project called "PMS" or "Package Management System". It's designed to work with all distributions, especially those without proper package management (ie Slackware). It will work in a model similar to that of APT, but automatically convert it to .tgz format or something along those lines. More information can be had here.

  166. FreeBSD? (Not a flame.) by Enahs · · Score: 2

    I was just looking at FreeBSD's source because I'm working on porting their /bin /usr/bin & /usr/sbin (for starters) just for the hell of it. What I've noted (although this will be obvious to most readers:)

    1.) The whole system can be rebuilt by issuing a make.
    2.) there's a possibility of merely patching an existing system.
    3.) there's only one code base.

    It might be nice of the LSBP to keep a list of "current" projects and to help maintain a FreeBSD-like set of buildable dirs, allowing an entire system to be built.

    Alternatively, it'd be fun to put together a distro that does this--I talked to a guy around 4 years ago who was working on this at one time, the main problem being that Linux is merely a kernel and doesn't have a centralized authority as strong as other OSs. It would be nice to be able to, say, download a gzip'ed patch file, apply it to my source tree, and issue a 'make world' and have the whole system rebuilt before my eyes.

    *Sigh* I can dream, can't I.

    --
    Stating on Slashdot that I like cheese since 1997.
  167. Missing the point by X-Nc · · Score: 1
    I red the article and some of the posts here and it all seems that everyone misses the real point. It's basically the same situation as the GNOME/KDE thing. When you break it down to actually using the things there is no real major earth-shattering difference between rpm and apt (or Solaris' pkgadd, for that matter). They all work basically the same and they work just fine. Are they the pinicle of package management? No. Is one better than the other? Only from a standpoint of personal preference. It's like "Toh-MAY-toh"/"Toh-MAH-toh". Six of one, half-dozen of the other.

    As mentioned, the *BSD ports method is more flexable and better implimented than the Linux options but it's still not perfect. I think that the idea of looking at finding the next level of package management is what we need to do. It's what the article was basically about anyway.

    ---

    --
    --
    If I actually could spell I'd have spelled it right in the first place.
  168. One important point everyone seems to be missing by Anonymous Coward · · Score: 2
    While everyone seems to be busy in the .rpm vs .deb war, here's a *very* interesting quote from the article:
    Thanks to the efforts of Alfredo Kojima of WindowMaker fame, now working at RPM-based distributor Conectiva (...). most technical issues have been quickly addressed and, despite claims that it couldn't be done, it actually works.

    So, depite the configuration flaws described in the article, apt-get's dependency resolution and package retrieval is already working for RPMs, so even those who dismiss interactive configuration as a completely useless feature will still be able to upgrade their RPM-based systems using apt-get. Kudos to Mr. Kojima and the Conectiva people for that!

    Now could the other distros adopt apt-get as quickly as possible, please? Otherwise I'll be switching to Conectiva's distro in my next reinstall.

  169. You're kidding, right? by Anonymous Coward · · Score: 1
    I don't know where or how you've been using Windows, but it's a very widely known fact that Windows does not suvive software installs and de-installs very well. This fragility has long been one of the biggest problems with Windows, and it's traceable to not just mangled or ghost registry entries, but directories, files, DLL's, etc., left behind.

    This is why many veteram Windows users routinely nuke their installation and completely reinstall everything once every 6 to 12 months--it's the only way to unclog the system's arteries.

  170. I dont' see what the big deal is... by AintTooProudToBeg · · Score: 1

    I LOVE rpm! What could be easier than rpm -Uvh file.rpm?

    If it doesn't say ".rpm", I won't install it.

  171. Use Stormix then by Dionysus · · Score: 2

    If you don't like Debian, use Stormix then. It uses .debs too, *and* can still use the deb packages from the Debian website.

    --
    Je ne parle pas francais.
  172. Re:Linux is a glass statue when it comes to stabil by AviN · · Score: 1

    Oops. My mistake. :-)

  173. linux-ports? by Arandir · · Score: 4

    The small amount of time that I have been with FreeBSD, I am amazed at the power and flexibility of the ports system.Sure there's a few rough spots, but those are easy enough to polish out.

    For those that don't know, where the synopsis: the ports system is a collectin of makefiles and diffs to properly fetch, extract, configure, build, install and register a software package for the target system. A FreeBSD package is simply a port that has been precompiled, so you don't have to be afraid of typing "make" at the commandline. And these packages have utility programs along with them, like pkg_add, pkg_remove, pkg_info, etc. Dependencies are kept track of, including checking for individual libraries instead of monolithic packages. Very similar to Debian's method.

    So how does this fit into the Linux continuum? Well, right now there is a concerted effort to make a unified BSD ports system, instead of separate ones for each *BSD. There is no reason that Linux could not get involved so that there will be a linux-ports variant. Hell, there's no reason that it couldn't be a grand unified UNIX-PORTS! And there's no reason that deb and rpm packages can't be fit into the system as well. I keep hearing rumours that Slackware will go to a ports-style system, and I hope they do.

    If you're a potato or hamm head, and have always criticized the ports because it didn't have some minor feature, now is the time to get involved.

    --
    A Government Is a Body of People, Usually Notably Ungoverned
    1. Re:linux-ports? by AntiBasic · · Score: 1
      Well, right now there is a concerted effort to make a unified BSD ports system, instead of separate ones for each *BSD

      Actually the very first steps have been taken to unify all the ports trees. I recall it being listed on Daily Daemonnews and Daemonnews but both sites seem to be down at the moment.

  174. I will probably never code for Windows again by infiniti99 · · Score: 1

    I just spent about 3 hours making a port of one of my old DOS games to Linux. That's 3 hours from opening the SDL (Simple DirectMedia Layer) documentation, to compiling the final build of the game. I wish I could say the same about DirectX. That system is terrible! It took me a week to make the same port for Windows using DirectX (which was quite a hack).

    Developing in Linux is a joy. Gcc, Makefiles, etc. It's no different than when I worked with Unix or with DJGPP for DOS. VC++ is like a trip to another world. Must have a GUI frontend? Kdevelop is very good. I am not much of a GUI programmer (I can barely make a KDE or Windows program), but I've heard nothing but good about Trolltech's QT system. I cannot say the same about MFC or Win32.

    You think Windows is not a huge mob of code? I'd worry more about the stability of my Windows programs than my Linux programs. Win32 is just such a mess! It's the type of architecture where you are afraid of the API.

    If I must make a Windows port, SDL and QT thankfully support Windows. But I will develop in Linux.

    -Justin

    BTW if anyone wants to try out the game, check out http://www.affinix.com/~justin/munchman-1.0.tar.gz
    I think it's pretty cool still, even though I made the original DOS version in 1997.

  175. small clarification by The+Pim · · Score: 2

    Let me clarify (to allay a few of the flames) that I think all of the things on my list should be doable while I'm deciding what to install, preferably without downloading the whole package. I know I could do most items by writing a script to download the new package, possibly unpack it into a temp directory, and poke around. But imagine if you had to do this just to read the description of the package. I'm proposing that all of the things I list be as readily available as the package description.

    --

    The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
  176. Source RPMS broken, and *BSD ports have issues. by Anonymous Coward · · Score: 2

    I am in favor of RPM's, and personally, I like to build from source. I try and use SRPMS as much as possible, but they have absolutely insane dependencies at times. Installing, and building the SRPMS for openssh for example, require that you have gnome stuff installed. Why, because it wants to build gnome-askpass... It might be that the guy who build the package was asleep at the wheel, but it is highly aggrevating to have to edit the spec file every time I want to build something from source. They have a tendency to built into big monolithic pile, where you have to have them all or your stuck. I was trying to build a router, that I wanted to be highly secure so I build all things from source that didn't come off my official red hat CD, and it ended up having gnome development libraries, which required X, among other things. Note, change of topic: I have used ports on FreeBSD, they are very nice, I have found that RPMFind can approximate the same thing. The issue with ports, is that they are all centrally controlled by one small group of people. If they decide to not add some new package you want, you can't have it. If I write a port, I would have to submit it to them for the next update of ports. I am not sure I really want my packages in someone elses hands. I like FreeBSD, I thing they do lots of good things. I just don't want all my packages in there basket. Kirby

  177. aptitude by Eladio+McCormick · · Score: 2
    Forget about dselect. I haven't used dselect in almost a year. The good package management front end to Debian is aptitude.

    The version in Potato is not up to date, though; grab the version from unstable, and you'll be in heaven.