Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Some el7 packages ware not uninstalled. #3

Open
kfujina opened this issue Nov 2, 2021 · 5 comments
Open

Some el7 packages ware not uninstalled. #3

kfujina opened this issue Nov 2, 2021 · 5 comments

Comments

@kfujina
Copy link

kfujina commented Nov 2, 2021

I tried the migration from CentOS 7.9 to AlmaLinux 8.4 on XenServer 7.X, and it was successful.

But following el7 packages ware not uninstalled.

[root@test-cent79-tpl ~]# rpm -qa | grep el7
leapp-upgrade-el7toel8-0.14.0-100.202109271224Z.b7ebfca.master.el7.elevate.noarch
btrfs-progs-4.9.1-1.el7.x86_64
kernel-3.10.0-1160.45.1.el7.x86_64
elevate-release-1.0-1.el7.noarch
leapp-0.12.1-100.20210924142320684911.master.28.g1f03432.el7.noarch
kpatch-0.6.1-6.el7.noarch
yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch
python2-leapp-0.12.1-100.20210924142320684911.master.28.g1f03432.el7.noarch
leapp-data-almalinux-0.1-2.el7.noarch
kernel-3.10.0-1160.15.2.el7.x86_64

I wish these packages are deleted automatically or by one command.

NOTE: The information before and after the migration is shown below.

  • From CentOS 7.9
[root@test-cent79-tpl ~]# uname -a
Linux test-cent79-tpl 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@test-cent79-tpl ~]# cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)
  • To AlmaLinux 8.4
[root@test-cent79-tpl ~]# uname -a
Linux test-cent79-tpl 4.18.0-305.19.1.el8_4.x86_64 #1 SMP Wed Sep 15 11:28:53 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@test-cent79-tpl ~]# cat /etc/redhat-release 
AlmaLinux release 8.4 (Electric Cheetah)
@tjyang
Copy link

tjyang commented Nov 2, 2021

I have similar issue from C7toRL8. let me know if I need to create a separate issue.

@kfujina
Copy link
Author

kfujina commented Nov 2, 2021

I think you don't need to separate a issue.

@tjyang
Copy link

tjyang commented Nov 2, 2021

  • This is the list of left over el7 rpms by C7toRL8 conversion on VMWare VM.

[me@centos7t01 ~]$ rpm -qa | grep el7
lua-srpm-macros-1-3.el7.noarch
python2-psutil-5.6.7-1.el7.x86_64
yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch
zeromq-4.1.4-7.el7.x86_64
python2-leapp-0.12.1-100.20210924142320684911.master.28.g1f03432.el7.noarch
python2-crypto-2.6.1-16.el7.x86_64
llvm11-libs-11.1.0-1.el7.x86_64
python2-typing-3.5.2.2-4.el7.noarch
python36-docopt-0.6.2-8.el7.noarch
python2-traceback2-1.4.0-7.el7.noarch
leapp-upgrade-el7toel8-0.14.0-100.202109271224Z.b7ebfca.master.el7.elevate.noarch
rh-git29-runtime-2.3-5.el7.x86_64
httpd24-libnghttp2-1.7.1-8.el7.1.x86_64
llvm7.0-libs-7.0.1-4.el7.x86_64
btrfs-progs-4.9.1-1.el7.x86_64
httpd24-runtime-1.1-19.el7.x86_64
python36-cached_property-1.5.1-2.el7.noarch
docker-scan-plugin-0.9.0-3.el7.x86_64
htop-2.2.0-3.el7.x86_64
libtomcrypt-1.17-26.el7.x86_64
openpgm-5.2.122-2.el7.x86_64
kernel-3.10.0-1160.45.1.el7.x86_64
python36-texttable-1.6.2-1.el7.noarch
docker-ce-rootless-extras-20.10.10-3.el7.x86_64
git2u-core-2.16.5-1.ius.el7.x86_64
m2crypto-0.31.0-4.el7.x86_64
zabbix-release-4.4-1.el7.noarch
elevate-release-1.0-1.el7.noarch
leapp-0.12.1-100.20210924142320684911.master.28.g1f03432.el7.noarch
python-zmq-15.3.0-3.el7.x86_64
docker-ce-cli-20.10.10-3.el7.x86_64
centos-release-scl-2-3.el7.centos.noarch
python-backports_abc-0.5-11.el7.noarch
containerd.io-1.4.11-3.1.el7.x86_64
libtommath-0.42.0-6.el7.x86_64
llvm9.0-libs-9.0.1-9.el7.x86_64
qstat-2.11-13.20080912svn311.el7.x86_64
git2u-subtree-2.16.5-1.ius.el7.x86_64
java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.el7_8.x86_64
kernel-3.10.0-1160.15.2.el7.x86_64
centos-release-scl-rh-2-3.el7.centos.noarch
python2-msgpack-0.6.2-2.el7.x86_64
fping-3.16-1.el7.x86_64
leapp-data-rocky-0.1-3.el7.noarch
centos-indexhtml-7-9.el7.centos.noarch
python36-pysocks-1.6.8-7.el7.noarch
libsodium-1.0.18-1.el7.x86_64
docker-ce-20.10.10-3.el7.x86_64
python36-jsonschema-2.5.1-4.el7.noarch
zabbix-agent-4.4.10-1.el7.x86_64
python-linecache2-1.0.0-1.el7.noarch
git2u-core-doc-2.16.5-1.ius.el7.noarch
[me@centos7t01 ~]$

@andrewlukoshko
Copy link
Member

andrewlukoshko commented Nov 18, 2021

@tjyang I see a lot of "external" packages in your list. I mean not from CentOS main repos.
Currently leapp doesn't support extra repos. We have to implement such support in ELevate project and try to contribute upstream.

@kfujina yes some packages can stay. I think we can remove some of them automatically like "btrfs-progs". But for old kernels and leapp itself it can be harder.

@guzzijason
Copy link

FWIW, Red Hat documentation explains why the leapp packages remain post-upgrade, and what cleanup steps should be done:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/upgrading_from_rhel_7_to_rhel_8/performing-post-upgrade-tasks-rhel-7-to-rhel-8_upgrading-from-rhel-7-to-rhel-8

yuravk added a commit to yuravk/leapp-data that referenced this issue Oct 2, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Oct 3, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Oct 4, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Oct 14, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Oct 16, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Oct 17, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Oct 18, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Oct 18, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Oct 21, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Oct 23, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Dec 13, 2024
yuravk added a commit to yuravk/leapp-data that referenced this issue Jan 15, 2025
yuravk added a commit to yuravk/leapp-data that referenced this issue Jan 15, 2025
yuravk added a commit to yuravk/leapp-data that referenced this issue Jan 17, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants