Re: Is DNF5 Working Correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/11/24 09:09, Samuel Sieb wrote:
On 11/3/24 1:57 PM, Stephen Morris wrote:
On 4/11/24 08:52, Samuel Sieb wrote:
On 11/3/24 1:35 PM, Stephen Morris wrote:
     When I issued the command sudo dnf upgrade needs-restarting, it updated and loaded all the repositories and said there was nothing to do.

     When I issued the command immediately after the above one, sudo dnf needs-restarting, it updated and loaded all the repositories again and said "No core libraries or services have been updated since boot-up. Reboot should not be necessary".

     When I issue the command immediately after the 2nd command above, sudo dnf upgrade, It loaded all the repositories and then said there were 193 packages to upgrade and 195 packages to replace.

     Given that there were updates to put on why did the first command not put the updates on and then display whether or not as a result a restart was required and for which packages?

Your first command was telling dnf to upgrade a package called "needs- restarting".  You can only give dnf one command at a time.

Nothing to do with dnf5.  That's how it's always worked.
Does this mean that with the tracer addin no longer working there is no way to get the equivalent functionality with dnf at update time?

How did you do this before?  The only difference between dnf4 and dnf5 is that dnf4 will actually tell you that there's no package called "needs-restarting" where dnf5 just says there's nothing to do.  You also showed that the "needs-restarting" command is also working, so there's no issue here.

In dnf4 I was using the tracer plugin, which seems to not work in dnf5, so in dnf4 the needs-restarting was not required, although in dnf4 I don't remember seeing needs-restarting as a command when issuing dnf --help.
With the plugins not working I was expecting to be able to issue both commands at once and get the equivalent functionality to the tracer plugin.

regards,
Steve


Attachment: OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux