[SOLVED] How to sign a package when installing with yum
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2010
    Location
    The Netherlands
    Age
    47
    Posts
    260
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How to sign a package when installing with yum

    When I use YUM to install ICAClient it ends with the following message "Package ICAClient-11.100-1.i386.rpm is not signed" (see the code below). However, when using browser (Nautilus) to start installation of the same ICAClient-11.100-1.i386.rpm it completes with success (see the image below).

    This happens when installing with YUM from the CLI:
    Code:
    [root@nc6000 boris]# yum install /mnt/temp/DAT/software/linux/INSTALL/ICA/ICAClient-11.100-1.i386.rpm 
    Loaded plugins: downloadonly, fastestmirror, presto, refresh-packagekit, remove-with-leaves, security, show-leaves, verify
    Loading mirror speeds from cached hostfile
     * fedora: mirror.leaseweb.com
     * rpmfusion-free: mirror01.th.ifl.net
     * rpmfusion-free-updates: mirror01.th.ifl.net
     * rpmfusion-nonfree: mirror01.th.ifl.net
     * rpmfusion-nonfree-updates: mirror01.th.ifl.net
     * updates: mirror.leaseweb.com
    Setting up Install Process
    Examining /mnt/temp/DAT/software/linux/INSTALL/ICA/ICAClient-11.100-1.i386.rpm: ICAClient-11.100-1.i386
    Marking /mnt/temp/DAT/software/linux/INSTALL/ICA/ICAClient-11.100-1.i386.rpm to be installed
    Resolving Dependencies
    --> Running transaction check
    ---> Package ICAClient.i386 0:11.100-1 set to be installed
    --> Processing Dependency: libXaw.so.7 for package: ICAClient-11.100-1.i386
    --> Processing Dependency: libXm.so.4 for package: ICAClient-11.100-1.i386
    --> Running transaction check
    ---> Package libXaw.i686 0:1.0.6-4.fc12 set to be installed
    ---> Package openmotif.i686 0:2.3.3-1.fc13 set to be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ==========================================================================================================================
     Package                  Arch                Version                       Repository                               Size
    ==========================================================================================================================
    Installing:
     ICAClient                i386                11.100-1                      /ICAClient-11.100-1.i386                6.6 M
    Installing for dependencies:
     libXaw                   i686                1.0.6-4.fc12                  fedora                                  169 k
     openmotif                i686                2.3.3-1.fc13                  rpmfusion-nonfree                       1.2 M
    
    Transaction Summary
    ==========================================================================================================================
    Install       3 Package(s)
    
    Total size: 7.9 M
    Total download size: 1.4 M
    Installed size: 10 M
    Is this ok [y/N]: y
    Downloading Packages:
    Setting up and reading Presto delta metadata
    Processing delta metadata
    Package(s) data still to download: 1.4 M
    (1/2): libXaw-1.0.6-4.fc12.i686.rpm                                                                | 169 kB     00:00     
    (2/2): openmotif-2.3.3-1.fc13.i686.rpm                                                             | 1.2 MB     00:03     
    --------------------------------------------------------------------------------------------------------------------------
    Total                                                                                     365 kB/s | 1.4 MB     00:03     
    
    
    Package ICAClient-11.100-1.i386.rpm is not signed
    [root@nc6000 boris]#
    This is the result when installing from the file browser:


    Can someone explain to me what is happening here?
    I prefer using CLI when installing packages. Which options can be use to sign a package during installation with YUM?
    Fedora27.GNOME@Dell_Latitude_E7440
    Fedora26.MATE@HP_Compaq_DC7100

  2. #2
    leigh123linux Guest

    Re: How to sign a package when installing with yum

    Override it

    Code:
    yum install --nogpgcheck /mnt/temp/DAT/software/linux/INSTALL/ICA/ICAClient-11.100-1.i386.rpm

  3. #3
    Join Date
    Jan 2010
    Location
    The Netherlands
    Age
    47
    Posts
    260
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up Re: How to sign a package when installing with yum

    It works. This is exactly what I was looking for.
    Thanks a lot!
    Fedora27.GNOME@Dell_Latitude_E7440
    Fedora26.MATE@HP_Compaq_DC7100

  4. #4
    Join Date
    Oct 2008
    Posts
    498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to sign a package when installing with yum

    Hi,

    An RPM package can be signed (i.e. have the digital signature of its builder) or not signed. By default, on Fedora yum will refuse to install a package which is not signed - that's why you have to override it with "--nogpgcheck".

    Some other applications can deal with RPM packages without calling yum, so they can install any package without complaining if it's not signed.

    WWell,

  5. #5
    Join Date
    Jan 2010
    Location
    The Netherlands
    Age
    47
    Posts
    260
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to sign a package when installing with yum

    Thank you for the explanation.
    Fedora27.GNOME@Dell_Latitude_E7440
    Fedora26.MATE@HP_Compaq_DC7100

Similar Threads

  1. installing gsl package
    By asadmehmud in forum EOL (End Of Life) Versions
    Replies: 6
    Last Post: 16th July 2010, 09:02 PM
  2. Installing XEN package
    By TenaciousG in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 21st September 2007, 03:15 AM
  3. installing a package
    By ekdya in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 22nd September 2006, 06:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •