Pacman remove a package from the registry

Sometimes it happens that package maintainers are slow and you’ve deleted the installed files manually and replaced them with current files.
Example Android Studio (android-studio).
You tried to do a upgrade because it signaled there was a newer version available.

When a program has an self-upgrade feature you don’t really need a package manager anymore, right?

So in my case I have sudo rm -rf /opt/android-studio and downloaded the current files and extracted into /opt/android-studio. But it’s now 2 weeks later and I’m trying to upgrade my system and android-studio doesn’t want to install.

I’m removing the package from the pacman package registry or database and managing Android Studio upgrades manually from now on.

Solution

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.