[arch-general] pacman ignore packages by pattern?
Hello, Is it possible for pacman to ignore packages by a pattern like --ignore xorg-*? I remember the painful days I've spent when using catalyst, so I switched to xf86-video-ati, so as not to be bothered by xorg packages. --ignoregroup xorg won't work perfectly, since not all xorg packages belong to that group. But some packages do need to be in sync with xorg-server, e.g. xorg-server-common. It will be handy if I can just put "IgnorePkg = xorg-*" in my /etc/pacman.conf. Thank you. -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
On 19/03/12 13:59, XeCycle wrote:
Hello,
Is it possible for pacman to ignore packages by a pattern like --ignore xorg-*?
It would take less time to test than send an email asking...
Allan McRae
It would take less time to test than send an email asking...
Well, I've tested long ago, but --ignore xxx* doesn't seem to work. So I'm asking if there's some other options for that, or has anyone requested this feature before. -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
On 19/03/12 18:43, XeCycle wrote:
Allan McRae
writes: [...]
It would take less time to test than send an email asking...
Well, I've tested long ago, but --ignore xxx* doesn't seem to work. So I'm asking if there's some other options for that, or has anyone requested this feature before.
allan@mugen ~
pacman -Su :: Starting full system upgrade... resolving dependencies... looking for inter-conflicts...
Targets (9): libreoffice-calc-3.5.1-1 libreoffice-common-3.5.1-1 libreoffice-draw-3.5.1-1 libreoffice-en-GB-3.5.1-1 libreoffice-gnome-3.5.1-1 libreoffice-impress-3.5.1-1 libreoffice-math-3.5.1-1 libreoffice-writer-3.5.1-1 xf86-input-synaptics-1.5.99.901-2 Total Download Size: 72.63 MiB Total Installed Size: 258.82 MiB Net Upgrade Size: -0.14 MiB Proceed with installation? [Y/n] n allan@mugen ~
pacman -Su --ignore libreoffic* :: Starting full system upgrade... warning: libreoffice-calc: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-common: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-draw: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-en-GB: ignoring package upgrade (3.5.0-1 => 3.5.1-1) warning: libreoffice-gnome: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-impress: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-math: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-writer: ignoring package upgrade (3.5.0-2 => 3.5.1-1) resolving dependencies... looking for inter-conflicts...
Targets (1): xf86-input-synaptics-1.5.99.901-2 Total Installed Size: 0.14 MiB Net Upgrade Size: 0.01 MiB Proceed with installation? [Y/n] n
Allan McRae
allan@mugen ~
pacman -Su :: Starting full system upgrade... resolving dependencies... looking for inter-conflicts...
Targets (9): libreoffice-calc-3.5.1-1 libreoffice-common-3.5.1-1 libreoffice-draw-3.5.1-1 libreoffice-en-GB-3.5.1-1 libreoffice-gnome-3.5.1-1 libreoffice-impress-3.5.1-1 libreoffice-math-3.5.1-1 libreoffice-writer-3.5.1-1 xf86-input-synaptics-1.5.99.901-2
Total Download Size: 72.63 MiB Total Installed Size: 258.82 MiB Net Upgrade Size: -0.14 MiB
Proceed with installation? [Y/n] n
allan@mugen ~
pacman -Su --ignore libreoffic* :: Starting full system upgrade... warning: libreoffice-calc: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-common: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-draw: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-en-GB: ignoring package upgrade (3.5.0-1 => 3.5.1-1) warning: libreoffice-gnome: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-impress: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-math: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-writer: ignoring package upgrade (3.5.0-2 => 3.5.1-1) resolving dependencies... looking for inter-conflicts...
Targets (1): xf86-input-synaptics-1.5.99.901-2
Total Installed Size: 0.14 MiB Net Upgrade Size: 0.01 MiB
Proceed with installation? [Y/n] n
Mine didn't show this behaviour. --8<---------------cut here---------------start------------->8--- 17:37:17 $ sudo pacman -Su :: Starting full system upgrade... resolving dependencies... looking for inter-conflicts... Targets (2): fluidsynth-1.1.5-2 jack-0.121.3-5 Total Download Size: 0.17 MiB Total Installed Size: 3.04 MiB Net Upgrade Size: 2.41 MiB Proceed with installation? [Y/n] n 17:37:21 $ sudo pacman -Su --ignore fluid* :: Starting full system upgrade... resolving dependencies... looking for inter-conflicts... Targets (2): fluidsynth-1.1.5-2 jack-0.121.3-5 Total Download Size: 0.17 MiB Total Installed Size: 3.04 MiB Net Upgrade Size: 2.41 MiB Proceed with installation? [Y/n] n 17:37:39 $ --8<---------------cut here---------------end--------------->8--- -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
On 03/19/2012 03:39 AM, XeCycle wrote:
17:37:21 $ sudo pacman -Su --ignore fluid*
Do you have something in your working directory named fluid...? Try single-quoting it.
Matthew Monaco
On 03/19/2012 03:39 AM, XeCycle wrote:
17:37:21 $ sudo pacman -Su --ignore fluid*
Do you have something in your working directory named fluid...? Try single-quoting it.
Nope. Doesn't help. -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
On Mon, Mar 19, 2012 at 9:57 AM, Allan McRae
On 19/03/12 18:43, XeCycle wrote:
Allan McRae
writes: allan@mugen ~
pacman -Su --ignore libreoffic* :: Starting full system upgrade... warning: libreoffice-calc: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-common: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-draw: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-en-GB: ignoring package upgrade (3.5.0-1 => 3.5.1-1) warning: libreoffice-gnome: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-impress: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-math: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-writer: ignoring package upgrade (3.5.0-2 => 3.5.1-1) resolving dependencies... looking for inter-conflicts...
Targets (1): xf86-input-synaptics-1.5.99.901-2
Total Installed Size: 0.14 MiB Net Upgrade Size: 0.01 MiB
Proceed with installation? [Y/n] n
Allan, what version of pacman did you use? This doesn't work with Pacman v4.0.2 - libalpm v7.0.2. -- Sébastien Luttringer www.seblu.net
On 20.03.2012 01:21, Seblu wrote:
On Mon, Mar 19, 2012 at 9:57 AM, Allan McRae
wrote: On 19/03/12 18:43, XeCycle wrote:
Allan McRae
writes: allan@mugen ~
pacman -Su --ignore libreoffic* :: Starting full system upgrade... warning: libreoffice-calc: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-common: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-draw: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-en-GB: ignoring package upgrade (3.5.0-1 => 3.5.1-1) warning: libreoffice-gnome: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-impress: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-math: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-writer: ignoring package upgrade (3.5.0-2 => 3.5.1-1) resolving dependencies... looking for inter-conflicts...
Targets (1): xf86-input-synaptics-1.5.99.901-2
Total Installed Size: 0.14 MiB Net Upgrade Size: 0.01 MiB
Proceed with installation? [Y/n] n
Allan, what version of pacman did you use? This doesn't work with Pacman v4.0.2 - libalpm v7.0.2.
Allan (as well as Dave and Dan) always use recent git branches. The commit you are looking for is here: https://projects.archlinux.org/pacman.git/commit/?id=902305f1633298ff0ef7cd2... -- Florian Pritz
Thanks for mentioning that. So I'd be waiting for the next release.
--
抱歉暂时无法详细说明。这份邮件是使用安装有K-9 Mail的Android移动设备发送的。
Florian Pritz
On Mon, Mar 19, 2012 at 9:57 AM, Allan McRae
wrote: On 19/03/12 18:43, XeCycle wrote:
Allan McRae
writes: allan@mugen ~
pacman -Su --ignore libreoffic* :: Starting full system upgrade... warning: libreoffice-calc: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-common: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-draw: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-en-GB: ignoring package upgrade (3.5.0-1 => 3.5.1-1) warning: libreoffice-gnome: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-impress: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-math: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-writer: ignoring package upgrade (3.5.0-2 => 3.5.1-1) resolving dependencies... looking for inter-conflicts...
Targets (1): xf86-input-synaptics-1.5.99.901-2
Total Installed Size: 0.14 MiB Net Upgrade Size: 0.01 MiB
Proceed with installation? [Y/n] n
Allan, what version of pacman did you use? This doesn't work with Pacman v4.0.2 - libalpm v7.0.2.
Allan (as well as Dave and Dan) always use recent git branches. The commit you are looking for is here: https://projects.archlinux.org/pacman.git/commit/?id=902305f1633298ff0ef7cd2... -- Florian Pritz
On Tue, Mar 20, 2012 at 1:32 AM, XeCycle
Thanks for mentioning that. So I'd be waiting for the next release.
https://bugs.archlinux.org/task/20360 It is scheduled for pacman 4.1.
On 20/03/12 10:29, Florian Pritz wrote:
On 20.03.2012 01:21, Seblu wrote:
On Mon, Mar 19, 2012 at 9:57 AM, Allan McRae
wrote: On 19/03/12 18:43, XeCycle wrote:
Allan McRae
writes: allan@mugen ~
pacman -Su --ignore libreoffic* :: Starting full system upgrade... warning: libreoffice-calc: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-common: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-draw: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-en-GB: ignoring package upgrade (3.5.0-1 => 3.5.1-1) warning: libreoffice-gnome: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-impress: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-math: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-writer: ignoring package upgrade (3.5.0-2 => 3.5.1-1) resolving dependencies... looking for inter-conflicts...
Targets (1): xf86-input-synaptics-1.5.99.901-2
Total Installed Size: 0.14 MiB Net Upgrade Size: 0.01 MiB
Proceed with installation? [Y/n] n
Allan, what version of pacman did you use? This doesn't work with Pacman v4.0.2 - libalpm v7.0.2.
Allan (as well as Dave and Dan) always use recent git branches.
The commit you are looking for is here: https://projects.archlinux.org/pacman.git/commit/?id=902305f1633298ff0ef7cd2...
Ah crap... Sorry, I thought that had made the pacman-4.0 release. Allan
On Tue, Mar 20, 2012 at 5:06 PM, Allan McRae
On 20/03/12 10:29, Florian Pritz wrote:
On 20.03.2012 01:21, Seblu wrote:
On Mon, Mar 19, 2012 at 9:57 AM, Allan McRae
wrote: On 19/03/12 18:43, XeCycle wrote:
Allan McRae
writes: allan@mugen ~
pacman -Su --ignore libreoffic* :: Starting full system upgrade... warning: libreoffice-calc: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-common: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-draw: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-en-GB: ignoring package upgrade (3.5.0-1 => 3.5.1-1) warning: libreoffice-gnome: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-impress: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-math: ignoring package upgrade (3.5.0-2 => 3.5.1-1) warning: libreoffice-writer: ignoring package upgrade (3.5.0-2 => 3.5.1-1) resolving dependencies... looking for inter-conflicts...
Targets (1): xf86-input-synaptics-1.5.99.901-2
Total Installed Size: 0.14 MiB Net Upgrade Size: 0.01 MiB
Proceed with installation? [Y/n] n
Allan, what version of pacman did you use? This doesn't work with Pacman v4.0.2 - libalpm v7.0.2.
Allan (as well as Dave and Dan) always use recent git branches.
The commit you are looking for is here: https://projects.archlinux.org/pacman.git/commit/?id=902305f1633298ff0ef7cd2...
Ah crap...
Sorry, I thought that had made the pacman-4.0 release.
Allan
Just another reminder that Allan doesn't really use Arch at all =)
participants (7)
-
Allan McRae
-
Florian Pritz
-
Karol Blazewicz
-
Matthew Monaco
-
Oon-Ee Ng
-
Seblu
-
XeCycle