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

Partial upgrades? #134

Closed
AladW opened this Issue Sep 20, 2015 · 9 comments

Comments

Projects
None yet
5 participants
@AladW

AladW commented Sep 20, 2015

I see a few references to pacman -Sy. So, does octopi do a partial upgrade [1] when checking for updates? Scripts like checkupdates sync to a temporary directory instead.

[1] https://wiki.archlinux.org/index.php/Pacman#Partial_upgrades_are_unsupported

@aarnt

This comment has been minimized.

Show comment
Hide comment
@aarnt

aarnt Sep 20, 2015

Owner

Yes, you can use Octopi to do partial upgrades. As long as you can do that with pacman too. So, it's up to the user to take this risk.

Owner

aarnt commented Sep 20, 2015

Yes, you can use Octopi to do partial upgrades. As long as you can do that with pacman too. So, it's up to the user to take this risk.

@aarnt aarnt closed this Sep 20, 2015

@AladW

This comment has been minimized.

Show comment
Hide comment
@AladW

AladW Sep 21, 2015

Except pacman doesn't run it without user intervention.

//Is it time to syncdb again?

If you want to schedule/notify users of updates, use fakeroot to a separate directory like pacman does.

AladW commented Sep 21, 2015

Except pacman doesn't run it without user intervention.

//Is it time to syncdb again?

If you want to schedule/notify users of updates, use fakeroot to a separate directory like pacman does.

@rmarquis

This comment has been minimized.

Show comment
Hide comment
@rmarquis

rmarquis Oct 12, 2016

This is horrifying.

rmarquis commented Oct 12, 2016

This is horrifying.

@Yoshi2889

This comment has been minimized.

Show comment
Hide comment
@Yoshi2889

Yoshi2889 Dec 24, 2016

It's funny though, since if you refresh your package lists using the GUI and then try to install any other package without having upgraded first, Octopi blocks you in that "Partial upgrades are not supported."

Yoshi2889 commented Dec 24, 2016

It's funny though, since if you refresh your package lists using the GUI and then try to install any other package without having upgraded first, Octopi blocks you in that "Partial upgrades are not supported."

@aarnt

This comment has been minimized.

Show comment
Hide comment
@aarnt

aarnt Jun 3, 2018

Owner

That's because Octopi NO LONGER support partial upgrades!

Owner

aarnt commented Jun 3, 2018

That's because Octopi NO LONGER support partial upgrades!

@AladW

This comment has been minimized.

Show comment
Hide comment
@AladW

AladW Jun 3, 2018

Either you have some weird definition of "partial upgrade" or you don't know what your own software does. Because the same code linked in 2015 is still there.

AladW commented Jun 3, 2018

Either you have some weird definition of "partial upgrade" or you don't know what your own software does. Because the same code linked in 2015 is still there.

@aarnt

This comment has been minimized.

Show comment
Hide comment
@aarnt

aarnt Jun 3, 2018

Owner

Well...
Suppose you have 5 packages available to upgrade: packages A, B, C, D and E.
Octopi will not let you update any of them alone. You'll have to do a system upgrade.
I call that a partial upgrade, when you try to upgrade one (or more than one) at a time, instead of all of them.

Owner

aarnt commented Jun 3, 2018

Well...
Suppose you have 5 packages available to upgrade: packages A, B, C, D and E.
Octopi will not let you update any of them alone. You'll have to do a system upgrade.
I call that a partial upgrade, when you try to upgrade one (or more than one) at a time, instead of all of them.

@AladW

This comment has been minimized.

Show comment
Hide comment
@AladW

AladW Jun 3, 2018

That assumes octopi is the only thing you'll ever use to manage your packages. To pacman or any other libalpm frontend you're still in a partial upgrade scenario if octopi runs long enough to run a scheduled (equivalent of) pacman -Sy.

AladW commented Jun 3, 2018

That assumes octopi is the only thing you'll ever use to manage your packages. To pacman or any other libalpm frontend you're still in a partial upgrade scenario if octopi runs long enough to run a scheduled (equivalent of) pacman -Sy.

@Aicaya

This comment has been minimized.

Show comment
Hide comment
@Aicaya

Aicaya Jun 9, 2018

Why not make the package pacman-contrib a regular dependency instead of just a "make" one and use the command checkupdates that comes with it instead of pacman -Sy? It does the same thing without performing what Arch defines as "partial upgrade", and then the "System upgrade" command can be switched to pacman -Syu.

Unless there are limitations with the checkupdates command that I'm not aware of, this would probably solve the partial upgrades issue.

Aicaya commented Jun 9, 2018

Why not make the package pacman-contrib a regular dependency instead of just a "make" one and use the command checkupdates that comes with it instead of pacman -Sy? It does the same thing without performing what Arch defines as "partial upgrade", and then the "System upgrade" command can be switched to pacman -Syu.

Unless there are limitations with the checkupdates command that I'm not aware of, this would probably solve the partial upgrades issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment