FreeBSD - delete a partially installed gnome2?
I've been trying to compile x11/gnome2 under FreeBSD 10.0-REL, but have been running into all sorts of issues. Eventually I found things indicating that gnome2 is no longer really supported, and that I should use something else (MATE, Xfce, KDE, whatever) instead.
But gnome2 installs a trillion other packages, none of which I actually want if I'm not going to be using Gnome. So "make install" of gnome2 has failed, but not before installing a few billion packages that I don't want. I'd like to get rid of them before starting an install of Xfce or whatever.
How can I easily delete those that aren't needed by anything that doesn't ultimately go back go the gnome2 package? So, in a perfect world I'd like a command that says:
"Figure out all packages that are supposed to be installed via gnome2 (including recursively). For each such package, if it is installed, uninstall it unless there is some installed package that needs it and that is not among those installed via gnome2 (including recursively)."
Is there an easy way to do this?
Thanks in advance.
package-management freebsd bsd-ports uninstall gnome2
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I've been trying to compile x11/gnome2 under FreeBSD 10.0-REL, but have been running into all sorts of issues. Eventually I found things indicating that gnome2 is no longer really supported, and that I should use something else (MATE, Xfce, KDE, whatever) instead.
But gnome2 installs a trillion other packages, none of which I actually want if I'm not going to be using Gnome. So "make install" of gnome2 has failed, but not before installing a few billion packages that I don't want. I'd like to get rid of them before starting an install of Xfce or whatever.
How can I easily delete those that aren't needed by anything that doesn't ultimately go back go the gnome2 package? So, in a perfect world I'd like a command that says:
"Figure out all packages that are supposed to be installed via gnome2 (including recursively). For each such package, if it is installed, uninstall it unless there is some installed package that needs it and that is not among those installed via gnome2 (including recursively)."
Is there an easy way to do this?
Thanks in advance.
package-management freebsd bsd-ports uninstall gnome2
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Alternatively, I currently have very few packages that I explicitly want installed (though many that I need because of those very few). Is there a way to say, for example, "deinstall anything that is not needed by apache24, subversion, or viewvc"?
– Bob Vesterman
Sep 29 '14 at 21:17
add a comment |
I've been trying to compile x11/gnome2 under FreeBSD 10.0-REL, but have been running into all sorts of issues. Eventually I found things indicating that gnome2 is no longer really supported, and that I should use something else (MATE, Xfce, KDE, whatever) instead.
But gnome2 installs a trillion other packages, none of which I actually want if I'm not going to be using Gnome. So "make install" of gnome2 has failed, but not before installing a few billion packages that I don't want. I'd like to get rid of them before starting an install of Xfce or whatever.
How can I easily delete those that aren't needed by anything that doesn't ultimately go back go the gnome2 package? So, in a perfect world I'd like a command that says:
"Figure out all packages that are supposed to be installed via gnome2 (including recursively). For each such package, if it is installed, uninstall it unless there is some installed package that needs it and that is not among those installed via gnome2 (including recursively)."
Is there an easy way to do this?
Thanks in advance.
package-management freebsd bsd-ports uninstall gnome2
I've been trying to compile x11/gnome2 under FreeBSD 10.0-REL, but have been running into all sorts of issues. Eventually I found things indicating that gnome2 is no longer really supported, and that I should use something else (MATE, Xfce, KDE, whatever) instead.
But gnome2 installs a trillion other packages, none of which I actually want if I'm not going to be using Gnome. So "make install" of gnome2 has failed, but not before installing a few billion packages that I don't want. I'd like to get rid of them before starting an install of Xfce or whatever.
How can I easily delete those that aren't needed by anything that doesn't ultimately go back go the gnome2 package? So, in a perfect world I'd like a command that says:
"Figure out all packages that are supposed to be installed via gnome2 (including recursively). For each such package, if it is installed, uninstall it unless there is some installed package that needs it and that is not among those installed via gnome2 (including recursively)."
Is there an easy way to do this?
Thanks in advance.
package-management freebsd bsd-ports uninstall gnome2
package-management freebsd bsd-ports uninstall gnome2
edited Oct 31 '15 at 23:37
Jeff Schaller
41.7k1156133
41.7k1156133
asked Sep 29 '14 at 21:12
Bob VestermanBob Vesterman
15810
15810
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Alternatively, I currently have very few packages that I explicitly want installed (though many that I need because of those very few). Is there a way to say, for example, "deinstall anything that is not needed by apache24, subversion, or viewvc"?
– Bob Vesterman
Sep 29 '14 at 21:17
add a comment |
Alternatively, I currently have very few packages that I explicitly want installed (though many that I need because of those very few). Is there a way to say, for example, "deinstall anything that is not needed by apache24, subversion, or viewvc"?
– Bob Vesterman
Sep 29 '14 at 21:17
Alternatively, I currently have very few packages that I explicitly want installed (though many that I need because of those very few). Is there a way to say, for example, "deinstall anything that is not needed by apache24, subversion, or viewvc"?
– Bob Vesterman
Sep 29 '14 at 21:17
Alternatively, I currently have very few packages that I explicitly want installed (though many that I need because of those very few). Is there a way to say, for example, "deinstall anything that is not needed by apache24, subversion, or viewvc"?
– Bob Vesterman
Sep 29 '14 at 21:17
add a comment |
1 Answer
1
active
oldest
votes
FreeBSD 10 comes with pkg
utility that allows you to do exactly that:
pkg autoremove
See pkg help
for the full list of pkg
commands.
You probably will need to clean the port after failed build as well.
You can do it this way:
cd /usr/ports/x11/gnome2
make clean
About your second question: yes, there is a way. You should delete packages that require these dependencies and then execute pkg autoremove
, it will do the rest.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f158299%2ffreebsd-delete-a-partially-installed-gnome2%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
FreeBSD 10 comes with pkg
utility that allows you to do exactly that:
pkg autoremove
See pkg help
for the full list of pkg
commands.
You probably will need to clean the port after failed build as well.
You can do it this way:
cd /usr/ports/x11/gnome2
make clean
About your second question: yes, there is a way. You should delete packages that require these dependencies and then execute pkg autoremove
, it will do the rest.
add a comment |
FreeBSD 10 comes with pkg
utility that allows you to do exactly that:
pkg autoremove
See pkg help
for the full list of pkg
commands.
You probably will need to clean the port after failed build as well.
You can do it this way:
cd /usr/ports/x11/gnome2
make clean
About your second question: yes, there is a way. You should delete packages that require these dependencies and then execute pkg autoremove
, it will do the rest.
add a comment |
FreeBSD 10 comes with pkg
utility that allows you to do exactly that:
pkg autoremove
See pkg help
for the full list of pkg
commands.
You probably will need to clean the port after failed build as well.
You can do it this way:
cd /usr/ports/x11/gnome2
make clean
About your second question: yes, there is a way. You should delete packages that require these dependencies and then execute pkg autoremove
, it will do the rest.
FreeBSD 10 comes with pkg
utility that allows you to do exactly that:
pkg autoremove
See pkg help
for the full list of pkg
commands.
You probably will need to clean the port after failed build as well.
You can do it this way:
cd /usr/ports/x11/gnome2
make clean
About your second question: yes, there is a way. You should delete packages that require these dependencies and then execute pkg autoremove
, it will do the rest.
answered Oct 22 '14 at 22:36
user88850
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f158299%2ffreebsd-delete-a-partially-installed-gnome2%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
Alternatively, I currently have very few packages that I explicitly want installed (though many that I need because of those very few). Is there a way to say, for example, "deinstall anything that is not needed by apache24, subversion, or viewvc"?
– Bob Vesterman
Sep 29 '14 at 21:17