Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Aug 2007
    Posts
    17

    Question UPCP - Updating system packages - Conflict

    Hi,

    WHM 11.11.0 cPanel 11.15.0-R18264
    CENTOS 5 i686 on standard - WHM X v3.1.0

    Since 3rd Dec I've been getting the following in my upcp log and I have no idea how to resolve it. Could someone point me in the right direction please?


    Code:
    Updating system packages...Repository base is listed more than once in the configuration
    Repository addons is listed more than once in the configuration
    Repository extras is listed more than once in the configuration
    Setting up Update Process
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Resolving Dependencies
    
    
    <snipped package list to keep post below 10000 characters>
    
    
    Transaction Summary
    =============================================================================
    Install      6 Package(s)         
    Update     118 Package(s)         
    Remove       0 Package(s)         
    
    Total download size: 142 M
    Downloading Packages:
    Running Transaction Test
    Finished Transaction Test
    
    
    Transaction Check Error:
      file /usr/sbin/sysreport conflicts between attempted installs of sos-1.7-9.1.el5 and sysreport-1.4.3-13.el5
      file /usr/share/sysreport/functions conflicts between attempted installs of sos-1.7-9.1.el5 and sysreport-1.4.3-13.el5
    
    Error Summary
    -------------
    cheers
    Ben

  2. #2
    Member
    Join Date
    Aug 2007
    Posts
    17

    Default

    No ideas anyone? An additional package is in the update list now. I don't want this to grow and grow. If someone could point me in the right direction I'd be very grateful!

    Code:
    Transaction Summary
    =============================================================================
    Install      6 Package(s)         
    Update     119 Package(s)         
    Remove       0 Package(s)         
    
    Total download size: 143 M
    Downloading Packages:
    Running Transaction Test
    Finished Transaction Test
    
    
    Transaction Check Error:
      file /usr/sbin/sysreport conflicts between attempted installs of sos-1.7-9.1.el5 and sysreport-1.4.3-13.el5
      file /usr/share/sysreport/functions conflicts between attempted installs of sos-1.7-9.1.el5 and sysreport-1.4.3-13.el5

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    These errors are from yum. Have you installed any 3rd party RPMs (not counting those cPanel installs)?

    The problem is one package is conflicting with another, preventing the upgrade. Sometimes these can be solved by manually removing the conflicting package. Another way to resolve the issue is to forcefully install the new RPM, although that is not encouraged as other problems can arise.

  4. #4
    Member
    Join Date
    Aug 2007
    Posts
    17

    Default

    Quote Originally Posted by cpanelkenneth View Post
    These errors are from yum. Have you installed any 3rd party RPMs (not counting those cPanel installs)?

    The problem is one package is conflicting with another, preventing the upgrade. Sometimes these can be solved by manually removing the conflicting package. Another way to resolve the issue is to forcefully install the new RPM, although that is not encouraged as other problems can arise.
    Thanks for your reply Kenneth!

    No we haven't installed any third party RPMs (apart from kernel-PAE - we have 8 Gb RAM).

    Apart from the initial cPanel install we manually installed Java (jdk-6u2-linux-i586.bin), imapsync (imapsync-1.223.tgz - which required a few additional perl modules) and Rootkit Hunter (rkhunter-1.3.0.tar.gz).

    I guess if it's not something obvious I'll open a support ticket with my host.

    cheers
    Ben

  5. #5
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    What is the sos package, it is what is causing the conflict.

  6. #6
    Member
    Join Date
    Aug 2007
    Posts
    17

    Default

    Quote Originally Posted by cpanelkenneth View Post
    What is the sos package, it is what is causing the conflict.
    I have no idea! It is listed like this in the package lists:


    Code:
    ---> Package sos.noarch 0:1.7-9.1.el5 set to be updated


    Code:
    sos                     noarch     1.7-9.1.el5      base              108 k

  7. #7
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    It looks like both those packages do the same, or similar, things:

    Code:
    [root@rhel5current-2 ~]# yum info sos
    Loading "rhnplugin" plugin
    Loading "installonlyn" plugin
    Setting up repositories
    rhel-i386-server-5        100% |=========================| 1.4 kB    00:00     
    rhel-i386-server-vt-5     100% |=========================| 1.4 kB    00:00     
    rhn-tools-rhel-i386-serve 100% |=========================| 1.2 kB    00:00     
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Installed Packages
    Name   : sos
    Arch   : noarch
    Version: 1.7
    Release: 9.1.el5
    Size   : 381 k
    Repo   : installed
    Summary: System Support Tools
    
    Description:
    SOS is a set of tools that gathers information about system
    hardware and configuration. The information can then be used for
    diagnostic purposes and debugging. Sos is commonly used to help
    support technicians and developers.
    Code:
    [root@rhel5current-2 ~]# yum info sysreport
    Loading "rhnplugin" plugin
    Loading "installonlyn" plugin
    Setting up repositories
    rhel-i386-server-5        100% |=========================| 1.4 kB    00:00     
    rhel-i386-server-vt-5     100% |=========================| 1.4 kB    00:00     
    rhn-tools-rhel-i386-serve 100% |=========================| 1.2 kB    00:00     
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Available Packages
    Name   : sysreport
    Arch   : noarch
    Version: 1.4.3
    Release: 13.el5
    Size   : 22 k
    Repo   : rhel-i386-server-5
    Summary: Gathers system hardware and configuration information.
    
    Description:
    Sysreport is a utility that gathers information about a system's
    hardware and configuration. The information can then be used for
    diagnostic purposes and debugging. Sysreport is commonly used to help
    support technicians and developers by providing a "snapshot" of a
    system's current layout.
    On my system, sos was installed during the OS install, but sysreport is not. Likely the same is true in your case (check the output of rpm -q sos and rpm -qa sysreport). If that is the case, it makes we wonder why sysreport is being requested by a yum update. Perhaps CentOS got something wrong?

  8. #8
    Member
    Join Date
    Aug 2007
    Posts
    17

    Default

    A little Googling suggests that sos replaces sysreport in Centos 5.1... but I guess its failing to do so here!

  9. #9
    Member
    Join Date
    Aug 2007
    Posts
    17

    Default

    #rpm -q sos
    sos-1.3-1.el5

    # rpm -qa sysreport
    sysreport-1.4.3-10.el5


    erm...

  10. #10
    Member
    Join Date
    Aug 2007
    Posts
    17

    Default

    I did "yum upgrade sysreport" yesterday, to bring that up to date, and then let the automated script run today and yay it all updated.


  11. #11
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Great! And thanks for the extra info.

Similar Threads & Tags
Similar threads

  1. upcp error Updating system packages
    By ehallein in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 08-26-2010, 07:55 AM
  2. Updating Packages
    By Monie in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-02-2010, 07:42 PM
  3. Cant run upcp syntax error at /scripts/upcp line 46, near "system"
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-20-2005, 11:03 AM
  4. upcp script - packages not found
    By fjgaston in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 11-20-2004, 04:27 PM
  5. upcp - missing packages ??
    By adivity in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-13-2004, 10:25 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube