There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

I completely broke Kubuntu

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

Deckweiss ,

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 OP ,

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

skullgiver ,
@skullgiver@popplesburger.hilciferous.nl avatar

As far as I can tell, DaVinci Resolve is not available in a Debian/Ubuntu package. The standard installer, designed for Red Hat, doesn’t seem to interact with the package manager either. This makes me think some kind of wrapper script you downloaded from the internet was the culprit here.

There are some guides online that will make Resolve into a package, but they seem to be pulling all kinds of weird tricks. I would not recommend using those guides without some kind of backup and recovery tool set up for your computer.

It’s hard to tell what exactly got removed, so I don’t know what you need to reinstall. If you use a tool like Timeshift or Snapper, now would be the time to restore a previous system snapshot. If you don’t, you’ll need to do the recovery manually. Either way, this isn’t an easy fix, especially if this was caused by a script like MakeResolveDeb which seems to also modify other system files.

To get a running Kubuntu install back, you basically have two options: either use the command line to sudo apt install every package you notice missing (sudo apt install dolphin konsole…) to reinstall them, or, what I would do in your case, do a clean reinstall to get everything back in working order. First make a copy of your entire home folder (and any other folder you may want to save) to another drive, then do a clean install, and copy the files back to where they’re supposed to be.

If you can’t log in, try logging into the console (ctrl+alt+f3, type username and password when prompted). From there, you can run a command like sudo apt install kubuntu-desktop. That should fetch most Kubuntu files it it installs successfully. If it refuses because of package conflicts, you’ll need to remove the conflicting packages first (i.e. sudo apt remove davinci-resolve if apt complains about kubuntu-desktop conflicting with Resolve).

A reinstall is probably quicker and easier, but you’ll need to make sure to copy over everything (including hidden files!) you may need off the broken system. You can do this from the Kubuntu installer by running the “try kubuntu” option when prompted and simply launching a file manager. Any system modifications you made to your system (additional drivers and programs, configuration) will need to be made again. If you haven’t messed with the system too much, this shouldn’t take long; all you need is to install your old programs, and the config files from your backup should leave you right where you left off.

As for system snapshot tools:

If you’re comfortable with messing around with partition layouts, I highly recommend looking into setting up BTRFS+TimeShift; it could undo the damage in seconds after rebooting.

Unfortunately, Kubuntu doesn’t offer this tool as a simple option in the installer, so there’s a bit of manual work involves to get it to work, and if you don’t know what BTRFS is you may not want to deal with that nerd shit.

I think setting the partition type to btrfs during setup is all you need to do (that, and installing timeshift of course), but I haven’t verified that this still works.

kolorafa ,

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)

umami_wasbi ,

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

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

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

rovingnothing29 ,
@rovingnothing29@lemmy.world avatar

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…

vk6flab ,
@vk6flab@lemmy.radio avatar

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 OP ,

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 ,
@Strit@lemmy.linuxuserspace.show avatar

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

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

wallmenis ,

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 ,

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 ,

No. What? Why?

bsergay ,

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 ,

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

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

Lol

Please install Davinci Resolve in a Podman/Docker container.

github.com/zelikos/davincibox

And this looks like just sddm-breeze is missing

Strit ,
@Strit@lemmy.linuxuserspace.show avatar

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.

Braindead ,

Edit: please help

Best edit ever

mvirts ,

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines