I completely broke Kubuntu
from EvolvedTurtle@lemmy.world to linux@lemmy.ml on 24 Jul 2024 08:40
https://lemmy.world/post/17898920

So like I was trying to install Davinci resolve (an editing program) and while doing so it basically said “removing” followed by that appears to be everything installed on my computer

So I nope right out of there and I notice a bunch of important things are missing ex: the terminal, file manager, etc

So I just decided Maybe if I reboot everything will be a ok

And now on this screen and it won’t even let me enter my logic

This was the latest update of Kubuntu And idk what I did wrong or how I got here

I’ve only been using Kubuntu for probably about 4 months ish

Edit: please help

Edit 2: I got it working by reinstalling Kubuntu as suggested, Thank you for the help :>

#linux

threaded - newest

umami_wasbi@lemmy.ml on 24 Jul 2024 08:45 next collapse

ctrl+alt+f1 get to tty and install back those uninstalled?

boredsquirrel@slrpnk.net on 24 Jul 2024 11:08 collapse

If apt suggested to uninstall these, there is a problem that may just occur again

vk6flab@lemmy.radio on 24 Jul 2024 08:45 next collapse

There is not enough information in your post to help you. Here’s a preliminary list of questions that need an answer before anyone can give you a meaningful contribution.

Where did you get “Davinci resolve” from?

What instructions were you following to install it?

Did the installation finish?

Have you attempted to login using a text console?

Which version of Kubuntu were you using and which version of “Davinci resolve” were you attempting to install.

EvolvedTurtle@lemmy.world on 24 Jul 2024 09:02 collapse

1, directly from the website Link

2, it was a basic installer except it was angry about some dependencies, specifically I installed libasound2 I believe and it started removing stuff

3, Nope

4, I’m not sure how

5, what ever the latest is

6, again what ever the latest is

Strit@lemmy.linuxuserspace.show on 24 Jul 2024 09:10 next collapse

Seems DaVinci Resolve does not have support for the latest Ubuntu’s yet.

forum.blackmagicdesign.com/viewtopic.php?f=21&amp…

EvolvedTurtle@lemmy.world on 25 Jul 2024 08:24 collapse

Know any good alternatives?

Strit@lemmy.linuxuserspace.show on 25 Jul 2024 09:01 collapse

I have basic video editing needs, so I just use Kdenlive, which can do a lot of stuff.

wallmenis@lemmy.one on 24 Jul 2024 09:23 next collapse

For number 4 since it is very useful in such situations: press Ctrl + Alt + one of the F keys (usually one of 3,4,5) And to go back it is usually one of 1,2,7,8

It saved my ass many times.

bsergay@discuss.online on 24 Jul 2024 10:24 collapse

1, directly from the website Link

I hope you’ve now understood why -on Linux- you should never try to install stuff like how you were used to on Windows. Unless, you 100% know what you’re doing.

atzanteol@sh.itjust.works on 24 Jul 2024 11:45 next collapse

No. What? Why?

bsergay@discuss.online on 24 Jul 2024 11:54 collapse

On your phone, do you search the software you want to install through your browser? After which, do you download the install script and try to run it?

No, of course not. Instead, you pay a visit to the accompanied software center. Searching, installing and upgrading all occur through that.

Similarly, on Linux, your chosen distro comes with a (or perhaps multiple) package manager(s) and a software center. Those should first and foremost be consulted. And for 99% of the cases; this is the intended, supposed and supported way of installing said software.

This should suffice for the sake of brevity. If you’ve still got questions, please feel free to ask them.

atzanteol@sh.itjust.works on 24 Jul 2024 14:35 collapse

On your phone, do you search the software you want to install through your browser?

Yes. Not everything I have is installed through the Google store. I grew up in an era before walled-gardens.

Similarly, on Linux, your chosen distro comes with a (or perhaps multiple) package manager(s) and a software center. Those should first and foremost be consulted. And for 99% of the cases; this is the intended, supposed and supported way of installing said software.

I should clarify - I know what a package manager is. But you’re acting like one needs to have some expert skills to install things outside of the package manager. It’s generally preferred for a number of reasons but it’s not bad “per se” to install something outside of it.

Used to be a time where the install instructions were ./configure && make && make install

bsergay@discuss.online on 24 Jul 2024 15:32 collapse

Yes. Not everything I have is installed through the Google store.

I understand from this, that it is implied, that the majority of what you have installed, has been done through the Google store though. By extension, I assume that -by default- you entrust installing software to the Google store. Hence, if all of the above is correct, then you actually don’t commit to ‘the Windows-way’ by default; but only by exception. Which is exactly my point.

But you’re acting like one needs to have some expert skills to install things outside of the package manager.

