Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Fedora's Yum Replacement Ready For User Testing

  1. #1
    Join Date
    Jan 2007
    Posts
    13,425

    Default Fedora's Yum Replacement Ready For User Testing

    Phoronix: Fedora's Yum Replacement Ready For User Testing

    DNF, the next-generation yum package manager spearheaded by the Fedora project, is now ready for end-user testing ahead of its expected use out-of-the-box by Fedora 22...

    http://www.phoronix.com/vr.php?view=MTU1ODU

  2. #2
    Join Date
    May 2012
    Posts
    674

    Default

    Question is, is DNF an in place replacement?
    Eg. if I run "yum install" is it yum or dnf?

    If not, I imagine quite a lot of people will have to rewrite their scripts
    and learn to use a new tool.

  3. #3

    Default

    Quote Originally Posted by mark45 View Post
    Question is, is DNF an in place replacement?
    Eg. if I run "yum install" is it yum or dnf?

    If not, I imagine quite a lot of people will have to rewrite their scripts
    and learn to use a new tool.
    dnf will become the new yum when it is ready. The command line and the output are also almost identical.

  4. #4
    Join Date
    Jan 2011
    Posts
    1,287

    Default

    Quote Originally Posted by mark45 View Post
    Question is, is DNF an in place replacement?
    Eg. if I run "yum install" is it yum or dnf?

    If not, I imagine quite a lot of people will have to rewrite their scripts
    and learn to use a new tool.
    As long as the only difference is the program's name, that shouldn't be the case. A symlink or an alias would solve it without bothering reviewing the scripts.

  5. #5
    Join Date
    Jul 2010
    Posts
    373

    Default

    Quote Originally Posted by mrugiero View Post
    As long as the only difference is the program's name, that shouldn't be the case. A symlink or an alias would solve it without bothering reviewing the scripts.
    Afaik it is not a "in place replacement".

    http://akozumpl.github.io/dnf/cli_vs_yum.html :
    DNF drops Yum’s protected_packages configuration option. Generally, DNF lets the user do what she specified, even have DNF itself removed.
    Yes, you can remove dnf or even the kernel.

    PS:
    You are free to write a plugin to fix this (provide yum like behavior) though.

  6. #6
    Join Date
    Aug 2012
    Location
    Pennsylvania, United States
    Posts
    1,749

    Default

    Quote Originally Posted by log0 View Post
    Afaik it is not a "in place replacement".

    http://akozumpl.github.io/dnf/cli_vs_yum.html :

    Yes, you can remove dnf or even the kernel.

    PS:
    You are free to write a plugin to fix this (provide yum like behavior) though.
    While I don't necessarily agree or disagree that you should not be able to remove dnf itself or the kernel... One of the devs make a valid point on the mailing list in rebuttal: If they're installing packages they already have root. If they already have root then there's also no protection against them accidentally doing rm -rf /boot or /usr or /etc or /bin or even more hilariously...

    sudo rm -rf ~ /bin

    (note the space), that would probably wipe out their entire home directory AND /bin, which depending on rm's code might either just wipe out the symlink, or it might follow the symlink and rip its way through /usr/bin/.

    The point being: if you've got root you have the ability to screw shit up, same old story as ever.

  7. #7
    Join Date
    Jan 2011
    Posts
    1,287

    Default

    Quote Originally Posted by log0 View Post
    Yes, you can remove dnf or even the kernel.
    APT lets you do the same, IIRC.
    Anyway, I don't use Fedora, it was just a guess and a suggestion.

  8. #8
    Join Date
    Jul 2010
    Posts
    373

    Default

    Quote Originally Posted by Ericg View Post
    While I don't necessarily agree or disagree that you should not be able to remove dnf itself or the kernel... One of the devs make a valid point on the mailing list in rebuttal: If they're installing packages they already have root. If they already have root then there's also no protection against them accidentally doing rm -rf /boot or /usr or /etc or /bin or even more hilariously...

    sudo rm -rf ~ /bin

    (note the space), that would probably wipe out their entire home directory AND /bin, which depending on rm's code might either just wipe out the symlink, or it might follow the symlink and rip its way through /usr/bin/.

    The point being: if you've got root you have the ability to screw shit up, same old story as ever.
    The point is that dnf is different compared to yum in this (let's say critical) area...

  9. #9
    Join Date
    Aug 2012
    Location
    Pennsylvania, United States
    Posts
    1,749

    Default

    Quote Originally Posted by log0 View Post
    The point is that dnf is different compared to yum in this (let's say critical) area...
    True, but the mailing list posters seemed to be more annoyed that this 'protection' was gone, rather than that it was different than yum-- which is what I was trying to get at

  10. #10
    Join Date
    Aug 2011
    Posts
    432

    Default

    Quote Originally Posted by RahulSundaram View Post
    dnf will become the new yum when it is ready. The command line and the output are also almost identical.
    Perfect. I prefer yum due to its superior and clear CLI, so I don't really care what runs under the hood.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •