Arquivo pacman.conf sumiu com atualizaćão  [Resolvido]

Assuntos relacionados com o processo de instalação e atualização em desktops ou portáteis (notebook, netbook, etc.).
Regras do fórum Leia as Regras Gerais do Manjaro Brasil em "Normatividade" e pesquise antes de postar.
Se sua dúvida foi respondida, não esqueça de marcar RESOLVIDO em seus tópicos, botão com a marca verde Imagem

Arquivo pacman.conf sumiu com atualizaćão

Mensagempor Albuquerque » 30 Abr 2013, 11:38  •  MS 1

Ola pessoal atualizei o sistema e no final deu erro na criaćão do arquivo pacman.com a msg de erro é:

erro: arquivo de configuração /etc/pacman.conf não pôde ser lido: Arquivo ou diretório não encontrado

Como resolver????????
Editado pela última vez por Holmes em 30 Abr 2013, 13:35, em um total de 1 vez.
Razão: correções pontuais
Rui Albuquerque
"Partilhar conhecimento não é dividir e sim multiplicar¨
Avatar do usuário
Albuquerque
Aprendiz

 
Mensagens: 33
Registro: 15 Jan 2013, 09:13
Localização: Macapá, Amapá
Agradeceu: 5 vez(es)
Agradecido: 0 vez
Distro utilizada: Mint LMDE / Manjaro
Versão: 0.8.9 gnomo
Ambiente: Gnome / Cinnamon
Repositório: Stable
Habilidade: Intermediate

Arquivo pacman.conf sumiu com atualizaćão  [Resolvido]

Mensagempor matt » 30 Abr 2013, 12:59  •  MS 2

Bom, nesse caso tu poderia criar o arquivo pacman.conf. Para isso abra o terminal e digite o seguinte comando:

Código: Selecionar todos
sudo gedit /etc/pacman.conf


Sendo que tu podes substituir o gedit por qualquer outro editor de texto da tua preferência, como o nano, por exemplo.

Após abrir o editor de texto, editando o arquivo pacman.conf, você deve copiar um dois códigos abaixo (dependendo da arquitetura do sistema) e colar no editor.

para i686

Código: Selecionar todos
#
# /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
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst   = manjaro-system pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

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

#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# 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
#   - URLs will have $arch replaced by the name of the architecture
#
# 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.
#

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

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

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

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs



para x86_64

Código: Selecionar todos
#
# /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
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst   = manjaro-system pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

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

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# 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
#   - URLs will have $arch replaced by the name of the architecture
#
# 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.
#

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

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

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

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs


Após colar um dos dois códigos no editor, é só salvar e fechar. Espero que resolva sua situação.

att,
matt
Editado pela última vez por Holmes em 30 Abr 2013, 13:37, em um total de 1 vez.
Razão: correções pontuais
Avatar do usuário
matt
Membro

 
Mensagens: 150
Registro: 25 Mar 2013, 10:29
Agradeceu: 34 vez(es)
Agradecido: 6 vez(es)
Distro utilizada: Manjaro Linux
Versão: 0.8.4 > 0.8.5
Ambiente: KDE

Arquivo pacman.conf sumiu com atualizaćão

Mensagempor Holmes » 30 Abr 2013, 13:40  •  MS 3

veja se a dica dada pelo matt resolva seu problema. também aconselho a você dar uma passada por este tópico

default.html"images/smilies/icon_e_smile.gif" alt=":)" title="Smiley" />
Imagem

Meu Blog
Kibojoe I Manjaro I JWM I Outras Coisas...

Visitem e colaborem com nosso Knowledge Base
Leia as Regras Gerais e pesquise antes de postar
Se a sua dúvida foi respondida marque Resolvido em seu tópico com o botão V na cor verde
Avatar do usuário
Holmes
Fundador

Mantenedor Kibojoe Linux
Mantenedor Kibojoe Linux
 
Mensagens: 5472
Artigos: 56
Registro: 30 Set 2012, 21:00
Localização: Brasil
Agradeceu: 173 vez(es)
Agradecido: 812 vez(es)
Distro utilizada: Kibojoe Linux
Versão: 18.02
Ambiente: JWM
Repositório: Stable
Habilidade: Intermediate


Tópicos Semelhantes Estatísticas Última mensagem

Abrir arquivo jar

por Asakura_Hao » 26 Set 2020, 17:45

Respostas: 6

Exibições: 689

18 Out 2020, 14:40

por Asakura_Hao Ver última mensagem

como adicionar meu repositório github no pacman?

por overlock » 16 Mai 2020, 19:54

Respostas: 2

Exibições: 352

17 Mai 2020, 10:39

por overlock Ver última mensagem

2 problemas após última atualização

por Danipru3 » 02 Mar 2021, 13:17

Respostas: 1

Exibições: 104

08 Mar 2021, 00:33

por Danipru3 Ver última mensagem

Após atualização não tem internet

por hickfla » 25 Abr 2020, 20:21

Respostas: 2

Exibições: 395

26 Abr 2020, 10:59

por hickfla Ver última mensagem

Mouse e teclado nao funcionam apos atualizacao

por cacaribeiro » 04 Set 2020, 10:39

Respostas: 8

Exibições: 511

05 Set 2020, 13:18

por cacaribeiro Ver última mensagem

Voltar para Instalação/Atualização em PCs



Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante

^ Voltar ao Topo