Score:1

"Yum update" how to delete ghost package?

au flag

How do I delete package insign-3.43.3-1 from the "database" for yum update?

* yum update insign shows me package 3.43.3-1.

* yum update would fail because I already removed the 3.43...rpm file

* rpm -qa | grep insign does not! show me the package 3.43.3!

* yum list insign shows me package 3.43.3

* sudo rpm -e insign-3.43.3-1.el7.x86_64 -> error: package insign-3.43.3-1.el7.x86_64 is not installed

* sudo yum erase insign-3.43.3-1.el7.x86_64 -> No Match for argument

enter image description here


enter image description here


enter image description here

in flag
https://unix.stackexchange.com/questions/624979/rpm-based-linux-how-can-i-remove-a-locally-installed-package
DavidDunham avatar
au flag
Thank you. See second screenshot in my message. -> I tried both ```sudo rpm -e insign-3.43.3-1.el7.x86_64``` and ```sudo yum erase insign-3.43.3-1.el7.x86_64```
Score:0
au flag

Problem is that after deleting package XY.rpm the Repository List needs to be updated and Yum needs to be cleaned

cd /directory-of-repository-packages
sudo -S createrepo .
sudo yum clean all
sudo yum --showduplicates list package-xy
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.