I feel you’re reading too much into it. In my first comment, I didn’t even mention package managers. In the second comment, I only wrote -and I quote- “Those should first and foremost be consulted. And for 99% of the cases; this is the intended, supposed and supported way of installing said software.”. I don’t see where expert skills are implied if one chooses to go outside of it. Please feel free to help me understand where I did.

It’s generally preferred for a number of reasons but it’s not bad “per se” to install something outside of it.

I never implied otherwise.

atzanteol@sh.itjust.works on 24 Jul 2024 15:52 collapse

I hope you’ve now understood why -on Linux- you should never try to install stuff like how you were used to on Windows. Unless, you 100% know what you’re doing.

That’s pretty strong language and what I was responding to. Perhaps you were being hyperbolic.

bsergay@discuss.online on 24 Jul 2024 16:43 collapse

Thanks for clarifying!

That’s pretty strong language

I agree. But in this case it was 100% justified as OP just (hopefully reversibly) destroyed their installation.

and what I was responding to.

Thanks for properly nuancing my stance. Though, perhaps consider to do so right away next time 😜.

Perhaps you were being hyperbolic.

It was deliberate. But I wouldn’t refer to it as hyperbolic. Perhaps more in the style of an elder sibling scolding their younger sibling to be better next time 😉. Apologies if I missed the mark, though.

atzanteol@sh.itjust.works on 24 Jul 2024 19:09 collapse

I agree. But in this case it was 100% justified as OP just (hopefully reversibly) destroyed their installation.

And yet they did so using the package manager. They just installed a apt.source that they shouldn’t have. THAT I would say one should not do unless one really knows what they are doing. If they had just installed some .appimage or compiled something from source they would have been fine.

Thanks for properly nuancing my stance. Though, perhaps consider to do so right away next time 😜.

And yet:

It was deliberate. But I wouldn’t refer to it as hyperbolic.

So… I’m not going to nuance your stance if it shouldn’t be nuanced. It’s a bit up to you to be clear about your nuance. And in this case you’re being very ambiguous about it.

bsergay@discuss.online on 29 Jul 2024 10:44 collapse

And yet they did so using the package manager.

So, Davinci Resolve’s .run file used for installation definitely somehow interacted with the package manager. Otherwise, the system wouldn’t break the way it did. While, technically the package manager was in use (at least at some point), the user -i.e. OP- did not intentionally invoke its use consciously. So, I wouldn’t refer to this as “using the package manager”.

They just installed a apt.source

What is an apt.source? Search engines and LLMs failed at resolving this. They did explain what apt source is or could refer to, though*. Regardless, what leads you to understand that they’ve installed an apt.source? Please be elaborate as I’m not a Debian/Ubuntu user; consider shedding light on it through the RPM world.

THAT I would say one should not do unless one really knows what they are doing.

How does one know which apt.source they should and should not install? Doesn’t this imply “expert skills” (using my understanding of your logic)? On Windows, you can install software with almost no fear; as long as the source is trusted.

If they had just installed some .appimage

Assuming they’ve installed libfuse2. Which actually is not present in modern Ubuntu installations.

or compiled something from source they would have been fine.

So, in this case, you believe that compiling a gargantuan program like Davinci Resolve would not have caused a ton of issues related to dependencies even if it was supported on Ubuntu?

So… I’m not going to nuance your stance if it shouldn’t be nuanced.

I thought that my writing was sufficiently easy to comprehend and would not lead to any misunderstandings. Therefore, within that context, nuance was not needed. However, your engagement in the conversation implies that some actually did misunderstand it. Thus, nuance was (seemingly) needed and I only became aware of it afterwards.

It’s a bit up to you to be clear about your nuance. And in this case you’re being very ambiguous about it.

My stance is pretty simple:

  • Use whatever is provided, intended and supported by the ‘distro’.
  • For that which goes beyond this, you’re on your own and should be prepared to face the consequences.

So, if one can’t deal with the consequences, like how OP had to come here for help, then one should stick to the first point.

EvolvedTurtle@lemmy.world on 25 Jul 2024 08:12 collapse

I do But I could not find it in the intended ways

I infact did not 100% know what I was doing obviously lol despite having complete confidence that I did

bsergay@discuss.online on 28 Jul 2024 14:48 collapse

I infact did not 100% know what I was doing obviously lol despite having complete confidence that I did

I know that feeling very well 🤣. I’m glad to hear that you were able to recover your system; at least this mistake only came at the cost of your time and not your system.

Have a good one 😉!

Strit@lemmy.linuxuserspace.show on 24 Jul 2024 08:48 next collapse

What guide did you follow to install Davinci?

It probably contained something that removes a lot of stuff. Like replacing a dependency with a davinvi specific one, which uninstalled most of the system.

