Open Gurran opened 1 year ago
The same wrongful description is shown on a new update for vim 2:8.2.3995-1ubuntu2.7
.
Can confirm with python3-pip-whl on mintupdate 6.0.1
b'###python-pip###python-pip###python-pip###python-pip=22.0.2+dfsg-1ubuntu0.3###python3-pip-whl###python3-pip-whl###22.0.2+dfsg-1ubuntu0.3###22.0.2+dfsg-1ubuntu0.2###1679168###security###ubuntu###Python 2.7 package installer###\npip ist das Installationsprogramm für Python-Pakete. Es arbeitet mit\nvirtualenv zusammen, macht keine unvollständigen Installationen, kann den\nPaketstatus für Wiederholungen speichern und aus Quellen ohne Python-Eggs\nsowie Depots (Repositorys) von Versionsverwaltungssystemen installieren.\n.\nThis is the Python 2.7 version of the package, the last version of pip\nsupporting Python 2.7.\n###mirror.netcologne.de###jammy-security---EOL---'
The problem is that the update applies to more than one package (xxd and vim or python-pip and python3-pip-whl) but checkAPT.py#L256 gets the description for the first package even if it's not installed:
python-pip <-- FOUND
python-pip
python-pip
python-pip=22.0.2+dfsg-1ubuntu0.3
python3-pip-whl <-- Package installed
python3-pip-whl
In the vim case, xxd is one of the packages in the update. It is the last listed. The packages are vim-common vim-tiny xxd
Describe the bug The description and title of an update are not from the same package.
Screenshots![Screenshot from 2023-04-04 16-10-21](https://user-images.githubusercontent.com/42462633/229819698-ac38d4e6-4bfe-4de0-a468-50ff19c32b2d.png)
To Reproduce Steps to reproduce the behavior:
Have this version of vim: vim-common/jammy-updates,jammy-updates,now 2:8.2.3995-1ubuntu2.4 all [installed,upgradable to: 2:8.2.3995-1ubuntu2.5] vim-tiny/jammy-updates,now 2:8.2.3995-1ubuntu2.4 amd64 [installed,upgradable to: 2:8.2.3995-1ubuntu2.5]
Open Update Manager (mintUpdate)
Expected behavior The title and description should come from the same package
Distribution:
Distributor ID: Linuxmint Description: Linux Mint 21.1 Release: 21.1 Codename: vera
Software version: See Help > About in Update Manager. 5.9.7
Logs: Copy & paste the log output from Update Manager > View > Information here.
04.04@16:07 ++ Launching Update Manager 04.04@16:07 ++ Changes to the package cache detected, triggering refresh 04.04@16:07 ++ Initial refresh will happen in 0 day(s), 0 hour(s) and 10 minute(s) 04.04@16:07 ++ Starting refresh (local only) 04.04@16:07 ++ Found 1 software updates 04.04@16:07 ++ Refresh finished 04.04@16:17 ++ Update Manager window is open, skipping initial refresh 04.04@16:17 ++ Recurring refresh will happen in 0 day(s), 0 hour(s) and 44 minute(s)