Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


:/opt/maven$ sudo apt-get -f install redmine-sqlite 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 redmine-mysql : Depends: redmine (= 2.2.0+dfsg1-1~precise+1) but 2.1.4+dfsg2-2~precise+2 is to be installed
 redmine-sqlite : Depends: ruby-sqlite3 but it is not going to be installed
                  Depends: redmine (= 2.2.2+dfsg1-1~precise+1) but 2.1.4+dfsg2-2~precise+2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

How do I remove redmine and others causing this problem.

share|improve this question
Welcome to Ask Ubuntu! Redmine 2.x isn't packaged for Ubuntu in the main repositories. Please elaborate more on what sources you used to install these. Provide the output of apt-cache policy redmine* to clarify the current state of your system a bit more. Do this by editing your question. – gertvdijk Feb 7 '13 at 12:03
We can probably close this as a duplicate of How do I resolve unmet dependencies?. rick's answer there directly addresses cases like these where the solution is to remove a package. Some of the other answers to that question may be helpful also. – Eliah Kagan Mar 27 '14 at 19:23

You can uninstall redmine as described in previous answer but it may not remove everything so I would suggest that you first:

sudo apt-get purge redmine*

This will remove all things redmine from your system. Then to give it a bit of a clean up after it has been removed also run this:

sudo apt-get autoclean

Hope it helps! :)

share|improve this answer
Also see this Ubuntu forum post: – lordqwerty Feb 7 '13 at 13:21
Probably will work, but please read… ; the correct command is sudo apt-get purge "readmine.*". Your command (if there are not files matching readmine* in the current directory) will remove all packages starting with "readmin" --- not "readmine". – Rmano Mar 27 '14 at 19:21


sudo apt-get purge redmine-sqlite
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.