Deckweiss@lemmy.world on 24 Jul 2024 08:49 next collapse

Possibly this contains the reason why it broke:

wiki.debian.org/DontBreakDebian

I don’t know how you went about installing davinci, but if you added a repo or ppa that is incompatible with the version you had, apt would try to resolve it by removing everything incompatible.


Easiest way to fix it would be to reinstall Kubuntu and all the packages you had, while keeping your old home partition/folder. That way all your data, downloads and most of the configs will stay.

The installer used to have a checkbox for that somewhere, at least back in the day when I used Kubuntu. Afaik it would automatically detect that a home already exists, even if it is not on a seperate partition.

But just to be extra safe, I’d recommend just live booting some other OS and backing up your home to an external drive.

EvolvedTurtle@lemmy.world on 24 Jul 2024 09:04 collapse

It’s really late for me right now but I’ll talk so my brother tomorrow about borrowing an extra hard drive and attempting this then

EvolvedTurtle@lemmy.world on 25 Jul 2024 08:07 collapse

I fixed it It’s finally working It took me longer then I’m willing to admit but There’s no reinstall button in the installer

But to do it is to select manual partition and simply set the original partition as /

Amazingly everything is exactly how I left it I expected to have to reconfigure my settings n such but it managed to retain my previous configurations

ikidd@lemmy.world on 26 Jul 2024 00:57 next collapse

It’s pretty normal to keep the configurations. An inplace reinstall will just put the system files back that got removed, then a reboot will bring them up with the configuration files left from before the reinstall as long as they were put in the right place for user-configured files.

nickwitha_k@lemmy.sdf.org on 27 Jul 2024 06:25 collapse

Congrats! And good job not giving up!

rovingnothing29@lemmy.world on 24 Jul 2024 08:58 next collapse

The top answer here worked for me a long (~10 years) time ago, it might still work. Backup your home folder with a livecd before trying anything though.

unix.stackexchange.com/…/can-i-rollback-an-apt-ge…

[deleted] on 24 Jul 2024 09:38 next collapse

.

EvolvedTurtle@lemmy.world on 25 Jul 2024 08:17 collapse

I’m lucky enough to have other systems around to back up the drive with for the reinstall

I am absolutely going to fiqure out how it set up timeshift now

kolorafa@lemmy.world on 24 Jul 2024 10:40 next collapse

You can go to /var/log/apt/ and read the history.log as it will contain every single package that you did install/remove.

Based on that you can just restore it to working state by manually undoing the changes (removing installed, installing removed)

boredsquirrel@slrpnk.net on 24 Jul 2024 11:07 next collapse

Lol

Please install Davinci Resolve in a Podman/Docker container.

github.com/zelikos/davincibox

  • install podman and distrobox
  • clone the git repo
  • place the davinci binary in there
  • run setup.sh

And this looks like just sddm-breeze is missing

EvolvedTurtle@lemmy.world on 25 Jul 2024 08:09 collapse

Will absolutely do

mvirts@lemmy.world on 24 Jul 2024 14:35 next collapse

If you can intercept boot ( press a key to get to the grub menu or whatever… I haven’t used Ubuntu in a while so maybe it’s not so simple anymore) you may be able to enter rescue / single-user mode and let apt complete the changes and then revert them.

A clean reinstall may be easier depending on how much you’ve changed on the system. Easier isn’t always better, fix this and you’ll know how to do it again in the future.

Braindead@programming.dev on 24 Jul 2024 15:13 next collapse

Edit: please help

Best edit ever

therealjcdenton@lemmy.zip on 24 Jul 2024 16:09 next collapse

askubuntu.com/…/find-and-reinstall-packages-with-…

gravitas_deficiency@sh.itjust.works on 24 Jul 2024 16:54 next collapse

On your next OS reinstall, perhaps consider using an atomic distro. They’re WAY harder to break in this fashion - primarily because you can just roll them back to the previous known-good state.

Edit: genuinely curious what the downvotes are for - I thought atomics were quite popular here?

jjlinux@lemmy.ml on 24 Jul 2024 22:30 next collapse

Easiest fix:

1.- Download Fedora

2.- Install Fedora

3.- Never look back

4.- Be happy the rest of your life

elevenh@lemmy.world on 25 Jul 2024 10:24 collapse

Typical solution for you. Change distro.

jjlinux@lemmy.ml on 26 Jul 2024 02:55 collapse

Exactly. At least for me, Fedora has been flawless since version 36.

cyborganism@lemmy.ca on 26 Jul 2024 16:30 collapse

At login, press ctrl-alt-f4 or f5 or one of the F* keys until you get a text based login screen. (Might need to press enter on a blank screen for the login to appear)

Login as your user and password.

Sudo apt install kubuntu-desktop