Re: What is wrong with my dnf exclude for wine?

2023-02-04 Thread Samuel Sieb

On 2/3/23 21:32, ToddAndMargo via users wrote:

On 2/3/23 20:10, Go Canes wrote:

On Fri, Feb 3, 2023 at 10:11 PM Todd Zullinger  wrote:


This is not the way I've ever seen excludepkgs used or
documented.  The man page states:

    excludepkgs
   list

   Exclude packages of this repository,  speci‐
   fied  by a name or a glob and separated by a
   comma, from all operations.  Can be disabled
   using --disableexcludes command line switch.
   Defaults to [].

Put them all together, not a bunch of different definitions.


Note: "separated by a comma" - the commented-out lines were separated
by spaces (I assume these were failed attempts).


excludepkgs=wine*,resolvconf,systemd-resolved

Did work.  I missed what Samuel's said.

This is a regression from Fedora 36.  I updates
the bug report.


It might be a change, but it's not a regression.  It's clearly 
documented in the man page.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is wrong with my dnf exclude for wine?

2023-02-04 Thread ToddAndMargo via users

On 2/4/23 00:05, Samuel Sieb wrote:

On 2/3/23 21:32, ToddAndMargo via users wrote:

On 2/3/23 20:10, Go Canes wrote:

On Fri, Feb 3, 2023 at 10:11 PM Todd Zullinger  wrote:


This is not the way I've ever seen excludepkgs used or
documented.  The man page states:

    excludepkgs
   list

   Exclude packages of this repository,  speci‐
   fied  by a name or a glob and separated by a
   comma, from all operations.  Can be disabled
   using --disableexcludes command line switch.
   Defaults to [].

Put them all together, not a bunch of different definitions.


Note: "separated by a comma" - the commented-out lines were separated
by spaces (I assume these were failed attempts).


excludepkgs=wine*,resolvconf,systemd-resolved

Did work.  I missed what Samuel's said.

This is a regression from Fedora 36.  I updates
the bug report.


It might be a change, but it's not a regression.  It's clearly 
documented in the man page.


Where in the man page does it say you can
only have one entry, so cram it all on
the same line?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is wrong with my dnf exclude for wine?

2023-02-04 Thread Barry


> On 4 Feb 2023, at 08:33, ToddAndMargo via users 
>  wrote:
> 
> On 2/4/23 00:05, Samuel Sieb wrote:
>>> On 2/3/23 21:32, ToddAndMargo via users wrote:
>>> On 2/3/23 20:10, Go Canes wrote:
 On Fri, Feb 3, 2023 at 10:11 PM Todd Zullinger  wrote:
> 
> This is not the way I've ever seen excludepkgs used or
> documented.  The man page states:
> 
> excludepkgs
>list
> 
>Exclude packages of this repository,  speci‐
>fied  by a name or a glob and separated by a
>comma, from all operations.  Can be disabled
>using --disableexcludes command line switch.
>Defaults to [].
> 
> Put them all together, not a bunch of different definitions.
 
 Note: "separated by a comma" - the commented-out lines were separated
 by spaces (I assume these were failed attempts).
>>> 
>>> excludepkgs=wine*,resolvconf,systemd-resolved
>>> 
>>> Did work.  I missed what Samuel's said.
>>> 
>>> This is a regression from Fedora 36.  I updates
>>> the bug report.
>> It might be a change, but it's not a regression.  It's clearly documented in 
>> the man page.
> 
> Where in the man page does it say you can
> only have one entry, so cram it all on
> the same line?

Where does it say you can repeat lines?

I always understood that each tag can only appear once.

> 
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is wrong with my dnf exclude for wine?

2023-02-04 Thread ToddAndMargo via users

On 2/4/23 00:39, Barry wrote:




On 4 Feb 2023, at 08:33, ToddAndMargo via users  
wrote:

On 2/4/23 00:05, Samuel Sieb wrote:

On 2/3/23 21:32, ToddAndMargo via users wrote:
On 2/3/23 20:10, Go Canes wrote:

On Fri, Feb 3, 2023 at 10:11 PM Todd Zullinger  wrote:


This is not the way I've ever seen excludepkgs used or
documented.  The man page states:

 excludepkgs
list

Exclude packages of this repository,  speci‐
fied  by a name or a glob and separated by a
comma, from all operations.  Can be disabled
using --disableexcludes command line switch.
Defaults to [].

