LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   yum update errors (https://www.linuxquestions.org/questions/fedora-35/yum-update-errors-839603/)

faizlo 10-21-2010 01:17 PM

yum update errors
 
Hi,

I was trying to update my system few minutes ago, and I got this error:
Code:

Error: Package: coreutils-8.4-8.fc13.i686 (@updates)
          Requires: coreutils-libs = 8.4-8.fc13
          Removing: coreutils-libs-8.4-8.fc13.i686 (@updates)
              coreutils-libs = 8.4-8.fc13
          Updated By: coreutils-libs-8.4-9.fc13.i686 (updates)
              coreutils-libs = 8.4-9.fc13
          Available: coreutils-libs-8.4-6.fc13.i686 (fedora)
              coreutils-libs = 8.4-6.fc13
 You could try using --skip-broken to work around the problem
** Found 8 pre-existing rpmdb problem(s), 'yum check' output follows:
1:NetworkManager-glib-0.8.1-8.git20100831.fc13.i686 is a duplicate with 1:NetworkManager-glib-0.8.1-6.git20100831.fc13.i686
coreutils-8.4-9.fc13.i686 is a duplicate with coreutils-8.4-8.fc13.i686
coreutils-8.4-9.fc13.i686 has missing requires of coreutils-libs = ('0', '8.4', '9.fc13')
freetype-2.3.11-6.fc13.i686 is a duplicate with freetype-2.3.11-3.fc13.i686
1:java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.i686 is a duplicate with 1:java-1.6.0-openjdk-1.6.0.0-42.b18.fc13.i686
mysql-libs-5.1.51-2.fc13.i686 is a duplicate with mysql-libs-5.1.50-2.fc13.i686
poppler-0.12.4-6.fc13.i686 is a duplicate with poppler-0.12.4-5.fc13.i686
setroubleshoot-server-2.2.102-1.fc13.i686 is a duplicate with setroubleshoot-server-2.2.99-1.fc13.i686

I tried these two commands:
Code:

yum clean all
yum clean metadata

But it did not work. I think its a conflict between dependencies and I wish someone can help with that.

John VV 10-21-2010 01:29 PM

what repos do you have on ???
it looks like you might have turned fedora-TESTING on
if you did -- turn it OFF


-- these SHOULD BE OFF --
*-testing
rawhide ( -- big time OFF )

Quote:

You could try using --skip-broken to work around the problem
Have you tried the error massage suggestion ???

faizlo 10-21-2010 02:05 PM

My repos are:
update
fedora
rpmfusion
adobe (flash)
google (chrome, talk)

I have not turned the testing on, and I have not also tried the suggestion on the error message. I do not want to skip dependencies.
Is it possible there is a conflict on the repos themselves?

Thanks

sampappachan_nyc 10-21-2010 02:16 PM

This is due to duplicate packages present.
 
faizlo,

Do rpm -qa |grep -i 'packagename'

ie.
#####################################
rpm -qa |grep 'coreutils-libs'

coreutils-libs-8.4-9.fc13.i686
coreutils-libs-8.4-9.fc13.i686
#####################################

and remove the duplicate package using rpm -e

rpm -e coreutils-libs-8.4-9.fc13.i686

do an updatedb command at the end.

Resolved :)

faizlo 10-21-2010 03:16 PM

Code:

[root@faizlo-desktop faizlo]# rpm -qa |grep 'coreutils'
policycoreutils-2.0.83-28.fc13.i686
policycoreutils-python-2.0.83-28.fc13.i686
coreutils-8.4-9.fc13.i686
coreutils-libs-8.4-8.fc13.i686
coreutils-8.4-8.fc13.i686
[root@faizlo-desktop faizlo]# rpm -e coreutils-8.4-8.fc13.i686
error: Failed dependencies:
        coreutils = 8.4-8.fc13 is needed by (installed) coreutils-libs-8.4-8.fc13.i686
[root@faizlo-desktop faizlo]# rpm -qa |grep 'coreutils-libs'
coreutils-libs-8.4-8.fc13.i686
[root@faizlo-desktop faizlo]# rpm -e coreutils-8.4-9.fc13.i686
[root@faizlo-desktop faizlo]# updatedb
[root@faizlo-desktop faizlo]# yum update
Loaded plugins: presto, refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package coreutils.i686 0:8.4-9.fc13 set to be updated
---> Package coreutils-libs.i686 0:8.4-9.fc13 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                          Arch                  Version                        Repository                Size
========================================================================================================================
Updating:
 coreutils                        i686                  8.4-9.fc13                    updates                  3.0 M
 coreutils-libs                  i686                  8.4-9.fc13                    updates                    45 k


