• VMware

    Learn about VMware virtualization for its products like vsphere ESX and ESXi, vCenter Server, VMware View, VMware P2V and many more

  • Linux

    Step by step configuration tutorials for many of the Linux services like DNS, DHCP, FTP, Samba4 etc including many tips and tricks in Red Hat Linux.

  • Database

    Learn installation and configuration of databases like Oracle, My SQL, Postgresql, etc including many other related tutorials in Linux.

  • How to fix "Software selection (Source changed - please verify)"

    This is one of the most common error you will face if you are working on unattended Red Hat Linux installation where you have a customised list of Packages.

    Error:




    Solution:
    This error basically means that the list of rpms you planned on installation has one or many dependency issues hence the installation is halted unless you fix the dependency in your parent repository.

    How do we find out which dependency is giving this nightmare?
    • Connect to the GUI console of the node which is failing, for me it is VMware so I am connected to the "console"
    • Clock inside the console
    • Press "Alt+F2" to switch the console and get the shell prompt
    NOTE: Here F2 or any higher button can be used to switch between different terminals. Your installation was running on first terminal so to switch back to the installation console anytime you can press "Alt + F1"

    • Navigate to /tmp directory as it contains your anaconda logs which will help you troubleshoot the problem 
    NOTE: Once the installation succeeds these installation logs will be copied from "/tmp" to "/var/log/anaconda"

    • Open the "packaging.log" which will contain your rpm dependency check related logs
    # less packaging.log
    scroll to the last line (Press shift + G)




    As you can see there was dependency check fail for nscd rpm, now you can go back and fix this on your parent repository and restart the installation.





    I will just give some briefs on how to fix this
    • Go to your server which has the repository which is used for this installation
    # cd /export/home/iserver/linux/install/Linux/rhel7_64/ExtraPackages/
    • Copy the needed dependency glibc with the specified version inside the repo
    • Re-create the repodate using 
    # createrepo /export/home/iserver/linux/install/Linux/rhel7_64/ExtraPackages/
    Spawning worker 0 with 30 pkgs
    Workers Finished
    Saving Primary metadata
    Saving file lists metadata
    Saving other metadata
    Generating sqlite DBs
    Sqlite DBs complete

    Next restart the installation of the respective target node, things should be fine unless you have more dependency failures.
    Deepak Prasad

    is a techie and an author who is still trying to survive in this IT generation with very little knowledge he has on Linux/Unix, VMware, SAN Storage, Automation, networking etc

    You can follow him on Facebook or Google+


    Do you also have something to share here?
    Join GoLinuxHub Team as an Author, Click here for more information
    How to fix "Software selection (Source changed - please verify)" How to fix "Software selection (Source changed - please verify)" Reviewed by Deepak Prasad on Monday, July 03, 2017 Rating: 5

    No comments:

    Powered by Blogger.