Put them all together, not a bunch of different definitions.


Note: "separated by a comma" - the commented-out lines were separated
by spaces (I assume these were failed attempts).


excludepkgs=wine*,resolvconf,systemd-resolved

Did work.  I missed what Samuel's said.

This is a regression from Fedora 36.  I updates
the bug report.

It might be a change, but it's not a regression.  It's clearly documented in 
the man page.


Where in the man page does it say you can
only have one entry, so cram it all on
the same line?


Where does it say you can repeat lines?

I always understood that each tag can only appear once.


Seems I got away with it a lot

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is wrong with my dnf exclude for wine?

2023-02-04 Thread Todd Zullinger
ToddAndMargo via users wrote:
> On 2/4/23 00:39, Barry wrote:
>> 
>> I always understood that each tag can only appear once.
> 
> Seems I got away with it a lot

Multiple excludepkgs entries in dnf.conf don't work in f36
either.  Only the last one is used.

# rpm -q dnf
dnf-4.14.0-1.fc36.noarch
# printf 'excludepkgs=%s\n' 'wine*' 'git*' >>/etc/dnf/dnf.conf
# dnf -qq list wine | cat
Available Packages
wine.i686  8.0-1.fc36   updates
wine.x86_648.0-1.fc36   updates
# sed -i '/^excludepkgs=/d' /etc/dnf/dnf.conf
# printf 'excludepkgs=%s\n' 'git*' 'wine*' >>/etc/dnf/dnf.conf
# dnf -qq list wine
Error: No matching Packages to list
# dnf -qq list git | cat
Available Packages
git.x86_64 2.39.1-1.fc36updates

I'm not sure you got away with anything.  You may not have
noticed it wasn't working as you had hoped. :)

-- 
Todd


signature.asc
Description: PGP signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is wrong with my dnf exclude for wine?

2023-02-04 Thread Jeffrey Walton
On Sat, Feb 4, 2023 at 3:33 AM ToddAndMargo via users
 wrote:
>
> On 2/4/23 00:05, Samuel Sieb wrote:
> > On 2/3/23 21:32, ToddAndMargo via users wrote:
> >> On 2/3/23 20:10, Go Canes wrote:
> >>> On Fri, Feb 3, 2023 at 10:11 PM Todd Zullinger  wrote:
> 
>  This is not the way I've ever seen excludepkgs used or
>  documented.  The man page states:
> 
>  excludepkgs
> list
> 
> Exclude packages of this repository,  speci‐
> fied  by a name or a glob and separated by a
> comma, from all operations.  Can be disabled
> using --disableexcludes command line switch.
> Defaults to [].
> 
>  Put them all together, not a bunch of different definitions.
> >>>
> >>> Note: "separated by a comma" - the commented-out lines were separated
> >>> by spaces (I assume these were failed attempts).
> >>
> >> excludepkgs=wine*,resolvconf,systemd-resolved
> >>
> >> Did work.  I missed what Samuel's said.
> >>
> >> This is a regression from Fedora 36.  I updates
> >> the bug report.
> >
> > It might be a change, but it's not a regression.  It's clearly
> > documented in the man page.
>
> Where in the man page does it say you can
> only have one entry, so cram it all on
> the same line?

I don't see the discussion in the dnf(8) man page after a quick read.
And in particular, the discussion under PACKAGE FILTERING.[1]

I think the use of multiple excludepkgs is intuitive. Each time you
want to pin a package, you add an excludepkgs. When you no longer want
to pin a package, you delete the particular excludepkgs. I also
understand the usage may be one excludepkgs with commas separating a
list of package names. That makes sense, too.

I think this is probably a documentation bug. You should file a bug
report at https://bugzilla.redhat.com/ .

Jeff

[1] https://man7.org/linux/man-pages/man8/dnf.8.html
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: power profiles

2023-02-04 Thread Stephen Morris

On 26/1/23 00:58, Neal Becker wrote:



On Wed, Jan 25, 2023 at 7:14 AM Frederic Muller  wrote:

On 25/01/2023 17:34, Stephen Morris wrote:

On 25/1/23 21:25, Frederic Muller wrote:

On 25/01/2023 17:01, Barry Scott wrote:


