Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

apt remove or apt purge dosen't affect pacstall -L and pacstall -Up : still installed #1037

Open
Xdavius opened this issue Feb 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working triage Priority not yet decided

Comments

@Xdavius
Copy link

Xdavius commented Feb 7, 2024

Describe the bug

installed lutris with pacstall (pacstall -I lutris-deb)
I uninstalled lutris from apt
Still present in pacstall as installed

To reproduce

pacstall -I lutris-deb
apt remove lutris
pacstall -L
pacstall -Up

Expected behavior

pacstall db must updated if dpkg-query doesn't find the appropriate package.

It may ask to remove or reinstall the package
Default answer could be remove

Screenshots

lutris-deb@0.5.16
   gives        : lutris
   maintainer   : Oren Klopfer <oren@taumoda.com>
dpkg-query: no packages found matching lutris
   size         : unknown
   repository   : https://github.com/pacstall/pacstall-programs
   install date : Mon Jan 29 11:58:09 AM CET 2024

OS version

Debian Sid

Pacstall version

4.3.2 Firebrick4 / master

@Xdavius Xdavius added bug Something isn't working triage Priority not yet decided labels Feb 7, 2024
@oklopfer
Copy link
Member

oklopfer commented Mar 3, 2024

I think to solve this, pacstall would need to do an initialization on all metadata packages, and check if the package exists with dpkg-query as is currently throwing the error;

a similar situation that is currently handed is when a package is no longer in the repo anymore, pacstall -Up is now able to remove its repo metadata; a similar loop could be used earlier on to ensure all pacstall package metadata aligns with an installed package on the system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Priority not yet decided
Projects
None yet
Development

No branches or pull requests

4 participants