Meu computador atual está funcionando 14.04 e estou muito feliz com ele e realmente não quero atualizar ou reinstalar como eu usá-lo para o trabalho e eu gosto de como está agora, muito estável e tudo. Mas, eu preciso compilar alguma coisa boba que me obrigue a usar cmake > = 3 e em 14.04 a última versão do cmake é 2.8 Como posso, apenas desta vez, adicionar alguns novos repositórios (como os do Xenial) para atualizar o cmake?
Adicionei o seguinte ao meu sources.list (para xenial, mas também tenho o mesmo para cores vivas):
deb http://au.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial universe
deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://au.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
Em seguida, execute apt-get update
e tudo parece bem (exceto no e dá um monte de avisos (veja abaixo)). Mas então eu vou no Synaptic, olho para o cmake e a única versão do cmake que ele me oferece vem da confiança e é o que eu tenho agora.
Eu sei que o vivid e o xenial têm as versões que estou procurando, mas não consigo instalá-lo usando o apt-get! link link
Alguma ideia de como fazer isso?
A saída do comando apt-get update é:
Reading package lists... Done
Ign http://au.archive.ubuntu.com trusty InRelease
Hit http://au.archive.ubuntu.com trusty-updates InRelease
Ign http://dl.google.com stable InRelease
Hit https://apt.dockerproject.org ubuntu-trusty InRelease
Hit http://au.archive.ubuntu.com vivid InRelease
Hit https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages
Hit https://apt.dockerproject.org ubuntu-trusty/main i386 Packages
Get:1 https://apt.dockerproject.org ubuntu-trusty/main Translation-en_AU
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en_AU
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en
Hit http://au.archive.ubuntu.com vivid-updates InRelease
Hit http://au.archive.ubuntu.com xenial InRelease
Hit http://au.archive.ubuntu.com xenial-updates InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://linux.dropbox.com trusty InRelease
Hit http://au.archive.ubuntu.com trusty-backports InRelease
Hit http://au.archive.ubuntu.com trusty Release.gpg
Hit http://au.archive.ubuntu.com trusty-updates/main Sources
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://repository.spotify.com stable InRelease
Hit http://dl.google.com stable Release
Hit http://au.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://linux.dropbox.com trusty Release.gpg
Hit http://au.archive.ubuntu.com trusty-updates/universe Sources
Ign http://ppa.launchpad.net trusty InRelease
Hit http://au.archive.ubuntu.com trusty-updates/multiverse Sources
Ign http://extras.ubuntu.com trusty InRelease
Hit http://au.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://linux.dropbox.com trusty Release
Hit http://au.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://au.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://au.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://repository.spotify.com stable/non-free amd64 Packages
Hit http://au.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://linux.dropbox.com trusty/main amd64 Packages
Hit http://au.archive.ubuntu.com trusty-updates/restricted i386 Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://au.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://au.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://linux.dropbox.com trusty/main i386 Packages
Hit http://au.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://au.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://repository.spotify.com stable/non-free i386 Packages
Hit http://au.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://au.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://au.archive.ubuntu.com vivid/universe amd64 Packages
Hit http://extras.ubuntu.com trusty Release
Hit http://au.archive.ubuntu.com vivid/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com vivid/universe i386 Packages
Hit http://au.archive.ubuntu.com vivid/multiverse i386 Packages
Hit http://au.archive.ubuntu.com vivid/multiverse Translation-en_AU
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://au.archive.ubuntu.com vivid/multiverse Translation-en
Ign http://ppa.launchpad.net trusty InRelease
Hit http://au.archive.ubuntu.com vivid/universe Translation-en_AU
Hit http://au.archive.ubuntu.com vivid/universe Translation-en
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://au.archive.ubuntu.com vivid-updates/universe amd64 Packages
Hit http://au.archive.ubuntu.com vivid-updates/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://au.archive.ubuntu.com vivid-updates/universe i386 Packages
Hit http://au.archive.ubuntu.com vivid-updates/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://au.archive.ubuntu.com vivid-updates/multiverse Translation-en
Hit http://au.archive.ubuntu.com vivid-updates/universe Translation-en
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Get:2 http://au.archive.ubuntu.com xenial/universe amd64 Packages [7,532 kB]
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Ign http://dl.google.com stable/main Translation-en_AU
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Ign http://dl.google.com stable/main Translation-en
Ign http://linux.dropbox.com trusty/main Translation-en_AU
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Ign http://repository.spotify.com stable/non-free Translation-en_AU
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://linux.dropbox.com trusty/main Translation-en
Ign http://repository.spotify.com stable/non-free Translation-en
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://au.archive.ubuntu.com xenial/multiverse amd64 Packages
Get:3 http://au.archive.ubuntu.com xenial/universe i386 Packages [7,512 kB]
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://au.archive.ubuntu.com xenial/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://au.archive.ubuntu.com xenial/multiverse Translation-en_AU
Hit http://au.archive.ubuntu.com xenial/multiverse Translation-en
Get:4 http://au.archive.ubuntu.com xenial/universe Translation-en_AU [3,039 kB]
Hit http://ppa.launchpad.net trusty Release
Get:5 http://au.archive.ubuntu.com xenial/universe Translation-en [4,354 kB]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Get:6 http://au.archive.ubuntu.com xenial-updates/universe amd64 Packages [323 kB]
Hit http://au.archive.ubuntu.com xenial-updates/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://ppa.launchpad.net trusty Release
Get:7 http://au.archive.ubuntu.com xenial-updates/universe i386 Packages [320 kB]
Hit http://au.archive.ubuntu.com xenial-updates/multiverse i386 Packages
Hit http://au.archive.ubuntu.com xenial-updates/multiverse Translation-en
Get:8 http://au.archive.ubuntu.com xenial-updates/universe Translation-en [111 kB]
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://au.archive.ubuntu.com trusty-backports/main Sources
Hit http://au.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://ppa.launchpad.net trusty Release
Hit http://au.archive.ubuntu.com trusty-backports/universe Sources
Hit http://au.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://au.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://au.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://au.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://au.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://au.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://au.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://au.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://au.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://au.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://au.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://au.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://au.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://au.archive.ubuntu.com trusty Release
Hit http://au.archive.ubuntu.com trusty/main Sources
Hit http://au.archive.ubuntu.com trusty/restricted Sources
Hit http://au.archive.ubuntu.com trusty/universe Sources
Hit http://au.archive.ubuntu.com trusty/multiverse Sources
Hit http://ppa.launchpad.net trusty/main Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_AU
Hit http://au.archive.ubuntu.com trusty/main amd64 Packages
Hit http://au.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://au.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://au.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com trusty/main i386 Packages
Hit http://au.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://au.archive.ubuntu.com trusty/universe i386 Packages
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://au.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://au.archive.ubuntu.com trusty/main Translation-en_AU
Hit http://au.archive.ubuntu.com trusty/main Translation-en
Hit http://au.archive.ubuntu.com trusty/multiverse Translation-en_AU
Hit http://au.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://au.archive.ubuntu.com trusty/restricted Translation-en_AU
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://au.archive.ubuntu.com trusty/restricted Translation-en
Hit http://au.archive.ubuntu.com trusty/universe Translation-en_AU
Hit http://au.archive.ubuntu.com trusty/universe Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://ppa.launchpad.net trusty/main Translation-en_AU
Ign http://ppa.launchpad.net trusty/main Translation-en
Fetched 23.2 MB in 9s (2,496 kB/s)
Reading package lists... Done
W: Unknown Multi-Arch type 'no' for package 'kwin'
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-seclib
W: Ignoring Provides line with DepCompareOp for package php-sabre-http
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems