Yum remove previous postgresql install9/10/2023 To generate a list of installed packages, run the command below: sudo dnf list installed | cat -n You can use the dnf list command to get a list of installed and available packages. Problem 4: The operation would result in removing the following protected packages: dnf, kernel-core, systemd, systemd-udev How to list and remove packages Problem 3: The operation would result in removing the following protected packages: dnf, kernel-core, systemd, systemd-udev Problem 2: The operation would result in removing the following protected packages: dnf, kernel-core, systemd, systemd-udev Sample Output Problem 1: The operation would result in removing the following protected packages: dnf, kernel-core, systemd, systemd-udev Now you can proceed to remove all packages from a specific repository using the command below dnf repository-packages repo-id removeįor example, If we want to remove all packages from fedora repository we runįor the parent repo-id's, you'll get an alert in the terminal that some packages are system protected. Repo-filename : /etc//fedora-modular.repoĪs you can see in the output above, we have 2 repo-ids -fedora and updates. Repo-filename : /etc//fedora-cisco-openh264.repo Repo-name : Fedora 36 openh264 (From Cisco) - x86_64 Last metadata expiration check: 0:00:15 ago on Mon 10:46:28 PM UTC. Sample Output Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync To do that, we run the command below dnf -v repolist To remove all packages from a particular repository, we first need to get its repository id. Subprocess.CalledProcessError: Command ‘ansible-playbook -i /etc/bahmni-installer/local all.How to remove all packages from a selected repository Return f(get_current_context(), *args, **kwargs)įile “build/bdist.linux-x86_64/egg/bahmni.py”, line 90, in installįile “/usr/lib64/python2.7/subprocess.py”, line 542, in check_call Return ctx.invoke(self.callback, **ctx.params)įile “/usr/lib64/python2.7/site-packages/click/core.py”, line 555, in invokeįile “/usr/lib64/python2.7/site-packages/click/decorators.py”, line 17, in new_func Return _process_result(sub_(sub_ctx))įile “/usr/lib64/python2.7/site-packages/click/core.py”, line 956, in invoke Load_entry_point(‘bahmni=0.1’, ‘console_scripts’, ‘bahmni’)()įile “/usr/lib64/python2.7/site-packages/click/core.py”, line 764, in callįile “/usr/lib64/python2.7/site-packages/click/core.py”, line 717, in mainįile “/usr/lib64/python2.7/site-packages/click/core.py”, line 1137, in invoke Localhost : ok=14 changed=0 unreachable=0 failed=1 Task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:15įatal: : FAILED! =>
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |