Türkiye
Az konuş, çok çalış..

Forum

Bildirimler
Tümünü temizle

[ÇÖZÜLDÜ]Depo Sorunu

11 Yazılar
2 Üyeler
0 Reactions
4,964 Görüntüleme
(@e32kernel)
Gönderiler: 0
New Member
 

Merhabalar,
Sistemde bir sorun var ama anlayamadım ne olduğunu. Ben de güncelleme yaptıktan sonra paket yöneticisi hata vermeye başladı.
pacman.conf dosyasının içeriği:

#
# /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

# 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

mirrorlist dosyasını içeriği:

##
## Manjaro Linux repository mirrorlist
## Generated on 2013-03-27
##


Server =  http://repo.manjaro.org.uk/$repo/$arch 
#Server =  http://mirror.dacentec.com/manjaro/$repo/$arch 

Bu iki dosyayı da daha sonra ben değiştirdim aşağıdaki başlıktan
http://archman.org/forum/viewtopic.php?f=6&t=285

sudo pacman -Syy

komutunu verdiğimde aldığım hata;

:: Paket veritabanları senkronize ediliyor...
hata: Resolving timed out after 10000 milliseconds hatası nedeniyle 'core.db' dosyası repo.manjaro.org.uk adresinden alınamadı
hata: core (indirme kütüphanesi hatası) güncellenemedi
hata: Resolving timed out after 10000 milliseconds hatası nedeniyle 'extra.db' dosyası repo.manjaro.org.uk adresinden alınamadı
hata: extra (indirme kütüphanesi hatası) güncellenemedi
hata: Resolving timed out after 10000 milliseconds hatası nedeniyle 'community.db' dosyası repo.manjaro.org.uk adresinden alınamadı
hata: community (indirme kütüphanesi hatası) güncellenemedi
hata: veritabanı senkronizasyonu başarısız
hata: işlem (indirme kütüphanesi hatası) başlatılamadı

Bazen de, db.lck adlı bir dosya ile ilgili bir hata veriyor. Veritabanına bağlanılamadı falan diyor.
Sorun nedir acaba?

 
Gönderildi : 06/07/2013 7:29 pm
(@cumali)
Gönderiler: 1770
Noble Member
 

Hangi sürümü indirip kurduğunu bilmiyorum ama çıktıya bakıldığında mirrorlist dosya içerigi eski ( 2013-03-27). Birde 32 veya 64-bit sistemden hangisini kullanıyorsunuz? Profiline baktığımda 64-bit kullandığını yazmışsın. Eger böyle ise multilib deposunun pacman.conf içerigine ekli olması gerekli. Çıktınızda bu görünmüyor.

64-bit için pacman.conf içerigi:

#
# /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

Uçbirimden önce şu komutu uygulayın;

$ sudo pacman-mirrors -g

Sonrada

#pacman -Syy
#pacman -Syu

komutlarını uygulayın. Hata verirse çıktıyı buraya aktarın.

 
Gönderildi : 07/07/2013 3:27 am
(@e32kernel)
Gönderiler: 0
New Member
 

Profile bilgilerimi güncelledim.
32bit Manjaro KDE kullanıyorum. (XFCE de de böyle bir sorun vardı.)

32bit pacman.conf dosyasını verebilir misiniz? LiveUSB içinden bu dosyaların orjinallerini aldım ama düzelmedi.

 
Gönderildi : 07/07/2013 10:35 am
(@cumali)
Gönderiler: 1770
Noble Member
 

pacman.conf dosya içerigi (32-bit)

#
# /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

# 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
 
Gönderildi : 07/07/2013 2:54 pm
(@e32kernel)
Gönderiler: 0
New Member
 

İlk komuyu girdiğimde;

