Re: dnf remove qemu-img uninstall kernel
On 02/15/2016 08:53 AM, Jan Zelený wrote: On 12. 2. 2016 at 18:42:50, Sérgio Basto wrote: On Sex, 2016-02-12 at 19:36 +0100, Mattia Verga wrote: Il 12/02/2016 19:22, Sérgio Basto ha scritto: On Sex, 2016-02-12 at 19:18 +0100, Mattia Verga wrote: I've installed qemu to play with arm virtualization, now I want to uninstall it, but it seems that trying to uninstall anything qemu related also removes all installed kernels Is this a DNF bug? no this is : clean_requirements_on_remove=true in /etc/dnf/dnf.conf Thanks, setting it to "false" avoid kernel uninstalling. But if it's not a bug, I can hardly see the reason to have a "feature" that removes the kernel... dnf should not autoremove mandatory system components. But that's my opinion, there's probably an important reason for which I'm wrong. This behavior might not be caused by a bug in dnf. There has recently been a bug in PackageKit which you might be hitting. Most likely #1259865 is causing this issue. -- Michal -- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
Re: dnf remove qemu-img uninstall kernel
On 12. 2. 2016 at 18:42:50, Sérgio Basto wrote: > On Sex, 2016-02-12 at 19:36 +0100, Mattia Verga wrote: > > Il 12/02/2016 19:22, Sérgio Basto ha scritto: > > > On Sex, 2016-02-12 at 19:18 +0100, Mattia Verga wrote: > > > > I've installed qemu to play with arm virtualization, now I want > > > > to > > > > uninstall it, but it seems that trying to uninstall anything qemu > > > > related also removes all installed kernels Is this a DNF bug? > > > > > > no this is : > > > > > > clean_requirements_on_remove=true > > > > > > in /etc/dnf/dnf.conf > > > > Thanks, setting it to "false" avoid kernel uninstalling. > > > > But if it's not a bug, I can hardly see the reason to have a > > "feature" > > that removes the kernel... dnf should not autoremove mandatory > > system > > components. But that's my opinion, there's probably an important > > reason > > for which I'm wrong. This behavior might not be caused by a bug in dnf. There has recently been a bug in PackageKit which you might be hitting. It can also be that you reached limit of installonly packages. It's difficult to tell without deeper troubleshooting. > You may mark kernel and others stuff that you don't want install and by > default dnf have autoremove , I don't remember now the exact commands I'm not sure I understand but I think the command you are looking for is dnf mark install. The packages you specify will be marked as "user installed" and dnf will no longer consider them for auto removal. Thanks Jan -- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
Re: dnf remove qemu-img uninstall kernel
$ cat /etc/dnf/dnf.conf [main] gpgcheck=1 installonly_limit=3 clean_requirements_on_remove=True exclude=kernel Excerpt from man dnf.conf: installonlypkgs list List of provide names of packages that should only ever be installed, never upgraded. Kernels in particular fall into this category. These packages are never removed by dnf autoremove even if they were installed asdependencies(see clean_requirements_on_remove for auto removal details). The num‐ ber of kept package versions is regulated by installonly_limit. installonly_limit integer Number of installonly packages allowed to be installed concur‐ rently. Defaults to 3. -- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
Re: dnf remove qemu-img uninstall kernel
On Fri, Feb 12, 2016 at 8:36 PM, Mattia Verga wrote: > Il 12/02/2016 19:22, Sérgio Basto ha scritto: >> On Sex, 2016-02-12 at 19:18 +0100, Mattia Verga wrote: >> >> clean_requirements_on_remove=true >> >> in /etc/dnf/dnf.conf >> > Thanks, setting it to "false" avoid kernel uninstalling. Setting it to false does not work properly in all cases (any more?), so I wouldn't trust that alone. https://bugzilla.redhat.com/show_bug.cgi?id=1292915 -- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
Re: dnf remove qemu-img uninstall kernel
On 02/12/2016 07:18 PM, Mattia Verga wrote: I've installed qemu to play with arm virtualization, now I want to uninstall it, but it seems that trying to uninstall anything qemu related also removes all installed kernels Is this a DNF bug? Yes, kernels must never be removed unless explictly requested. Ralf -- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
Re: dnf remove qemu-img uninstall kernel
On Sex, 2016-02-12 at 19:36 +0100, Mattia Verga wrote: > Il 12/02/2016 19:22, Sérgio Basto ha scritto: > > On Sex, 2016-02-12 at 19:18 +0100, Mattia Verga wrote: > > > I've installed qemu to play with arm virtualization, now I want > > > to > > > uninstall it, but it seems that trying to uninstall anything qemu > > > related also removes all installed kernels Is this a DNF bug? > > no this is : > > > > clean_requirements_on_remove=true > > > > in /etc/dnf/dnf.conf > > > Thanks, setting it to "false" avoid kernel uninstalling. > > But if it's not a bug, I can hardly see the reason to have a > "feature" > that removes the kernel... dnf should not autoremove mandatory > system > components. But that's my opinion, there's probably an important > reason > for which I'm wrong. You may mark kernel and other packages that you want keep installed and by default dnf have autoremove , I don't remember now the exact commands ... > > Mattia > -- > devel mailing list > devel@lists.fedoraproject.org > http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject. > org -- Sérgio M. B. -- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
Re: dnf remove qemu-img uninstall kernel
On Sex, 2016-02-12 at 19:36 +0100, Mattia Verga wrote: > Il 12/02/2016 19:22, Sérgio Basto ha scritto: > > On Sex, 2016-02-12 at 19:18 +0100, Mattia Verga wrote: > > > I've installed qemu to play with arm virtualization, now I want > > > to > > > uninstall it, but it seems that trying to uninstall anything qemu > > > related also removes all installed kernels Is this a DNF bug? > > no this is : > > > > clean_requirements_on_remove=true > > > > in /etc/dnf/dnf.conf > > > Thanks, setting it to "false" avoid kernel uninstalling. > > But if it's not a bug, I can hardly see the reason to have a > "feature" > that removes the kernel... dnf should not autoremove mandatory > system > components. But that's my opinion, there's probably an important > reason > for which I'm wrong. You may mark kernel and others stuff that you don't want install and by default dnf have autoremove , I don't remember now the exact commands ... > > Mattia > -- > devel mailing list > devel@lists.fedoraproject.org > http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject. > org -- Sérgio M. B. -- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
Re: dnf remove qemu-img uninstall kernel
Il 12/02/2016 19:22, Sérgio Basto ha scritto: On Sex, 2016-02-12 at 19:18 +0100, Mattia Verga wrote: I've installed qemu to play with arm virtualization, now I want to uninstall it, but it seems that trying to uninstall anything qemu related also removes all installed kernels Is this a DNF bug? no this is : clean_requirements_on_remove=true in /etc/dnf/dnf.conf Thanks, setting it to "false" avoid kernel uninstalling. But if it's not a bug, I can hardly see the reason to have a "feature" that removes the kernel... dnf should not autoremove mandatory system components. But that's my opinion, there's probably an important reason for which I'm wrong. Mattia -- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
Re: dnf remove qemu-img uninstall kernel
On Sex, 2016-02-12 at 19:18 +0100, Mattia Verga wrote: > I've installed qemu to play with arm virtualization, now I want to > uninstall it, but it seems that trying to uninstall anything qemu > related also removes all installed kernels Is this a DNF bug? no this is : clean_requirements_on_remove=true in /etc/dnf/dnf.conf > # dnf remove qemu-img > Dipendenze risolte. > = > > PackageArch Versione Repository > Dim. > = > > Rimozione in corso: > SDL2 x86_64 2.0.3-7.fc23 @fedora 1.0 M > brlapi x86_64 0.6.3-10.fc23 @fedora 459 k > brltty x86_64 5.2-10.fc23 @fedora 5.1 M > corosync x86_64 2.3.5-1.fc23 @fedora 471 k > corosynclibx86_64 2.3.5-1.fc23 @fedora 281 k > glusterfs x86_64 3.7.6-2.fc23 @updates 1.6 M > glusterfs-api x86_64 3.7.6-2.fc23 @updates 141 k > glusterfs-client-xlators x86_64 3.7.6-2.fc23 @updates 3.3 M > glusterfs-fuse x86_64 3.7.6-2.fc23 @updates 317 k > glusterfs-libs x86_64 3.7.6-2.fc23 @updates 1.0 M > gperftools-libsx86_64 2.4-5.fc23 @fedora 1.3 M > hexeditx86_64 1.2.13-7.fc23 @fedora 69 k > hivex x86_64 1.3.11-11.fc23 @fedora 221 k > ipxe-roms-qemu noarch 20150407-3.gitdc795b9f.fc23 > @fedora 1.3 M > kernel x86_64 4.3.3-303.fc23 @updates 0 > kernel x86_64 4.3.4-300.fc23 @updates 0 > kernel x86_64 4.3.5-300.fc23 @updates 0 > libfdt x86_64 1.4.1-4.fc23 @fedora 41 k > libguestfs x86_64 1:1.32.2-1.fc23 @updates 3.8 > M > libguestfs-tools noarch 1:1.32.2-1.fc23 @updates 30 > k > libguestfs-tools-c x86_64 1:1.32.2-1.fc23 @updates 15 > M > libibverbs x86_64 1.1.8-4.fc23 @fedora 123 k > libiscsi x86_64 1.15.0-1.fc23 @fedora 186 k > libldm x86_64 0.2.3-8.fc23 @fedora 123 k > libosinfo x86_64 0.2.12-2.fc23 @fedora 1.4 M > libqb x86_64 0.17.2-1.fc23 @updates 181 k > librados2 x86_64 1:0.94.5-2.fc23 @updates 4.9 > M > librbd1x86_64 1:0.94.5-2.fc23 @updates 5.3 > M > librdmacm x86_64 1.0.18.1-4.fc23 @fedora 136 > k > libvirt-daemon-driver-interface > x86_64 1.2.18.2-2.fc23 @updates 108 > k > libvirt-daemon-driver-nodedev x86_64 1.2.18.2-2.fc23 @updates 103 > k > libvirt-daemon-driver-nwfilter x86_64 1.2.18.2-2.fc23 @updates 165 > k > libvirt-daemon-driver-qemu x86_64 1.2.18.2-2.fc23 @updates 1.3 > M > libvirt-daemon-driver-secret x86_64 1.2.18.2-2.fc23 @updates 83 > k > libvirt-daemon-driver-storage x86_64 1.2.18.2-2.fc23 @updates 561 > k > libvirt-daemon-kvm x86_64 1.2.18.2-2.fc23 @updates 0 > lsscsi x86_64 0.28-2.fc23 @fedora 101 k > lzop x86_64 1.03-13.fc23 @updates 103 k > mesa-libGLES x86_64 11.1.0-2.20151218.fc23 > @updates > 55 k > netcf-libs x86_64 0.2.8-3.fc23 @updates 199 k > nfs-utils x86_64 1:1.3.3-6.rc3.fc23 @updates > 867 k > perl-Sys-Guestfs x86_64 1:1.32.2-1.fc23 @updates 1.2 > M > perl-Sys-Virt x86_64 1.2.16-3.fc23 @fedora 781 k > perl-hivex x86_64 1.3.11-11.fc23 @fedora 91 k > perl-libintl x86_64 1.20-18.fc23 @fedora 4.2 M > qemu-commonx86_64 2:2.4.1-6.fc23 @updates 878 k > qemu-img x86_64 2:2.4.1-6.fc23 @updates 3.0 M > qemu-kvm x86_64 2:2.4.1-6.fc23 @updates 0 > qemu-system-x86x86_64 2:2.4.1-6.fc23 @updates 14 M > scrub x86_64 2.5.2-7.fc23 @fedora 115 k > seabios-binnoarch 1.8.2-1.fc23 @fedora 1.5 M > seavgabios-bin noarch 1.8.2-1.fc23 @fedora 228 k > sgabios-binnoarch 1:0.20110622svn-8.fc23 > @fedora > 4.0 k > sheepdog x86_64 0.3.0-10.fc23 @fedora 232 k > spice-server x86_64 0.12.6-1.fc23 @fedora 1.2 M > supermin x86_64 5.1.13-3.fc23 @fedora 1.7 M > vte-profilex86_64 0.42.3-1.fc23 @updates 2.0 k > vte3 x86_64 0.36.5-1.fc23 @fedora 987 k > zerofree x86_64 1.0.3-4.fc23 @fedora 47 k > > Riepilogo della transazione > ==
dnf remove qemu-img uninstall kernel
I've installed qemu to play with arm virtualization, now I want to uninstall it, but it seems that trying to uninstall anything qemu related also removes all installed kernels Is this a DNF bug? # dnf remove qemu-img Dipendenze risolte. = PackageArch Versione Repository Dim. = Rimozione in corso: SDL2 x86_64 2.0.3-7.fc23 @fedora 1.0 M brlapi x86_64 0.6.3-10.fc23 @fedora 459 k brltty x86_64 5.2-10.fc23 @fedora 5.1 M corosync x86_64 2.3.5-1.fc23 @fedora 471 k corosynclibx86_64 2.3.5-1.fc23 @fedora 281 k glusterfs x86_64 3.7.6-2.fc23 @updates 1.6 M glusterfs-api x86_64 3.7.6-2.fc23 @updates 141 k glusterfs-client-xlators x86_64 3.7.6-2.fc23 @updates 3.3 M glusterfs-fuse x86_64 3.7.6-2.fc23 @updates 317 k glusterfs-libs x86_64 3.7.6-2.fc23 @updates 1.0 M gperftools-libsx86_64 2.4-5.fc23 @fedora 1.3 M hexeditx86_64 1.2.13-7.fc23 @fedora 69 k hivex x86_64 1.3.11-11.fc23 @fedora 221 k ipxe-roms-qemu noarch 20150407-3.gitdc795b9f.fc23 @fedora 1.3 M kernel x86_64 4.3.3-303.fc23 @updates 0 kernel x86_64 4.3.4-300.fc23 @updates 0 kernel x86_64 4.3.5-300.fc23 @updates 0 libfdt x86_64 1.4.1-4.fc23 @fedora 41 k libguestfs x86_64 1:1.32.2-1.fc23 @updates 3.8 M libguestfs-tools noarch 1:1.32.2-1.fc23 @updates 30 k libguestfs-tools-c x86_64 1:1.32.2-1.fc23 @updates 15 M libibverbs x86_64 1.1.8-4.fc23 @fedora 123 k libiscsi x86_64 1.15.0-1.fc23 @fedora 186 k libldm x86_64 0.2.3-8.fc23 @fedora 123 k libosinfo x86_64 0.2.12-2.fc23 @fedora 1.4 M libqb x86_64 0.17.2-1.fc23 @updates 181 k librados2 x86_64 1:0.94.5-2.fc23 @updates 4.9 M librbd1x86_64 1:0.94.5-2.fc23 @updates 5.3 M librdmacm x86_64 1.0.18.1-4.fc23 @fedora 136 k libvirt-daemon-driver-interface x86_64 1.2.18.2-2.fc23 @updates 108 k libvirt-daemon-driver-nodedev x86_64 1.2.18.2-2.fc23 @updates 103 k libvirt-daemon-driver-nwfilter x86_64 1.2.18.2-2.fc23 @updates 165 k libvirt-daemon-driver-qemu x86_64 1.2.18.2-2.fc23 @updates 1.3 M libvirt-daemon-driver-secret x86_64 1.2.18.2-2.fc23 @updates 83 k libvirt-daemon-driver-storage x86_64 1.2.18.2-2.fc23 @updates 561 k libvirt-daemon-kvm x86_64 1.2.18.2-2.fc23 @updates 0 lsscsi x86_64 0.28-2.fc23 @fedora 101 k lzop x86_64 1.03-13.fc23 @updates 103 k mesa-libGLES x86_64 11.1.0-2.20151218.fc23 @updates 55 k netcf-libs x86_64 0.2.8-3.fc23 @updates 199 k nfs-utils x86_64 1:1.3.3-6.rc3.fc23 @updates 867 k perl-Sys-Guestfs x86_64 1:1.32.2-1.fc23 @updates 1.2 M perl-Sys-Virt x86_64 1.2.16-3.fc23 @fedora 781 k perl-hivex x86_64 1.3.11-11.fc23 @fedora 91 k perl-libintl x86_64 1.20-18.fc23 @fedora 4.2 M qemu-commonx86_64 2:2.4.1-6.fc23 @updates 878 k qemu-img x86_64 2:2.4.1-6.fc23 @updates 3.0 M qemu-kvm x86_64 2:2.4.1-6.fc23 @updates 0 qemu-system-x86x86_64 2:2.4.1-6.fc23 @updates 14 M scrub x86_64 2.5.2-7.fc23 @fedora 115 k seabios-binnoarch 1.8.2-1.fc23 @fedora 1.5 M seavgabios-bin noarch 1.8.2-1.fc23 @fedora 228 k sgabios-binnoarch 1:0.20110622svn-8.fc23 @fedora 4.0 k sheepdog x86_64 0.3.0-10.fc23 @fedora 232 k spice-server x86_64 0.12.6-1.fc23 @fedora 1.2 M supermin x86_64 5.1.13-3.fc23 @fedora 1.7 M vte-profilex86_64 0.42.3-1.fc23 @updates 2.0 k vte3 x86_64 0.36.5-1.fc23 @fedora 987 k zerofree x86_64 1.0.3-4.fc23 @fedora 47 k Riepilogo della transazione = Remove 59 Packages -- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org