

- #Uninstall and reinstall phpmyadmin ubuntu how to#
- #Uninstall and reinstall phpmyadmin ubuntu update#
- #Uninstall and reinstall phpmyadmin ubuntu code#
- #Uninstall and reinstall phpmyadmin ubuntu password#
The difference between remove and purge is that remove just removes the program and its data files (the stuff you could re-download), while purge first does what remove does then also removes configuration files (the stuff you might have edited locally). I suspect you did what that line is supposed to do when you edited those mysql tables manually, but I don't know phpmyadmin or database admin in general, so I'm only guessing. This is likely to make you able to uninstall phpmyadmin. If it works, you should have a system in a consistent state from which you can try aptitude purge phpmyadmin again.Īnother thing you can do is comment out the offending line in /var/lib/dpkg/info/phpmyadmin.prerm. My advice is to first try aptitude reinstall dbconfig-common. It looks like you've managed to uninstall dbconfig-common without uninstalling phpmyadmin, which shouldn't have happened (did you try to -force something?). Phpmyadmin depends on dbconfig-common, which contains /usr/share/dbconfig-common/dpkg/prerm.mysql. I have a webserver running on php, but I'm willing to risk downtime to get this resolved. Processing triggers for libapache2-mod-php5. Setting up libjs-mootools (1.2.5~debian1-2). Php5-mcrypt depends on libmcrypt4 however:ĭpkg: error processing php5-mcrypt (-install):ĭependency problems - leaving unconfigured Php5-mcrypt depends on libltdl7 (>= 2.2.6b) however: ĭpkg: dependency problems prevent configuration of php5-mcrypt: Selecting previously deselected package libjs-mootools.

Selecting previously deselected package php5-mcrypt. 27161 files and directories currently installed.) Selecting previously deselected package dbconfig-common.

It appears that phpmyadmin cleanly cleared out dbconfig-common ickronia:/usr/share/dbconfig-common# ls -alFĪttempted to dpkg from archives as suggested by Giles ickronia:/usr/share/dbconfig-common# dpkg -i /var/cache/apt/archives/*.deb
#Uninstall and reinstall phpmyadmin ubuntu code#
Doneĭpkg: error processing phpmyadmin (-remove):Į: Sub-process /usr/bin/dpkg returned an error code (1)Ī package failed to install.

The following actions will resolve these dependencies:Ġ packages upgraded, 0 newly installed, 1 to remove and 3 not upgraded. Phpmyadmin: Depends: php5-mcrypt but it is not installableĭepends: dbconfig-common but it is not installableĭepends: libjs-mootools (>= 1.2.4.0~debian1-1) which is a virtual package. The following packages have unmet dependencies: On following Gile's advice, I tried to re-install the dependency dbconfig-common ickronia:/home/ken# aptitude reinstall dbconfig-commonĭbconfig-common is not currently installed, so it will not be reinstalled.Ġ packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Subprocess post-installation script returned error exit status 1Įrrors were encountered while processing: var/lib/dpkg/info/phpmyadmin.postinst: line 35: /usr/share/dbconfig-common/dpkg/postinst.mysql: No such file or directory Subprocess pre-removal script returned error exit status 1 var/lib/dpkg/info/phpmyadmin.prerm: line 5: /usr/share/dbconfig-common/dpkg/prerm.mysql: No such file or directoryĭpkg: error processing phpmyadmin (-purge): 27158 files and directories currently installed.) The result of dpkg -purge ickronia:/home/ken# dpkg -purge phpmyadmin
#Uninstall and reinstall phpmyadmin ubuntu how to#
I however have no idea what else is left from the package, or even how to clean the hooks in aptitude. In this regard, I proceeded to clean up mysql by dropping the database it used, and cleaning it from the user tables.
#Uninstall and reinstall phpmyadmin ubuntu update#
I tried to reinstall phpmyadmin, but aptitude simply stated that there was no update available, and did nothing, if there were an update, I'd probably run into the same problems regardless. When I arrived home, I attempted to remove the package through aptitude purge which turns out to no more potent than aptitude remove in that it saw phpmyadmin, attempted to remove it, and failed since the directories associated with the package were already removed from my earlier attempt. Suffice to say, it informed me that there would be residue components since it couldn't properly clean its database connectors.
#Uninstall and reinstall phpmyadmin ubuntu password#
Unfortunately, during the uninstall phase, I was prompted with the root password for mysql which I didn't have on hand at the time. Recently in a bout of frustration with getting phpmyadmin setup, I decided to start from scratch.