imeout  http://manjaro.mirror.ac.za/stable/$repo/$arch 
 -> timeout ftp://manjaro.mirror.ac.za/stable/$repo/$arch
 -> timeout  http://mirrors.ispros.com.bd/manjaro/stable/$repo/$arch 
 -> timeout ftp://mirrors.ispros.com.bd/manjaro/stable/$repo/$arch
 -> timeout  http://ftp.belnet.be/manjaro/stable/$repo/$arch 
 -> timeout ftp://ftp.belnet.be/mirror/manjaro/stable/$repo/$arch
 -> timeout  http://manjaro.fis.unb.br/stable/$repo/$arch 
 -> timeout  http://www.las.ic.unicamp.br/pub/manjarolinux/stable/$repo/$arch 
 -> timeout  http://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch 
 -> timeout  http://manjarolinux.polymorf.fr/stable/$repo/$arch 
 -> timeout  http://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch 
 -> timeout  http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch 
 -> timeout  http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch 
 -> timeout  http://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch 

şeklinde hatalar alıyorum. Bu liste daha da devam ediyor, hepsini koymadım buraya.

 
Gönderildi : 07/07/2013 3:40 pm
(@cumali)
Gönderiler: 1770
Noble Member
 

Bu çıktı hata degil. Yansı adreslerini hıza göre sıralamadır. Bittikten sonra mirrorlist dosyası otomatik oluşmakta ve ilgili dosyalara yazılmaktadır.

# pacman -Syy
# pacman -Syu

komutlarını uygulayın.

 
Gönderildi : 07/07/2013 4:21 pm
(@e32kernel)
Gönderiler: 0
New Member
 
#pacman -Syy

komutunu verdiğimde, aldığım hata:

:: Paket veritabanları senkronize ediliyor...
hata: core (veritabanı kilitlenemiyor) güncellenemedi
hata: extra (veritabanı kilitlenemiyor) güncellenemedi
hata: community (veritabanı kilitlenemiyor) güncellenemedi
hata: veritabanı senkronizasyonu başarısız
hata: işlem (veritabanı kilitlenemiyor) başlatılamadı
hata: veritabanı kilitlenemiyor: Dosya var
  eğer paket yöneticisinin çalışmadığından eminseniz
  /var/lib/pacman/db.lck dosyasını silebilirsiniz.
 
Gönderildi : 08/07/2013 8:53 am
(@cumali)
Gönderiler: 1770
Noble Member
 

Yönetici hakları ile şu komutu uygulayın:

# rm  /var/lib/pacman/db.lck 

Sonra

# pacman -Syy
# pacman -Syu

komutlarını uygulayın.

 
Gönderildi : 08/07/2013 9:07 am
(@e32kernel)
Gönderiler: 0
New Member
 

Sorun halloldu. Ama bu seferde paket yöneticileri çalışmıyor. Konsoldan yükleyeceğiz artık.
Size son bir soru sormak istiyorum.
Konsoldan program yüklerken, program isimlerini, depodaki isimlerine göre yazıyoruz değil mi?
Depodan program isimlerine bakıp, konsoldan yüklemek için soruyorum.

 
Gönderildi : 08/07/2013 10:58 am
(@cumali)
Gönderiler: 1770
Noble Member
 

Konsoldan program yüklerken, program isimlerini, depodaki isimlerine göre yazıyoruz değil mi?
Depodan program isimlerine bakıp, konsoldan yüklemek için soruyorum.

Evet, aynen dediginiz gibi. Örnegin; pamac paket yöneticisini kurmak için

# pacman -S pamac

komutu uygulanmalı.

pamac paket yöneticisi hata verdiyse kaldırıp yeniden yükleyin. Kaldırmak için

# pacman -R pamac

Yeniden yüklemek için

# pacman -S pamac

komutunu uygulayın. Bu arada paket yöneticisi olarak octopi kullanabilirsin.

# pacman -S octopi
 
Gönderildi : 08/07/2013 12:25 pm
(@e32kernel)
Gönderiler: 0
New Member
 

Teşekkür ediyorum. Direkt octopi kurdum, sorunsuzca program yükleyebiliyorum.

 
Gönderildi : 10/07/2013 7:46 am
Paylaş:
Translate »