svnubuntu-10.10

Svn: error while loading shared libraries: libserf-1.so.0


I want to upgrade from svn 1.6 to 1.7 on my Ubuntu 10

I followed a few links over the internet to add some repositories such as https://askubuntu.com/questions/65468/where-can-i-find-a-subversion-1-7-binary and after trying some messy things, but I landed up getting stuck with this error whenever i type svn on the command line.

Svn: error while loading shared libraries: libserf-1.so.0 cannot open shared object file: No such file or directory

No matter how many times i remove and reinstall subversion and libserf1, nothing changes. The only thing i suspect is that i get this error message

WARNING: The following packages cannot be authenticated! libserf1 libsvn1 subversion

What should i do?


Solution

  • I realized that there is something to do with the repository dominik-stadler in the error message below.

    WARNING: The following packages cannot be authenticated!
      libserf1 libsvn1 subversion
    Authentication warning overridden.
    Get:1 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu/ lucid/main libserf1 1.0.0-2ubuntu0~ppa3 [42.6kB]
    Get:2 http://ppa.launchpad.net/svn/ppa/ubuntu/ lucid/main libsvn1 1.7.9-0svn1~lucid+svn1 [1,095kB]
    Get:3 http://ppa.launchpad.net/svn/ppa/ubuntu/ lucid/main subversion 1.7.9-0svn1~lucid+svn1 [1,292kB]
    

    So i went to first purged subversion & libserf1 i.e sudo apt-get purge subversion and sudo apt-get purge libserf1 , then went to /etc/apt/sources.list.d and removed the following files

    dominik-stadler-subversion-1.7-lucid.list

    dominik-stadler-subversion-1.7-lucid.list.save

    and later a simple sudo apt-get install subversion installed everything perfectly.

    I have no clue why/how this works, but thought i'd just document this here for someone else to benefit.