Difference between revisions of "Talk:Pacman/Rosetta"

From ArchWiki
Jump to: navigation, search
(Remove Old SUSE ?: new section)
(Splitting into sections: re)
 
(57 intermediate revisions by 14 users not shown)
Line 1: Line 1:
This is one the most useful references of them all. I could never remember apt-get options (which is one of the reasons I switched from Ubuntu to Arch), but I can remember pacman commands just fine. Rather than google how to do a package management task with apt-get, I look up equivalents of pacman commands on this page. --[[User:Bhobbit|Bhobbit]] 15:58, 18 February 2010 (EST)
+
== <s>Remove Old SUSE ?</s> ==
  
Thanks!
+
I don't think it's very useful anymore. OpenSUSE has been around since 2005 or so. Nobody uses the original SUSE anymore, do they? -- [[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 10:25, 23 October 2012 (UTC)
I wrote it in the first place for the very same reason as you. I've always been annoyed at having to learn a different package manager for every distro I jump to, so I wanted a centralized location where I could just search by what I know and copy-paste the equivalent for whatever distro I happen to be on. I'm glad you have found it useful!
+
  
Show the changelog of a package: I think in debian/ubuntu you can either use "aptitude changelog" or "apt-listchanges"
+
:There's also [[Wikipedia:SUSE_Linux_Enterprise_Server|SLES]], so I'd rename the column to "SUSE". -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 21:34, 16 May 2015 (UTC)
--[[User:Abstract11|Abstract11]] 15:57, 24 May 2010 (EDT)
+
  
You're always free to make additions. I don't have any debian/ubuntu machines to use to test but if aptitude changelog or apt-listchanges works, please add it to the wiki.
+
::Renamed to SLES/openSUSE, closing. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 17:56, 11 August 2016 (UTC)
  
== Is apt-get build-dep automatic? ==
+
== "Remove a package(s) by name" ==
  
I'm confused how does the pacman does it automatically. -- by Rho.
+
{{ic|pacman -Rc}} is listed as the command, but {{ic|-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 {{ic|-R}} or {{ic|-Rs}}. [[User:Dopamine|Dopamine]] ([[User talk:Dopamine|talk]]) 21:32, 16 May 2015 (UTC)
:Have you tried building anything from ABS? It's all in the PKGBUILDs: [[Pkgbuild#depends]]. -- [[User:Karol|Karol]] ([[User talk:Karol|talk]]) 11:26, 1 October 2012 (UTC)
+
  
== Remove Old SUSE ? ==
+
== {{ic|zypper rm -u}} does not remove orphans of a package that was removed ==
  
I don't think it's very useful anymore. OpenSUSE has been around since 2005 or so. Nobody uses the original SUSE anymore, do they? --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 10:25, 23 October 2012 (UTC)
+
{{ic|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 {{ic|<nowiki>pacman -Qdtq | pacman -Rs -</nowiki>}}.
 +
 
 +
zypper >= 1.9.2 can list orphans after a package was removed by using {{ic|--unneeded}}. See [https://github.com/openSUSE/zypper/issues/34 this issue] and [http://linux-club.de/wiki/opensuse/Man_zypper the manual].
 +
 
 +
--[[User:Markus00000|Markus00000]] ([[User talk:Markus00000|talk]]) 07:39, 25 August 2016 (UTC)
 +
 
 +
== pacman -F commands ==
 +
 
 +
Is there a reason some of the {{ic|pacman -F*}} commands are not in the list? Fore instance {{ic|pacman -Fs}} can do the same as {{ic|pkgfile -s}} without the need for an additional program.
 +
— [[User:Xha|Xha]] ([[User talk: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. -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 12:53, 13 October 2016 (UTC)
 +
 
 +
== Splitting into sections ==
 +
 
 +
This table needs to be split into sensible sections. I edited the [https://wiki.archlinux.org/index.php?title=Pacman/Rosetta&oldid=454855 current version] into a split version at [[User:Wtachi/Pacman/Rosetta]]. Does the edited version look good (aside from the row colors)? [[User:Wtachi|Wtachi]] ([[User talk: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]]. [[User:Wtachi|Wtachi]] ([[User talk:Wtachi|talk]]) 15:52, 7 November 2016 (UTC)
 +
 
 +
::I've reviewed your changes and they all look good - thanks for your contribution! -- [[User:Pypi|Pypi]] ([[User talk:Pypi|talk]]) 23:45, 7 November 2016 (UTC)

Latest revision as of 23:47, 7 November 2016

Remove Old SUSE ?

I don't think it's very useful anymore. OpenSUSE has been around since 2005 or so. Nobody uses the original SUSE anymore, do they? -- DSpider (talk) 10:25, 23 October 2012 (UTC)

There's also SLES, so I'd rename the column to "SUSE". -- Alad (talk) 21:34, 16 May 2015 (UTC)
Renamed to SLES/openSUSE, closing. -- Alad (talk) 17:56, 11 August 2016 (UTC)

"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)