Poll: What is your opinion about the migration to Moblin/RPM
Poll Options
What is your opinion about the migration to Moblin/RPM

Reply
Thread Tools
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#91
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/
 

The Following 2 Users Say Thank You to rm42 For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#92
Originally Posted by fatalsaint View Post
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.
I talked to the guy on IRC and he didn't know debhelper 7. that explains a lot.
And with the new Debian source format 3.0, which is a tar.gz of the debian directory, it's now much easier to store binary files (e.g., icons) in the diff.
I think the debian dir is much more flexible then a spec file.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#93
Originally Posted by fatalsaint View Post
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?
You'd have to install the dependencies first, then install the RPM. As you say, doesn't really make much difference.

Originally Posted by fatalsaint View Post
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.
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.

I'd agree with you otherwise - I've used a variety of package types (mostly RPM at work, using apt4rpm, smart, and now yum; ebuilds at home, and debs on the N800 and N900), and there's little practical difference between them nowadays.

P.S. And please don't mention the abortion that is up2date anywhere around me...
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#94
Originally Posted by attila77 View Post
8. debhelpers know about --prefix and dpkg itself has --instdir, it was (again) Nokia's choice to use special /opt handling instead.
debhelper doesn't know --prefix yet, but I have a patch for debhelper7.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#95
Originally Posted by attila77 View Post
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
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.

You're probably onto something with dselect.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following 2 Users Say Thank You to fatalsaint For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#96
Originally Posted by Rob1n View Post
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.
In what way is this different from what dpkg-statoverride does ?
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#97
Originally Posted by fatalsaint View Post
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.
basically he wants something like "apt-get upgrade libqt-*" which only selects
installed "libqt-*". There are several ways to query those package names
with dpkg and then you simply pass them to apt-get.
 

The Following 2 Users Say Thank You to titan For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#98
Originally Posted by attila77 View Post
In what way is this different from what dpkg-statoverride does ?
I've no idea - I've never built a debian package. I was responding to the comment that .deb "packages up the files with the permissions that they were given when you build the deb package". If there's a alternate way to specify these permissions with .debs, then I don't see it makes much difference which format you use.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#99
Originally Posted by Rob1n View Post
You'd have to install the dependencies first, then install the RPM. As you say, doesn't really make much difference.
Right, but how do you get the dependency names?? For example:

Code:
 dpkg -i MyOwnDebIMadeYay.deb && apt-get -f install
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.

How do I do that with RPM?
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#100
Originally Posted by fatalsaint View Post
Right, but how do you get the dependency names?? For example:

Code:
 dpkg -i MyOwnDebIMadeYay.deb && apt-get -f install
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.

How do I do that with RPM?
Yum has a feature where it will install rpms from disk with dependency checking. "how can I install a .deb from disk using apt-get" is a _very_ common question in fedora->debian newbies (see http://ubuntuforums.org/showthread.php?t=880612 , http://www.mail-archive.com/ubuntu-b...sg1661126.html ), which is something I find pretty ironic considering the current context
 

The Following 2 Users Say Thank You to javispedro For This Useful Post:
Reply

Tags
rabble-rousing, rpm vs. deb war, rpmligion vs debligion, vote attila77


 
Forum Jump


All times are GMT. The time now is 15:33.