6.2.2. Import from Local Media


The following process assumes in the previous step the user has copied all data to /var/rhn-sat-import.
  1. List the channels available for import.
    # satellite-sync --list-channels --mount-point /var/rhn-sat-import
    
    Copy to Clipboard Toggle word wrap
  2. Initiate the import of a specific channel using a channel label presented in the previous list.
    # satellite-sync -c [channel-label] --mount-point /var/rhn-sat-import
    
    Copy to Clipboard Toggle word wrap

    Note

    Importing package data can take up to two hours per channel. Register systems to channels as soon as they appear in the Red Hat Network Satellite Web Interface. No packages are necessary for registration, although updates cannot be retrieved from the Satellite until the channel is completely populated.
  3. Repeat this step for each channel or include them all within a single command by passing each channel label preceded by an additional -c flag, like so:
    # satellite-sync -c [channel-label-1] -c [channel-label-2] --mount-point /var/rhn-sat-import
    
    Copy to Clipboard Toggle word wrap
After running the preceding command, the population of the channel should be complete. All of the packages should have been moved out of the repository; this can be verified with the following command:
# cd /var/rhn-sat-import/; ls -alR | grep rpm
Copy to Clipboard Toggle word wrap
If all RPMs have been installed and moved to their permanent locations, then this count will be zero, and the administrator may safely remove the temporary /var/rhn-sat-import/ repository.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat