FS#32652 - [pacman] pacman -Sw $(pacman -Qqt) --ignore $some-local-package not ignore the $some-local-package

Attached to Project: Pacman
Opened by Pablo Lezaeta (Jristz) - Wednesday, 14 November 2012, 17:32 GMT
Last edited by Allan McRae (Allan) - Saturday, 09 February 2013, 04:19 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 4.0.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:
ignorepkg not ignore aur (or makepkg'd) packages and complain about not find it, but I say trow --ignorepkg that ignore the package

Steps to Reproduce:
install almos one package trow makepkg not in official repo
(for this example I use aur but I can reproduce it whit all packages from aur)
run

$ sudo pacman -Sw $(pacman -Qqt) --ignore aurvote

you reseive a message: error: destiny not found: aurvote

Espected:
Ignore the package and not complain about it

Version: Pacman 4.0.3

I attach the pacman --debug
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 09 February 2013, 04:19 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#30343 
Comment by Allan McRae (Allan) - Tuesday, 20 November 2012, 15:49 GMT
From the man page:
--ignore <package>
Directs pacman to ignore upgrades of package even if there is one
available. Multiple packages can be specified by separating them
with a comma.

So, --ignore is documented to only works with package upgrade operations.

And a command: "pacman -Sw aurvote --ignore aurvote" would be strange...
Comment by Pablo Lezaeta (Jristz) - Wednesday, 21 November 2012, 13:12 GMT
for this specifica case I want download all my packages to the pacman cache (Migrating to another filesystem with same machione and without stable/descent internet access) and in the --ignore I put all my local intaled packages (like aurvote in this example) but --ignore refuse to ignore packages installed localy (via makepkg (in this specific case) or AUR helper)
Comment by Dave Reisner (falconindy) - Tuesday, 27 November 2012, 21:38 GMT
I tend to think this is solved by Simon's patch for the --native flag.
Comment by Allan McRae (Allan) - Tuesday, 27 November 2012, 22:46 GMT
it is "solved" but there are still a lot of issues wih --ignore and when it actually works. I would like to keep this open as a reminder.
Comment by Pablo Lezaeta (Jristz) - Wednesday, 28 November 2012, 14:12 GMT
the patch going to 4.1 pacman (or is already merged on pacman git?) or to 4.0.4???

I want test the patch here
Comment by Pablo Lezaeta (Jristz) - Sunday, 21 April 2013, 05:55 GMT
pacman -Sw $(pacman -Qld core) --ignore linux-lts,linux-lts-headers
in this case the ignore is ignored by -Sw
this is intentional or I needed to fil a bug??
Comment by Allan McRae (Allan) - Sunday, 21 April 2013, 06:00 GMT
Did you read the closed reason - there is a big open...

But as said above "--ignore is documented to only works with package upgrade operations"

Loading...