Ask Your Question
1

dnf update

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

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

I've run sudo dnf update but something's going wrong on "libreoffice-core-4.1.4.2-5.fc20.x86_64.rpm".

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

Comments

1

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 -0600 )edit

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

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

1 Answer

Sort by ยป oldest newest most voted
2

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

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-4.1.4.2-5.fc20.x86_64.rpm
0646350d91e62fcc2c7634e4748528118a370b1c92e529091e6766388275ccc8  libreoffice-core-4.1.4.2-5.fc20.x86_64.rpm
[asinha@ankur-laptop  ~]$ md5sum libreoffice-core-4.1.4.2-5.fc20.x86_64.rpm
3d74e028f3a2ea35df8a34cd12bf4fdf  libreoffice-core-4.1.4.2-5.fc20.x86_64.rpm
[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

Comments

hmmm, I'm getting:

$ md5sum libreoffice-core-4.1.4.2-5.fc20.x86_64.rpm 
ff195631a8c9b030c424ca6dc1369162  libreoffice-core-4.1.4.2-5.fc20.x86_64.rpm
$ sha256sum libreoffice-core-4.1.4.2-5.fc20.x86_64.rpm 
36739f58fed79078be0bc3b0231cf73e3d4c0f8b2bc55a4c353b1f3f5f6e8e34  libreoffice-core-4.1.4.2-5.fc20.x86_64.rpm

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

jcuenod gravatar imagejcuenod ( 2014-01-28 04:29:45 -0600 )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 -0600 )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 -0600 )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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 3,801 times

Last updated: Feb 25 '14