FS#458 - pacman -Syu behaviour

Attached to Project: Pacman
Opened by Roberto Braga (Bobonov) - Sunday, 15 February 2004, 11:46 GMT
Last edited by Judd Vinet (judd) - Sunday, 15 February 2004, 23:11 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.6 Widget
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

As everybody (should) know in case you do a pacman -Syu and a newer version of pacman is out, you should stop it, then upgrade only pacman and after do again pacman -Syu.

Could it be possible to have pacman that checks if there is a newer version available and in that case do only pacman upgrade?
This should save (especially newcomers) many problem.
I know that newcomers start to take advantage from a such feature only from 0.6 but somewere we have to start.

I think pacman is this case can have two operating mode:
1) pacman -Syu
2) pacman see a newer pacman version
3) pacman warn the user to do a pacman -S pacman before the pacman -Syu and stop. Eventually with the option to force the -Syu anyway. If somebody wants to mess up his/her system they should be free to do it

Another way can be
1) pacman -Syu
2) pacman see a newer pacman version
3) pacman automatically update itself and after stop warning the user that pacman has been update and now he/she need to start pacman -Syu again

In both case after pacman upgrade itself, it should stop in order to have the user to run the new binary.

Eventually pacman should check, each time is launced, if it is the most up to date version against the local repo db.
This task depends upon

Closed by  Judd Vinet (judd)
Wednesday, 18 February 2004, 03:35 GMT
Reason for closing:  Implemented
Comment by Judd Vinet (judd) - Sunday, 15 February 2004, 23:10 GMT
Yea, this is already on the todo list. It will be implemented soon.

Loading...