You are not logged in.

#1 2017-04-09 06:57:27

gkjarch
Member
Registered: 2013-03-31
Posts: 22

Noextract can not specify a directory exactly.

If I don't want Pacman to extract /usr/share/help directory, I have to append asterisk (*) like this: Noextract = usr/share/help* in pacman.conf. But this style of writing may cause help(X) not extract too. So if I don't want any mistakes, file system may leave many empty directories. This sucks. Can we fix it ?

Offline

#2 2017-04-09 07:28:29

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Noextract can not specify a directory exactly.

This should be relevant:  https://bugs.archlinux.org/task/31749

Offline

#3 2017-04-09 07:40:12

gkjarch
Member
Registered: 2013-03-31
Posts: 22

Re: Noextract can not specify a directory exactly.

x33a wrote:

This should be relevant:  https://bugs.archlinux.org/task/31749

That is different from what I say. You try Noextract = usr/share/help , without an asterisk, Pacman will extract the help directory.

Offline

#4 2017-04-09 07:43:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: Noextract can not specify a directory exactly.

NoExtract = usr/share/help/*     

I'm assuming an empty directory will be fine...

Offline

#5 2017-04-09 08:31:32

gkjarch
Member
Registered: 2013-03-31
Posts: 22

Re: Noextract can not specify a directory exactly.

Allan wrote:

NoExtract = usr/share/help/*     

I'm assuming an empty directory will be fine...

Already said this situation.  Leave many empty directories.

Last edited by gkjarch (2017-04-09 08:37:52)

Offline

#6 2017-04-09 08:34:56

gkjarch
Member
Registered: 2013-03-31
Posts: 22

Re: Noextract can not specify a directory exactly.

Looks like a bug.

Last edited by gkjarch (2017-04-09 08:36:45)

Offline

#7 2017-04-09 10:27:26

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: Noextract can not specify a directory exactly.

NoExtract = usr/share/help/ usr/share/help/*

Offline

#8 2017-05-23 11:12:07

gkjarch
Member
Registered: 2013-03-31
Posts: 22

Re: Noextract can not specify a directory exactly.

Allan wrote:

NoExtract = usr/share/help/ usr/share/help/*

This works. I put * in front like

NoExtract = usr/share/help/* usr/share/help/

It is more logical.

Offline

Board footer

Powered by FluxBB