Skip to content

Some packages are not removed with --revert #65

@ukablan-wpc

Description

@ukablan-wpc

Describe the bug
Conversion failed due to missing /etc/leapp/files/vendors.d/rpm-gpg/

2025-01-10 08:28:50,710 - INFO - stderr: OSError: [Errno 2] No such file or directory: '/etc/leapp/files/vendors.d/rpm-gpg/'
2025-01-10 08:28:50,710 - INFO - stderr: 2025-01-10 08:28:50.708 ERROR    PID: 53448 leapp.workflow.FactsCollection: Actor trusted_gpg_keys_scanner has crashed: Traceback (most recent call last):
2025-01-10 08:28:50,942 - INFO - stdout:         Scan for trusted GPG keys.
2025-01-10 08:28:50,942 - INFO - stdout: 
2025-01-10 08:28:51,016 - INFO - stdout: ============================================================
2025-01-10 08:28:51,016 - INFO - stderr:   File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 74, in _do_run
2025-01-10 08:28:51,016 - ERROR - Command ['/usr/bin/leapp', 'preupgrade'] failed with return code 1
2025-01-10 08:28:51,016 - ERROR - Failed: doing the conversion. The reason: Command '['/usr/bin/leapp', 'preupgrade']' returned non-zero exit status 1.
2025-01-10 08:28:51,111 - DEBUG - Going to write json '/usr/local/psa/var/cloudlinux7to8/actions.json' with new data

And leapp-data-cloudlinux-0.3-3.el7.20240821.noarch package has many modified/missing files. The problem is resolved when

yum remove leapp-data-cloudlinux leapp-upgrade-el7toel8-deps 

However, one would expect no leftover packages especially after revert

Feedback archive
Please attach a feedback archive to the bug report.
You could create it by calling cloudlinux7to8 --prepare-feedback.
The archive will help us investigate the problem better and faster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions