In which case can I use the option '--nodeps' of rpm command?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I heard that I should never use --nodeps option when I do a rpm -e command.



Why does this option exist then?










share|improve this question



















  • 1




    Simple answer: When you really, really, really know what you're doing.
    – Shadur
    Feb 10 '16 at 12:35










  • I love simple answers !
    – Pozinux
    Feb 10 '16 at 14:07














up vote
1
down vote

favorite












I heard that I should never use --nodeps option when I do a rpm -e command.



Why does this option exist then?










share|improve this question



















  • 1




    Simple answer: When you really, really, really know what you're doing.
    – Shadur
    Feb 10 '16 at 12:35










  • I love simple answers !
    – Pozinux
    Feb 10 '16 at 14:07












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I heard that I should never use --nodeps option when I do a rpm -e command.



Why does this option exist then?










share|improve this question















I heard that I should never use --nodeps option when I do a rpm -e command.



Why does this option exist then?







rpm options






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 at 19:51









Rui F Ribeiro

38.3k1476127




38.3k1476127










asked Feb 10 '16 at 9:30









Pozinux

3962720




3962720







  • 1




    Simple answer: When you really, really, really know what you're doing.
    – Shadur
    Feb 10 '16 at 12:35










  • I love simple answers !
    – Pozinux
    Feb 10 '16 at 14:07












  • 1




    Simple answer: When you really, really, really know what you're doing.
    – Shadur
    Feb 10 '16 at 12:35










  • I love simple answers !
    – Pozinux
    Feb 10 '16 at 14:07







1




1




Simple answer: When you really, really, really know what you're doing.
– Shadur
Feb 10 '16 at 12:35




Simple answer: When you really, really, really know what you're doing.
– Shadur
Feb 10 '16 at 12:35












I love simple answers !
– Pozinux
Feb 10 '16 at 14:07




I love simple answers !
– Pozinux
Feb 10 '16 at 14:07










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










It exists for broadly the same reasons rm will allow you to delete the filesystem root, or dd will allow you to overwrite the physical hard drive:



Linux and unix have a long history of giving you all the ammo you need when you really insist on shooting yourself in the foot.



Less flippantly, when something has gone badly wrong during a package install, whether due to a badly built package or an outage at the worst possible moment, it's possible to wind up with your package manager's dependency database in gridlock -- IE, it can't resolve the problem because attempting any of the solutions would violate the dependencies of the other packages involved. In that case, you can use --nodeps, or for dpkg, the --force-* options to manually and forcibly remove the offending package, and then immediately issue what commands are necessary to fix the now broken dependencies.



That's something you should only do if you're really sure of what you're doing, however; as a rule of thumb, if you aren't sure what use --nodep is, don't use it. You're essentially taking all the safeties off, and gods help you if you screw something up while doing it.






share|improve this answer




















  • Exactly what I wanted to know and thanks for answering so quickly.
    – Pozinux
    Feb 10 '16 at 14:21

















up vote
2
down vote













--nodeps is when we do not want to verify package dependencies.



If you will use it with rpm it will not verify the package dependencies, and the installed package might not work as it should.



If you will use it with rpm -e command, the package will be erased without giving you warning, if some other packages are dependent on the package you are trying to erase.






share|improve this answer




















  • Ok thanks for the precisions. In fact I know what it does and doesn't. I just wanted to know in which case I would need to use this option.
    – Pozinux
    Feb 10 '16 at 14:21










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',
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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f261200%2fin-which-case-can-i-use-the-option-nodeps-of-rpm-command%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










It exists for broadly the same reasons rm will allow you to delete the filesystem root, or dd will allow you to overwrite the physical hard drive:



Linux and unix have a long history of giving you all the ammo you need when you really insist on shooting yourself in the foot.



Less flippantly, when something has gone badly wrong during a package install, whether due to a badly built package or an outage at the worst possible moment, it's possible to wind up with your package manager's dependency database in gridlock -- IE, it can't resolve the problem because attempting any of the solutions would violate the dependencies of the other packages involved. In that case, you can use --nodeps, or for dpkg, the --force-* options to manually and forcibly remove the offending package, and then immediately issue what commands are necessary to fix the now broken dependencies.



That's something you should only do if you're really sure of what you're doing, however; as a rule of thumb, if you aren't sure what use --nodep is, don't use it. You're essentially taking all the safeties off, and gods help you if you screw something up while doing it.






share|improve this answer




















  • Exactly what I wanted to know and thanks for answering so quickly.
    – Pozinux
    Feb 10 '16 at 14:21














up vote
1
down vote



accepted










It exists for broadly the same reasons rm will allow you to delete the filesystem root, or dd will allow you to overwrite the physical hard drive:



Linux and unix have a long history of giving you all the ammo you need when you really insist on shooting yourself in the foot.



Less flippantly, when something has gone badly wrong during a package install, whether due to a badly built package or an outage at the worst possible moment, it's possible to wind up with your package manager's dependency database in gridlock -- IE, it can't resolve the problem because attempting any of the solutions would violate the dependencies of the other packages involved. In that case, you can use --nodeps, or for dpkg, the --force-* options to manually and forcibly remove the offending package, and then immediately issue what commands are necessary to fix the now broken dependencies.



