+ Responder ao Tópico



  1. #1

    Padrão Squid

    Olá a todos,
    Pessoal tenho um servidor Ubuntu 9.10 rodando squid 3.0. Gostaria de atualizar para o 3.1, mas no repositório so tem o 3.0.
    Tem como adicionar o repositório do 10.10 no 9.10 ?
    Ou tem outra forma de atualizar ?

    Abraços

  2. #2

    Padrão Re: Squid

    Claro, mas por que vc não atualiza para a versão mais nova do Ubuntu, está cada vez melhor. =]

    1 - Faça uma cópia de segurança do arquivo de repositorios:
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.BACKUP
    sudo gedit /etc/apt/sources.list

    tenta usar esta lista, substitua o conteúdo do arquivo por este:

    ##INICIO DO ARQUIVO##

    ## Add comments (##) in front of any line to remove it from being checked.
    ## Use the following sources.list at your own risk.

    deb Index of /ubuntu gutsy main restricted universe multiverse
    deb-src Index of /ubuntu gutsy main restricted universe multiverse

    ## MAJOR BUG FIX UPDATES produced after the final release
    deb Index of /ubuntu gutsy-updates main restricted universe multiverse
    deb-src Index of /ubuntu gutsy-updates main restricted universe multiverse

    ## UBUNTU SECURITY UPDATES
    deb Index of /ubuntu gutsy-security main restricted universe multiverse
    deb-src Index of /ubuntu gutsy-security main restricted universe multiverse

    ## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
    deb Index of /ubuntu gutsy-backports main restricted universe multiverse
    deb-src Index of /ubuntu gutsy-backports main restricted universe multiverse

    ## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
    deb http://packages.freecontrib.org/ubuntu/plf/ gutsy free non-free
    deb-src http://packages.freecontrib.org/ubuntu/plf/ gutsy free non-free
    deb http://packages.freecontrib.org/ubuntu/freecontrib/ gutsy free non-free
    deb-src http://packages.freecontrib.org/ubuntu/freecontrib/ gutsy free non-free

    ##FIM DO ARQUIVO##

    existem alguns sites que vc monta seus repositórios, inclusive já vi alguns tópicos aqui falando a respeito.

    Vlw, abraço!



  3. #3

    Padrão Re: Squid

    Ops, postei duas vezes (sem querer)
    Última edição por Squire; 10-11-2010 às 21:23.

  4. #4

    Padrão Re: Squid

    #
    ## Ubuntu 10.10 Maverick Meerkat.
    #

    ### Espelho Oficial.
    ### Ubuntu 10.10 Maverick Meerkat (Main, Restricted, Universe, Multiverse).
    deb Index of /ubuntu maverick main restricted universe multiverse
    #deb-src Index of /ubuntu maverick main restricted universe multiverse

    ### Ubuntu 10.10 Maverick Meerkat (Updates).
    deb Index of /ubuntu maverick-security main restricted universe multiverse
    deb Index of /ubuntu maverick-updates main restricted universe multiverse
    #deb-src Index of /ubuntu maverick-security main restricted universe multiverse
    #deb-src Index of /ubuntu maverick-updates main restricted universe multiverse

    ### Ubuntu 10.10 Maverick Meerkat (Proposed Updates).
    #deb Index of /ubuntu maverick-proposed main restricted universe multiverse
    #deb-src Index of /ubuntu maverick-proposed main restricted universe multiverse

    ### Ubuntu 10.10 Maverick Meerkat (Backports).
    #deb Index of /ubuntu maverick-backports main restricted universe multiverse
    #deb-src Index of /ubuntu maverick-backports main restricted universe multiverse

    ### Ubuntu 10.10 Maverick Meerkat (Partner).
    deb Index of /ubuntu maverick partner
    #deb-src Index of /ubuntu maverick partner

    ### Espelho Brasileiro.
    ### Ubuntu 10.10 Maverick Meerkat (Main, Restricted, Universe, Multiverse).
    deb Index of /ubuntu maverick main restricted universe multiverse
    #deb-src Index of /ubuntu maverick main restricted universe multiverse

    ### Ubuntu 10.10 Maverick Meerkat (Updates).
    deb Index of /ubuntu maverick-security main restricted universe multiverse
    deb Index of /ubuntu maverick-updates main restricted universe multiverse
    #deb-src Index of /ubuntu maverick-security main restricted universe multiverse
    #deb-src Index of /ubuntu maverick-updates main restricted universe multiverse

    ### Ubuntu 10.10 Maverick Meerkat (Proposed Updates).
    #deb Index of /ubuntu maverick-proposed main restricted universe multiverse
    #deb-src Index of /ubuntu maverick-proposed main restricted universe multiverse

    ### Ubuntu 10.10 Maverick Meerkat (Backports).
    #deb Index of /ubuntu maverick-backports main restricted universe multiverse
    #deb-src Index of /ubuntu maverick-backports main restricted universe multiverse

    ### Ubuntu 10.10 Maverick Meerkat (Medibuntu).
    ## Instalação da chave GPG para o Medibuntu:
    ## sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
    deb Medibuntu -- Medibuntu packages maverick free non-free
    #deb-src Medibuntu -- Medibuntu packages maverick free non-free



  5. #5

    Padrão Re: Squid

    Obrigado pela dica.
    Fiz como você sugeriu mas deu esse erro:
    E: Linha mal formada 6 no arquivo de fontes /etc/apt/sources.list (análise de URI)

  6. #6

    Padrão Re: Squid

    Você executou o comando apt-get update antes de tentar instalar?



  7. #7

    Padrão Re: Squid

    Opa,
    Funcionou, quando copiei e colei a lista, aguns pedaços não foram colados corretamente, ja fiz o acerto, ta redondo agora, obrigado.
    Obrigado pela força

  8. #8

    Padrão Re: Squid

    Valeu, estamos às ordens! hehe
    tenta instalar o squid 3.1 agora usando o apt-get install, caso queira pode tentar baixar o pacote (.deb) e instalar com o comando dpkg -i nomedopacote.deb .