Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Problem installing SVN on ubuntu

  • 25-07-2013 03:32PM
    #1
    Registered Users, Registered Users 2 Posts: 1,657 ✭✭✭


    Anyone know what I can do here? It's on an Amazon EC2 server, the guy who set it up is long gone.

    I try
    sudo apt-get install subversion
    

    I get in response
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     php5-odbc : Depends: unixodbc (>= 2.2.11)
                 Depends: php5-common (= 5.3.2-1ubuntu4.19) but 5.3.10-1ubuntu3.7 is to be installed
     subversion : Depends: libsvn1 (= 1.6.17dfsg-3ubuntu3.3) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    
    I have tried apt-getting the missing dependencies as well as apt-get -f install and just keep getting more dependency errors to the point that I am going arond in a loop. (e.g. unixodbc depends on php5-common but that depends on unixodbc, etc.)

    Any suggestions?


Comments

  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    sudo apt-get update first?


  • Registered Users, Registered Users 2 Posts: 1,657 ✭✭✭komodosp


    Tried it but no luck...


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    It's odd. What's the version? 12.04? Did you run a deb install beforehand or something? Have you funny respositories enabled? (have a look in /etc/apt/sources.list)


  • Registered Users, Registered Users 2 Posts: 435 ✭✭doopa


    Or try apt-get remove php5-odbc since it seems to be causing the problems...


  • Registered Users, Registered Users 2 Posts: 1,657 ✭✭✭komodosp


    Looks like removing php5-odbc did the trick! However I'll need this back some time in the future so I might be back...
    ;)

    Thanks folks!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 435 ✭✭doopa


    komodosp wrote: »
    Looks like removing php5-odbc did the trick! However I'll need this back some time in the future so I might be back...
    ;)

    Thanks folks!

    Yeah - well if I was looking to reinstall it - I would first of all update. Then install the problem dependencies mentioned in your post above. And then install this library last.


Advertisement