FS#9295 - pacman 3.1.0 is not clear about updating itself
Attached to Project:
Pacman
Opened by Stefan O. (hybrid) - Tuesday, 22 January 2008, 05:54 GMT
Last edited by Xavier (shining) - Sunday, 27 January 2008, 20:32 GMT
Opened by Stefan O. (hybrid) - Tuesday, 22 January 2008, 05:54 GMT
Last edited by Xavier (shining) - Sunday, 27 January 2008, 20:32 GMT
|
Details
When I upgraded pacman from 3.1.0-1 to 3.1.1-1 through
pacman -Syu I got the "pacman has detected a newer version
of itself" message but then was asked whether I want to
cancel the current operation.
But that is in contradiction to the "pacman has detected a new version" message and yes and now still cause the old behaviour: yes upgrades and no aborts. I feel kinda reatardid opening a bugreport for something as little as this, but it's inconsistent and not clear what's meant, especially newbs might(should) get confused. I dunno if this "bug" (think it's just calling the wrong message) got fixed in 3.1.1 already since the version that produced it was 3.1.0. In case you don't get what I mean, I attached the pacman output. |
This task depends upon
Closed by Xavier (shining)
Sunday, 27 January 2008, 20:32 GMT
Reason for closing: Fixed
Additional comments about closing: fixed by commit 0775c38e72c0
Sunday, 27 January 2008, 20:32 GMT
Reason for closing: Fixed
Additional comments about closing: fixed by commit 0775c38e72c0
pacman-inconsistent.txt
No problem. Cleanly that message is odd, and we will change it.
The recommended operation is the upgrade of pacman (-S pacman).
So if you choose to cancel the current operation, it cancels the system upgrade and does the recommended one : upgrading pacman.
If you don't want to cancel the current operation, it will go on with the system upgrade.
There is no need to manually 'pacman -S pacman', since pacman already handles that automatically when you answer yes.
So if we keep this behavior in pacman, I would change the whole message to just this:
:: pacman has detected a newer version of itself.
:: Do you want to cancel the current operation and
:: install the new pacman now? [Y/n]