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

Updating manticore removes manticore-columnar-lib installed via manticore-extras #1987

Closed
Choppel opened this issue Mar 19, 2024 · 7 comments
Labels
waiting Waiting for the original poster (in most cases) or something else

Comments

@Choppel
Copy link

Choppel commented Mar 19, 2024

Describe the bug
During the installation of manticore (non-dev version) via apt install manticore manticore-extra the packages manticore-columnar-lib and manticore-executor are also installed. Calling apt autoremove to delete obsolete packages removes manticore-columnar-lib and manticore-executor.

To Reproduce
Steps to reproduce the behavior:

  1. wget https://repo.manticoresearch.com/manticore-repo.noarch.deb
  2. sudo dpkg -i manticore-repo.noarch.deb
  3. sudo apt update
  4. apt install manticore manticore-extra
  5. apt autoremove

Expected behavior
manticore-columnar-lib and manticore-executor should not be removed as it is my understanding, that they were installed via manticore-extras.

Describe the environment:

  • Manticore Search version: Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
  • OS version: Linux 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux

Messages from log files:
N/A

Additional context
The only way to prevent this, is to call apt install manticore-columnar-lib manticore-executor. This only flags the packages as manually installed but at least then they seem to not get uninstalled.
This behavior would be sufficient but is undocumented afaict.

@sanikolaev
Copy link
Collaborator

I can't reproduce in Ubuntu Jammy:

root@dfac0aec1ad3:/# apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 56 not upgraded.

root@dfac0aec1ad3:/# apt list --installed|egrep "columnar|executor"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

manticore-columnar-lib/jammy,now 2.2.4-230822-5aec342 amd64 [installed,automatic]
manticore-executor/jammy,now 0.7.8-23082210-810d7d3 amd64 [installed,automatic]

Can you please show what apt autoremove says in your case when it removes the packages?

@sanikolaev sanikolaev added the waiting Waiting for the original poster (in most cases) or something else label Mar 20, 2024
@Choppel
Copy link
Author

Choppel commented Mar 20, 2024

Interesting. I just set up a fresh installation of Debian and installed Manticore. The problem does not occur here. But it happened for me during an update more than once. Is there a way to install an old version of manticore to update it via APT to let the error occur? If not, I will have to wait for the next version.

@sanikolaev
Copy link
Collaborator

Yes, you can install separate versions of e.g. 6.0.0 following the instructions from here https://manticoresearch.com/install-6.0.0/#separate-packages

@Choppel
Copy link
Author

Choppel commented Apr 3, 2024

Hello again,
an update of the system above (installed 2 weeks ago) via apt update && apt dist-upgrade -y && apt autoremove -y && apt clean printed this log among other messages:

[...]
(Verschwinden von manticore-extra wurde bemerkt, welches komplett ersetzt wurde.)
[...]
Das folgende Paket verschwand von Ihrem System, da alle
Dateien von anderen Paketen überschrieben wurden:
  manticore-extra
Hinweis: Dies wird automatisch und absichtlich von dpkg durchgeführt.
[...]

Important to know is, that there was no update for manticore or any of its components itself. Only these packages bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 libsmartcols1 libuuid1 mount nodejs util-linux util-linux-extra where updated.

@sanikolaev
Copy link
Collaborator

Did it remove manticore-columnar and manticore-executor without saying a word about it?

@Choppel
Copy link
Author

Choppel commented Apr 4, 2024

Not yet as there seemed to be no update to these packages. I'll post the result as soon as there is an update to manticore.

@Choppel
Copy link
Author

Choppel commented May 24, 2024

Updated from 6.2 to 6.3 today and the issue did not occur. Maybe it was fixed in the meantime.

@Choppel Choppel closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting Waiting for the original poster (in most cases) or something else
Projects
None yet
Development

No branches or pull requests

2 participants