Difference between revisions of "Talk:Pacman"

From ArchWiki
Jump to navigation Jump to search
 
(31 intermediate revisions by 10 users not shown)
Line 10: Line 10:
 
::There's [http://allanmcrae.com/2010/11/basic-overview-of-pacman-code/ a tiny bit] on Allan's blog. Details regarding libalpm should be in a separate wiki article. -- [[User:Karol|Karol]] 13:13, 10 February 2012 (EST)
 
::There's [http://allanmcrae.com/2010/11/basic-overview-of-pacman-code/ a tiny bit] on Allan's blog. Details regarding libalpm should be in a separate wiki article. -- [[User:Karol|Karol]] 13:13, 10 February 2012 (EST)
 
::[http://allanmcrae.com/2012/02/the-great-pacman-bug-hunt-of-2012/ Some more, pretty low level, info], also from Allan's blog. -- [[User:Karol|Karol]] 13:24, 11 February 2012 (EST)
 
::[http://allanmcrae.com/2012/02/the-great-pacman-bug-hunt-of-2012/ Some more, pretty low level, info], also from Allan's blog. -- [[User:Karol|Karol]] 13:24, 11 February 2012 (EST)
 +
:: Any news about this? It would be interesting information to have. Please, can anyone reply about this? [[User:Timofonic|Timofonic]] ([[User talk:Timofonic|talk]]) 05:38, 23 July 2017 (UTC)
  
 
== pacman.log ==
 
== pacman.log ==
Line 112: Line 113:
 
::Most likely, nothing. pacman doesn't downgrade packages with {{ic|-Syu}} - it only does so with {{ic|-Syuu}}. Assuming by "repository" [[Mirrors]] is meant here. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 12:19, 23 October 2015 (UTC)
 
::Most likely, nothing. pacman doesn't downgrade packages with {{ic|-Syu}} - it only does so with {{ic|-Syuu}}. Assuming by "repository" [[Mirrors]] is meant here. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 12:19, 23 October 2015 (UTC)
  
== Proposal to add another section referencing the use of nested statements ==
+
== Re-add practical NoExtract example for locales ==
Earlier I proposed an addition to the [[Pacman#Removing_packages]] section:
 
<blockquote>To remove a package using pacman's query operation:
 
<code># pacman -R $(pacman -Qs | grep "package_name")</code></blockquote>
 
  
User [[User:Kynikos]] removed the edition because, ''"this is too specific for this article, please propose it in Tips & Tricks"''
+
:''[This discussion follows [https://wiki.archlinux.org/index.php?title=Talk:Pacman&oldid=460285#Dangerous_NoExtract_example] -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 05:02, 28 October 2017 (UTC)]''
  
Ok. I understand there are style guidelines for what should and should not be included on the main page of a node. Let me say first, this style of comment is included above in the [[Pacman#Installing_specific_packages]] section.  
+
https://wiki.archlinux.org/index.php?title=Pacman&diff=next&oldid=450439 was removed because a user stated that it causes errors with possibly badly-conforming programs. I'm not sure removing the whole thing is the right approach, as I am pretty sure the issue came from the part that meddled with the X11/i18n locales, since application-level message catalogs are never going to cause that error.
  
More importantly, the impetus to add the change was because I tried to remove a group of packages, read the instructions, it didn't work, searched the forums and found my old post from a year ago. LOL. I've done it again. I forgot how to use Pacman, and this use case (where the simple -R flag doesn't work) happens for me once a year (read, I will forget again). I still use CentOS and Debian in other projects, and I just simply forgot the ArchWay. 
+
I also think I have fine-tuned my locale purging which currently looks like this:
  
My point is I think the wiki should permit changes which highlight, give examples or simply reference when Arch, as a distro of Linux, does something in a way the other major distros do not (a "get a clue" for more casual users). My simple solution is to permit changes that communicate by example to the reader--in my case--that pacman sometimes requires a different (nested) syntax.
+
NoExtract  = usr/share/help/* !usr/share/help/en*
 +
NoExtract  = usr/share/gtk-doc/html/*
 +
NoExtract  = usr/share/locale/* usr/share/X11/locale/* usr/share/i18n/* opt/google/chrome/locales/*
 +
NoExtract  = !*locale*/en*/* !usr/share/i18n/charmaps/UTF-8.gz !usr/share/*locale*/locale.*
 +
NoExtract  = !usr/share/*locales/en_?? !usr/share/*locales/i18n !usr/share/*locales/iso*
 +
NoExtract  = !usr/share/*locales/trans*
 +
NoExtract  = usr/share/qt4/translations/*
 +
NoExtract  = usr/share/man/* !usr/share/man/man*
 +
NoExtract  = usr/share/vim/vim*/lang/*
 +
NoExtract  = usr/lib/libreoffice/help/en-US/*
  
Alternatively, a new section to the pacman page could be added referencing the rich possibilities of using pacman in this manner, <tt>pacman ... $(pacman ... | grep ... )</tt>. I don't see this as a "tip" or "trick" but as a significant difference from other distros (and I'm sure for good reason--which is why I value the Archlinux distro very much).
+
Thoughts about re-adding part or all of this?
  
{{unsigned|01:07, 11 July 2016‎|Xtian}}
+
{{unsigned|04:40, 27 October 2017‎|Eschwartz}}
 +
: I myself think this method is too complex to maintain and not worth the space saved.
 +
: However, if you insist adding them, it should belong to [[Pacman/Tips_and_tricks]], not the main [[Pacman]] page.
 +
: --[[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 10:00, 30 October 2017 (UTC)
 +
:: [[Pacman/Tips_and_tricks#Installing only content in required languages]] was created. [[User:Regid|Regid]] ([[User talk:Regid|talk]]) 17:57, 19 January 2019 (UTC)
  
:As the main point seems to be how this is unexpected for users from other distributions, this belongs in [[Pacman/Rosetta]] if anywhere. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 06:50, 11 July 2016 (UTC)
+
== Proposed style change for the term "pacman" ==
  
:At least the command should be <code># pacman -R $(pacman -Qs'''q''' | grep "package_name")</code>, otherwise it does not work at all. Even then, it might produce unexpected false positives - that's why pacman does not support ''remove by regex'' operation. See [http://askubuntu.com/questions/210976/apt-get-remove-with-wildcard-removed-way-more-than-expected-why] for the consequences.
+
Currently the convention is that ''pacman'' is lower case and italic where applicable. However, I want to propose changing the convention of always having the "p" in ''pacman'' lower case to ''Pacman'' when it is the first word in a sentence (e.g. "''pacman'' is great!" to "''Pacman is great!''"). This is the convention throughout [[Pacman/Tips and tricks#Reinstalling all packages|tips and tricks]] (links to first example) -- [[User:Comrumino|Comrumino]] ([[User talk:Comrumino|talk]]) 04:07, 18 December 2017 (UTC)
:As for your rants, this "tip" or "trick" is not really about pacman, but plain shell usage (i.e. chaining multiple commands together), applicable in other distros as well. That's what is too specific about it.
 
:-- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 07:00, 11 July 2016 (UTC)
 
  
::The reasons for my undo weren't about style, but:
+
:{{man|8|pacman}} and {{man|5|pacman.conf}} use lowercase pacman, unless it is at the start of a sentence. -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 07:30, 18 December 2017 (UTC)
::# this article is limited to pacman-specific features, not shell command extensions of it: you can't find any grepping, awking, piping, substituting, etc here, all that belongs to [[Pacman/Tips and tricks]], which is in fact where I pointed the OP to;
 
::# the command was only introduced by "To remove a package using paceman's [''sic''] query operation", which is completely missing the reasons why one would need to use it, hence confusing readers who would compare it to the plain -R commands; in theory packages should be related by a group or dependencies, not just name affinities, and for example the -Rs and -Rc options are already there for this kind of cleanups.
 
::— [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 11:34, 11 July 2016 (UTC)
 
  
::: The reason I added this was because the normal -R flag didn't work in my case. I think you're right to say shell command extensions by and large don't belong here. My point is to suggest it could be good style for the WIKI to sprinkle a few good examples of useful shell command extension combinations or pacman idioms in the main page, and point to "Tips and Tricks". The reader may be inclined to recognize in which direction they should look when the pacman doesn't work as expected. A different rule of style would permit what otherwise does not fit the strict boundary you clearly outline, pacman-specific features. A style change would say getting users to think in the ArchWay using shell commands could benefit by more examples. The pacman Man Page is pacman-specific. I should hope the Wiki would include user's best practices and useful examples.
+
::[[Help:Style#Spelling]] covers this, so apparently we do have to update this article, paying attention to when pacman is mentioned as a program/project and when it's mentioned as a mere executable. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 11:57, 19 December 2017 (UTC)
  
::: The comment for my original change, "(Was having trouble removing haskell package...), referenced my post in forums. I installed haskell-pandoc to get a library to support iPython's export to PDF feature. At that time I needed to create this documentation and I didn't care that the dependencies for haskell-pandoc totaled 1.6G. Only later, when I went to uninstall haskell, I couldn't figure out which "thread to pull" because there is no "haskell" package.
+
== New option for troubleshooting: use pacman-static from the AUR ==
  
::: That's the reason and reasoning. If this makes sense to you, then great. If not, Ok too.
+
This should probably be mentioned somehow. I took over maintenance of this package, it works properly, and I host both binary packages and extracted copies of the pacman-static binary, all signed by my Trusted User signing key. So it is quite safe to use.
  
::: [[User:Xtian|Xtian]] ([[User talk:Xtian|talk]]) 00:37, 12 July 2016 (UTC)
+
It would help solve most issues with a non-functional pacman, as long as the system itself is more or less functional (in the sense that it boots and you can login to a root shell etc). It's sometimes suggested to use bsdtar to extract needed files directly to the filesystem by utilizing the cache, but pacman-static should work in any case where bsdtar does, and then some. -- [[User:Eschwartz|Eschwartz]] ([[User talk:Eschwartz|talk]]) 22:58, 30 May 2018 (UTC)
  
::::First, I don't think it's such a nice little harmless command as you describe, since it would have to be accompanied by a big red warning about the unwanted consequences (see my previous post).
+
:[[Pacman#Manually_reinstalling_pacman]] and [[Pacman#Pacman_crashes_during_an_upgrade]] are basically two approaches for the "pacman is terribly broken" thing, it should be restructured to one section with subsections where you could easily mention the third option with pacman-static. -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 07:59, 3 June 2018 (UTC)
::::Second, since we're arguing to not describe your command on '''this page''' and you are still arguing to describe it on '''the wiki''', I would like to finally make you aware of the [[pacman/Tips and tricks]] subpage (which Kynikos was mentioning from the start, apparently without success). The subpage is mentioned multiple times on the [[pacman]] page, including a box of related articles in the top right corner. I'm sure everybody would like to have the one trick they needed recently in the first paragraph of the main [[pacman]] page, but obviously that's not possible. The tips and tricks cannot be described on the main [[pacman]] page, because the "Tips and tricks" subpage is almost as long as the main page.
 
::::Finally, the [[pacman/Tips and tricks]] subpage contains better&trade; tips for efficient usage of pacman, that would have been applicable in your case: [[pacman/Tips and tricks#Listing packages]] for listing biggest or newly installed packages and [[pacman/Tips and tricks#Removing unused packages (orphans)]] for removing orphans.
 
::::-- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 05:56, 12 July 2016 (UTC)
 
  
== <s> Dangerous NoExtract example </s> ==
+
== Explain some common harmful commands ==
  
Currently the example for <code>NoExtract</code> shows how to exclude unneeded languages. Recently I had the issue that dmenu didn't work anymore because it segfaulted after telling me <code>warning: no locale support</code> and me pressing any key on the keyboard.
+
Besides -Sy (partial upgrades), --ask, --nodeps spring to mind. --force as described in [[Pacman#.22Failed_to_commit_transaction_.28conflicting_files.29.22_error]] was removed in pacman 5.1 and replaced with --overwrite. cf. [https://github.com/actionless/pikaur/issues/201#issuecomment-396756916] -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 22:52, 12 June 2018 (UTC)
#0  0x00007f7fea2b6224 in XCreateIC () from /usr/lib/libX11.so.6
 
#1  0x0000000000403aa1 in ?? ()
 
#2  0x0000000000402115 in ?? ()
 
#3  0x00007f7fe988c291 in __libc_start_main () from /usr/lib/libc.so.6
 
#4  0x0000000000402969 in ?? ()
 
  
Even a rollback to a month before did nothing. Then I installed the packages again - this time with no <code>NoExtract</code> - and it worked again. This can be a bug in dmenu - I haven't had any issues with other programs to my knowledge - but at least it should be mentioned that stuff like this may happen.
+
:The {{ic|--force}} flag hasn't been removed, it's still available and I think this may still be useful as last resort, but users should be aware of the consequences.
 
+
:See [[System_maintenance#Partial_upgrades_are_unsupported]], do we really need more explanation here? :)
{{unsigned|09:45, 13 October 2016‎|Eyenseo}}
+
: Thanks.
: Related section is removed. Close. --[[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 07:08, 28 December 2016 (UTC)
+
:[[User:Francoism|Francoism]] ([[User talk:Francoism|talk]]) 09:27, 13 June 2018 (UTC)

Latest revision as of 17:57, 19 January 2019

Description of pacman internals (for new pacman programmers)

Moderation note: The previous discussion on this subject (titled Detail missing) has been seriously derailed in the past. Please let's focus on the original topic, also presented by the current title, i.e. the description of pacman internals and its code base, targeting new pacman programmers. -- Lahwaacz (talk) 21:27, 11 October 2015 (UTC)

Can someone please add the details of pacman? There is no explanation of how it works. What are the components and their interaction? And how about related dependencies and libraries? Without that basic flow-chart concept in mind, it is very difficult to understand the roll that third-party additions or frontends might play.

This would be very interesting. libfetch, libalpm, etc. manolo 15:23, 15 November 2009 (EST)
There's a tiny bit on Allan's blog. Details regarding libalpm should be in a separate wiki article. -- Karol 13:13, 10 February 2012 (EST)
Some more, pretty low level, info, also from Allan's blog. -- Karol 13:24, 11 February 2012 (EST)
Any news about this? It would be interesting information to have. Please, can anyone reply about this? Timofonic (talk) 05:38, 23 July 2017 (UTC)

pacman.log

There are (as of this writing) two places on this page which say that pacman's output is logged to /var/log/pacman.log. Obviously in the strictest sense this is false, as can easily be seen by anybody who's glanced at this file and at pacman's on-screen output. Ordinarily, this wouldn't be a problem, as it's clear what is meant. But there's also some information which is not logged, and this fact is unclear.

I'd edit the page to make it clear what is and isn't logged, but I'm not sure myself. It seems like the following things are logged:

  • Package installation complete
  • Most but not all of the per-package notices pacman prints.

It seems like the following things are not logged:

  • Progress bars (of course)
  • Package download
  • Package integrity and signature checks
  • File conflicts
  • Disk space checks
  • Optional dependencies

Unless there's a problem (in which case they may be logged; I'm not sure), you really don't care about any of these except the optional dependencies, and those can be obtained with pacman -Qi or expac. However, I'm not sure if this list is exhaustive, and wouldn't want to find out the hard way that I'd missed important pacman output by assuming it'd be in the log.

Can somebody link to (or put here) a more comprehensive list of what is and isn't logged? I haven't been able to find one, and I think that it'd be much better to be clear than to simplify by saying "all the output is logged". DHouck (talk) 08:14, 22 February 2014 (UTC)

Exit codes

I think that pacman exit codes should be also added here but don't know them. All I have noticed so far are only 0 when everything downloaded/installed without any problems and 1 when packages where skipped. Any special exit codes when at least one package was installed while other was skipped? And why error code is 0 when failed to connect to update mirrors error: failed retrieving file, does it has the error codes when it was able to download all files to update from mirrors or not all repositories were available, e.g. only one? And may be some more exit codes for debugging?

-- Andy Crowd 08:00, 9 January 2015 (UTC)

This is something that belongs in the manual. I'd suggest filing a bug. -- Alad (talk) 17:20, 20 August 2015 (UTC)

Pacstrap issue

Moved from Beginners' guide. -- Alad (talk) 06:11, 20 February 2015 (UTC)

I don't know how many others are experiencing trouble when issuing the pacstrap -i /mnt base base-devel command but I got a series of GPGME ERROR: no data errors. This post helped: https://bbs.archlinux.org/viewtopic.php?id=162216 You need to run: rm -R /mnt/var/lib/pacman/sync and try again the pacstrap command. —This unsigned comment is by Sudoku (talk) 11 February 2015. Please sign your posts with ~~~~!

Don't rush updates

This edit removed a warning that was, IMHO reasonably, suggesting not to upgrade a stable system without having the time to do possible post-upgrade maintenance. I agree that the warning wasn't very well worded and could have been simplified and given a more neutral tone, however I'd reintroduce it, thoughts? — Kynikos (talk) 08:05, 18 August 2015 (UTC)

I thought the wording was fine, and the example of giving a presentation was well-chosen to communicate the small but non-negligible amount of time required to fix problems. Herodotus (talk) 20:10, 18 August 2015 (UTC)
The original warning is anything but constructive though. Compare to Enhance_system_stability#Read_before_upgrading_the_system. -- Alad (talk) 03:30, 19 August 2015 (UTC)
How about this. I'm not an expert so I mostly borrowed stuff from the deleted section and Enhance_system_stability#Arch_Specific_Tips_2. Herodotus (talk) 06:55, 19 August 2015 (UTC)
In my view, the new section had the same problems of the removed warning, plus it duplicated part of what is already written shortly above.
[1] (which replaces the new section) is my proposal instead.
Kynikos (talk) 10:51, 20 August 2015 (UTC)
Looks good to me. I do wonder if we should merge this to Enhance system stability#Read before upgrading the system and link from here. After all, potential issues on upgrade are not inherent to pacman (though resulting file system operations, or the interruption thereof, could damage the system), and Enhance system stability has some more notes on where upgrades could go wrong. -- Alad (talk) 17:10, 20 August 2015 (UTC)
I think we need a new "Recommended package management practices" section/page to cover the parts related to Arch packaging specifics from the end-user's point of view. This would describe basically Pacman#Upgrading_packages (merged with Pacman#Package_updates_have_broken_my_system), System_maintenance#Package_tasks, Enhance_system_stability#Arch_Specific_Tips and Enhance_system_stability#Arch_Specific_Tips_2 unbiased from the "enhancing stability" requirements. For the description of "why" it should refer to Arch packaging standards (or a more general overview, which I think belongs to Official repositories), rather than The Arch Way. If we can move there also the general parts of pacman#Troubleshooting, either as another "recommended practices" or a justification for them, it would be even better.
Just to make it clear, the general idea behind moving the content out of pacman is to let the main page cover only the basics related to pacman itself and describe the packaging details on a separate (sub)page like Downgrading packages or pacman tips. Of course all the pages have to be properly interlinked.
-- Lahwaacz (talk) 19:39, 20 August 2015 (UTC)
To emphasize on the "why" again, there's:
  1. Arch_packaging_standards#Package_naming - Technical reference, somewhat cryptic
  2. System maintenance#Partial upgrades are not supported - It links to Wikipedia:Rolling release, but mostly focuses on the technical (soname bumps)
  3. Frequently_asked_questions#Why_is_there_only_a_single_version_of_each_shared_library_in_the_official_repositories.3F - More explicit, but does this really belong in the FAQ? For now, I've linked it from the warning in Pacman#Installing packages anyway.
I also agree that the actual Official repositories could be expanded. The brief mention in Arch_Linux#Modernity is enough for the scope of that article. -- Alad (talk) 12:06, 23 October 2015 (UTC)
Enhance system stability was cleaned and merged to System maintenance. I believe latter is the article where the recommended practices should be described. -- Alad (talk) 09:45, 23 October 2015 (UTC)
Pacman#Package updates have broken my system was partly moved to System maintenance#Revert broken updates: [2] [3] -- Alad (talk) 10:34, 23 October 2015 (UTC)
Pacman#Partial upgrades are unsupported was moved to System maintenance#Partial upgrades are unsupported. [4] A warning linking to it was added in its place. [5] The Partial upgrade redirect(s) were updated, but awaiting further structure changes, only generally to System maintenance. -- Alad (talk) 10:12, 23 October 2015 (UTC)

New approach

Moved from the now closed #Pacman - An Introduction discussion. -- Alad (talk) 11:51, 23 October 2015 (UTC)
Right now, package management on the wiki is fragmented and duplicated, and it's clear that creating another page won't help in solving this. As pointed out in #Don't rush updates, we have System maintenance, Enhance system stability, this article, Official repositories, Arch Linux, Arch packaging standards, ... not even mentioning specialist articles, the FAQ linked from the Main page or General troubleshooting. To make things worse, these articles are in different categories.
A few suggestions:
We should still make a clear relation to how it functions inside Arch, by linking to other articles, including a sufficient explanation.

-- Alad (talk) 03:14, 13 October 2015 (UTC)

Small update: pacman now has 4 subpages, Pacman/Tips and tricks (merge of pacman tips and Improve pacman performance), Pacman/Pacnew and Pacsave (from Pacnew and Pacsave files), Pacman/Rosetta (from Pacman Rosetta) and Pacman/Package signing (from pacman-key).
Haven't moved Downgrade packages yet, as it's equally related to Official repositories. -- Alad (talk) 16:39, 16 October 2015 (UTC)
You did not answer any of my arguments. You could say "yes, it is true that many people come on this page to understand pacman and that pacman's functionality can't be understood without understanding rolling repositories and that there is no explanation or at least a link to an explanation of this, but I don't care." I don't argue here in favor of a new page. Doru001 (talk) 19:49, 13 October 2015 (UTC)
I have actually been struggling with this same issue myself. Based on the number of problems reported on the mailing and list and forums that can be summarized as "User does not understand rolling release and good pacman practices," I think there is a pretty clear need for more directed documentation that increases the chance of new users learning the essential parts of maintaining an Arch system. However, I'm not convinced that pacman is the right article for this information. Despite its importance, pacman is just another program distributed with Arch Linux and this article describes its technical ins and outs. You don't see Git including a discussion of the DVCS philosophy or Ruby including a treatise on object-oriented design, despite the fact that these are (arguably) essential skills for properly using such software.
I think that the simplest solution would be to add a note right after the introductory paragraph, along the lines of
Note: This article describes the technical aspects of package management with pacman. If you are looking for practical tips for updating/maintaining an Arch Linux system, see System maintenance#Package tasks.
However I think this also ties into the discussion from #Don't rush updates, in that we need a good unified location for such information that the note could link to. Frankly, the System maintenance article is just as lacking for new users. Silverhammermba (talk) 15:55, 15 October 2015 (UTC)

Drafts

Repository going offline

This comment is from an earlier, closed discussion -- Alad (talk) 12:19, 23 October 2015 (UTC)
what happens when your repository goes off line and you fallback on a repository not yet updated? I still don't know, I only use one repository at a time! Doru001 (talk) 14:47, 15 October 2015 (UTC)
Most likely, nothing. pacman doesn't downgrade packages with -Syu - it only does so with -Syuu. Assuming by "repository" Mirrors is meant here. -- Alad (talk) 12:19, 23 October 2015 (UTC)

Re-add practical NoExtract example for locales

[This discussion follows [7] -- Kynikos (talk) 05:02, 28 October 2017 (UTC)]

https://wiki.archlinux.org/index.php?title=Pacman&diff=next&oldid=450439 was removed because a user stated that it causes errors with possibly badly-conforming programs. I'm not sure removing the whole thing is the right approach, as I am pretty sure the issue came from the part that meddled with the X11/i18n locales, since application-level message catalogs are never going to cause that error.

I also think I have fine-tuned my locale purging which currently looks like this:

NoExtract  = usr/share/help/* !usr/share/help/en*
NoExtract  = usr/share/gtk-doc/html/*
NoExtract  = usr/share/locale/* usr/share/X11/locale/* usr/share/i18n/* opt/google/chrome/locales/*
NoExtract   = !*locale*/en*/* !usr/share/i18n/charmaps/UTF-8.gz !usr/share/*locale*/locale.*
NoExtract   = !usr/share/*locales/en_?? !usr/share/*locales/i18n !usr/share/*locales/iso*
NoExtract   = !usr/share/*locales/trans*
NoExtract  = usr/share/qt4/translations/*
NoExtract  = usr/share/man/* !usr/share/man/man*
NoExtract  = usr/share/vim/vim*/lang/*
NoExtract  = usr/lib/libreoffice/help/en-US/*

Thoughts about re-adding part or all of this?

—This unsigned comment is by Eschwartz (talk) 04:40, 27 October 2017‎. Please sign your posts with ~~~~!

I myself think this method is too complex to maintain and not worth the space saved.
However, if you insist adding them, it should belong to Pacman/Tips_and_tricks, not the main Pacman page.
--Fengchao (talk) 10:00, 30 October 2017 (UTC)
Pacman/Tips_and_tricks#Installing only content in required languages was created. Regid (talk) 17:57, 19 January 2019 (UTC)

Proposed style change for the term "pacman"

Currently the convention is that pacman is lower case and italic where applicable. However, I want to propose changing the convention of always having the "p" in pacman lower case to Pacman when it is the first word in a sentence (e.g. "pacman is great!" to "Pacman is great!"). This is the convention throughout tips and tricks (links to first example) -- Comrumino (talk) 04:07, 18 December 2017 (UTC)

pacman(8) and pacman.conf(5) use lowercase pacman, unless it is at the start of a sentence. -- Lahwaacz (talk) 07:30, 18 December 2017 (UTC)
Help:Style#Spelling covers this, so apparently we do have to update this article, paying attention to when pacman is mentioned as a program/project and when it's mentioned as a mere executable. -- Kynikos (talk) 11:57, 19 December 2017 (UTC)

New option for troubleshooting: use pacman-static from the AUR

This should probably be mentioned somehow. I took over maintenance of this package, it works properly, and I host both binary packages and extracted copies of the pacman-static binary, all signed by my Trusted User signing key. So it is quite safe to use.

It would help solve most issues with a non-functional pacman, as long as the system itself is more or less functional (in the sense that it boots and you can login to a root shell etc). It's sometimes suggested to use bsdtar to extract needed files directly to the filesystem by utilizing the cache, but pacman-static should work in any case where bsdtar does, and then some. -- Eschwartz (talk) 22:58, 30 May 2018 (UTC)

Pacman#Manually_reinstalling_pacman and Pacman#Pacman_crashes_during_an_upgrade are basically two approaches for the "pacman is terribly broken" thing, it should be restructured to one section with subsections where you could easily mention the third option with pacman-static. -- Lahwaacz (talk) 07:59, 3 June 2018 (UTC)

Explain some common harmful commands

Besides -Sy (partial upgrades), --ask, --nodeps spring to mind. --force as described in Pacman#.22Failed_to_commit_transaction_.28conflicting_files.29.22_error was removed in pacman 5.1 and replaced with --overwrite. cf. [8] -- Alad (talk) 22:52, 12 June 2018 (UTC)

The --force flag hasn't been removed, it's still available and I think this may still be useful as last resort, but users should be aware of the consequences.
See System_maintenance#Partial_upgrades_are_unsupported, do we really need more explanation here? :)
Thanks.
Francoism (talk) 09:27, 13 June 2018 (UTC)