![]() |
2010-02-17
, 16:19
|
Posts: 104 |
Thanked: 47 times |
Joined on Sep 2009
@ Kassel, Hesse, Germany
|
#102
|
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.
apt-get install <package name>
![]() |
2010-02-17
, 16:22
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#103
|
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.
‘stat overrides’ are a way to tell dpkg to use a different owner or mode for a file when a package is installed. (note: I use the word ‘file’ here, but in reality this can be any filesystem object that dpkg handles, including directories, devices, etc.). This can be used to force programs that are normally setuid to be install without a setuid flag, or only executable by a certain group.
The Following 2 Users Say Thank You to attila77 For This Useful Post: | ||
![]() |
2010-02-17
, 16:22
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#104
|
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?
yum localinstall file.rpm
The Following User Says Thank You to Rob1n For This Useful Post: | ||
![]() |
2010-02-17
, 16:22
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#105
|
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
![]() |
2010-02-17
, 16:25
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#106
|
Another problem I have with RPM's (and have already mentioned).. I have already specified no less than 5 primary managers for RPM: URPMI, Yast, Yum, Apt and up2date. Confusing much?
![]() |
2010-02-17
, 16:31
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#107
|
![]() |
2010-02-17
, 16:32
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#108
|
But if you add apt-get to the dpkg side, you have to add yum or an alternative to the rpm side.
You're forgetting zypper, which is the one MeeGo will be using.
My opinion here is that fragmentation is good, but I don't plan to enter this one religious war (note debian has aptitude; in fact apt is deprecated).
The Following User Says Thank You to fatalsaint For This Useful Post: | ||
![]() |
2010-02-17
, 16:39
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#109
|
As I've said, I've got absolutely no preference myself. In my experience, there's nothing that's being done using DEBs in Maemo that can't be done with RPM, and there's also nothing that RPMs provide that we're lacking in the current DEBs.
The Following 6 Users Say Thank You to attila77 For This Useful Post: | ||
![]() |
2010-02-17
, 16:42
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#110
|
The Following 3 Users Say Thank You to Rob1n For This Useful Post: | ||
![]() |
Tags |
rabble-rousing, rpm vs. deb war, rpmligion vs debligion, vote attila77 |
Thread Tools | |
|
apt-get upgrade is really the only "safe" measure in apt that only upgrades things that only require other upgrades. Anything else works like a dist-upgrade, which is what I guess -F does NOT do.
But again.. I've never seen a need for this..
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!