Transaction Summary
========================================================================================================================
Upgrade      2 Package(s)

Total download size: 3.0 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
/usr/share/man/man1/base64.1.gz: contents have been changed
/usr/share/man/man1/cat.1.gz: contents have been changed
/usr/share/man/man1/chcon.1.gz: contents have been changed
/usr/share/man/man1/chgrp.1.gz: contents have been changed
/usr/share/man/man1/chmod.1.gz: contents have been changed
/usr/share/man/man1/chown.1.gz: contents have been changed
/usr/share/man/man1/comm.1.gz: contents have been changed
/usr/share/man/man1/cp.1.gz: contents have been changed
/usr/share/man/man1/csplit.1.gz: contents have been changed
/usr/share/man/man1/cut.1.gz: contents have been changed
/usr/share/man/man1/dd.1.gz: contents have been changed
/usr/share/man/man1/df.1.gz: contents have been changed
/usr/share/man/man1/dir.1.gz: contents have been changed
/usr/share/man/man1/du.1.gz: contents have been changed
/usr/share/man/man1/echo.1.gz: contents have been changed
/usr/share/man/man1/expand.1.gz: contents have been changed
/usr/share/man/man1/expr.1.gz: contents have been changed
/usr/share/man/man1/factor.1.gz: contents have been changed
/usr/share/man/man1/false.1.gz: contents have been changed
/usr/share/man/man1/fmt.1.gz: contents have been changed
/usr/share/man/man1/fold.1.gz: contents have been changed
/usr/share/man/man1/groups.1.gz: contents have been changed
/usr/share/man/man1/hostid.1.gz: contents have been changed
/usr/share/man/man1/id.1.gz: contents have been changed
/usr/share/man/man1/install.1.gz: contents have been changed
/usr/share/man/man1/join.1.gz: contents have been changed
/usr/share/man/man1/ln.1.gz: contents have been changed
/usr/share/man/man1/logname.1.gz: contents have been changed
/usr/share/man/man1/ls.1.gz: contents have been changed
/usr/share/man/man1/mkfifo.1.gz: contents have been changed
/usr/share/man/man1/mknod.1.gz: contents have been changed
/usr/share/man/man1/mv.1.gz: contents have been changed
/usr/share/man/man1/nice.1.gz: contents have been changed
/usr/share/man/man1/nohup.1.gz: contents have been changed
/usr/share/man/man1/od.1.gz: contents have been changed
/usr/share/man/man1/paste.1.gz: contents have been changed
/usr/share/man/man1/pathchk.1.gz: contents have been changed
/usr/share/man/man1/pinky.1.gz: contents have been changed
/usr/share/man/man1/printenv.1.gz: contents have been changed
/usr/share/man/man1/printf.1.gz: contents have been changed
/usr/share/man/man1/ptx.1.gz: contents have been changed
/usr/share/man/man1/pwd.1.gz: contents have been changed
/usr/share/man/man1/rm.1.gz: contents have been changed
/usr/share/man/man1/runcon.1.gz: contents have been changed
/usr/share/man/man1/runuser.1.gz: contents have been changed
/usr/share/man/man1/sha224sum.1.gz: contents have been changed
/usr/share/man/man1/sha256sum.1.gz: contents have been changed
/usr/share/man/man1/sha384sum.1.gz: contents have been changed
/usr/share/man/man1/shred.1.gz: contents have been changed
/usr/share/man/man1/shuf.1.gz: contents have been changed
/usr/share/man/man1/sort.1.gz: contents have been changed
/usr/share/man/man1/split.1.gz: contents have been changed
/usr/share/man/man1/stat.1.gz: contents have been changed
/usr/share/man/man1/stdbuf.1.gz: contents have been changed
/usr/share/man/man1/stty.1.gz: contents have been changed
/usr/share/man/man1/su.1.gz: contents have been changed
/usr/share/man/man1/sum.1.gz: contents have been changed
/usr/share/man/man1/sync.1.gz: contents have been changed
/usr/share/man/man1/tac.1.gz: contents have been changed
/usr/share/man/man1/tail.1.gz: contents have been changed
/usr/share/man/man1/tee.1.gz: contents have been changed
/usr/share/man/man1/test.1.gz: contents have been changed
/usr/share/man/man1/true.1.gz: contents have been changed
/usr/share/man/man1/truncate.1.gz: contents have been changed
/usr/share/man/man1/tty.1.gz: contents have been changed
/usr/share/man/man1/unlink.1.gz: contents have been changed
/usr/share/man/man1/users.1.gz: contents have been changed
/usr/share/man/man1/vdir.1.gz: contents have been changed
/usr/share/man/man1/wc.1.gz: contents have been changed
/usr/share/man/man1/whoami.1.gz: contents have been changed
/usr/share/man/man1/yes.1.gz: contents have been changed
/usr/share/locale/zh_TW/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/sv/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/sk/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/pt_BR/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/nb/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/ms/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/lg/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/ko/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/it/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/hu/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/es/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/en/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/el/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/de/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/da/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/ca/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/bg/LC_TIME/coreutils.mo: contents have been changed
/usr/share/locale/af/LC_TIME/coreutils.mo: contents have been changed
delta does not match installed data
Package(s) data still to download: 3.0 M
(1/2): coreutils-8.4-9.fc13.i686.rpm                                                            | 3.0 MB    00:01   
(2/2): coreutils-libs-8.4-9.fc13.i686.rpm                                                        |  45 kB    00:00   
------------------------------------------------------------------------------------------------------------------------
Total                                                                                  756 kB/s | 3.0 MB    00:04   
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows:
1:NetworkManager-glib-0.8.1-8.git20100831.fc13.i686 is a duplicate with 1:NetworkManager-glib-0.8.1-6.git20100831.fc13.i686
freetype-2.3.11-6.fc13.i686 is a duplicate with freetype-2.3.11-3.fc13.i686
1:java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.i686 is a duplicate with 1:java-1.6.0-openjdk-1.6.0.0-42.b18.fc13.i686
mysql-libs-5.1.51-2.fc13.i686 is a duplicate with mysql-libs-5.1.50-2.fc13.i686
poppler-0.12.4-6.fc13.i686 is a duplicate with poppler-0.12.4-5.fc13.i686
setroubleshoot-server-2.2.102-1.fc13.i686 is a duplicate with setroubleshoot-server-2.2.99-1.fc13.i686
  Updating      : coreutils-8.4-9.fc13.i686                                                                        1/4