On 25/01/2023 06:30, Frederic Muller wrote:

Hi!

It seems i can only stay in Power Saver mode, balanced seems
to be clickable but quickly reverts to Power Saver and
Performance is not even clickable.

Any idea if there is any way to do that 'manually' as my
laptop is really slow now.

[...]



Where do I find the logs?

Where are you finding the power settings. I'm not using a laptop
but in KDE in the system settings under Power Management I don't
seem to have the options you are referring to.


In kde look for "battery and brightness".  I found it under "show 
hidden icons" on the bottom right, I believe that's called the system 
tray?
In my kde desktop in F37, in the "Hidden Icons" drop down in the system 
tray I don't have that option, I have "Power Management" with is the 
same option as in system settings. Also in the Energy Saving option in 
Power Management I don't have a screen brightness entry at all. Am I 
missing a package that should be installed?


regards,
Steve



___
users mailing list --users@lists.fedoraproject.org
To unsubscribe send an email tousers-le...@lists.fedoraproject.org
Fedora Code of 
Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
List 
Archives:https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report 
it:https://pagure.io/fedora-infrastructure/new_issue
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-04 Thread Stephen Morris

Hi,
    I have Adobe Acrobat Reader DC installed in F37 via Snap. When I 
click on a pdf attachment in Thunderbird Daily I get a prompt asking if 
I want to view it in the Ocular default or save the attachment. If I 
click "OK" to display it in Ocular it displays fine.
    When I click on the Drop Down in the prompt and select "Other" to 
display the pdf in something other than Ocular I am not shown Acrobat in 
the list, but if I look at "KDE System Settings->Applications->File 
Associations->application->pdf" Adobe Acrobat is shown as the third 
entry in the list of applications. If I move Adobe Acrobat to the top 
then the prompt from Thunderbird shows Adobe Acrobat as the default as 
expected.
    With the prompt now asking if I want to view the pdf in Acrobat, if 
I click on "OK" Acrobat is launched but produced the error "There was an 
error opening this document. This file cannot be found".  If I edit the 
pdf association entry for Acrobat and add "%U" into the empty Arguments 
text box, in the same way it is specified for the Ocular entry, Acrobat 
still produces the error message that it can't find the file.
    Has the snap process not installed Acrobat correctly, or is the 
file argument for Acrobat not "%U", or is there something else at play here?


regards,
Steve
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is wrong with my dnf exclude for wine?

2023-02-04 Thread Tim via users
On Sat, 2023-02-04 at 13:55 -0500, Jeffrey Walton wrote:
> I think the use of multiple excludepkgs is intuitive. Each time you
> want to pin a package, you add an excludepkgs.

I don't.  It flies in the face of many other configuration files that
I've adjusted.  If I do something like the following in one file:

  setting=this
  setting=that
  setting=something

The setting gets changed on each iteration, and finally becomes just:

  setting=something

Sure, there are *some* exceptions, but *there* the documentation tells
that multiple statements can be used.  e.g. Various servers let you do:

  listen 127.0.0.1:80
  listen 192.168.0.1:8080

So it'll listen on more than one interface and port.

Trying to be logical about it you might want to pick on the absence or
presence of the equals sign, but I highly doubt that's consistent
behaviour.

Sure it could be somewhat of a documentation problem, that it says
nothing about this, though I'm never inclined to do things that docs
don't suggest are possible.  Certainly not without some experimenting,
and always being mindful that undocumented features can never be relied
upon, now or later on.

Back in the days of when we had no compilers and had to program the CPU
directly in op-codes, there were a few undocumented commands that were
nick-named HCF codes (for Halt and Catch Fire).  They worked on some
CPUs and not others.

-- 
 
uname -rsvp
Linux 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is wrong with my dnf exclude for wine?

2023-02-04 Thread Jeffrey Walton
On Sat, Feb 4, 2023 at 11:33 PM Tim  wrote:
>
> On Sat, 2023-02-04 at 13:55 -0500, Jeffrey Walton wrote:
> > I think the use of multiple excludepkgs is intuitive. Each time you
> > want to pin a package, you add an excludepkgs.
>
> I don't.  It flies in the face of many other configuration files that
> I've adjusted.  If I do something like the following in one file:

I hope multiple configuration files in config.d/ directories don't
offend your delicate sensibilities.

Jeff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue