E se o repositório SVN é muito recente para o cliente Subversion, que é ele próprio “atualizado”?

1

Algo inesperado está acontecendo ... Eu atualizei alguns repositórios SVN recentemente. Agora, quando estou no Ubuntu, recebo o seguinte quando tento atualizá-los:

max@ASUSN73S:~/d/some/repos$ svn up
svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.

Então, sim, eu tive que atualizar o Tortoise no Windows por causa disso, então atualizei o Tortoise e ele funcionou. Não, eu tento atualizar o Subversion no Ubuntu para atualizá-lo, mas aqui está o que eu recebo:

max@ASUSN73S:~/d/some/repos$ sudo apt-get install subversion
Reading package lists... Done
Building dependency tree       
Reading state information... Done
subversion is already the newest version.
The following packages were automatically installed and are no longer required:
  libatk1.0-0:i386 libxcomposite1:i386 nspluginwrapper libnspr4-0d:i386 libcairo2:i386 libdatrie1:i386 libgdk-pixbuf2.0-0:i386 libpixman-1-0:i386 libxinerama1:i386 nspluginviewer:i386 libxft2:i386 libthai0:i386 libjasper1:i386
  libpango1.0-0:i386 libxcb-render0:i386 libxcursor1:i386 libxcb-shm0:i386 libxrandr2:i386 libnss3-1d:i386 libgtk2.0-0:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

subversão já atualizada? Não!:

max@ASUSN73S:~/d/some/repos$ svn --version --quiet
1.6.12

Já executei um comando apt-get update .

Não lembro de ter alterado o arquivo sources.list nesta instalação, mas posso estar errado. Caso isso seja relevante, aqui está:

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://ca.archive.ubuntu.com/ubuntu/ oneiric main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://ca.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ca.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://ca.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ oneiric-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ca.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://ca.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ca.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main

Versão:

max@ASUSN73S:/etc/apt$ cat /proc/version
Linux version 3.0.0-22-generic (buildd@komainu) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #36-Ubuntu SMP Tue Jun 12 17:37:42 UTC 2012

Qualquer ajuda é muito apreciada! Obrigado!

    
por Joanis 10.07.2012 / 18:27

1 resposta

1

Os repositórios do Ubuntu nem sempre possuem as versões mais recentes de qualquer software. Alguém precisa testar novas versões para resolver quaisquer problemas que surjam com dependências, etc. Assim, uma versão do Ubuntu terá uma certa versão de um aplicativo, e uma versão mais nova do Ubuntu pode ter uma versão mais recente do aplicativo. / p>

Se você realmente precisa de uma versão mais recente do que está disponível, às vezes você pode simplesmente adicionar um repositório que tenha a versão mais recente, se ela estiver disponível. Há um tópico aqui de uma pergunta antiga do askUbuntu que pode ajudá-lo a fazer isso.

Quando você não consegue encontrá-lo em um repositório, às vezes você pode baixar um arquivo .deb para instalá-lo você mesmo, ou até mesmo compilar a fonte.

    
por Marty Fried 10.07.2012 / 18:57