New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
phpmyadmin and dependencies in Debian
Hi
I tried to find the post, but I can't u_u
Someone talked about how to override the dependencies required to install the phpmyadmin package, because it tries to install apache and other bad stuff completely unneccesary.
Normally I install the package downloading it from their official site, but I want to get rid of mantaining it secure :P
If someone remember it...
Thanks n_n

Comments
You can find the dependencies with aptitude show phpmyadmin
Included in the result is Depends: libapache2-mod-php5 | php5-cgi | php5
libapache2-mod-php5 will install apache2 and could be the default.
So either php5-cgi or php5 will have to be installed, before or at the same time as phpmyadmin.
Yes, I did that, but now I understand.. lol. Well, did 'apt-cache show phpmyadmin'
Well, installed the 'php5' package (empty btw).
And still it wants this stuff
Damn, mootols? wtf
libjs-mootools is on a server I've installed phpmyadmin on
Phpmyadmin installs for me without installing apache2, having used
my version of lowendscript first.
I believe that wwwconfig-common is for automatically configuring Apache to make phpmyadmin available. Likewise, dbconfig-common is for configuring MySQL so that phpmadmin can be used to administrate it. The javascript stuff is because the newest version of phpmyadmin uses some very nice AJAX, such as for inline editing of records. In short, you need those 4 dependencies.
Yomero, considered using sqlbuddy instead?
I'm using alternatives also, adminer and from Squeeze on my desktop mysql-workbench.
With phpmyadmin I've had problems after it's been installed, php5-mcrypt has to be purged & reinstalled etc.
New versions have a hell of js on them.
Phpmyadmin sucks. Don't use it.
Phpmyadmin sucks. Don't use it.
I actually kind of like the new js. It's a lot better interface. And if you really hate it that much, you can just switch to a different theme.
I like phpmyadmin.
Also tried adminer.
And I don't know that sqlbuddy @joel maybe I can try.
But using myadmin is like an habit, and is a decent interface to do my common tasks.
Yes, but that js files surely are in the phpmyadmin package, because I have used it from source code directly downloaded, so, that stuff is useless, probably like @NickM says.
But the point is, someone some time ago mentioned a trick to simulate having that packages installed, or something like that, I just can't remember u_u
Here's a link: http://www.sqlbuddy.com/
Super easy to setup, just extract it to a folder on your server and try it. Personally I really like it, does enough for what I need.
@yomero You can download newer phpmyadmin package from testing or unstable. I have following phpmyadmin package installed on my server.
root@server:~# apt-cache show phpmyadmin=4:3.4.9-1 Package: phpmyadmin Priority: extra Section: universe/web Installed-Size: 15261 Maintainer: Ubuntu Developers Original-Maintainer: Thijs Kinkhorst Architecture: all Version: 4:3.4.9-1 Depends: libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5, php5-mysql | php5-mysqli, php5-mcrypt, perl, debconf (>= 0.5) | debconf-2.0, dbconfig-common, ttf-dejavu-core, ucf (>= 0.28) Recommends: apache2 | lighttpd | httpd, php5-gd, mysql-client Suggests: mysql-server, www-browser Filename: pool/universe/p/phpmyadmin/phpmyadmin_3.4.9-1_all.deb Size: 5305210 MD5sum: 618050baf29f961398eba4da4ba61884 SHA1: b932055a17068067cc293d61bd93c794210b0cf4 SHA256: 76b7bce40c257308538b216c6da3a46433feb0f82e112557b5fc1558b3a708fa Description-en: MySQL web administration tool This package allows administering of MySQL with a web interface. . It allows administrators to: - browse through databases and tables; - create, copy, rename, alter and drop databases; - create, copy, rename, alter and drop tables; - perform table maintenance; - add, edit and drop fields; - execute any SQL-statement, even multiple queries; - create, alter and drop indexes; - load text files into tables; - create and read dumps of tables or databases; - export data to SQL, CSV, XML, Word, Excel, PDF and LaTeX formats; - administer multiple servers; - manage MySQL users and privileges; - check server settings and runtime information with configuration hints; - check referential integrity in MyISAM tables; - create complex queries using Query-by-example (QBE), automatically connecting required tables; - create PDF graphics of database layout; - search globally in a database or a subset of it; - transform stored data into any format using a set of predefined functions, such as displaying BLOB-data as image or download-link; - manage InnoDB tables and foreign keys; and is fully internationalized and localized in dozens of languages. Homepage: http://www.phpmyadmin.net/ Description-md5: 741cc5619fcb316ac8049f5906394984 Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: UbuntuDebian packages of phpmyadmin have mootools stripped out, and moved to a separate package. Why? Because there are several packages in Debian that use mootools (phpmyadmin, zoneminder, icinga-cgi, and midori). Putting it into a separate package and modifying the other packages to not include mootools means that only one copy of mootools needs to be installed, even if you install multiple packages that use it. Essentially, it's for saving space (though mootools is less than 1MB when installed).
That was me. It's called equivs.
@NickM
Thanks for the information, nice nice. I was wondering if that was the case. I think I will install normally u_u. Or downloading like always u_u
@tux -1 Any package in unstable or so, uses the same stupid dependencies. Also... ubuntu! :S God damn! :P