Ask Your Question
2

dnf install do nothing

asked 2016-04-26 21:47:12 -0500

Sanjcho gravatar image

updated 2016-04-27 20:08:42 -0500

I have installed Fedora23 last week and till today all worked properly. But after installing nodejs, command sudo dnf install [something] do nothing. The same with dnf update , dnf upgrade , dnf downgrade [something], dnf autoremove. It really do nothing, only blinking cursor after entering command..

I'm try to do dnf clean all, it clean some files, but dnf still don't work.. Interestingly that dnf remove working properly, for example i successfully remove nodejs, but after making it, all remained the same..

Updated: Many thanks for your answer! History list didn't look like strange:

18 | remove nodejs            | 2016-04-27 07:28 | Erase          |    2   
17 | install nodejs           | 2016-04-26 07:40 | Install        |    2   
16 | install postgresql-devel | 2016-04-26 07:33 | Install        |    1

But there are some strange tings in history info

Command: remove nodejs
Action complete:
    installed    dnf-1.1.8-1.fc23.noarch         @updates
    installed    rpm-4.13.0-0.rc1.12.fc23.x86_64 @updates
Packeges changed:
    Removed nodejs-0.10.42-4.fc23.x86_64            @updates
    Removed compat-libuv010-1:0.10.34-4.fc23.x86_64 @updates

Maybe the problem is with dnf-1.1.8-1.fc23.noarch, how can i downgrade it, if dnf downgrade don't work?

edit retag flag offensive close merge delete

Comments

What do you mean by "does nothing". What's the output of sudo dnf clean all && sudo dnf upgrade?

florian gravatar imageflorian ( 2016-04-27 20:32:30 -0500 )edit

Thanks you for a comment, my problem was resolved with very strange actions...

Sanjcho gravatar imageSanjcho ( 2016-04-27 21:19:43 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-04-27 21:36:36 -0500

Sanjcho gravatar image

My problem was resolved, but i don't understand how... The first thing that i made after installing Fedora23 was sudo dnf update and after that i get 2 different Fedora in my boot menu:Fedora (4.4.7-300.fc23.x86-64) and Fedora (4.2.3-300.fc23.x86-64). I always choose the first thing to boot. And now i try to boot the 4.2.3 fedora and - a miracle! - dnf install work there properly! I have installed a few packeges there, like zsh and i3, and nextly reboot in 4.4.7 version of Fedora... And - a miracle! - dnf install work properly there too! In Russia things like that named by "dancing with a tambourine"...

That can be helpful for somebody. Make a comment if you don't think so.

edit flag offensive delete link more

Comments

When you installed F23, it had kernel 4.2.3-300.fc23.x86-64 and when you did an update with dnf, a new version of kernel was installed. When you boot, the GRUB menu will display the kernels installed with the latest one at the top. Always boot into the latest one unless you have a specific software/hardware requirement that works only with the old kernel. dnf install will work with both kernels.

anishjp gravatar imageanishjp ( 2016-04-28 02:31:12 -0500 )edit
1

answered 2016-04-27 07:19:56 -0500

cialu gravatar image

If you find some warnings with:

sudo dnf history info

maybe you can find the issue with:

sudo dnf history list

to see which packages got updated lately.

edit flag offensive delete link more

Comments

1

Thank you very much! I have updated my question using that command.

Sanjcho gravatar imageSanjcho ( 2016-04-27 20:11:17 -0500 )edit
1

You're welcome!

cialu gravatar imagecialu ( 2016-04-28 02:28:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-04-26 21:47:12 -0500

Seen: 637 times

Last updated: Apr 27 '16