Try this:
sudo nano /etc/lsb-release
change “DISTRIB_ID=LinuxMint” for “DISTRIB_ID=Ubuntu“
Save changes
Then do the following:
sudo apt-get install software-center
sudo nano /usr/share/software-center/softwarecenter/distro/__init__.py
find line 112 in the _get_distro() function:
distro_id = subprocess.Popen([“lsb_release”,”-i”,”-s”], stdout=subprocess.PIPE).communicate()[0].strip()
And just change it to:
distro_id = “Ubuntu”
Then run software-center, it should work now!
After making sure that it works, just fix back what you changed before:
sudo nano /etc/lsb-release
change “DISTRIB_ID=Ubuntu” for “DISTRIB_ID=LinuxMint“
Save changes
Now Ubuntu Software Center works!!!