I have two ubuntu installs on two separate partitions, one Unity and one Gnome-Shell. They both use a common encrypted /home partition. That sort of setup has worked well for me in the past, but for some reason I'm getting a lot of package management problems lately. When I use Software Center on my Unity parition, it shows that I have installed the gnome3 ppa, which is only installed on my other partition. Are these two partitions sharing the same apt-get data now? That can't be right. If so, how can I fix this?
I suppose that you can solve your problem moving the following directories
somewhere out of your home.
You have two alternatives:
In my opinion the second alternative is recommended, as it will have the same effect of starting Software Center for the first time.
Now close Software Center, if it is running, and do a preventive backup of such directories, in case something will go wrong.
So, to begin with the first alternative, do the following.
Login on the first installation and do:
Login on the second installation and do:
The following commands, operating on the HOME, should be executed only on one of the two installations, and they will have effects on both installations.
Now the two installations points to different versions of the dirs.
Regarding the second alternative, you can substitute the four
all other commands could rest the same.