[SOLVED] Troubles in downgrading Eclipse platform in Fedora 30. GPG error. Why?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Troubles in downgrading Eclipse platform in Fedora 30. GPG error. Why?

    Couple of weeks ago dnf -y update upgraded Eclipse platform. After that it crashes every time I try to start it.
    An error has occured. See the log file /home/luser/workspace/.metadata/.log
    From .log:
    Code:
    ENTRY org.eclipse.core.runtime 4 0 2019-08-08 14:01:37.663
    !MESSAGE Invalid input url:platform:/plugin/org.jkiss.dbeaver.ui/icons/dbeaver_p
    erspective.png
    !STACK 0
    java.io.IOException: Unable to resolve plug-in "org.jkiss.dbeaver.ui".
            at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(P
    latformURLPluginConnection.java:64)
    So I guess DBeaver plugin is not compatible with this version of Eclipse. But however it should not crash! I cannot get into Eclipse to configure plugins.


    So I would want to downgrade it to the previous version of Eclipse which worked. Previous version is not found in F30 repos anymore it seems, so I turn in to Rawhide

    Code:
    # dnf downgrade eclipse-jdt
    Last metadata expiration check: 0:16:03 ago on Tue 10 Sep 2019 10:58:15 AM EEST.
    Package eclipse-jdt of lowest version already installed, cannot downgrade it.
    Error: No packages marked for downgrade.
    
    # dnf downgrade eclipse-platform
    Package eclipse-platform of lowest version already installed, cannot downgrade it.
    Error: No packages marked for downgrade.
    
    # rpm -qa | grep -i eclipse
    eclipse-ecf-core-3.14.5-3.module_f30+5264+0fe54b96.noarch
    eclipse-p2-discovery-4.12-6.module_f30+5264+0fe54b96.noarch
    eclipse-platform-4.12-6.module_f30+5264+0fe54b96.x86_64
    eclipse-usage-4.11.0-2.module_f30+5264+0fe54b96.noarch
    eclipse-abrt-0.0.3-9.module_f30+5264+0fe54b96.noarch
    eclipse-jdt-4.12-6.module_f30+5264+0fe54b96.noarch
    eclipse-emf-runtime-2.18.0-1.module_f30+5264+0fe54b96.noarch
    eclipse-swt-4.12-6.module_f30+5264+0fe54b96.x86_64
    eclipse-emf-xsd-2.18.0-1.module_f30+5264+0fe54b96.noarch
    eclipse-emf-core-2.18.0-1.module_f30+5264+0fe54b96.noarch
    eclipse-mylyn-tasks-bugzilla-3.25.0-0.11.module_f30+5264+0fe54b96.noarch
    eclipse-mpc-1.7.7-1.module_f30+5264+0fe54b96.noarch
    eclipse-mylyn-3.25.0-0.11.module_f30+5264+0fe54b96.noarch
    eclipse-epp-logging-2.0.8-1.module_f30+5264+0fe54b96.noarch
    eclipse-equinox-osgi-4.12-6.module_f30+5264+0fe54b96.x86_64
    
    # dnf --showduplicates list eclipse-platform
    Installed Packages
    eclipse-platform.x86_64    1:4.12-6.module_f30+5264+0fe54b96    @updates-modular
    Available Packages
    eclipse-platform.x86_64    1:4.12-6.module_f30+5264+0fe54b96    updates-modular
    
    # dnf --showduplicates list eclipse-jdt
    Installed Packages
    eclipse-jdt.noarch      1:4.12-6.module_f30+5264+0fe54b96       @updates-modular
    Available Packages
    eclipse-jdt.noarch      1:4.12-6.module_f30+5264+0fe54b96       updates-modular
    But in Rawhide:
    Code:
    # dnf install fedora-repos-rawhide
    
    # dnf --enablerepo=rawhide   --showduplicates list eclipse-platform
    ...
    Installed Packages
    eclipse-platform.x86_64    1:4.12-6.module_f30+5264+0fe54b96    @updates-modular
    Available Packages
    eclipse-platform.x86_64    1:4.11-3.fc31                        rawhide         
    eclipse-platform.x86_64    1:4.11-4.fc30                        fedora          
    
    # dnf --enablerepo=rawhide  downgrade eclipse-platform
    ...
    warning: /var/cache/dnf/rawhide-2d95c80a1fa0a67d/packages/batik-1.11-2.fc31.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 12c944d0: NOKEY
    Fedora - Rawhide - Developmental packages for t 1.6 MB/s | 1.6 kB     00:00
    Importing GPG key 0xCFC659B9:
     Userid     : "Fedora (30) <fedora-30-primary@fedoraproject.org>"
     Fingerprint: F1D8 EC98 F241 AAF2 0DF6 9420 EF3C 111F CFC6 59B9
     From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-x86_64
    Is this ok [y/N]: y
    Key imported successfully
    Import of key(s) didn't help, wrong key(s)?
    Public key for batik-1.11-2.fc31.noarch.rpm is not installed. Failing package is: batik-1.11-2.fc31.noarch
     GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-x86_64
    Error: GPG check FAILED
    So GPG-key is missing. Got it from key-servers:
    Code:
    # gpg --receive-keys 0xCFC659B9
    # gpg --export -a 0xCFC659B9 >/tmp/0xCFC659B9.asc
    # rpm --import /tmp/0xCFC659B9.asc
    # rpm -qa|grep gpg-pubkey
    ...
    gpg-pubkey-cfc659b9-5b6eac67
    ...
    Correct key should be now in rpm-db?

    But it still fails:
    Code:
    # dnf --enablerepo=rawhide  downgrade eclipse-platform 
    ...
    Dependencies resolved.
    ================================================================================
     Package                   Arch        Version               Repository    Size
    ================================================================================
    Installing dependencies:
     batik                     noarch      1.11-2.fc31           rawhide      3.7 M
    Downgrading:
     eclipse-equinox-osgi      x86_64      1:4.11-4.fc30         fedora       1.7 M
     eclipse-jdt               noarch      1:4.11-4.fc30         fedora        30 M
     eclipse-p2-discovery      noarch      1:4.11-4.fc30         fedora       231 k
     eclipse-platform          x86_64      1:4.11-4.fc30         fedora        40 M
     eclipse-swt               x86_64      1:4.11-4.fc30         fedora       4.4 M
    
    Transaction Summary
    ================================================================================
    Install    1 Package
    Downgrade  5 Packages
    
    Total size: 80 M  
    Downloading Packages:
    [SKIPPED] eclipse-equinox-osgi-4.11-4.fc30.x86_64.rpm: Already downloaded      
    [SKIPPED] eclipse-jdt-4.11-4.fc30.noarch.rpm: Already downloaded               
    [SKIPPED] eclipse-p2-discovery-4.11-4.fc30.noarch.rpm: Already downloaded      
    [SKIPPED] eclipse-platform-4.11-4.fc30.x86_64.rpm: Already downloaded          
    [SKIPPED] eclipse-swt-4.11-4.fc30.x86_64.rpm: Already downloaded               
    [SKIPPED] batik-1.11-2.fc31.noarch.rpm: Already downloaded                     
    warning: /var/cache/dnf/rawhide-2d95c80a1fa0a67d/packages/batik-1.11-2.fc31.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 12c944d0: NOKEY
    Fedora - Rawhide - Developmental packages for t 1.6 MB/s | 1.6 kB     00:00    
    Importing GPG key 0xCFC659B9:
     Userid     : "Fedora (30) <fedora-30-primary@fedoraproject.org>"
     Fingerprint: F1D8 EC98 F241 AAF2 0DF6 9420 EF3C 111F CFC6 59B9
     From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-x86_64
    Key imported successfully
    Import of key(s) didn't help, wrong key(s)?
    Public key for batik-1.11-2.fc31.noarch.rpm is not installed. Failing package is: batik-1.11-2.fc31.noarch
     GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-x86_64
    The downloaded packages were saved in cache until the next successful transaction.
    You can remove cached packages by executing 'dnf clean packages'.
    Error: GPG check FAILED

  2. #2
    Join Date
    Sep 2004
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Troubles in downgrading Eclipse platform in Fedora 30. GPG error. Why?

    Oh well.
    Got it solved.
    The system did not have batik (Java SVG support) before and now above it tries to install it and fails due to GPG error.
    So I installed currect F30 version of batik. After that the downgrading (to "2019-03" version) worked. But (older version) Eclipse did not start either. Error message and place of the log files were different, and error messages there didn't so much care about dbeaver but other stuff.

    So I thought, I just now upgrade again to the currect F30 version ("2019-06"), and maybe then downgrade again and test a few rounds.

    After I had upgraded back, Eclipse now worked. It did have most of the plugins non-working, ie. that DBeaver, but I succeeded to re-install it normal way in Eclipse.

    The packages installed after the downgrade-upgrade cycle are little different now:
    Code:
    # rpm -qa|grep eclipse
    eclipse-gef-3.11.0-9.module_f30+5264+0fe54b96.noarch
    eclipse-ecf-core-3.14.5-3.module_f30+5264+0fe54b96.noarch
    eclipse-swt-4.12-6.module_f30+5264+0fe54b96.x86_64
    eclipse-equinox-osgi-4.12-6.module_f30+5264+0fe54b96.x86_64
    eclipse-usage-4.11.0-2.module_f30+5264+0fe54b96.noarch
    eclipse-abrt-0.0.3-9.module_f30+5264+0fe54b96.noarch
    eclipse-platform-4.12-6.module_f30+5264+0fe54b96.x86_64
    eclipse-webtools-common-3.14.0-3.module_f30+5264+0fe54b96.noarch
    eclipse-jdt-4.12-6.module_f30+5264+0fe54b96.noarch
    eclipse-emf-runtime-2.18.0-1.module_f30+5264+0fe54b96.noarch
    eclipse-webtools-servertools-3.14.0-3.module_f30+5264+0fe54b96.noarch
    eclipse-emf-xsd-2.18.0-1.module_f30+5264+0fe54b96.noarch
    eclipse-emf-core-2.18.0-1.module_f30+5264+0fe54b96.noarch
    eclipse-mylyn-tasks-bugzilla-3.25.0-0.11.module_f30+5264+0fe54b96.noarch
    eclipse-mpc-1.7.7-1.module_f30+5264+0fe54b96.noarch
    eclipse-mylyn-3.25.0-0.11.module_f30+5264+0fe54b96.noarch
    eclipse-epp-logging-2.0.8-1.module_f30+5264+0fe54b96.noarch
    eclipse-p2-discovery-4.12-6.module_f30+5264+0fe54b96.noarch
    Works now. Didn't figure out the original problem and GPG-problem, but got around them, for now.

  3. #3
    Join Date
    Oct 2010
    Location
    Canberra
    Posts
    3,183
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Troubles in downgrading Eclipse platform in Fedora 30. GPG error. Why?

    I have found that the best way of installing Eclipse is to avoid dnf/yum/apt altogether and just install from the Eclipse download page.
    It takes care of updates itself.

    This also allows you to install any version of Eclipse that you might need (and it will still be supported).

    User error. Please replace user and try again

Similar Threads

  1. Error: Fedora 25 with Eclipse
    By NoPromise in forum Using Fedora
    Replies: 1
    Last Post: 20th December 2016, 04:27 PM
  2. yum install eclipse-platform eclipse-stuff-i-need
    By smaines in forum Using Fedora
    Replies: 3
    Last Post: 2nd October 2012, 11:08 AM
  3. Eclipse IDE troubles.
    By The Mishanator in forum Using Fedora
    Replies: 4
    Last Post: 23rd February 2011, 04:46 PM
  4. Fedora Eclipse error
    By anyegongjue in forum Using Fedora
    Replies: 0
    Last Post: 6th September 2008, 02:54 PM
  5. Replies: 1
    Last Post: 16th June 2005, 11:12 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
  •