You are not logged in.

#1 2020-03-16 18:40:36

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,022

[SOLVED] Pacman ignores "commented out" comment for ignored packages

Sorry for the confusing title, but not really sure of a better way to phrase it.

On occasion I have had reason to ignore an upgrade, the most recent being glibc, and so I'd added it to ignore upgrades. Once the upgrade was fixed I simply commented out the ignore. i.e.

IgnorePkg   = #glibc

which has always been enough to prevent ignoring the package.

Tonight, glibc had an update, and pacman ignored it even though pacman.conf was as above. removing "#glibc" altogether allowed the update.

Is this a bug, or a deliberate change of behaviour?

Last edited by Roken (2020-03-16 20:18:25)


[img=Speedtest]http://www.speedtest.net/my-result/5145583518[/img]

Ryzen 1800x 8 core/16 thread - GTX 1060 6Gb, Asus ROG STRIX B350-F, 16Gb Corsair DDR4, Cooler Master N300 chassis, 6 HD (2SSD - 4Spinners) + 1 x optical.
Linux user #545703

Offline

#2 2020-03-16 19:03:31

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 52

Re: [SOLVED] Pacman ignores "commented out" comment for ignored packages

What's with the hash sign??

Offline

#3 2020-03-16 19:16:50

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,022

Re: [SOLVED] Pacman ignores "commented out" comment for ignored packages

It should prevent everything after it being read.


[img=Speedtest]http://www.speedtest.net/my-result/5145583518[/img]

Ryzen 1800x 8 core/16 thread - GTX 1060 6Gb, Asus ROG STRIX B350-F, 16Gb Corsair DDR4, Cooler Master N300 chassis, 6 HD (2SSD - 4Spinners) + 1 x optical.
Linux user #545703

Offline

#4 2020-03-16 19:16:59

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 221

Re: [SOLVED] Pacman ignores "commented out" comment for ignored packages

I'd assume you need to comment out the entire line and not just a value after the line no?


"the wind-blown way, wanna win? don't play"

Offline

#5 2020-03-16 19:33:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,455
Website

Re: [SOLVED] Pacman ignores "commented out" comment for ignored packages

man pacman.conf wrote:

Comments are only supported by beginning a line with the hash (#) symbol. Comments cannot begin in the middle of a line.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2020-03-16 20:18:08

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,022

Re: [SOLVED] Pacman ignores "commented out" comment for ignored packages

Wow. Thank you. Weird it always seemed to have worked with a partial comment before. Perhaps it was a bug that's now fixed.

Marking as solved.


[img=Speedtest]http://www.speedtest.net/my-result/5145583518[/img]

Ryzen 1800x 8 core/16 thread - GTX 1060 6Gb, Asus ROG STRIX B350-F, 16Gb Corsair DDR4, Cooler Master N300 chassis, 6 HD (2SSD - 4Spinners) + 1 x optical.
Linux user #545703

Offline

#7 2020-03-16 20:58:52

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 3,134

Re: [SOLVED] Pacman ignores "commented out" comment for ignored packages


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#8 2020-03-16 22:37:52

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,022

Re: [SOLVED] Pacman ignores "commented out" comment for ignored packages

Thank you @eschwartz

Glad to know I wasn't going mad.


[img=Speedtest]http://www.speedtest.net/my-result/5145583518[/img]

Ryzen 1800x 8 core/16 thread - GTX 1060 6Gb, Asus ROG STRIX B350-F, 16Gb Corsair DDR4, Cooler Master N300 chassis, 6 HD (2SSD - 4Spinners) + 1 x optical.
Linux user #545703

Offline

#9 2020-03-16 23:17:59

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 3,134

Re: [SOLVED] Pacman ignores "commented out" comment for ignored packages

No, you're just running on information that is more than 2 years old. tongue


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB