4 ms·
>You guys really have less trouble with package managers than Windows installers? Yes, because: >(I don't remember exactly) There is your problem. Your pack
by mmjaa 9y ago
>You guys really have less trouble with package managers than Windows installers?
Yes, because:
>(I don't remember exactly)
There is your problem.
Your package manager prevented you installing something which would have caused instability, and you didn't grok it well enough to understand, and somehow this is the fault of package management?
Did you upgrade your dependency graph before deciding it was all too difficult to understand and use the tool to fix the problem? (apt upgrade && apt update)
apt was telling you something important: you chose to just ignore it because "too confusing" or whatever .. maybe because you grew up on the very poor habit of "just install it and who cares whatever may happen afterwards" of installers?
>_bypass_ the package manager and get an even more borked installation? You don't see a third option?
There is a third option - upgrade your dependencies, try again, and if it persists - remove the offending package and replace it with one that works. That dependency graph is there to tell you: your system may become unstable after you install this.
No such luxury happens with the plain ol' installer methods ..
sudo apt-get autoremove && sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
EDIT: A simple solution to your problem, only possible with package management:
https://ubuntuforums.org/showthread.php?t=2268104 https://ubuntuforums.org/showthread.php?t=2268104
- dataflow 9y ago>apt was telling you something important: you chose to just ignore it because "too confusing" or whatever What "it" are you even talking about? I didn't "choose to ignore" anything. I Marked all Upgrades, clicked Apply, rebooted when it was finished, went to see if there were any more upgrades (there were some), tried to mark & apply them, and was greeted with this error. Apt/Synaptic got me into this broken state and couldn't get me out of it. I don't know what story you're reading, but it doesn't seem to be what I've been writing. There was nothing for me to ignore. The error wasn't something I ignored; it was the problem.
- lmm 9y ago> Apt/Synaptic got me into this broken state and couldn't get me out of it. I don't know what story you're reading, but it doesn't seem to be what I've been writing. There was nothing for me to ignore. The error wasn't something I ignored; it was the problem. No. Nothing was broken. The updates you had asked for were about to break something if you installed them. The error message was the package manager stopping you from breaking your system.
- dataflow 9y ago> No. Nothing was broken. The updates you had asked for were about to break something if you installed them. The error message was the package manager stopping you from breaking your system. Uhm... two things. First: you see this screenshot? https://askubuntu.com/q/814380 https://askubuntu.com/q/814380 Aside from the actual package names, the bottom part is the same kind of error I got. See how it says "You have held __broken___ packages"? See how the top answer is "You can use Aptitude to automatically __fix__ the __broken__ packages"? Yeah, I interpret that to mean I had broken packages. After updating. Not before. Oh, and actually, I think it's basically the same kind of situation as in that link. Notice it has >17k views, only 2 answers, and no accepted answer? Yeah, I guess it's not so easy to resolve. Second: Even if I ignore the above and pretend nothing there is currently broken, a system that cannot be updated is, uhm, broken. So not only was this system just broken, it was doubly broken.
- lmm 9y ago> First: you see this screenshot? https://askubuntu.com/q/814380 https://askubuntu.com/q/814380 Aside from the actual package names, the bottom part is the same kind of error I got. I actually don't, imgur is blocked where I work. But I know the error you're talking about. > Yeah, I interpret that to mean I had broken packages. After updating. Not before. Yeah the error reporting is bad, which is where the whole unix philosophy of small cooperating programs goes completely wrong. (Or possibly the error is correct and the package is broken - Ubuntu maintainers in particular seem to make bad packages quite often. But the package manager isn't the problem there) > Notice it has >17k views, only 2 answers, and no accepted answer? Yeah, I guess it's not so easy to resolve. More likely the user who asked it (3 questions, 0 answers) got bored and never "accepted". > Even if I ignore the above and pretend nothing there is currently broken, a system that cannot be updated is, uhm, broken. In as much as you now can't use the package manager to update all your programs? I mean I'd agree that this qualifies as "broken", but it's exactly as broken as a system that doesn't have a package manager in the first place. You could still update all the individual programs manually like you would on windows. Which is what I thought you were advocating?
- 9y ago