Talk:Pacman/Rosetta

From ArchWiki
Jump to navigation Jump to search

"Remove a package(s) by name"

pacman -Rc is listed as the command, but -c removes every package that depends on the named package (as opposed to the default behavior of aborting the removal and informing the user of the dependencies preventing the removal, at which point the user can decide whether the depending packages should also be removed or whether the named package should be kept installed). I think the command here should be changed to -R or -Rs. Dopamine (talk) 21:32, 16 May 2015 (UTC)

zypper rm -u does not remove orphans of a package that was removed

zypper rm -u requires an argument, for example a package name. The command can only remove orphans of a package during removal of that package. Once the package is removed, the command will not be equivalent to pacman -Qdtq | pacman -Rs -.

zypper >= 1.9.2 can list orphans after a package was removed by using --unneeded. See this issue and the manual.

--Markus00000 (talk) 07:39, 25 August 2016 (UTC)

pacman -F commands

Is there a reason some of the pacman -F* commands are not in the list? Fore instance pacman -Fs can do the same as pkgfile -s without the need for an additional program. — Xha (talk) 20:38, 12 October 2016 (UTC)

Because they were added in pacman 5.0 and nobody updated the wiki yet. Even the pacman page itself is not up to date. -- Lahwaacz (talk) 12:53, 13 October 2016 (UTC)

Splitting into sections

This table needs to be split into sensible sections. I edited the current version into a split version at User:Wtachi/Pacman/Rosetta. Does the edited version look good (aside from the row colors)? Wtachi (talk) 18:50, 23 October 2016 (UTC)

Since no-one's responded, I've gone ahead and copied the changes here. You can see the history of the changes at User:Wtachi/Pacman/Rosetta. Wtachi (talk) 15:52, 7 November 2016 (UTC)
I've reviewed your changes and they all look good - thanks for your contribution! -- Pypi (talk) 23:45, 7 November 2016 (UTC)


pacdiff?

I think a row for pacdiff with stuff like rpmconf -a would be helpful, but I'm not sure which would be the best section for it. -- ImNtReal (talk) 14:16, 4 January 2017 (UTC)

Monospace command lines in this page to follow ArchWiki style guide?

The style guide about CLI lines says they should be in monospace, to differentiate from the normal text. If applying this style guide, basically almost every table cell in this page should be in monospace. Does it make sense to apply this style to all command lines, or is it better to keep as it is? -- Josephgbr (talk) 12:37, 25 August 2019 (UTC)

In theory it would make sense, but I see 2 side effects:
  • Our <code> tags, and therefore the {{ic}} templates, use white-space:pre, so each command would appear as one line and stretch the table horizontally (unless we explicitly break lines in the source text or make an ad-hoc template); this could be seen as a positive or negative consequence;
  • The source text is going to become even more complex, so possibly harder to further modify.
I'm neutral for the moment. -- Kynikos (talk) 08:50, 26 August 2019 (UTC)