[Fedora-users-br] APT + Delta RPMs
Gustavo Picoloto
picoloto em gmail.com
Sábado Maio 3 02:48:54 UTC 2008
Olá,
O lance do apt é que você tem que se lembrar de executar o "apt-get
update" antes de qualquer operação (não é difícil, mas é um comando a
mais pra executar toda vez), senão poderá estar instalando/atualizando
um pacote para uma versão que não é a mais recente.
O yum faz isso (esta verificação) todas as vezes, por isso acaba
demorando um pouco mais. Se não quiser fazer essa verificação (e com
isso "ganhar" algum tempo), execute "yum -C install pacote".
O yum também tem alguns passos que ele faz a mais que o apt, só que
não estou encontrando o site que eu li isso agora :(
[]´s
Gustavo Picoloto
2008/5/2 Alex Vitola <listas.vitola em fedorabrasil.com.br>:
>
> Só mais um exemplo:
>
> usando os mesmos repositórios para instalar o mesmo pacote gtk2-devel
>
> att
>
> Alex Vitola
>
> CF> xen-srv02:/usr/src/redhat/SPECS# apt-get install gtk2-devel
> CF> Reading Package Lists... Done
> CF> Building Dependency Tree... Done
> CF> The following extra packages will be installed:
> CF> atk-devel libXcursor-devel libXext-devel libXfixes-devel libXft-devel libXi-devel libXinerama-devel libXrandr-devel pango-devel
> CF> The following NEW packages will be installed:
> CF> atk-devel gtk2-devel libXcursor-devel libXext-devel libXfixes-devel libXft-devel libXi-devel libXinerama-devel libXrandr-devel pango-devel
> CF> 0 upgraded, 10 newly installed, 0 removed and 0 not upgraded.
> CF> Need to get 3577kB of archives.
> CF> After unpacking 20.3MB of additional disk space will be used.
> CF> Do you want to continue? [Y/n] n.
>
>
> CF> xen-srv02:/usr/src/redhat/SPECS# yum install install gtk2-devel
> CF> Loading "installonlyn" plugin
> CF> Setting up Install Process
> CF> Setting up repositories
> CF> rpmforge 100% |=========================| 1.1 kB 00:00
> CF> base 100% |=========================| 1.1 kB 00:00
> CF> updates 100% |=========================| 951 B 00:00
> CF> addons 100% |=========================| 951 B 00:00
> CF> extras 100% |=========================| 1.1 kB 00:00
> CF> Reading repository metadata in from local files
> CF> Parsing package install arguments
> CF> Resolving Dependencies
> -->> Populating transaction set with selected packages. Please wait.
> --->> Downloading header for gtk2-devel to pack into transaction set.
> CF> gtk2-devel-2.10.4-19.el5. 100% |=========================| 147 kB 00:01
> --->> Package gtk2-devel.i386 0:2.10.4-19.el5 set to be updated
> -->> Running transaction check
> -->> Processing Dependency: libXi-devel for package: gtk2-devel
> -->> Processing Dependency: libXcursor-devel for package: gtk2-devel
> -->> Processing Dependency: libXinerama-devel for package: gtk2-devel
> -->> Processing Dependency: atk-devel >= 1.9.0-1 for package: gtk2-devel
> -->> Processing Dependency: libXrandr-devel for package: gtk2-devel
> -->> Processing Dependency: libXfixes-devel for package: gtk2-devel
> -->> Processing Dependency: pango-devel >= 1.13.0-1 for package: gtk2-devel
> -->> Processing Dependency: libXext-devel for package: gtk2-devel
> -->> Restarting Dependency Resolution with new changes.
> -->> Populating transaction set with selected packages. Please wait.
> --->> Downloading header for pango-devel to pack into transaction set.
> CF> pango-devel-1.14.9-3.el5. 100% |=========================| 29 kB 00:01
> --->> Package pango-devel.i386 0:1.14.9-3.el5.centos set to be updated
> --->> Downloading header for libXi-devel to pack into transaction set.
> CF> libXi-devel-1.0.1-3.1.i38 100% |=========================| 8.9 kB 00:00
> --->> Package libXi-devel.i386 0:1.0.1-3.1 set to be updated
> --->> Downloading header for libXinerama-devel to pack into transaction set.
> CF> libXinerama-devel-1.0.1-2 100% |=========================| 4.4 kB 00:00
> --->> Package libXinerama-devel.i386 0:1.0.1-2.1 set to be updated
> --->> Downloading header for libXrandr-devel to pack into transaction set.
> CF> libXrandr-devel-1.1.1-3.1 100% |=========================| 6.8 kB 00:00
> --->> Package libXrandr-devel.i386 0:1.1.1-3.1 set to be updated
> --->> Downloading header for libXfixes-devel to pack into transaction set.
> CF> libXfixes-devel-4.0.1-2.1 100% |=========================| 4.9 kB 00:00
> --->> Package libXfixes-devel.i386 0:4.0.1-2.1 set to be updated
> --->> Downloading header for libXcursor-devel to pack into transaction set.
> CF> libXcursor-devel-1.1.7-1. 100% |=========================| 5.1 kB 00:00
> --->> Package libXcursor-devel.i386 0:1.1.7-1.1 set to be updated
> --->> Downloading header for atk-devel to pack into transaction set.
> CF> atk-devel-1.12.2-1.fc6.i3 100% |=========================| 14 kB 00:00
> --->> Package atk-devel.i386 0:1.12.2-1.fc6 set to be updated
> --->> Downloading header for libXext-devel to pack into transaction set.
> CF> libXext-devel-1.0.1-2.1.i 100% |=========================| 10 kB 00:00
> --->> Package libXext-devel.i386 0:1.0.1-2.1 set to be updated
> -->> Running transaction check
> -->> Processing Dependency: libXft-devel for package: pango-devel
> -->> Restarting Dependency Resolution with new changes.
> -->> Populating transaction set with selected packages. Please wait.
> --->> Downloading header for libXft-devel to pack into transaction set.
> CF> libXft-devel-2.1.10-1.1.i 100% |=========================| 5.5 kB 00:00
> --->> Package libXft-devel.i386 0:2.1.10-1.1 set to be updated
> -->> Running transaction check
> CF>
> CF> Dependencies Resolved
> CF>
> CF> =============================================================================
> CF> Package Arch Version Repository Size
> CF> =============================================================================
> CF> Installing:
> CF> gtk2-devel i386 2.10.4-19.el5 base 2.8 M
> CF> Installing for dependencies:
> CF> atk-devel i386 1.12.2-1.fc6 base 126 k
> CF> libXcursor-devel i386 1.1.7-1.1 base 14 k
> CF> libXext-devel i386 1.0.1-2.1 base 57 k
> CF> libXfixes-devel i386 4.0.1-2.1 base 9.4 k
> CF> libXft-devel i386 2.1.10-1.1 base 16 k
> CF> libXi-devel i386 1.0.1-3.1 base 52 k
> CF> libXinerama-devel i386 1.0.1-2.1 base 5.1 k
> CF> libXrandr-devel i386 1.1.1-3.1 base 14 k
> CF> pango-devel i386 1.14.9-3.el5.centos base 282 k
> CF>
> CF> Transaction Summary
> CF> =============================================================================
> CF> Install 10 Package(s)
> CF> Update 0 Package(s)
> CF> Remove 0 Package(s)
> CF>
> CF> Total download size: 3.4 M
> CF> Is this ok [y/N]: n
> CF> Exiting on user Command
> CF> Complete!
>
>
> Friday, May 2, 2008, 7:47:55 PM, you wrote:
>
> CF> Apt tem uma linha totalmente diferente do yum, por favor não é? Apesar de
> CF> ambos serem para gerenciamento de pacotes.
>
> CF> 2008/5/2 Márcio Sousa Rocha <marciosr10 em gmail.com>:
>
>
>
> >> Alguém pode me informar se no apt4rpm tem como eu usar os delta rpms tal
> >> qual no yum para fazer atualizações.
> >>
> >> Justificativa: Eu comparei o apt e yum no fedora, e em relação ao
> >> desempenho o apt ganha, sem falar que para o gerenciamento de pacotes o
> >> synaptic é excelente, ainda mais que o packagekit não me agradou nem um
> >> pouco nos testes que fiz.
> >>
> >> Desde já agradeço.
> >>
> >> --
> >> Fedora-users-br mailing list
> >> Fedora-users-br em redhat.com
> >> https://www.redhat.com/mailman/listinfo/fedora-users-br
> >>
> >>
>
> --
> Fedora-users-br mailing list
> Fedora-users-br em redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-users-br
>
--
------
Gustavo Picoloto, LPIC-1, SCSECA
http://www.paranavaionline.com.br
http://cenoura.homelinux.com
------
Mais detalhes sobre a lista de discussão br-users