-
Notifications
You must be signed in to change notification settings - Fork 40
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
installing an older version of an existing package fails silently #73
Comments
This diff appears to resolve the problem: --- impact.c.orig 2016-02-08 16:27:12.000000000 +0000
+++ impact.c
@@ -241,8 +241,8 @@ deps_impact(Plisthead *impacthead, Pkgli
* local pkgname didn't match deps, remote pkg
* has a lesser version than local package.
*/
- if (version_check(plist->full,
- remotepkg) == 1) {
+ if (pdp->level > 0 &&
+ version_check(plist->full, remotepkg) == 1) {
/*
* proposing a downgrade is definitely
* not useful, not sure what I want to I think this is correct (ignore the downgrade problem if the package has been directly specified), but I'm going to leave it to bake in the SmartOS 2017Q3 builds first before committing here. |
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Sep 26, 2017
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Sep 26, 2017
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Dec 12, 2017
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Dec 19, 2017
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Dec 21, 2017
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Dec 30, 2017
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Dec 30, 2017
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Jan 16, 2018
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Jan 26, 2018
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Apr 3, 2018
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Apr 3, 2018
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
May 18, 2018
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
May 25, 2018
jperkin
pushed a commit
to TritonDataCenter/pkgsrc
that referenced
this issue
Jun 11, 2018
Likely fixed a long time ago, but certainly should be in 23.8.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installing a newer version works, but installing an older version does nothing:
The text was updated successfully, but these errors were encountered: