The Following 2 Users Say Thank You to rm42 For This Useful Post: | ||
|
2010-02-17
, 15:50
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#92
|
As far as his Build documentation (#4), that's entirely perspective. I have never had a problem finding the necessary how-to's to building a deb file properly or the proper formatting of the files.
The Build files (#5), again, never had a problem with this. And the nice thing about the debian/rules file is you can manually edit the exact steps needed to compile a piece of software: in case you get something that is written using a strange system other than cmake/qmake/automake/etc. I personally like having separate files, it's cleaner and easier to read, than a single, long, file to accomplish the same thing.
|
2010-02-17
, 15:57
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#93
|
This is actually a matter of preference. Having dpkg behave in this way allows me to then do "apt-get -f install" to automatically download and grab the dependencies for that package, and then properly install all of them. No dependency hell (meaning tracking them down myself, or yum installing them one by one), so to speak. What is the equivalent of this in rpm?
Somebody else will need to address 6.. I don't understand how RPM can magically allow a user to suid root a binary that debian can't. This looks like something that should be taken care of in a postinst type script and can only be done as root... and the .deb takes and packages up the files with the permissions that they were given when you build the deb package - so if you suid the binary as root, build the deb, and then install it - it will come out suid. I don't understand what he's getting at.
|
2010-02-17
, 15:57
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#94
|
|
2010-02-17
, 15:58
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#95
|
1. I think apt-get dist-upgrade does exactly what he describes. In additions there is an (admittedly seldom used) selection mechanism using which you can specify exact packages to operate on, see dpkg --set-selections (and it's friends, get a and clear) plus apt-get dselect-upgrade
|
2010-02-17
, 15:59
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#96
|
With RPM you can specify the specific ownership and file permissions that should be applied to the installed files - the permissions on the files pre-packaging can be completely overridden. As you say, can be done in postinst but RPM presents a slightly (IMO) cleaner way of keeping this data in one place.
|
2010-02-17
, 16:02
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#97
|
Actually that's the opposite of what he says . dist-upgrade will upgrade a package allowing changes to other packages, including installing new ones or removing old ones. He said he didn't want that - which is what apt-get upgrade did... but he wants to do that only on a certain list of packages.
|
2010-02-17
, 16:05
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#98
|
|
2010-02-17
, 16:16
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#99
|
You'd have to install the dependencies first, then install the RPM. As you say, doesn't really make much difference.
dpkg -i MyOwnDebIMadeYay.deb && apt-get -f install
|
2010-02-17
, 16:18
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#100
|
Right, but how do you get the dependency names?? For example:
A single line just installed my package with dependency handling without using any loops, cut's, line editing/parsing, etc. Assuming, of course, my dependencies are in the repo's on my system, and that the package I'm installing doesn't depend on other weird crap.Code:dpkg -i MyOwnDebIMadeYay.deb && apt-get -f install
How do I do that with RPM?
The Following 2 Users Say Thank You to javispedro For This Useful Post: | ||
Tags |
rabble-rousing, rpm vs. deb war, rpmligion vs debligion, vote attila77 |
|
I appreciate you taking the time to respond. (Edit: And every one else's) I agree with your conclusion.
-- Worse than not knowing is not wanting to know! --
http://temporaryland.wordpress.com/