Project

General

Profile

Actions

Bug #17137

closed

installer text recommends 'rpm -e' instead of 'yum erase', resulting in error

Added by Chris Roberts over 7 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Copied from BZ:

Description of problem:

When upgrading from 6.1.9 to snap 14.1:

  1. satellite-installer --scenario satellite --upgrade
    Upgrading...
    Upgrade Step: stop_services...
    Upgrade Step: start_databases...
    Upgrade Step: update_http_conf...
    Upgrade Step: migrate_pulp...
    Upgrade Step: fix_pulp_httpd_conf...
    Upgrade Step: start_httpd...
    Upgrade Step: start_qpidd...
    Upgrade Step: start_pulp...
    Upgrade Step: migrate_candlepin...
    Upgrade Step: start_tomcat...
    Upgrade Step: fix_katello_settings_file...
    Upgrade Step: migrate_foreman...
    Upgrade Step: remove_nodes_distributors...
    Upgrade Step: Running installer...
    Installing Done [100%] [..........................................................................................................................................................................]
    The full log is at /var/log/foreman-installer/satellite.log
    Upgrade Step: restart_services...
    Upgrade Step: db_seed...
    Upgrade Step: import_package_groups (this may take a while) ...
    Upgrade Step: import_rpms (this may take a while) ...
    Upgrade Step: import_distributions (this may take a while) ...
    Upgrade Step: import_puppet_modules (this may take a while) ...
    Upgrade Step: import_subscriptions (this may take a while) ...
    Upgrade Step: elasticsearch_message...
    Elasticsearch has been removed as a dependency. The database files can be removed manually with #rm -rf /var/lib/elasticsearch. Some packages are no longer needed and can be removed: #rpm -e ruby193-rubygem-tire tfm-rubygem-tire elasticsearch sigar-ja
    va sigar snappy-java lucene4-contrib lucene4
    Upgrade Step: remove_docker_v1_content (this may take a while) ...
    Upgrade Step: remove_gutterball...
    Katello upgrade completed!

[root@sat61-rhel6 ~]# rm -rf /var/lib/elasticsearch

[root@sat61-rhel6 ~]# rpm -e ruby193-rubygem-tire tfm-rubygem-tire elasticsearch sigar-java sigar snappy-java lucene4-contrib lucene4
error: package ruby193-rubygem-tire is not installed
error: package tfm-rubygem-tire is not installed

Version-Release number of selected component (if applicable): 14.1

Actual results: package removal fails with recommended command

Expected results: recommended command should be "yum erase" instead of "rpm -e"

Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/420 added
Actions #2

Updated by Chris Roberts over 7 years ago

  • Status changed from Ready For Testing to Resolved
Actions

Also available in: Atom PDF