Whenever I try and install iRedMail, it gives me and error saying that apache2-mod-auth-mysql is a missing dependency and I tried installing it but there is no such package
I keep getting this error The following packages have unmet dependencies: libapache2-mod-auth-mysql : Depends: apache2.2-common (>= 2.2.3-3) but it is not going to be installed E: Unable to correct problems, you have held broken packages. I've even tried updating apache, reinstalling it, but all in vain...
You can install it by running
sudo apt-get install libapache2-mod-auth-mysql
Related
I am completely new to Linux and I am stuck with this error form sometime now.
I uninstalled MySQL, and the next time i tried installing i am getting the following error
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-8.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried installing the dependency separately but it did not work
Can someone please help me out with this?
I tried to install libmysql++-dev package on my machine but failed with below errors. I already done apt-get update and apt-get update on the machine.
22:28:03-root#debian-isis-> apt-get install libmysql++-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
initscripts : Breaks: console-setup (< 1.74) but 1.68+squeeze2 is to be installed
Breaks: initramfs-tools (< 0.104) but 0.98.8 is to be installed
Breaks: nfs-common (< 1:1.2.5-3) but 1:1.2.2-4squeeze2 is to be installed
keyboard-configuration : Breaks: console-setup (< 1.71) but 1.68+squeeze2 is to be installed
klibc-utils : Breaks: initramfs-tools (< 0.103) but 0.98.8 is to be installed
libgnome-keyring0 : Breaks: gnome-keyring (< 3.0) but 2.30.3-5 is to be installed
E: Broken packages
I solved the issue by installing using aptitude instead of apt-get.
recently i made web application and want to atatch my database with it ..though i followed steps of doing it but still i am getting error ..i dont know where's problem i did in steps .. please let me know where i am wrong
please help me where i am wrong or what i skipped ..
thankyou..
I had problems install caldecott , i got the
ERROR: Error installing caldecott:
ERROR: Failed to build gem native extension.
"C:/Program Files/ruby-1.9.2/bin/ruby.exe" extconf.rb
*** extconf.rb failed ***
error :
i found this resource : http://www.clausconrad.com/blog/installing-caldecott-on-windows
which was helpfull but my problem was i had multiple ruby installations on my system !
so make sure you are using the right ruby installation and delete the others if needed :
i had :
C:/Program Files/ruby-1.9.2/bin/ruby.exe
and
C:\Ruby193\bin\ruby.exe
i deleted the first one and everything went fine , be sure to install the devkit like the link says , and everything should be allright.
There's an issue installing eventmachine on Windows. Try this instead:
gem install eventmachine --pre
gem install caldecott
To install Caldecott requires Ruby 1.9.2.
Check version by
ruby -v
if not 1.9
update the version and re try to install
first make sure that you installed C compiler in your local computer...
if you are using Linux you can run the following command:
sudo apt-get install g++
if you are in windows you will have find a C compiler from the net.
After installing this C compiler, you can now run
sudo gem install caldecott
If this is not working, try
ruby -v
to see if the version is 1.9.3 or above....
then repeat
hope that helps
I'm following this tutorial: http://hughevans.net/2009/03/10/thinking-sphinx-dreamhost
I'm run into an issue when I run:
./configure --prefix=$HOME/local/ --exec-prefix=$HOME/local/
I get an error: "cannot find MySQL include files."
I've checked and cant find mysql_config, so I'm guessing the mysql-devel package isn't installed.
My next step is to install the mysql-devel package from source, but I'm thinking that I may be missing something.
Has anyone found a solution for this issue?
(I'm using a VPS)
My next step is to install the mysql-devel package from source
Why from source?
Suggest just using a package manager to install the package.
I solved my problem by using a different user with root access.
With that user I installed sphinx with APT.
sudo apt-get install sphinxsearch
When I try to run "rails server" on a new project it returns
Could not find gem 'mysql2 (>= 0) X86-mingw32' in any of the gem sources listed in your Gemfile.
Run 'bundle install' to install missing gems.
I ran 'bundle install' but I'm getting the same error.
I already had mysql installed from the xampp package, but my friend helped me install rails so I'm not sure how he configured it. I use Windows Vista.
Try gem install mysql2. It should then work.
I ran into this issue a while back setting up a RoR dev environment on a windows machine. Had to copy the dll to the ruby/bin folder. See the thread from ruby-forum...
http://www.ruby-forum.com/topic/150580
I had a similar issue. For me, I needed to remove the old Gemfile.lock and allow it be re-generated by running bundle update after I added the same version of mysql to the Gemfile that I had installed via "gem install mysql".
This may or may not be the issue you were running in to, but it appears this error message -> "Could not find gem 'mysql'" can be caused for this reason as well.
I had a similar issue, but when trying to gem install mysql2, it would give me a can't find header files for ruby at ... error message.
Running this fixed the issue for me: sudo apt-get install ruby-dev