Tell APK to install a flagged package
I am trying to install megatools
on an Alpine Linux container in Docker. This package is flagged because a new version is available.
How can I force apk
to install this package despite the flag? I tried specifying the version explictely, but it always fail.
Without specifying the version explicitely:
/ # apk add megatools
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
megatools (missing):
required by: world[megatools]
With the version:
/ # apk add megatools=1.9.98-r3
ERROR: unsatisfiable constraints:
megatools (missing):
required by: world[megatools=1.9.98-r3]
All of this happens in stock alpine:latest
Docker image.
Package page on the Alpine repo browser is here: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/megatools
package-management alpine-linux
add a comment |
I am trying to install megatools
on an Alpine Linux container in Docker. This package is flagged because a new version is available.
How can I force apk
to install this package despite the flag? I tried specifying the version explictely, but it always fail.
Without specifying the version explicitely:
/ # apk add megatools
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
megatools (missing):
required by: world[megatools]
With the version:
/ # apk add megatools=1.9.98-r3
ERROR: unsatisfiable constraints:
megatools (missing):
required by: world[megatools=1.9.98-r3]
All of this happens in stock alpine:latest
Docker image.
Package page on the Alpine repo browser is here: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/megatools
package-management alpine-linux
add a comment |
I am trying to install megatools
on an Alpine Linux container in Docker. This package is flagged because a new version is available.
How can I force apk
to install this package despite the flag? I tried specifying the version explictely, but it always fail.
Without specifying the version explicitely:
/ # apk add megatools
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
megatools (missing):
required by: world[megatools]
With the version:
/ # apk add megatools=1.9.98-r3
ERROR: unsatisfiable constraints:
megatools (missing):
required by: world[megatools=1.9.98-r3]
All of this happens in stock alpine:latest
Docker image.
Package page on the Alpine repo browser is here: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/megatools
package-management alpine-linux
I am trying to install megatools
on an Alpine Linux container in Docker. This package is flagged because a new version is available.
How can I force apk
to install this package despite the flag? I tried specifying the version explictely, but it always fail.
Without specifying the version explicitely:
/ # apk add megatools
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
megatools (missing):
required by: world[megatools]
With the version:
/ # apk add megatools=1.9.98-r3
ERROR: unsatisfiable constraints:
megatools (missing):
required by: world[megatools=1.9.98-r3]
All of this happens in stock alpine:latest
Docker image.
Package page on the Alpine repo browser is here: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/megatools
package-management alpine-linux
package-management alpine-linux
asked Jan 13 at 23:57
Nathan.Eilisha ShirainiNathan.Eilisha Shiraini
2,4351923
2,4351923
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I'm not sure about the package flags (I'm not familiar to package flagging with apk
), but it seems to be a matter of missing repositories.
The megatools
package is found in the edge/testing
repository, which you're currently missing (note the Branch and Repository fields in the package description page, also indicated in the URL).
You'll also need the edge/main
repository, for satisfying the libcrypto
dependency.
In summary:
echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories
echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
apk update
apk add megatools
Note that edge
contains the latest development packages, and are not official stable versions, so use them with care. This is especially true for testing
packages.
More on the edge repository: https://wiki.alpinelinux.org/wiki/Edge
Thank you for your answer. I tried your method in a Dokcer container and I was able to install megatools. However in the end I used another solution (I use megatools in a Gitlab CI, and I just commited the megatools exe in the repo's tool directory).
– Nathan.Eilisha Shiraini
Jan 28 at 18:46
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393923%2ftell-apk-to-install-a-flagged-package%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I'm not sure about the package flags (I'm not familiar to package flagging with apk
), but it seems to be a matter of missing repositories.
The megatools
package is found in the edge/testing
repository, which you're currently missing (note the Branch and Repository fields in the package description page, also indicated in the URL).
You'll also need the edge/main
repository, for satisfying the libcrypto
dependency.
In summary:
echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories
echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
apk update
apk add megatools
Note that edge
contains the latest development packages, and are not official stable versions, so use them with care. This is especially true for testing
packages.
More on the edge repository: https://wiki.alpinelinux.org/wiki/Edge
Thank you for your answer. I tried your method in a Dokcer container and I was able to install megatools. However in the end I used another solution (I use megatools in a Gitlab CI, and I just commited the megatools exe in the repo's tool directory).
– Nathan.Eilisha Shiraini
Jan 28 at 18:46
add a comment |
I'm not sure about the package flags (I'm not familiar to package flagging with apk
), but it seems to be a matter of missing repositories.
The megatools
package is found in the edge/testing
repository, which you're currently missing (note the Branch and Repository fields in the package description page, also indicated in the URL).
You'll also need the edge/main
repository, for satisfying the libcrypto
dependency.
In summary:
echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories
echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
apk update
apk add megatools
Note that edge
contains the latest development packages, and are not official stable versions, so use them with care. This is especially true for testing
packages.
More on the edge repository: https://wiki.alpinelinux.org/wiki/Edge
Thank you for your answer. I tried your method in a Dokcer container and I was able to install megatools. However in the end I used another solution (I use megatools in a Gitlab CI, and I just commited the megatools exe in the repo's tool directory).
– Nathan.Eilisha Shiraini
Jan 28 at 18:46
add a comment |
I'm not sure about the package flags (I'm not familiar to package flagging with apk
), but it seems to be a matter of missing repositories.
The megatools
package is found in the edge/testing
repository, which you're currently missing (note the Branch and Repository fields in the package description page, also indicated in the URL).
You'll also need the edge/main
repository, for satisfying the libcrypto
dependency.
In summary:
echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories
echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
apk update
apk add megatools
Note that edge
contains the latest development packages, and are not official stable versions, so use them with care. This is especially true for testing
packages.
More on the edge repository: https://wiki.alpinelinux.org/wiki/Edge
I'm not sure about the package flags (I'm not familiar to package flagging with apk
), but it seems to be a matter of missing repositories.
The megatools
package is found in the edge/testing
repository, which you're currently missing (note the Branch and Repository fields in the package description page, also indicated in the URL).
You'll also need the edge/main
repository, for satisfying the libcrypto
dependency.
In summary:
echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories
echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
apk update
apk add megatools
Note that edge
contains the latest development packages, and are not official stable versions, so use them with care. This is especially true for testing
packages.
More on the edge repository: https://wiki.alpinelinux.org/wiki/Edge
edited Jan 27 at 10:06
answered Jan 27 at 8:00
valianovaliano
227110
227110
Thank you for your answer. I tried your method in a Dokcer container and I was able to install megatools. However in the end I used another solution (I use megatools in a Gitlab CI, and I just commited the megatools exe in the repo's tool directory).
– Nathan.Eilisha Shiraini
Jan 28 at 18:46
add a comment |
Thank you for your answer. I tried your method in a Dokcer container and I was able to install megatools. However in the end I used another solution (I use megatools in a Gitlab CI, and I just commited the megatools exe in the repo's tool directory).
– Nathan.Eilisha Shiraini
Jan 28 at 18:46
Thank you for your answer. I tried your method in a Dokcer container and I was able to install megatools. However in the end I used another solution (I use megatools in a Gitlab CI, and I just commited the megatools exe in the repo's tool directory).
– Nathan.Eilisha Shiraini
Jan 28 at 18:46
Thank you for your answer. I tried your method in a Dokcer container and I was able to install megatools. However in the end I used another solution (I use megatools in a Gitlab CI, and I just commited the megatools exe in the repo's tool directory).
– Nathan.Eilisha Shiraini
Jan 28 at 18:46
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393923%2ftell-apk-to-install-a-flagged-package%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown