UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Ubuntu-Studio for the first time... all was good, apart from bluetooth clashing with wifi (which has been going on for years now, across multiple versions, laptops etc)...
... and (more pertinently), Inkscape not being able to export PLT... which I need for work.
On a thread elsewhere, someone suggested I "try a complete reinstall of Python" - so I did
sudo apt-get remove python2.7
in the hope of then doing
sudo apt-get install python3.5
and it deleted half of the applications completely (including inkscape), and a lot more (eg: Jack) appear to no longer work.
Is there an easy way to recover from this or do I have to reinstall my operating system completely?
If you do not have the list of what was uninstalled, in /var/log there should be several logs of the package activities. None of them are particularly suitable for copying and pasting, but using them you can find out exactly what to reinstall. Use the command line to reinstall everything that was removed and you'll be fine.
There seems to be about 130 packages, most of which I don't recognise... which may or may not be dependencies.
I guess I just re-install the applications I do actually use... which is a pity, because Ubuntu-Studio had included a whole load of stuff I might have found interesting.
I don't know what the lesson is here - with respect, I did "read and think" for about a week - getting nowhere, and then asking on forums. You do kindof depend on forums for help, rather than advice that will wind up trashing your system.
I don't know if it's just me, but I've been using Ubuntu for about 10 years now I think - and it's getting more and more difficult to get working properly each time. It' almost like software gets to a certain level of complexity, and then after that a kind of entropy kicks in.
If they maintain their own repos, package re-install should work and retain any config changes they have merged. Cross-package dependencies they may have introduced - hmmm, maybe.
For a special spin like that a re-install might be a better option. Make sure you have /home as a separate partition first - you can mount that during install and not format it and all you user specific config files will be retained and used on reboot of the new system.
Back when I did use Ubuntu, this worked successfully over a period of years.
The lesson is that when apt-get displays a huge list of packages that will be removed, you don't respond "y" without reviewing the list and making sure it doesn't include things you want to keep.
And FYI, python-3 is not backward compatible with python-2. Programs written to work with one will not run with the other. If you want python-3, it can be installed along with python-2. They are different packages, not just different versions of the same package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.