Ask Your Question

dnf update

asked 2014-01-28 03:24:50 -0500

updated 2014-02-25 05:43:07 -0500

I've run sudo dnf update but something's going wrong on "libreoffice-core-".

I used watch ls on the file (/var/cache/dnf/.../packages/) as it was downloading size and saw that it downloaded entirely. I copied the complete file to my home folder and have opened it successfully with Archive Manager.

dnf, however, seems to think there's something wrong with it because after a few seconds it starts downloading it again (from 0 bytes). I tried copying the file back into dnf's cache which didn't fool it. Any ideas what's wrong - it certainly seems that the rpm is fine.

[Update] Apparently the rpm is failing the sha256 check (thanks to dnf -v)

[Update 2] I've just had this problem again. I manually download the problem packages and everything works fine but something is going wrong with dnf's downloading of the packages. Perhaps it does not close the file or something. It's just happened with webkitgtk-2.2.5-1.fc20.x86_64.rpm and firefox-27.0-1.fc20.x86_64.rpm but I can't see any rhyme or reason as to why those packages gave issues...

edit retag flag offensive close merge delete



What exactly is wrong with the libreoffice-core package? You should get a more detailed error output. Could you please post it?

tomspur gravatar imagetomspur ( 2014-01-28 03:32:28 -0500 )edit

The output with dnf -v would be informative to look at :)

FranciscoD_ gravatar imageFranciscoD_ ( 2014-01-28 05:23:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-28 03:32:56 -0500

FranciscoD_ gravatar image

Not really sure here. I have the same version of the rpm, and it installed fine.

Please verify the rpm. This is what I have:

[asinha@ankur-laptop  ~]$ sha256sum libreoffice-core-
0646350d91e62fcc2c7634e4748528118a370b1c92e529091e6766388275ccc8  libreoffice-core-
[asinha@ankur-laptop  ~]$ md5sum libreoffice-core-
3d74e028f3a2ea35df8a34cd12bf4fdf  libreoffice-core-
[asinha@ankur-laptop  ~]$

You can run dnf in verbose mode and see if it says anything too:

dnf -v ...
edit flag offensive delete link more


hmmm, I'm getting:

$ md5sum libreoffice-core- 
ff195631a8c9b030c424ca6dc1369162  libreoffice-core-
$ sha256sum libreoffice-core- 
36739f58fed79078be0bc3b0231cf73e3d4c0f8b2bc55a4c353b1f3f5f6e8e34  libreoffice-core-

It shouldn't open in archive manager though then should it?

jcuenod gravatar imagejcuenod ( 2014-01-28 04:29:45 -0500 )edit

That isn't necessary. The file manager might just rely on the rpm header which may be intact. I can open this rpm just fine in mc here. You could check a mirror other than the one dnf is using to see what the correct md5 etc. is. I just ran yumdownloader to obtain the rpm

FranciscoD_ gravatar imageFranciscoD_ ( 2014-01-28 05:22:06 -0500 )edit

Thanks man, I used yumdownloader to 'finish' the download that I'd backed up and copied the resulting file back into dnf's cache and it's worked like a charm - so apparently dnf failed to complete the download for some reason...

jcuenod gravatar imagejcuenod ( 2014-01-28 06:59:51 -0500 )edit

okay, sorry now it's happening to qt-x11-4.8.5-15.fc20.i686.rpm. The difference is that now yumdownloader can't find that package for some reason (I have run yum update). I tried using wget to fetch it but the checksums are not matching. Any further insights?

jcuenod gravatar imagejcuenod ( 2014-01-29 04:35:18 -0500 )edit

Question Tools

1 follower


Asked: 2014-01-28 03:24:50 -0500

Seen: 3,806 times

Last updated: Feb 25 '14