I suppose that you can solve your problem moving the following directories
~/.config/software-center
~/.cache/software-center
somewhere out of your home.
You have two alternatives:
- continue on both installations with the present content of such dirs;
- start with an empty content.
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.
First Alternative
So, to begin with the first alternative, do the following.
Login on the first installation and do:
# Create a local copy of 'software-center' dirs
sudo mkdir -p /usr/local/software-center/{.config,.cache}
sudo chown -R $USER:$USER /usr/local/software-center
cp -a ~/.config/software-center /usr/local/software-center/.config/
cp -a ~/.cache/software-center /usr/local/software-center/.cache/
Login on the second installation and do:
# Same as before
# Create a local copy of 'software-center' dirs
sudo mkdir -p /usr/local/software-center/{.config,.cache}
sudo chown -R $USER:$USER /usr/local/software-center
cp -a ~/.config/software-center /usr/local/software-center/.config/
cp -a ~/.cache/software-center /usr/local/software-center/.cache/
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.
# Remove the original common copy
rm -r ~/.config/software-center
rm -r ~/.cache/software-center
# Link local copy to where 'software-center' expect to find dirs
ln -s /usr/local/software-center/.config/software-center ~/.config/software-center
ln -s /usr/local/software-center/.cache/software-center ~/.cache/software-center
Now the two installations points to different versions of the dirs.
Second Alternative
Regarding the second alternative, you can substitute the four cp
commands with two mkdir
, one for each installation:
mkdir /usr/local/software-center/{.config,.cache}/software-center
all other commands could rest the same.
I choosed /usr/local/software-center
as the base dir for the local copies, but you can choose every dir you want, as long as it do not belongs to home.
As you may know, Ubuntu is built upon Debian. LTS releases are based on Debian Testing, while regular releases are based on Debian Unstable. Ubuntu packages are therefore almost always compatible with the respective Debian release.
Ubuntu Software Center is a nice front-end for browsing and searching for packages, and it uses standard .deb downloads/installation on the back-end. It works just as well on Debian as on Ubuntu, and is there as an alternative to Synaptic, etc. for Debian users.
Note: technically, the Debian USC is not an upstream package. In fact, as the filename software-center_5.1.2debian2.1
suggests, it's the Ubuntu (Launchpad) package which is the upstream here!
Best Answer
You have just discovered "snap" packages, they are deployed by "snappy" package management system built by Canonical Ltd. (the Ubuntu company).
Read more here: https://docs.snapcraft.io/getting-started/3876
The Software application also contains snaps, in fact