In my Pc i am having Dual OS Linux Mint and Windows. I am facing lots of issues because of Linux Mint. I want to replace it with Ubuntu but at the same time i dont want to lose my internal data's like i have development setup's in it. there are lots of databases packages where installed. if I changed it means will let me in lots of time loss. is there any way to replace it?  
How to replace Linux Mint with Ubuntu without losing any internal data?
ubuntu;linux mint
You can save a list of the installed pagkages with dpkg --get-selections and restore with dpkg --set-selections. You might also want to look into saving and restoring your package configuration database from Debconf (debconf-[gs]et-selections, from debconf-utils), and probably backup and restore all of /etc as well as /home.As root on the source system,dpkg --get-selections >packagesdebconf-get-selections | grep -Ev '^[[:space:]]*(#|$)' >debconf_settingstar jcf etc+home.tar.bz2 /etc /homeSave these files to a USB stick or something, set up the new system, then again as root, on the target systemdpkg --set-selections <packagesdebconf-set-selections <debconf_settingstar -C / -j -x -f etc+home.tar.bz2I don't think this can be expected to work smoothly or flawlessly, but having a fair amount of shared packaging infrastructure means at least the trivial parts should not require a lot of manual work.If you have the time and patience, maybe try this in a virtual host before entirely zapping your Mint install. Setting up Ubuntu in Virtualbox should be well worth your time for other reasons as well.