That's something you should only do if you're really sure of what you're doing, however; as a rule of thumb, if you aren't sure what use --nodep is, don't use it. You're essentially taking all the safeties off, and gods help you if you screw something up while doing it.






share|improve this answer




















  • Exactly what I wanted to know and thanks for answering so quickly.
    – Pozinux
    Feb 10 '16 at 14:21












up vote
1
down vote



accepted







up vote
1
down vote



accepted






It exists for broadly the same reasons rm will allow you to delete the filesystem root, or dd will allow you to overwrite the physical hard drive:



Linux and unix have a long history of giving you all the ammo you need when you really insist on shooting yourself in the foot.



Less flippantly, when something has gone badly wrong during a package install, whether due to a badly built package or an outage at the worst possible moment, it's possible to wind up with your package manager's dependency database in gridlock -- IE, it can't resolve the problem because attempting any of the solutions would violate the dependencies of the other packages involved. In that case, you can use --nodeps, or for dpkg, the --force-* options to manually and forcibly remove the offending package, and then immediately issue what commands are necessary to fix the now broken dependencies.



That's something you should only do if you're really sure of what you're doing, however; as a rule of thumb, if you aren't sure what use --nodep is, don't use it. You're essentially taking all the safeties off, and gods help you if you screw something up while doing it.






share|improve this answer












It exists for broadly the same reasons rm will allow you to delete the filesystem root, or dd will allow you to overwrite the physical hard drive:



Linux and unix have a long history of giving you all the ammo you need when you really insist on shooting yourself in the foot.



Less flippantly, when something has gone badly wrong during a package install, whether due to a badly built package or an outage at the worst possible moment, it's possible to wind up with your package manager's dependency database in gridlock -- IE, it can't resolve the problem because attempting any of the solutions would violate the dependencies of the other packages involved. In that case, you can use --nodeps, or for dpkg, the --force-* options to manually and forcibly remove the offending package, and then immediately issue what commands are necessary to fix the now broken dependencies.



That's something you should only do if you're really sure of what you're doing, however; as a rule of thumb, if you aren't sure what use --nodep is, don't use it. You're essentially taking all the safeties off, and gods help you if you screw something up while doing it.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 10 '16 at 12:43









Shadur

19.2k64357




19.2k64357











  • Exactly what I wanted to know and thanks for answering so quickly.
    – Pozinux
    Feb 10 '16 at 14:21
















  • Exactly what I wanted to know and thanks for answering so quickly.
    – Pozinux
    Feb 10 '16 at 14:21















Exactly what I wanted to know and thanks for answering so quickly.
– Pozinux
Feb 10 '16 at 14:21




Exactly what I wanted to know and thanks for answering so quickly.
– Pozinux
Feb 10 '16 at 14:21












up vote
2
down vote













--nodeps is when we do not want to verify package dependencies.



If you will use it with rpm it will not verify the package dependencies, and the installed package might not work as it should.



If you will use it with rpm -e command, the package will be erased without giving you warning, if some other packages are dependent on the package you are trying to erase.






share|improve this answer




















  • Ok thanks for the precisions. In fact I know what it does and doesn't. I just wanted to know in which case I would need to use this option.
    – Pozinux
    Feb 10 '16 at 14:21














up vote
2
down vote













--nodeps is when we do not want to verify package dependencies.



If you will use it with rpm it will not verify the package dependencies, and the installed package might not work as it should.



If you will use it with rpm -e command, the package will be erased without giving you warning, if some other packages are dependent on the package you are trying to erase.






share|improve this answer




















  • Ok thanks for the precisions. In fact I know what it does and doesn't. I just wanted to know in which case I would need to use this option.
    – Pozinux
    Feb 10 '16 at 14:21












up vote
2
down vote










up vote
2
down vote









--nodeps is when we do not want to verify package dependencies.



If you will use it with rpm it will not verify the package dependencies, and the installed package might not work as it should.



If you will use it with rpm -e command, the package will be erased without giving you warning, if some other packages are dependent on the package you are trying to erase.






share|improve this answer












--nodeps is when we do not want to verify package dependencies.



If you will use it with rpm it will not verify the package dependencies, and the installed package might not work as it should.



If you will use it with rpm -e command, the package will be erased without giving you warning, if some other packages are dependent on the package you are trying to erase.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 10 '16 at 9:45









Piyush Jain

30816




30816











  • Ok thanks for the precisions. In fact I know what it does and doesn't. I just wanted to know in which case I would need to use this option.
    – Pozinux
    Feb 10 '16 at 14:21
















  • Ok thanks for the precisions. In fact I know what it does and doesn't. I just wanted to know in which case I would need to use this option.
    – Pozinux
    Feb 10 '16 at 14:21















Ok thanks for the precisions. In fact I know what it does and doesn't. I just wanted to know in which case I would need to use this option.
– Pozinux
Feb 10 '16 at 14:21




Ok thanks for the precisions. In fact I know what it does and doesn't. I just wanted to know in which case I would need to use this option.
– Pozinux
Feb 10 '16 at 14:21

















draft saved

draft discarded
















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f261200%2fin-which-case-can-i-use-the-option-nodeps-of-rpm-command%23new-answer', 'question_page');

);

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






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?