Professional Documents
Culture Documents
search ﯾﺒﻘﻲ pacmanاﻟﻨﻀﺎم ﻣﺤﺪﺛ ًﺎ و ذﻟﻚ ﺑﻤﺰاﻣﻨﺔ ﻻﺋﺤﺔ اﻟﺤﺰم ﻣﻊ اﻟﺨﺎدم اﻟﺮﺋﯿﺴﻲ ,هﺬا اﻟﻨﻤﻮدج ﺧﺎدم/ﻋﻤﯿﻞ ﯾﺴﻤﺢ ﻟﻚ اﯾﻀ ًﺎ ﺑـ ﺗﺤﻤﯿﻞ/ﺗﺜﺒﯿﺖ اﻟﺤﺰم ﺑﺄﻣﺮ ﺑﺴﯿﻂ ,ﻣﻊ
إﺳﺘﮑﻤﺎل ﺟﻤﯿﻊ اﻹﻋﺘﻤﺎدﯾﺎت اﻟﻤﻄﻠﻮﺑﺔ.
Search
Go Search ﮐﺘﺐ pacmanﺑﻠﻐﺔ اﻟﺒﺮﻣﺠﺔ Cوﯾﺴﺘﻌﻤﻞ ﺣﺰم ذات ﺗﻨﺴﯿﻖ . pkg.tar.xz.
interaction ﺗﻠﻤﯿﺤﺔ :اﻟﺤﺰﻣﺔ اﻟﺮﺳﻤﯿﺔ ﻣﻦ pacmanﺗﻀﻢ أﯾﻀ ًﺎ ﻣﺠﻤﻮﻋﺔ أدوات ﻣﺴﺎﻋﺪة ,ﻣﻦ ﻗﺒﯿﻞ makepkg, pactree, vercmpواﻟﻤﺰﯾﺪ .ﻧﻔﺬ
Help ﻟﻠﺤﺼﻮل ﻋﻠﯽ اﻻﺋﺤﺔ ﮐﺎﻣﻠﺔ. pacman -Ql pacman | grep bin
Contributing
Recent changes
]Contents [hide
Recent talks
New pages 1اﻟﺘﻬﯿﺌﺔ
Reports 1.1اﻟﺨﯿﺎرات اﻟﻌﺎﻣﺔ
Requests 1.1.1إﺳﺘﺜﻨﺎء ﺣﺰﻣﺔ ﻣﻦ اﻟﺘﺤﺪﯾﺚ
1.1.2إﺳﺘﺜﻨﺎء ﻣﺠﻤﻮﻋﺔ ﺣﺰﻣﯿﺔ ﻣﻦ اﻟﺘﺤﺪﯾﺚ
tools
1.1.3إﺳﺘﺜﻨﺎء ﻣﻠﻔﺎت ﻣﻦ أن ﺗﺜﺒﺖ ﻋﻠﯽ اﻟﻨﻀﺎم
What links here
1.2اﻟﻤﺨﺎزن
Related changes
Special pages
1.3أﻣﺎن اﻟﺤﺰﻣﺔ
Printable version 2اﻹﺳﺘﻌﻤﺎل
Permanent link 2.1ﺗﺜﺒﯿﺖ اﻟﺤﺰم
Page information 2.1.1ﺗﺜﺒﯿﺖ ﺣﺰﻣﺔ ﻣﺤﺪدة
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
ﺗﺜﺒﯿﺖ ﻣﺠﻤﻮﻋﺔ ﺣﺰﻣﯿﺔ2.1.2
in other languages
ﺣﺬف اﻟﺤﺰم2.2
Česky
ﺗﺤﺪﯾﺚ اﻟﺤﺰم2.3
Dansk
Deutsch
Querying package databases 2.4
Ελληνικά أواﻣﺮ إﺿﺎﻓﯿﺔ2.5
English اﻟﺘﺮﻗﯿﺎت اﻟﺠﺰﺋﯿﺔ ﻏﯿﺮ ﻣﻌﺘﻤﺪة2.6
Español Troubleshooting 3
Français !An update to package XYZ broke my system 3.1
Bahasa Indonesia !I know an update to package ABC was released, but pacman says my system is up to date 3.2
Italiano !"I get an error when updating: "file exists in filesystem 3.3
日本語
"I get an error when installing a package: "not found in sync db 3.4
한국어
!Pacman is repeatedly upgrading the same package 3.5
Lietuvių
Nederlands
!Pacman crashes during an upgrade 3.6
Polski !I installed software using "make install"; these files do not belong to any package 3.7
Português ?I need a package with a specific file. How do I know what provides it 3.8
Română ?Pacman is completely broken! How do I reinstall it 3.9
Русский After updating my system, I get a "unable to find root device" error after rebooting and my system will no 3.10
Српски / srpski longer boot
Svenska Signature from "User <email@gmail.com>" is unknown trust, installation failed 3.11
Türkçe
I keep getting 3.12
Українська
I keep getting a "failed to commit transaction (invalid or corrupted package)" error 3.13
中文(中国大陆)
中文(台灣)
I get an error every time I use pacman saying 'warning: current locale is invalid; using default "C" 3.14
?locale'. What do I do
?How can I get Pacman to honor my proxy settings 3.15
See also 4
اﻟﺘﻬﯿﺌﺔ
ﻟﻠﺤﺼﻮل ﻋﻠﯽ, هﺬا اﻟﻤﻠﻒ ﺣﯿﺚ ﯾﻘﻮم اﻟﻤﺴﺘﺨﺪم ﺑﺈﻋﺪاد اﻟﺒﺮﻧﺎﻣﺞ ﻟﻠﯿﺸﺘﻐﻞ ﻋﻠﯽ اﻟﻨﺤﻮ اﻟﻤﻄﻠﻮب. etc/pacman.conf/ ﺗﻘﻊ ﺑﺎﻟﻤﻠﻒpacman إﻋﺪادات
.man pacman.conf ﻣﻌﻠﻮﻣﺎت ﺗﻔﺼﯿﻠﯿﺔ ﻋﻦ ﻣﻠﻒ اﻹﻋﺪادات ﯾﻤﮑﻨﻚ اﻹﻃﻼع ﻋﻠﯽ
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
اﻟﺨﯿﺎرات اﻟﻌﺎﻣﺔ
اﻹﻓﺘﺮاﺿﻲ ﻟﻤﺰﯾﺪ ﻣﻦ اﻟﻤﻌﻠﻮﻣﺎت ﻋﻦ ﻣﺎ ﯾﻤﮑﻦ اﻟﻘﯿﺎم ﺑﻪ. pacman.conf اﻟﺨﯿﺎرات اﻟﻌﺎﻣﺔ ﺳﺘﺠﺪهﺎ ﺑﻘﺴﻢ ] , [optionsإﻗﺮأ ﺻﻔﺤﺔ manأو أﻧﻈﺮ ﻟﻤﻠﻒ
IgnorePkg=linux
ﻟﻠﺤﺰم اﻟﻤﺘﻌﺪدة إﺳﺘﻌﻤﻞ ﻣﺴﺎﻓﺔ ﻟﻠﻔﺼﻞ ﺑﯿﻦ أﺳﻤﺎء اﻟﺤﺰم ,أو أﺿﻒ أﺳﻄﺮ IgnorePkgإﺿﺎﻓﯿﺔ.
IgnoreGroup=gnome
*NoExtract=usr/lib/systemd/system/
اﻟﻤﺨﺎزن
هﺬا اﻟﻘﺴﻢ ﯾﺤﺪد اﻟﻤﺨﺎزن اﻟﺘﻲ ﯾﺘﻢ إﺳﺘﻌﻤﺎﻟﻬﺎ ,ﺣﺴﺐ ﻣﺎ هﻮ ﻣﺸﺎر إﻟﯿﻪ ﻓﻲ . etc/pacman.conf/ﯾﻤﮑﻦ إدراﺟﻬﺎ ﺑﺸﮑﻞ ﻣﺒﺎﺷﺮ هﻨﺎ أو ﺿﻤﻬﺎ ﻣﻦ ﻣﻠﻒ أﺧﺮ
( ,ﻣﻤﺎ ﯾﺠﻌﻞ ﻣﻦ اﻟﻀﺮوري اﻟﺤﻔﺎظ ﻋﻠﯽ ﻻﺋﺤﺔ واﺣﺪة ﻓﻘﻂ .اﻧﻈﺮ ﻫﻨﺎ ﻟﻺﻃﻼع ﻋﻠﯽ ﻃﺮﯾﻘﺔ إﻋﺪاد اﻟﻤﺮاﯾﺎ. etc/pacman.d/mirrorlist/ ﻼ
)ﻣﺜ ً
/etc/pacman.conf
]#[testing
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
#Include = /etc/pacman.d/mirrorlist
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
#[multilib-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
#[multilib]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
اﻷﺷﺨﺎص اﻟﻤﺴﺘﻌﻤﻠﻮن. ﻓﻬﻮ ﻓﻲ ﻃﻮر اﻟﺘﺤﺪﯾﺚ واﻟﺘﻄﻮﯾﺮ ﻣﻤﺎ ﻗﺪ ﯾﺘﺴﺒﺐ ﻓﻲ ﻋﻄﺐ ﺑﻌﺾ اﻟﺤﺰم.[testing] ﯾﺠﺐ ﺗﻮﺧﻲ اﻟﺤﺬر ﻋﻨﺪ إﺳﺘﻌﻤﺎل ﻣﺨﺰن:ﺗﺤﺬﯾﺮ
. ﻟﻠﺘﺰوﯾﺪ ﺑﺎﻟﻤﻌﻠﻮﻣﺎتarch-dev-public mailing list ﻟﻠﻤﺨﺎزن اﻟﺘﺠﺮﯾﺒﯿﺔ ﻣﺪﻋﻮن ﻟﻠﺘﺴﺠﯿﻞ ﻓﻲ
أﻣﺎن اﻟﺤﺰﻣﺔ
, اﻹﻋﺪادت اﻹﻓﺘﺮاﺿﯿﺔ, واﻟﺘﻲ ﺗﻀﯿﻒ ﻃﺒﻘﺔ إﺿﺎﻓﯿﺔ ﻣﻦ اﻟﺤﻤﺎﯾﺔ ﻋﻠﯽ اﻟﺤﺰم, ﯾﺪﻋﻢ اﻟﺤﺰم اﻟﻤﻮﻗﻌﺔpacman ﻣﻦ4 اﻹﺻﺪرا
ﯾﻤﮑﻦ ﺗﺠﺎوز ذﻟﻚ ﺑﺎﻟﻨﺴﺒﺔ ﻟﮑﻞ ﻣﺴﺘﻮدع, ﺗﻔﻌﻞ اﻟﺘﺤﻘﻖ ﻣﻦ اﻟﺘﻮﻗﯿﻊ ﻟﺠﻤﯿﻊ اﻟﺤﺰم ﻋﻠﯽ اﻟﻤﺴﺘﻮى اﻟﻌﺎﻟﻲ, SigLevel = Required DatabaseOptional
أﻟﻘﻲ ﻧﻈﺮة ﻋﻠﯽ، ﻟﻠﺤﺼﻮل ﻋﻠﯽ اﻟﻤﺰﯾﺪ ﻣﻦ اﻟﺘﻔﺎﺻﯿﻞ ﺣﻮل ﺗﻮﻗﯿﻊ ﺣﺰﻣﺔ واﻟﺘﺤﻘﻖ ﻣﻦ ﺻﺤﺔ اﻟﺘﻮﻗﯿﻊ. ﮐﻤﺎ هﻮ ﻣﻮﺿﺢ أﻋﻼﻩSigLevel ﻣﻦ ﺧﻼل أﺳﻄﺮ
.pacman-key
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
اﻹﺳﺘﻌﻤﺎل
ﻣﺎ ﯾﻠﻲ هﻮ ﻣﺠﺮد ﻋﯿﻨﺔ ﺻﻐﯿﺮة ﻣﻦ اﻟﻌﻤﻠﯿﺎت اﻟﺘﻲ ﯾﻤﮑﻦ أن ﯾﻘﻮم ﺑﻬﺎ .pacmanﻟﻠﻤﺰﯾﺪ ﻣﻦ اﻷﻣﺜﻠﺔ ،راﺟﻊ .man pacmanﮐﺘﻘﺪﯾﻢ أﻟﻘﻲ ﻧﻈﺮة ﻋﻠﯽ
.pacman - An Introduction
ﺗﺜﺒﯿﺖ اﻟﺤﺰم
ﺗﺜﺒﯿﺖ ﺣﺰﻣﺔ ﻣﺤﺪدة
ﻟﻠﺘﺜﺒﯿﺖ ﺣﺰﻣﺔ أو ﻋﺪة ﺣﺰم )ﺑﻤﺎ ﻓﻲ ذﻟﻚ اﻹﻋﺘﻤﺎدﯾﺎت( ﻧﻔﺬ اﻹﻣﺮ اﻟﺘﺎﻟﻲ :
أﺣﯿﺎﻧ ًﺎ هﻨﺎك إﺻﺪارات ﻣﺨﺘﻠﻔﺔ ﻟﺤﺰﻣﺔ ﻋﻠﯽ ﻣﺨﺎزن ﻣﺨﺘﻠﻔﺔ ,ﻋﻠﯽ ﺳﺒﯿﻞ اﻟﻤﺜﺎل [extra] ,و ] .[testingﻟﻠﺘﺜﺒﯿﺖ اﻹﺻﺪار اﻟﺴﺎﺑﻖ ,ﯾﺠﺐ ذﮐﺮ اﻟﻤﺨﺰن أو ًﻻ :
ﺳﯿﺘﻢ ﺗﻮﺟﯿﻬﻚ إﻟﯽ اﺧﺘﯿﺎر ﺑﻌﺾ ﺣﺰم اﻟﻤﺠﻤﻮﻋﺔ gnomeاﻟﺘﻲ ﺗﺮﻏﺐ ﻓﻲ ﺗﺜﺒﯿﺘﻬﺎ.اﺣﯿﺎﻧﺎ ﻣﺎ ﺗﺤﺘﻮى إﺣﺪى اﻟﻤﺠﻤﻮﻋﺎت ﻋﻞ ﻋﺪد ﮐﺒﯿﺮ ﻣﻦ اﻟﺤﺰم ،وﯾﻮﺟﺪ اﻟﻘﻠﯿﻞ ﻣﻦ
اﻟﺤﺰم اﻟﺘﻲ ،ﺗﺮﯾﺪ ﺗﺜﺒﯿﺘﻬﺎ أو ﻻ ﺗﺮﯾﺪ ﻓﺒﺪﻻ ﻣﻦ إدﺧﺎل ﮐﻞ اﻷرﻗﺎم ﻣﺎ ﻋﺪا ﺗﻠﻚ اﻟﺘﻲ ﻻ ﺗﺮﯾﺪهﺎ ﻣﻦ اﻟﻤﻼﺋﻢ أن ﺗﺤﺪد أو ﺗﺴﺘﺒﻌﺪ اﻟﺤﺰم أو ﻧﻄﺎﻗﺎ ﻣﻦ اﻟﺤﺰم ﺑﺼﯿﻐﺔ اﻷﻣﺮ
اﻟﺘﺎﻟﻲ:
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
وذﻟﻚ ﺳﯿﺤﺪد ﺟﻤﯿﻊ اﻟﺤﺰم ﻣﺎ ﻋﺪا ﻣﻦ 5إﻟﯽ 8و 2ﻟﺘﺜﺒﯿﺘﻬﺎ.ﻟﺮؤﯾﺔ اﻟﺤﺰم اﻟﺘﻲ ﺗﻨﺘﻤﻲ ﻟﻠﻤﺠﻤﻮﻋﺔ gnomeﻧﻔﺬ اﻷﻣﺮ اﻟﺘﺎﻟﻲ:
ﻣﻼﺣﻈﺔ :إذا ﮐﺎﻧﺖ ﺣﺰﻣﺔ ﻓﻲ اﻟﻘﺎﺋﻤﺔ ﻣﺜﺒﺘﺔ ﺑﺎﻟﻔﻌﻞ ﻋﻠﯽ اﻟﻨﻈﺎم ﻓﺴﯿﻌﺎد ﺗﻨﺼﯿﺒﻬﺎ ﺣﺘﯽ وﻟﻮ ﮐﺎﻧﺖ أﺣﺪث ﻧﺴﺨﺔ .هﺬا اﻟﺴﻠﻮك ﯾﻤﮑﻦ ﺗﺠﺎوزﻩ ﺑﺎﻟﺨﯿﺎر . --needed
ﺗﺤﺬﯾﺮ :ﻋﻨﺪ ﺗﻨﺼﯿﺐ اﻟﺤﺰم ﻻ ﺗﻘﻢ ﺑﻌﻤﻞ ﺗﺤﺪﯾﺚ ﻟﻘﺎﺋﻤﺔ اﻟﺤﺰم ﺑﺪون ﺗﺤﺪﯾﺚ اﻟﻨﻈﺎم ﻣﺜﻼ اﺳﺘﺨﺪم اﻷﻣﺮ
وذﻟﻚ ﻗﺪ ﯾﺆدي إﻟﯽ ﻣﺸﮑﻠﺔ ﻓﻲ اﻟﺘﺒﻌﯿﺎت .اﻧﻈﺮ #اﻟﺘﺮﻗﯿﺎت اﻟﺠﺰﺋﯿﺔ ﻏﯿﺮ ﻣﻌﺘﻤﺪة و ?https://bbs.archlinux.org/viewtopic.php
.id=89328
ﺣﺬف اﻟﺤﺰم
ﻟﺤﺬف ﺣﺰﻣﺔ ﻣﻔﺮدة ،ﻣﻊ إﺑﻘﺎء ﺟﻤﯿﻊ ﺗﺒﻌﯿﺎﺗﻬﺎ اﻟﻤﺜﺒﺘﺔ:
ﻟﺤﺬف ﺣﺰﻣﺔ وﺟﻤﯿﻊ ﺗﺒﻌﯿﺎﺗﻬﺎ ﻏﯿﺮ اﻟﻤﻄﻠﻮﺑﺔ ﻟﺘﺜﺒﯿﺖ أﯾﺔ ﺣﺰﻣﺔ أﺧﺮى :
ﺗﺤﺬﯾﺮ :هﺬﻩ اﻟﻌﻤﻠﯿﺔ ﺗﮑﺮارﯾﺔ وﯾﺠﺐ اﺳﺘﺨﺪاﻣﻬﺎ ﺑﺤﺮص ﺑﺎﻟﻎ ﺣﯿﺚ إﻧﻬﺎ ﻗﺪ ﺗﺤﺬف اﻟﻌﺪﯾﺪ ﻣﻦ اﻟﺤﺰم اﻟﻤﺤﺘﻤﻞ اﻻﺣﺘﯿﺎج إﻟﯿﻬﺎ .ﻣﻦ اﻟﻤﺤﺘﻤﻞ
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
# pacman -Rdd package_name
ﯾﻘﻮم ﺑﮑﻤﺎن ﺑﺤﻔﻆ ﻣﻠﻔﺎت اﻹﻋﺪاد اﻟﻤﻬﻤﺔ ﻋﻨﺪ ﺣﺬف ﺗﻄﺒﯿﻘﺎت ﻣﻌﯿﻨﺔ وﯾﻘﻮم إﻋﻄﺎﺋﻬﺎﺗﺴﻤﯿﺔ ﻣﺬﯾﻠﺔ ﺑﺎﻻﻣﺘﺪاد . pacsave.ﻟﺘﺠﻨﺐ إﻧﺸﺎء ﻧﺴﺨﺔ اﺣﺘﯿﺎﻃﯿﺔ ﻟﻬﺬﻩ
اﻟﻤﻠﻔﺎت اﺳﺘﺨﺪم اﻟﺨﯿﺎر : n-
ﻣﻼﺣﻈﺔ :ﺑﮑﻤﺎن ﻟﻦ ﯾﺤﺬف اﻹﻋﺪادات اﻟﺘﻲ ﺗﻨﺸﺆهﺎ اﻟﺒﺮاﻣﺞ ﺑﻨﻔﺴﻬﺎ ) ﻣﺜﻼ " "dotfilesﻓﻲ ﻣﺠﻠﺪ اﻟﻤﻨﺰل ( .
ﺗﺤﺪﯾﺚ اﻟﺤﺰم
ﺑﺄﻣﺮ واﺣﺪ ﻓﻘﻂ pacmanﻗﺎدر ﻋﻠﯽ ﺗﺤﺪﯾﺚ ﮐﻞ اﻟﺤﺰم ﺑﺎﻟﻨﻀﺎم .ﻋﻤﻠﯿﺔ ﺗﺴﺘﻐﺮق ﺑﻌﺾ اﻟﻮﻗﺖ ﺣﺴﺐ ﺣﺎﻟﺔ ﺗﺤﺪﯾﺚ اﻟﻨﻀﺎم ) .(up-to dateﯾﻘﻮم هﺬا اﻷﻣﺮ
ﺑﻤﺰاﻣﻨﺔ ﻗﻮاﻋﺪ ﺑﯿﺎﻧﺎت اﻟﻤﺨﺎزن و ﺗﺤﺪﯾﺚ ﺣﺰم اﻟﻨﻀﺎم )ﻣﺎ ﻋﺪا اﻟﺤﺰم 'اﻟﻤﺤﻠﯿﺔ' اﻟﻐﯿﺮ ﻣﺘﻮﻓﺮة ﺑﺎﻟﺨﺎزن(:
ﺗﺤﺬﯾﺮ :ﺑﺪﻻ ﻣﻦ اﻟﺘﺤﺪﯾﺚ اﻟﻤﺒﺎﺷﺮ ﻓﻮر ﺗﻮﻓﺮ اﻟﺘﺤﺪﯾﺜﺎت ,ﻋﻠﯽ اﻟﻤﺴﺘﺨﺪم أن ﯾﻌﻲ وﯾﺘﻌﺮف ﻋﻠﯽ ﻃﺒﯿﻌﺔ Archو اﻹﺻﺪار اﻟﻤﺘﺪﺣﺮج اﻟﺬي ﺗﻨﻬﺠﻪ ,ﻓﻬﺬا اﻟﺘﺤﺪﯾﺚ
ﻗﺪ ﺗﮑﻮن ﻟﻪ ﺗﺒﻌﺎت ﻏﯿﺮ ﻣﺘﻮﻗﻌﺔ .ﻋﻠﯽ ﺳﺒﯿﻞ اﻟﻤﺜﺎل ,ﻟﯿﺲ ﻣﻦ اﻟﺤﮑﻤﺔ ﺗﺤﺪﯾﺚ اﻟﻨﻀﺎم إذا ﮐﺎن اﻟﺸﺨﺺ ﻋﻠﯽ وﺷﻚ ﺗﻘﺪﯾﻢ ﻋﺮض ﻣﻬﻢ ,ﻓﻤﻦ اﻷﺣﺴﻦ اﻟﺘﺤﺪﯾﺚ ﻓﻲ
وﻗﺖ اﻟﻔﺮاغ ﺣﺘﯽ ﯾﺴﻬﻞ اﻟﺘﻌﺎﻣﻞ ﻣﻊ أي ﻣﺸﮑﻠﺔ ﻗﺪ ﺗﺤﺪث.
ﻣﺪﯾﺮ اﻟﺤﺰم pacmanأداة ﻗﻮﯾﺔ ,ﻟﮑﻦ ﻻ ﺗﻨﺘﻈﺮ ﻣﻨﻪ أن ﯾﺘﻌﺎﻣﻞ ﻣﻪ ﺟﻞ اﻟﺤﺎﻻت ,إذا ﮐﺎن اﻷﻣﺮ ﻣﺮﺑﮑ ًﺎ ﺑﺎﻟﻨﺴﺒﺔ ﻟﻚ راﺟﻊ ,The Arch Wayﻋﻠﯽ اﻟﻤﺴﺘﺨﺪم
أن ﯾﮑﻮن ﯾﻘﻀ ًﺎ وأن ﯾﺘﺤﻤﻞ ﻣﺴﺆوﻟﯿﺔ ﺻﯿﺎﻧﺔ ﻧﻀﺎﻣﻪ اﻟﺨﺎص .ﻋﻨﺪ ﻋﻤﻠﯿﺔ اﻟﺘﺤﺪﯾﺚ ﻋﻠﻰ اﻟﻤﺴﺘﺨﺪم أن ﯾﻘﺮأ وﯾﻨﺘﺒﻪ ﻟﻜﻞ اﻟﺮﺳﺎﺋﻞ اﻟﺼﺎدرة ﻣﻦ pacmanوأن
ﯾﺘﺤﻠﻰ ﺑﺤﺲ ﺳﻠﯿﻢ .إذا إﺳﺘﻠﺰم ﺗﺤﺪﯾﺚ ﻣﻠﻒ إﻋﺪادت ﻣﻌﺪل ﻟﺤﺰﻣﺔ ذات إﺻﺪار ﺟﺪﯾﺪ ,ﻓﻤﻠﻒ pacnew.ﯾﺘﻢ إﺗﺸﺎؤﻩ ﻟﺘﺠﻨﺐ اﻟﮑﺘﺎﺑﺔ ﻓﻮق اﻹﻋﺪادات اﻟﻤﻌﺪﻟﺔ ﻣﻦ
ﻃﺮف اﻟﻤﺴﺘﺨﺪم .ﺳﯿﻘﻮم pacmanﯾﺘﻨﺒﯿﻪ اﻟﻤﺴﺘﺨﺪم ﻟﺪﻣﺠﻬﻢ ,هﺬﻩ اﻟﻤﻠﻔﺎت ﺗﺘﻄﻠﺐ اﻟﺘﺪﺧﻞ اﻟﯿﺪوي ﻣﻦ ﻗﺒﻞ اﻟﻤﺴﺘﺨﺪم ﻣﻦ اﻟﺠﯿﺪ اﻟﺘﻌﻮد ﻋﻠﯽ ﻣﺮاﺟﻌﺘﻬﺎ ﺑﻌﺪ ﮐﻞ
ﻋﻤﻠﯿﺔ ﺗﺮﻗﯿﺔ أو ﺣﺬف ﻟﻠﺤﺰﻣﺔ .ﻟﻠﻤﺰﯾﺪ راﺟﻊ Pacnewو Pacsaveﻣﻠﻔﺎت.
ﻼ ﻣﻦ
ﻣﻦ اﻟﻤﺤﺒﺐ زﯾﺎرة Arch Linux home pageﻗﺒﻞ اﻟﺘﺤﺪﯾﺚ ,ﻟﻠﺘﺤﻘﻖ ﻣﻦ أﺧﺮ اﻷﺧﺒﺎر )أو ﺳﺠﻞ ﻓﻲ ﺧﺪﻣﺔ ,(Rssﻋﻨﺪﻣﺎ ﯾﺘﻄﻠﺐ اﻟﺘﺤﺪﯾﺚ ﺗﺪﺧ ً
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
اﻟﻤﺴﺘﺨﺪم ﺧﺎرج ﻋﻦ اﻟﻤﺄﻟﻮف )أﮐﺜﺮ ﻣﻦ ﻣﺎ ﯾﻤﮑﻦ ﺗﺪﺑﺮﻩ ﺑﺈﺗﺒﺎع إرﺷﺎدات ,(pacmacﻓﺴﻮف ﯾﺘﻢ إﻧﺰال ﺧﺒﺮ ﺣﻮل اﻟﻤﻮﺿﻮع.
إذا إﺳﺘﻌﺼﯽ ﺣﻞ اﻟﻤﺸﮑﻞ اﻟﻤﺼﺎدف ﺑﺈﺗﺒﺎع هﺬﻩ اﻟﺘﻌﻠﯿﻤﺎت ,ﺗﺎﻧﺪ ﻣﻦ اﻟﺒﺤﺚ ﺑﺎﻟﻤﻨﺘﺪى ,ﻓﻤﻦ اﻟﺸﺎﺋﻊ أن ﯾﺼﺎدف آﺧﺮون ﻧﻔﺲ اﻟﻤﺸﮑﻞ وأن ﯾﮑﻮن ﻗﺪ ﻓﺘﺤﻮا ﺑﺎﻟﻔﻌﻞ
ﻣﻮﺿﻮع ﺣﻮﻟﻪ وﺣﻮل ﻃﺮﯾﻘﺔ ﺣﻠﻪ .
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
: ﺳﯿﻈﻬﺮ ﻗﺎﺋﻤﺔ ﺑﺈﺳﻤﺎء ﻣﻠﻔﺎت اﻟﻨﺴﺦ اﻹﺣﺘﯿﺎﻃﯿﺔ وﺣﺎﻟﺔ اﻟﺘﻌﺪﯾﻞ ﺧﺎﺻﺘﻬﺎflags i- ﺗﻤﺮﯾﺮ إﺛﻨﺎن ﻣﻦ
pacman -Qdt $
pactree package_name $
:pkgtools ﻣﻦ whoneeds إﺳﺘﻌﻤﻞ, ﻟﺴﺮد ﮐﻞ اﻟﺤﺰم اﻟﺘﻲ ﺗﻌﺘﻤﺪ ﻋﻠﯽ ﺣﺰﻣﺔ ﻣﺘﺒﺜﺔ
whoneeds package_name $
أواﻣﺮ إﺿﺎﻓﯿﺔ
:(ﻟﺘﺤﺪﯾﺚ اﻟﻨﻀﺎم وﺗﺜﺒﯿﺖ ﻗﺎﺋﻤﺔ اﻟﺤﺰم )ﺳﻄﺮ واﺣﺪ
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
:ﺗﺤﻤﯿﻞ اﻟﺤﺰﻣﺔ ﺑﺪون ﺗﻨﺼﯿﺒﻬﺎ
:(AUR ﻣﺼﺪر اﻟﺤﺰﻣﺔ ﻣﻦ.ًﺗﺜﺒﯿﺖ ﺣﺰﻣﺔ 'ﻣﺤﻠﯿﺔ' ﻏﯿﺮ ﻣﻮﺟﻮدة ﺑﺎﻟﻤﺨﺰن )ﻣﺜﻼ
pacman -U /path/to/package/package_name-version.pkg.tar.xz #
pacman -U file://path/to/package/package_name-version.pkg.tar.xz #
:(pacman ﺗﺜﺒﯿﺖ ﺣﺰﻣﺔ 'ﻋﻦ ﺑﻌﺪ' )ﻟﯿﺲ ﻣﻦ اﻟﻤﺨﺰن اﻟﻤﺼﺮح ﺑﻪ ﻓﻲ ﻣﻠﻒ إﻋﺎدات
pacman -U http://www.example.com/repo/example.pkg.tar.xz #
Only do this if certain that the installed packages are stable and that a downgrade will not be :ﺗﺤﺬﯾﺮ
necessary, since it will remove all of the old versions from the cache folder, leaving behind only the
versions of the packages that are currently installed. Having older versions of packages comes in handy in
.case a future upgrade causes breakage
pacman -Sc #
This clears out the entire package cache. Doing this is considered a bad practice; it prevents the :ﺗﺤﺬﯾﺮ
ability to downgrade something directly from the cache folder. Users will be forced to have to use an
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
.alternative source of deprecated packages such as the Arch Rollback Machine
pacman -Scc #
As an alternative to both the Sc- and Scc- switches, consider using paccache from pacman. This :ﺗﻠﻤﯿﺤﺔ
.offers more control over what and how many packages are deleted. Run paccache -h for instructions
Troubleshooting
At this point, only after ensuring there is no information available through pacman, there is no
relative news on https://www.archlinux.org/, and there are no forum posts regarding the update,
.consider seeking help on the forum, over IRC, or downgrading the offending package
I know an update to package ABC was released, but pacman says my system is
!up to date
Pacman mirrors are not synced immediately. It may take over 24 hours before an update is available to you.
The only options are be patient or use another mirror. MirrorStatus can help you identify an up-to-date
.mirror
Why this is happening: pacman has detected a file conflict, and by design, will not overwrite files for you.
.This is a design feature, not a flaw
The problem is usually trivial to solve. A safe way is to first check if another package owns the file (
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
pacman -Qo /path/to/file ). If the file is owned by another package, file a bug report. If the file is not
owned by another package, rename the file which 'exists in filesystem' and re-issue the update command. If
.all goes well, the file may then be removed
If you had installed a program manually without using pacman or a frontend, you have to remove it and all its
.files and reinstall properly using pacman
Every installed package provides var/lib/pacman/local/$package-$version/files/ file that contains metadata
about this package. If this file gets corrupted - is empty or missing - it results in "file exists in filesystem"
errors when trying to update the package. Such an error usually concerns only one package and instead of
manually renaming and later removing all the files that belong to the package in question, you can run
. pacman -S --force $package to force pacman to overwrite these files
.outputs the correct version, but pacman -Qu recognizes the old version and therefore will attempt to upgrade
Pacman version 3.4 should display an error in case of duplicate entries, which should make this :ﻣﻼﺣﻈﺔ
.note obsolete
I installed software using "make install"; these files do not belong to any
!package
If receiving a "conflicting files" error, note that pacman will overwrite manually-installed software if supplied
with the force-- switch ( pacman -S --force ). See Pacman tips#Identify files not owned by any
.package for a script that searches the file system for disowned files
.Take care when using the force-- switch because it can cause major problems if used improperly :ﺗﺤﺬﯾﺮ
After updating my system, I get a "unable to find root device" error after
rebooting and my system will no longer boot
Most likely your initramfs got broken during a kernel update (improper use of pacman's force-- option can
:be a cause). You have two options
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
.Try the Fallback entry .1
Tip: In case you removed this entry for whatever reason, you can always press the Tab key when the
bootloader menu shows up (for Syslinux) or e (for GRUB), rename it initramfs-linux-fallback.img
.and press Enter or b (depending on your bootloader) to boot with the new parameters
Once the system starts, run this command (for the stock linux kernel) either from the console or from a
:terminal to rebuild the initramfs image
mkinitcpio -p linux #
:If that does not work, from a 2012 Arch release (CD/DVD or USB stick), run .2
If you do not have a 2012 release or if you only have some other "live" Linux distribution laying :ﻣﻼﺣﻈﺔ
around, you can chroot using the old fashion way. Obviously, there will be more typing than simply
.running the arch-chroot script
Reinstalling the kernel (the linux package) will automatically re-generate the initramfs image with
. mkinitcpio -p linux . There is no need to do this separately
. reboot Afterwards, it is recommended that you run exit , {,umount /mnt/{boot and
If you cannot enter the arch-chroot or chroot environment but need to re-install packages you :ﻣﻼﺣﻈﺔ
.can use the command pacman -r /mnt -Syu foo bar to use pacman on your root partition
I keep getting
:It happens when the system clock is wrong. Set the time and run
hwclock -w #
I get an error every time I use pacman saying 'warning: current locale is invalid;
?using default "C" locale'. What do I do
.As the error message says, your locale is not correctly configured. See Locale
See also
Common Applications/Utilities#Package management
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Categories: Package management (اﻟﻌﺮﺑﯿﺔ )اﻟﻌﺮﺑﯿﺔ
This page w as last modified on 1 October 2014, at 20:37. Content is available under GNU Free Documentation License 1.3
or later unless otherw ise noted. Privacy policy About ArchWiki Disclaimers
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com