nenhum comando do pacman funciona

1. nenhum comando do pacman funciona

Yuri
yuricastilho

(usa Ubuntu)

Enviado em 05/06/2010 - 14:03h

Olá galera, recentemente ressolvi instalar o Arch Linux, a instalaçao foi um sucesso, mas depois de instalar o arch eu tentei atualiza-lo (o famoso comando # pacman -Syu) e não consegui.

Na tela ele me mostra a seguinte mensagem (me desculpem se houver algum, erro, pois eu não tenho a mensagem anotada aqui certinho)

Sincronizing data base
error: data base core (no servers configured for repository)
error: data base community (no servers configured for repository)
error data base "não sei o que..." (no servers configured for repository)

OBS: a parte em negrito, eu tenho certeza que é assim.

E o pior é que agora qualquer comando (qualquer comando que tenha a ver com pacman -S) que eu tento rodar no Arch Linux, nunca dá certo, qualquer um!

pacman -Sy
pacman -Syu
pacman -S xorg

Nenhum dos comandos listados acima funciona, todos mostram a mesma mensagem de erro.

(OBS: suspeito que seja algo a ver com os repositórios, mas sou meio novo no Arch Linux e queria uma ajuda para resolver esse inconveniente.)

vou deixar o codigo do meu pacman.conf e do meu pacman.d/mirrorlist pra vocês verem e se alguém encontrar algum erro neles por favor me digam.

pacman.conf

Citação:
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =

#NoUpgrade =
#NoExtract =

# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload

#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

[testing]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[community-testing]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

pacman.d/mirrorlist


Citação:
#
# Arch Linux repository mirrorlist
# Generated on 2010-01-31
#

# Any
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/i686
Server = http://mirrors.kernel.org/archlinux/$repo/os/i686

# Australia
Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
Server = ftp://ftp.iinet.net.au/pub/archlinux/$repo/os/i686
Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/i686
Server = ftp://mirror.internode.on.net/pub/archlinux/$repo/os/i686
Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/i686
#Server = ftp://ftp.netspace.net.au/pub/archlinux/$repo/os/i686
#Server = http://ftp.netspace.net.au/pub/archlinux/$repo/os/i686
#Server = ftp://mirror.optus.net/archlinux/$repo/os/i686
#Server = http://mirror.optus.net/archlinux/$repo/os/i686

# Austria
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/i686
#Server = http://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/i686

# Belgium
#Server = ftp://ftp.belnet.be/packages/archlinux/$repo/os/i686
#Server = http://ftp.belnet.be/mirror/archlinux.org/$repo/os/i686
#Server = ftp://archlinux.mirror.kangaroot.net/pub/archlinux/$repo/os/i686
#Server = http://archlinux.mirror.kangaroot.net/$repo/os/i686

# Brazil
#Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/i686
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/i686
#Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/i686
#Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/i686
#Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/i686



grato desde já, aguardo resposta, Yuri


  


2. Re: nenhum comando do pacman funciona

Perfil removido
removido

(usa Nenhuma)

Enviado em 05/06/2010 - 14:54h

Cara, pra começar você adicionou o repositório Testing, só aí já está perigando dar uma quebradeira geral, os repositórios oficiais são (core, extra e community), segue meus arquivos /etc/pacman.conf e /etc/pacman.d/mirrorlist

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#CacheDir = /home/h4rd3r/PkgBuilds/pkgs
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =

#NoUpgrade =
#NoExtract =

# Misc options (all disabled by default)
#UseSyslog
ShowSize
UseDelta
TotalDownload
ILoveCandy
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

#[archiso-live]
#Server = http://arch-live.isawsome.net/packages/

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64

### A única exceção é este repositório acima do yaourt.


arquivo /etc/pacman.d/mirrorlist:

#
# Arch Linux repository mirrorlist
# Generated on 2010-01-31
#

# Any
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/x86_64
Server = http://mirrors.kernel.org/archlinux/$repo/os/x86_64

### Não habilitei nem o repo brasileiro, substitua X86_64 por i686

### Aproveita e dá uma olhada em:
http://www.vivaolinux.com.br/artigo/Arch-Linux-Instalacao-a-partir-de-imagem-hibrida/


3. não funcionou

Yuri
yuricastilho

(usa Ubuntu)

Enviado em 06/06/2010 - 11:18h

E o pior é que eu já usei o ping google.com e descobri que minha internet esta funcionando, o que eu faço agora??

Já editei um milhão de vezes os arquivos pacman.conf e o mirrorlist, acho que o problema não é neles.
Será que pode ser a iso (imagem) que eu baixei que veio com esse bug???


4. Re: nenhum comando do pacman funciona

Perfil removido
removido

(usa Nenhuma)

Enviado em 10/06/2010 - 23:30h

Posta o seu arquivo /etc/rc.conf



  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts