Announcement

Collapse
No announcement yet.

The One Problem I Have So Far With Fedora's DNF Package Manager

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • bug77
    replied
    Originally posted by Michael View Post

    It didn't use to be invalid, but now it is. With the yum command redirecting to dnf, what I'm arguing is that it's now breaking existing scripts -- even if the rest of the yum command/transaction is completely fine and normal -- rather than (in my opinion) just issuing a warning or silently ignoring that argument.
    I know what you mean, but since there's no yum, it would have to be dnf that ignores a non-existing option. And that would make dnf non-compliant. I'm not saying it's not annoying, I'm just saying the need to keep dnf compliant is understandable, since dnf is supposed to be the future while yum goes the way of the dodo.
    Plus, as mentioned above, one can always use update-alternatives and point yum as needed.

    Leave a comment:


  • Ericg
    replied
    Michael
    Wait, I can seriously tag users now!? That's awesome. Copy-pasting from other thread cause I just realized it'll probably get buried

    Hey Michael,

    Fedora 21, Firefox 37.0.2. If I browse to the forums via HTTPS (whether by manually adding https://, or running HTTPS Everywhere) i can't post. Like the "Reply" section doesn't work, doesn't accept input, doesn't have its little "Write something..." message

    Leave a comment:


  • Michael
    replied
    Originally posted by Ericg View Post

    Three methods to fix broke yum scripts, for anyone suffering from similar issues:

    1) Actually fix the script in whatever way needs be.
    2) swap "yum" to "yum-deprecated"
    3) if scripts can't be updated, or inconvenient, alias yum to yum-deprecated.
    I already updated my upstream scripts, albeit anyone using old versions of PTS on Fedora will then suddenly find their external dependency handling borked.

    Leave a comment:


  • Ericg
    replied
    Originally posted by Ouroboros View Post
    DNF's builddep plugin i able to automatically guess at dependencies unlike YUM, it now requires a SPEC to be provided which is extremely annoying
    DNF still doesn't have an equivalent to YUM's fastestmirror plugin AFAIK
    I've also had issues while trying to mass uninstall packages using wildcards with DNF (e.g. dnf remove wine-*)

    The fact that there's no option to force dnf builddep to guess without having to provide a SPEC is a deal breaker for me. I don't care if it wasn't always accurate, it was still extremely useful.
    There's a note about fastest mirror in the link. On mobile so can't really quote it. Just ctrl-f "fastestmirror"

    Leave a comment:


  • Ericg
    replied
    Originally posted by Michael View Post

    It didn't use to be invalid, but now it is. With the yum command redirecting to dnf, what I'm arguing is that it's now breaking existing scripts -- even if the rest of the yum command/transaction is completely fine and normal -- rather than (in my opinion) just issuing a warning or silently ignoring that argument.
    Three methods to fix broke yum scripts, for anyone suffering from similar issues:

    1) Actually fix the script in whatever way needs be.
    2) swap "yum" to "yum-deprecated"
    3) if scripts can't be updated, or inconvenient, alias yum to yum-deprecated.

    Leave a comment:


  • Ouroboros
    replied
    DNF's builddep plugin isn't able to automatically guess at dependencies unlike YUM, it now requires a SPEC to be provided which is extremely annoying
    DNF still doesn't have an equivalent to YUM's fastestmirror plugin AFAIK
    I've also had issues while trying to mass uninstall packages using wildcards with DNF (e.g. dnf remove wine-*)

    The fact that there's no option to force dnf builddep to guess without having to provide a SPEC is a deal breaker for me. I don't care if it wasn't always accurate, it was still extremely useful.
    Last edited by Ouroboros; 13 May 2015, 09:46 AM.

    Leave a comment:


  • Michael
    replied
    Originally posted by bug77 View Post
    $ ls -z
    ls: invalid option -- 'z'


    Looks like standard behaviour to err on invalid switches.
    It didn't use to be invalid, but now it is. With the yum command redirecting to dnf, what I'm arguing is that it's now breaking existing scripts -- even if the rest of the yum command/transaction is completely fine and normal -- rather than (in my opinion) just issuing a warning or silently ignoring that argument.

    Leave a comment:


  • bug77
    replied
    $ ls -z
    ls: invalid option -- 'z'


    Looks like standard behaviour to err on invalid switches.

    Leave a comment:


  • finalzone
    replied
    --skip-broken semantics is built-in in DNF by default. See

    Leave a comment:


  • The One Problem I Have So Far With Fedora's DNF Package Manager

    Phoronix: The One Problem I Have So Far With Fedora's DNF Package Manager

    DNF 1.0 was released this week ahead of the Fedora 22 debut later this month where it will replace Yum by default as the package manager. In my testing of DNF on Fedora 22 and earlier releases, it's worked out quite well, but there's one issue that still nags me about Dandified Yum...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Working...
X