warning: /etc/DIR_COLORS created as /etc/DIR_COLORS.rpmnew
warning: /etc/DIR_COLORS.256color created as /etc/DIR_COLORS.256color.rpmnew
warning: /etc/DIR_COLORS.lightbgcolor created as /etc/DIR_COLORS.lightbgcolor.rpmnew
  Updating      : coreutils-libs-8.4-9.fc13.i686                                                                  2/4
  Cleanup        : coreutils-8.4-8.fc13.i686                                                                        3/4
  Cleanup        : coreutils-libs-8.4-8.fc13.i686                                                                  4/4

Updated:
  coreutils.i686 0:8.4-9.fc13                              coreutils-libs.i686 0:8.4-9.fc13                           

Complete!
[root@faizlo-desktop faizlo]#

So, I guess now these warnings are because of the updatedb being run and yum noticed that!

If there is nothing I may have missed, I guess I am done.

faizlo

falcom 10-21-2010 05:23 PM

try remove this repos:
adobe (flash)
google (chrome, talk)
and later again
yum reinstall coreutils -y

faizlo 10-21-2010 07:29 PM

falcom

I think it is solved now. Please take a look at my post right before you and correct me if I am wrong, because I could update with some warnings about the rpmdb.

Thanks

John VV 10-21-2010 09:06 PM

it looks to be fine
but a bit of advice
the " Presto" yum plugin has given me( and a LOT of people) nothing but trouble

you might want to uninstall it . But that is your choice .

the default and one other " download-only " and maybe "prioritys " if you install third party repos

Fast-download ??? Some like it. Some , nothing but trouble with it . mileage varies.

faizlo 10-22-2010 12:38 AM

OK! I guess you are right, I remember that yum-fastest mirror has slowed down my yum! Yes, this is my experience with it, I added it after this problem for no particular reason other than trying it again.

Any way, thanks to you all, I will mark this thread "solved", although I would love to know why did this happen? last time I updated was few days ago and it went flawlessly as usual.

~faizlo

John VV 10-22-2010 12:58 AM

Quote:

I would love to know why did this happen
that is life with fedora , things "just" happen , seeing as it is a very FAST development distro

but most likely a mirror was not yet fully updated

don't get me wrong i like fedora BUT it requires A LOT of work on YOUR PART to keep it up and running

hhegab 10-26-2010 03:09 AM

I agree with John VV, I am almost sure the repo mirror was not fully updated yet when you did the update yourself.
Yet, I can tell you from my experience, that Fedora is getting back to compete hardly with Ubuntu which is in the end, very useful to us, the Linux community people.


All times are GMT -5. The time now is 10:27 PM.