r/linux4noobs • • 11d ago

Installing Virtualbox through software manager

I keep getting the error "error while installing package: installed vitualbox-dkms package post-installation script subprocess returned error exit status 10"

I've tried googling it but i haven't seen people runing into this.

Any help please?

EDIT: this is for linux mint

EDIT 2 : I wonder if this custom install of clip studio paint i tried once messed up with some base files or something... https://www.youtube.com/watch?v=iYhEm32Lr4Y
It didn't even work!

2 Upvotes

41 comments sorted by

View all comments

Show parent comment

1

u/nirwanda001 11d ago

Reply 2 : I wonder if this custom install of clip studio paint i tried once messed up with some base files or something... https://www.youtube.com/watch?v=iYhEm32Lr4Y
It didn't even work!

2

u/DannoXYZ 11d ago

Did you completely uninstall it afterwards?

1

u/nirwanda001 11d ago

No tbh i had no idea how to do it

2

u/DannoXYZ 10d ago edited 10d ago

Easiest 100% for sure way to restore is to make complete image-backup of hard-drive before making any changes. Then you can revert back to exact previous configuration.

Botched installs can interfere with every single attempt to install any other softwares from then on, permanent damage and nothing will work properly. Only way to clean up really messed up system is format & wipe hard-drive and re-install OS from scratch. Good job with using VB, you can tinker and break things in VM without harming your system. Snapshots lets you rollback to previous state much easier than running down to bank vault to fetch backups to restore all the time.

Avoid trying to "forge ahead" with piling more and more stuff in attempt to fix. Need to back out and undo damage and get back to clean working system before moving forward. At least undo whatever steps you did in reverse order. Keep a log of all, your actions on separate system or phone:

  1. apt install <software1>
  2. apt install <software2>
  3. apt install <software3> ; if it doesn't work, undo step before moving on
  4. apt uninstall <software3>
  5. apt install <software4>

If you find out that <software2> borked some part of system, best to roll things back in reverse order. Uninstall 4, 3, 2. Then roll forward by installing 3, 4.

https://tekneed.com/how-to-install-a-software-on-linux-systems

https://www.digitalocean.com/community/tutorials/package-management-basics-apt-yum-dnf-pkg

https://campus.kennesaw.edu/offices-services/uits/docs/standards-procedures/linux-server-best-practices.pdf

2

u/nirwanda001 8d ago

Thanks for the advierte!

1

u/DannoXYZ 8d ago

You're welcome! :wave:

1

u/grantrules 11d ago

Probably not