Re: Parole needs H.264 decoder to play this file

2015-10-04 Thread Paul Smith
On Sun, Oct 4, 2015 at 1:42 PM, Paul Smith  wrote:
>
> After today's updates, I get the following error with Parole:
>
> "Parole needs H.264 decoder to play this file.
> It can be installed automatically."
>
> What can I do to fix the problem?

Let me add that I cannot even get sound on YouTube videos.

Paul
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Richard Shaw
I'm assuming this is DNF and not some other change...

Yum allowed multiple kernel-devel packages to be installed, dnf does not,
which prevents you from building kernel modules for other kernel releases.

Was there a good reason for this change in behavior?

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Parole needs H.264 decoder to play this file

2015-10-04 Thread Paul Smith
Dear All,

After today's updates, I get the following error with Parole:

"Parole needs H.264 decoder to play this file.
It can be installed automatically."

What can I do to fix the problem?

Thanks in advance,

Paul
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fix a txt/dat file with soccer data using awk and sort

2015-10-04 Thread Stephen Davies

On 04/10/15 12:53, Antonio Olivares wrote:

Dear fedora users,

I have a file table.dat with team data ie, Wins Loses Draws Goals For, Goals 
Against, Total Points as follows:

$ cat table.dat
TeamW   L   D   GF  GA  DIF PTS
Team1   3   2   1   13  17
Team2   2   3   1   14  13
Team3   6   0   0   28  13
Team4   0   6   0   5   23
Team5   0   0   0   0   0
$ awk '{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8 "\t" $5-$6, 
"\t" $2*3+$3*0+$4*1}' table.dat
TeamW   L   D   GF  GA  DIF PTS 0   0
Team1   3   2   1   13  17  -4  10
Team2   2   3   1   14  13  1   7
Team3   6   0   0   28  13  15  18
Team4   0   6   0   5   23  -18 0
Team5   0   0   0   0   0   0   0
bash-4.3$

I can get the DIF by subtracting the 5th - 6th and get the goal differential, 
and the points by multiplying the Wins by 3 and the loses by 0 and the ties by 
1 and get the points.  I am not expert, but instead of using a spreadsheet I 
would like to use awk as the example shows, but I would like the DIF to be 
under DIF and the points under PTS, how can I accomplish this?  Also if it were 
possible which I do not see why not?  is how can I sort the teams by the ones 
higher in the table?

For example, I would like to do something like:

http://www.premierleague.com/en-gb/matchday/league-table.html/

http://www.mlssoccer.com/standings

http://www.mediotiempo.com/tabla_general.php?id_liga=1

but only using awk/sed/sort no spreadsheet, no database only nice 
unix/linux/bsd tools

Also add a variation, if the teams tie in regulation, then overtime kicks(extra 
time) and/or penalty kicks to determine a winner.  If the team wins in overtime 
or penalty kicks the winning team earns two points and the loser earns one 
point only

TeamW   L   D   GF  GA  OT/PKS   DIF PTS
Team1   3   2   1   13  17
Team2   2   3   1   14  13
Team3   6   0   0   28  13
Team4   0   6   0   5   23
Team5   0   0   0   0   0

Here Team1 ties with Team2 and they go into overtime and remain tied in 
Overtime.  After the overtime, they go into Penalty Kicks.  Team2 beats Team1 
in PKS and earns two points, in the overall PTS

team1 earns 10 total pts, and team2 should have 8 pts.  But the awk command on 
top gives 7 points because it does not take into account PKS.

awk '{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8 "\t" $5-$6, 
"\t" $2*3+$3*0+$4*1}' table.dat

how can it be done so that the table prints out correctly and in the OT/PKS 
line, the team that wins gets a 1:0 and the losing team gets a 0:1 and each 
time they tie and go in to OT, a running tally gets going 2:0 or 1:1 depending 
if they split the games.

Thank you in advance for suggestions and advice.  I am discovering awk that one 
can do math to lists and tables it is awesome.  I did not know this, I just 
used sed -i 's|*|x|g' file to replace text x with *.

Best Regards,


Antonio


Send your photos by email in seconds...
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if3
Works in all emails, instant messengers, blogs, forums and social networks.



One way could be as follows:

script:
#!/bin/sh
gawk -f dat.awk dat
gawk -f dat2.awk dat | sort -t' ' -k8n

dat.awk:
NR==1   {print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8;exit}

dat2.awk:
NR==1   {next}
{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $5-$6 "\t" 
$2*3+$3*0+$4*1}


Result:
TeamW   L   D   GF  GA  DIF PTS
Team4   0   6   0   5   23  -18 0
Team5   0   0   0   0   0   0   0
Team2   2   3   1   14  13  1   7
Team1   3   2   1   13  17  -4  10
Team3   6   0   0   28  13  15  18

You should also be able to set OFS to tab to eliminate the "\t" literals.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fix a txt/dat file with soccer data using awk and sort

2015-10-04 Thread Jon LaBadie
On Sat, Oct 03, 2015 at 06:23:38PM -0800, Antonio Olivares wrote:
> Dear fedora users,
> 
> I have a file table.dat with team data ie, Wins Loses Draws Goals For, Goals 
> Against, Total Points as follows:
> 
> $ cat table.dat 
> TeamW   L   D   GF  GA  DIF PTS
> Team1   3   2   1   13  17
> Team2   2   3   1   14  13
> Team3   6   0   0   28  13
> Team4   0   6   0   5   23
> Team5   0   0   0   0   0
> $ awk '{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8 "\t" 
> $5-$6, "\t" $2*3+$3*0+$4*1}' table.dat
> TeamW   L   D   GF  GA  DIF PTS 0   0
> Team1   3   2   1   13  17  -4  10
> Team2   2   3   1   14  13  1   7
> Team3   6   0   0   28  13  15  18
> Team4   0   6   0   5   23  -18 0
> Team5   0   0   0   0   0   0   0
> bash-4.3$
> 
> I can get the DIF by subtracting the 5th - 6th and get the goal differential, 
> and the points by multiplying the Wins by 3 and the loses by 0 and the ties 
> by 1 and get the points.  I am not expert, but instead of using a spreadsheet 
> I would like to use awk as the example shows, but I would like the DIF to be 
> under DIF and the points under PTS, how can I accomplish this?  Also if it 
> were possible which I do not see why not?  is how can I sort the teams by the 
> ones higher in the table?  

Here is a shot at it.  Assumptions include the team names are
longer than shown so I left room for up to 15 chars and for
the sorting to work as I have it, the names can not have spaces.

awk '
BEGIN { SortCmd = "sort -nr -k 8" }

NR == 1 {
printf "%-15s %5s %5s %5s %6s %6s %6s %6s\n",
"TEAM", "W", "L", "D", "GF", "GA", "DIF", "PTS"
}

NR > 1 {
dif = $5 - $6
pts = $2 * 3 + $4
printf "%-15s %5d %5d %5d %6d %6d %6d %6d\n",
$1, $2, $3, $4, $5, $6, dif, pts | SortCmd
}
' datafile

> 
> For example, I would like to do something like:
> 
> http://www.premierleague.com/en-gb/matchday/league-table.html/
> 
> http://www.mlssoccer.com/standings
> 
> http://www.mediotiempo.com/tabla_general.php?id_liga=1
> 
> but only using awk/sed/sort no spreadsheet, no database only nice 
> unix/linux/bsd tools
> 
> Also add a variation, if the teams tie in regulation, then overtime 
> kicks(extra time) and/or penalty kicks to determine a winner.  If the team 
> wins in overtime or penalty kicks the winning team earns two points and the 
> loser earns one point only 
> 
> TeamW   L   D   GF  GA  OT/PKS   DIF PTS
> Team1   3   2   1   13  17 
> Team2   2   3   1   14  13
> Team3   6   0   0   28  13
> Team4   0   6   0   5   23
> Team5   0   0   0   0   0
> 
> Here Team1 ties with Team2 and they go into overtime and remain tied in 
> Overtime.  After the overtime, they go into Penalty Kicks.  Team2 beats Team1 
> in PKS and earns two points, in the overall PTS 
> 
> team1 earns 10 total pts, and team2 should have 8 pts.  But the awk command 
> on top gives 7 points because it does not take into account PKS.  
> 
> awk '{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8 "\t" 
> $5-$6, "\t" $2*3+$3*0+$4*1}' table.dat
> 
> how can it be done so that the table prints out correctly and in the OT/PKS 
> line, the team that wins gets a 1:0 and the losing team gets a 0:1 and each 
> time they tie and go in to OT, a running tally gets going 2:0 or 1:1 
> depending if they split the games.  
> 
> Thank you in advance for suggestions and advice.  I am discovering awk that 
> one can do math to lists and tables it is awesome.  I did not know this, I 
> just used sed -i 's|*|x|g' file to replace text x with *. 
> 

I'm unclear about what is needed for your second variation.
It seems that the input data should have numbers in the PKS
column indicating how many extra points they should receive.
In that case, simply adjust the terms calculating "pts"
(something like pts = $2 * 3 + $4 + $7) and the corresponding
arguments to printf.

-- 
Jon H. LaBadie jo...@jgcomp.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Ed Greshko
On 10/04/2015 09:06 PM, Richard Shaw wrote:
> I'm assuming this is DNF and not some other change...
>
> Yum allowed multiple kernel-devel packages to be installed, dnf does not, 
> which prevents you from building kernel modules for other kernel releases. 
>
> Was there a good reason for this change in behavior? 

[egreshko@meimei ~]$ rpm -qa | grep kernel-devel
kernel-devel-4.1.6-201.fc22.x86_64
kernel-devel-4.1.8-200.fc22.x86_64
kernel-devel-4.1.7-200.fc22.x86_64

[egreshko@meimei ~]$ uname -r
4.1.8-200.fc22.x86_64

Check your dnf.conf file that it has

installonly_limit=3

-- 
In reality, some people should stick to running Windows and others should stay 
away from computers altogether.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[SOLVED] Re: dracut fails to include support for md RAID

2015-10-04 Thread Alex
So despite grub2 acknowledging that the currently running system has
RAID support, provides a hint for the md device, loads the mdraid1x
and other RAID drivers and modules, it for some reason changed to not
automatically starting any RAID devices on boot.

Added "rd.auto" to the linux16 command line and it works now. So frustrating.

How could it work fine for one kernel of the release then all of the
sudden have the default change for another kernel version?!? wtf,
fedora.

I suppose adding "rd.md.uuid=..." may have been enough to prompt it to
start the arrays.

On Sun, Oct 4, 2015 at 1:03 AM, Alex  wrote:
> HI,
>
> I have a fedora22 system that's been working fine for some time, but
> any new kernels fail to boot properly. The system is configured with
> /boot and / on RAID1. The rdsosreport.txt that dracut produces shows
> no indication of md RAID support in /proc/mdstat and no RAID devices
> listed with blkid or in /dev.
>
> I've tried rebuilding the initramfs images manually on the running
> system and it still doesn't include RAID support.
>
> What could be causing grub and/or dracut to not detect the RAID
> devices or include support for them?
>
> I've included my grub2.cfg and fstab, and fdisk output.
>
> Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: gpt
> Disk identifier: 76D351F7-9CB4-4F70-A62F-2903227191B3
>
> Device Start   End   Sectors   Size Type
> /dev/sda1   2048   1026047   1024000   500M Linux RAID
> /dev/sda21026048 476162047 475136000 226.6G Linux RAID
> /dev/sda3  476162048 484550655   8388608 4G Linux swap
> /dev/sda4  484550656 484552703  2048 1M BIOS boot
>
> Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: gpt
> Disk identifier: 1861B0D0-EA55-418B-B179-B6BB700EEAC7
>
> Device Start   End   Sectors   Size Type
> /dev/sdb1   2048   1026047   1024000   500M Linux RAID
> /dev/sdb21026048 476162047 475136000 226.6G Linux RAID
> /dev/sdb3  476162048 484550655   8388608 4G Linux swap
> /dev/sdb4  484550656 484552703  2048 1M BIOS boot
>
> fstab:
> UUID=64ce5a40-bd28-460f-965b-ec43fd1eb2f7 /   ext4defaults
>1 1
> UUID=96187b22-1ad9-4d44-a35a-89b746e270ee /boot   ext4
> defaults1 2
> /dev/sda3   swapswap
>  defaults  0 0
> /dev/sdb3   swapswap
>  defaults  0 0
>
> ### BEGIN /etc/grub.d/00_header ###
> insmod raid
> insmod mdraid09
> insmod mdraid1x
> set pager=1
>
> if [ -s $prefix/grubenv ]; then
>   load_env
> fi
> if [ "${next_entry}" ] ; then
>set default="${next_entry}"
>set next_entry=
>save_env next_entry
>set boot_once=true
> else
>set default="0"
> fi
>
> if [ x"${feature_menuentry_id}" = xy ]; then
>   menuentry_id_option="--id"
> else
>   menuentry_id_option=""
> fi
>
> export menuentry_id_option
>
> if [ "${prev_saved_entry}" ]; then
>   set saved_entry="${prev_saved_entry}"
>   save_env saved_entry
>   set prev_saved_entry=
>   save_env prev_saved_entry
>   set boot_once=true
> fi
>
> function savedefault {
>   if [ -z "${boot_once}" ]; then
> saved_entry="${chosen}"
> save_env saved_entry
>   fi
> }
>
> function load_video {
>   if [ x$feature_all_video_module = xy ]; then
> insmod all_video
>   else
> insmod efi_gop
> insmod efi_uga
> insmod ieee1275_fb
> insmod vbe
> insmod vga
> insmod video_bochs
> insmod video_cirrus
>   fi
> }
>
> if [ x$feature_default_font_path = xy ] ; then
>font=unicode
> else
> insmod part_gpt
> insmod part_gpt
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/485085777ca70c519fcb92fd471164a4'
> if [ x$feature_platform_search_hint = xy ]; then
>   search --no-floppy --fs-uuid --set=root
> --hint='mduuid/485085777ca70c519fcb92fd471164a4'
> 64ce5a40-bd28-460f-965b-ec43fd1eb2f7
> else
>   search --no-floppy --fs-uuid --set=root 64ce5a40-bd28-460f-965b-ec43fd1eb2f7
> fi
> font="/usr/share/grub/unicode.pf2"
> fi
>
> if loadfont $font ; then
>   set gfxmode=auto
>   load_video
>   insmod gfxterm
>   set locale_dir=$prefix/locale
>   set lang=en_US
>   insmod gettext
> fi
> terminal_output gfxterm
> if [ x$feature_timeout_style = xy ] ; then
>   set timeout_style=menu
>   set timeout=5
> # Fallback normal timeout code in case the timeout_style feature is
> # unavailable.
> else
>   set timeout=5
> fi
> ### END /etc/grub.d/00_header ###
>
> ### BEGIN /etc/grub.d/10_linux ###
> menuentry 'Fedora 22 (Twenty Two)' --class fedora --class gnu-linux
> --class gnu --class os 

Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Richard Shaw
On Sun, Oct 4, 2015 at 8:35 AM, Ed Greshko  wrote:

> On 10/04/2015 09:06 PM, Richard Shaw wrote:
> > I'm assuming this is DNF and not some other change...
> >
> > Yum allowed multiple kernel-devel packages to be installed, dnf does
> not, which prevents you from building kernel modules for other kernel
> releases.
> >
> > Was there a good reason for this change in behavior?
>
> [egreshko@meimei ~]$ rpm -qa | grep kernel-devel
> kernel-devel-4.1.6-201.fc22.x86_64
> kernel-devel-4.1.8-200.fc22.x86_64
> kernel-devel-4.1.7-200.fc22.x86_64
>

# rpm -q kernel
kernel-4.1.5-100.fc21.x86_64
kernel-4.1.6-100.fc21.x86_64
kernel-4.1.7-100.fc21.x86_64

# rpm -q kernel-devel
kernel-devel-4.1.7-100.fc21.x86_64


Check your dnf.conf file that it has
>
> installonly_limit=3


 # cat /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=true

No clue what's going on here...

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Parole needs H.264 decoder to play this file

2015-10-04 Thread Paul Smith
On Sun, Oct 4, 2015 at 1:58 PM, Paul Smith  wrote:
>>
>> After today's updates, I get the following error with Parole:
>>
>> "Parole needs H.264 decoder to play this file.
>> It can be installed automatically."
>>
>> What can I do to fix the problem?
>
> Let me add that I cannot even get sound on YouTube videos.

Now, YouTube videos work just fine.

Moreover, my videos can now play with

gst-launch playbin2 uri=file:///path/to/file

but not with Parole, with which the problem persists. I remember that
Parole was one of the today's updates.

Paul
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Parole needs H.264 decoder to play this file

2015-10-04 Thread Paul Smith
On Sun, Oct 4, 2015 at 6:10 PM, Paul Smith  wrote:
>>>
>>> After today's updates, I get the following error with Parole:
>>>
>>> "Parole needs H.264 decoder to play this file.
>>> It can be installed automatically."
>>>
>>> What can I do to fix the problem?
>>
>> Let me add that I cannot even get sound on YouTube videos.
>
> Now, YouTube videos work just fine.
>
> Moreover, my videos can now play with
>
> gst-launch playbin2 uri=file:///path/to/file
>
> but not with Parole, with which the problem persists. I remember that
> Parole was one of the today's updates.

I got he problem fixed after

dnf downgrade parole

Paul
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Tox Instant Messaging (replacement of Skype)

2015-10-04 Thread Dario Lesca
Someone have a recent binary of Tox for Fedora?
 
https://tox.chat/

or, someone is working on it ?

I have found this old sub-project:
https://copr.fedoraproject.org/coprs/gnikandrov/tox-im/

But it is not update.

Many thanks for info.

-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Richard Shaw
On Sun, Oct 4, 2015 at 9:35 AM, Ed Greshko  wrote:

> On 10/04/2015 10:33 PM, Richard Shaw wrote:
> > No clue what's going on here...
> >
>
> Can you simply install the previous ones to see if they will install.


# dnf install kernel-devel-4.1.5-100.fc21.x86_64
Local Packages for Fedora 21 38 MB/s | 110 kB 00:00

Using metadata from Fri Oct  2 13:14:42 2015 (1 day, 20:27:47 hours old)
No package kernel-devel-4.1.5-100.fc21.x86_64 available.
Error: no package matched: kernel-devel-4.1.5-100.fc21.x86_64

Doesn't look like it...

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Ed Greshko
On 10/04/2015 10:50 PM, Richard Shaw wrote:
> Documentation[1] to the rescue, you just have to know where to look because 
> it isn't kernel specific...
>
> Added this to dnf.conf:
> installonlypkgs=kernel,kernel-devel
>
> And now it's not removing kernel-devel... I'm not sure if the kernel one is 
> needed (not sure where the defaults come from and if they're overwritten when 
> you specify it yourself).
>
> Question remains, this is the first time I've modified my settings so why is 
> my system behaving differently?

Well, what I showed you was my F22 system.  I booted an F21 VM and found it to 
be like yours.  Only one kernel-devel installed.  Will have to look more in my 
morning.

-- 
In reality, some people should stick to running Windows and others should stay 
away from computers altogether.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


(SOLVED) Re: fix a txt/dat file with soccer data using awk and sort

2015-10-04 Thread Antonio Olivares


> -Original Message-
> From: jo...@jgcomp.com
> Sent: Sun, 04 Oct 2015 01:01:26 -0400
> To: users@lists.fedoraproject.org
> Subject: Re: fix a txt/dat file with soccer data using awk and sort
> 
> On Sat, Oct 03, 2015 at 06:23:38PM -0800, Antonio Olivares wrote:
>> Dear fedora users,
>> 
>> I have a file table.dat with team data ie, Wins Loses Draws Goals For,
>> Goals Against, Total Points as follows:
>> 
>> $ cat table.dat
>> TeamW   L   D   GF  GA  DIF PTS
>> Team1   3   2   1   13  17
>> Team2   2   3   1   14  13
>> Team3   6   0   0   28  13
>> Team4   0   6   0   5   23
>> Team5   0   0   0   0   0
>> $ awk '{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8
>> "\t" $5-$6, "\t" $2*3+$3*0+$4*1}' table.dat
>> TeamW   L   D   GF  GA  DIF PTS 0
>> 0
>> Team1   3   2   1   13  17  -4
>> 10
>> Team2   2   3   1   14  13  1
>> 7
>> Team3   6   0   0   28  13  15
>> 18
>> Team4   0   6   0   5   23  -18
>> 0
>> Team5   0   0   0   0   0   0
>> 0
>> bash-4.3$
>> 
>> I can get the DIF by subtracting the 5th - 6th and get the goal
>> differential, and the points by multiplying the Wins by 3 and the loses
>> by 0 and the ties by 1 and get the points.  I am not expert, but instead
>> of using a spreadsheet I would like to use awk as the example shows, but
>> I would like the DIF to be under DIF and the points under PTS, how can I
>> accomplish this?  Also if it were possible which I do not see why not?
>> is how can I sort the teams by the ones higher in the table?
> 
> Here is a shot at it.  Assumptions include the team names are
> longer than shown so I left room for up to 15 chars and for
> the sorting to work as I have it, the names can not have spaces.
> 
> awk '
> BEGIN { SortCmd = "sort -nr -k 8" }
> 
> NR == 1 {
>   printf "%-15s %5s %5s %5s %6s %6s %6s %6s\n",
>   "TEAM", "W", "L", "D", "GF", "GA", "DIF", "PTS"
> }
> 
> NR > 1 {
>   dif = $5 - $6
>   pts = $2 * 3 + $4
>   printf "%-15s %5d %5d %5d %6d %6d %6d %6d\n",
>   $1, $2, $3, $4, $5, $6, dif, pts | SortCmd
> }
> ' datafile
> 
This achieves the goal that was set.  The only thing is how can I call it from 
script with a different datafile, instead of writing the datafile each time.  
ie, 

save the above instructions to a file called teamstats.sh.  In it, datafile 
would be teams1.dat.  How can I call it/script with different teams.dat?  so it 
can run nicely.  

>> 
>> For example, I would like to do something like:
>> 
>> http://www.premierleague.com/en-gb/matchday/league-table.html/
>> 
>> http://www.mlssoccer.com/standings
>> 
>> http://www.mediotiempo.com/tabla_general.php?id_liga=1
>> 
>> but only using awk/sed/sort no spreadsheet, no database only nice
>> unix/linux/bsd tools
>> 
>> Also add a variation, if the teams tie in regulation, then overtime
>> kicks(extra time) and/or penalty kicks to determine a winner.  If the
>> team wins in overtime or penalty kicks the winning team earns two points
>> and the loser earns one point only
>> 
>> TeamW   L   D   GF  GA  OT/PKS   DIF PTS
>> Team1   3   2   1   13  17
>> Team2   2   3   1   14  13
>> Team3   6   0   0   28  13
>> Team4   0   6   0   5   23
>> Team5   0   0   0   0   0
>> 
>> Here Team1 ties with Team2 and they go into overtime and remain tied in
>> Overtime.  After the overtime, they go into Penalty Kicks.  Team2 beats
>> Team1 in PKS and earns two points, in the overall PTS
>> 
>> team1 earns 10 total pts, and team2 should have 8 pts.  But the awk
>> command on top gives 7 points because it does not take into account PKS.
>> 
>> awk '{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8
>> "\t" $5-$6, "\t" $2*3+$3*0+$4*1}' table.dat
>> 
>> how can it be done so that the table prints out correctly and in the
>> OT/PKS line, the team that wins gets a 1:0 and the losing team gets a
>> 0:1 and each time they tie and go in to OT, a running tally gets going
>> 2:0 or 1:1 depending if they split the games.
>> 
>> Thank you in advance for suggestions and advice.  I am discovering awk
>> that one can do math to lists and tables it is awesome.  I did not know
>> this, I just used sed -i 's|*|x|g' file to replace text x with *.
>> 
> 
> I'm unclear about what is needed for your second variation.
> It seems that the input data should have numbers in the PKS
> column indicating how many extra points they should receive.
> In that case, simply adjust the terms calculating "pts"
> (something like pts = $2 * 3 + $4 + $7) and the corresponding
> arguments to printf.
> 

I got it to work, however I had 

Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Ed Greshko
On 10/04/2015 10:33 PM, Richard Shaw wrote:
> No clue what's going on here...
>

Can you simply install the previous ones to see if they will install.

-- 
In reality, some people should stick to running Windows and others should stay 
away from computers altogether.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Richard Shaw
Documentation[1] to the rescue, you just have to know where to look because
it isn't kernel specific...

Added this to dnf.conf:
installonlypkgs=kernel,kernel-devel

And now it's not removing kernel-devel... I'm not sure if the kernel one is
needed (not sure where the defaults come from and if they're overwritten
when you specify it yourself).

Question remains, this is the first time I've modified my settings so why
is my system behaving differently?

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: kmod-nvidia-304xx and dnf

2015-10-04 Thread Joe Zeff

On 10/04/2015 11:40 AM, Javier Perez wrote:

I can solve it easily by booting to the former kernel, but I wonder. Is
there a way to keep the kernel from being ujpdated if the corresponding
kmod-nvidia package is not available to be updated as well?


Yes: use akmod-nvidia, which will build a new kmod at boot if needed. 
Personally, I use both because the kmod is quicker if available, and the 
akmod can be used as a backup for it.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Suvayu Ali
On Sun, Oct 04, 2015 at 08:06:42AM -0500, Richard Shaw wrote:
> I'm assuming this is DNF and not some other change...
> 
> Yum allowed multiple kernel-devel packages to be installed, dnf does not,
> which prevents you from building kernel modules for other kernel releases.
> 
> Was there a good reason for this change in behavior?

This is not true.

  $ rpm -q kernel-devel | sort
  kernel-devel-4.0.4-202.fc21.x86_64
  kernel-devel-4.1.5-200.fc22.x86_64
  kernel-devel-4.1.6-200.fc22.x86_64
  kernel-devel-4.1.6-201.fc22.x86_64
  kernel-devel-4.1.7-200.fc22.x86_64
  kernel-devel-4.1.8-200.fc22.x86_64

Maybe you are confusing with kernel-headers?  If that is the case, it
has been like that for ages.  And usually that should not be a problem,
specially between minor releases (as is the case for a given Fedora
release).

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: dracut fails to include support for md RAID

2015-10-04 Thread Bill Shirley

I ran into this or something similar.  My system would boot fine on
an older kernel but fail on a new oue.  Can't remember which one worked
and which didn't. The solution I found was remove the bitmap, re-boot on
the newer kernel, and add the bitmap back.

# remove
mdadm --grow --bitmap=none /dev/md127

# create - but not while resyncing
mdadm --grow --bitmap=internal /dev/md127

HTH,
Bill


On 10/4/2015 1:03 AM, Alex wrote:

HI,

I have a fedora22 system that's been working fine for some time, but
any new kernels fail to boot properly. The system is configured with
/boot and / on RAID1. The rdsosreport.txt that dracut produces shows
no indication of md RAID support in /proc/mdstat and no RAID devices
listed with blkid or in /dev.

I've tried rebuilding the initramfs images manually on the running
system and it still doesn't include RAID support.

What could be causing grub and/or dracut to not detect the RAID
devices or include support for them?

I've included my grub2.cfg and fstab, and fdisk output.

Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 76D351F7-9CB4-4F70-A62F-2903227191B3

Device Start   End   Sectors   Size Type
/dev/sda1   2048   1026047   1024000   500M Linux RAID
/dev/sda21026048 476162047 475136000 226.6G Linux RAID
/dev/sda3  476162048 484550655   8388608 4G Linux swap
/dev/sda4  484550656 484552703  2048 1M BIOS boot

Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1861B0D0-EA55-418B-B179-B6BB700EEAC7

Device Start   End   Sectors   Size Type
/dev/sdb1   2048   1026047   1024000   500M Linux RAID
/dev/sdb21026048 476162047 475136000 226.6G Linux RAID
/dev/sdb3  476162048 484550655   8388608 4G Linux swap
/dev/sdb4  484550656 484552703  2048 1M BIOS boot

fstab:
UUID=64ce5a40-bd28-460f-965b-ec43fd1eb2f7 /   ext4defaults
1 1
UUID=96187b22-1ad9-4d44-a35a-89b746e270ee /boot   ext4
defaults1 2
/dev/sda3   swapswap
  defaults  0 0
/dev/sdb3   swapswap
  defaults  0 0

### BEGIN /etc/grub.d/00_header ###
insmod raid
insmod mdraid09
insmod mdraid1x
set pager=1

if [ -s $prefix/grubenv ]; then
   load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
   menuentry_id_option="--id"
else
   menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
   set saved_entry="${prev_saved_entry}"
   save_env saved_entry
   set prev_saved_entry=
   save_env prev_saved_entry
   set boot_once=true
fi

function savedefault {
   if [ -z "${boot_once}" ]; then
 saved_entry="${chosen}"
 save_env saved_entry
   fi
}

function load_video {
   if [ x$feature_all_video_module = xy ]; then
 insmod all_video
   else
 insmod efi_gop
 insmod efi_uga
 insmod ieee1275_fb
 insmod vbe
 insmod vga
 insmod video_bochs
 insmod video_cirrus
   fi
}

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod part_gpt
insmod diskfilter
insmod mdraid1x
insmod ext2
set root='mduuid/485085777ca70c519fcb92fd471164a4'
if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root
--hint='mduuid/485085777ca70c519fcb92fd471164a4'
64ce5a40-bd28-460f-965b-ec43fd1eb2f7
else
   search --no-floppy --fs-uuid --set=root 64ce5a40-bd28-460f-965b-ec43fd1eb2f7
fi
 font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
   set gfxmode=auto
   load_video
   insmod gfxterm
   set locale_dir=$prefix/locale
   set lang=en_US
   insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
   set timeout_style=menu
   set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
   set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora 22 (Twenty Two)' --class fedora --class gnu-linux
--class gnu --class os --unrestricted $menuentry_id_option
'gnulinux-simple-64ce5a40-bd28-460f-965b-ec43fd1eb2f7' {
 load_video
 set gfxpayload=keep
 insmod gzio
 insmod part_gpt
 insmod part_gpt
 insmod diskfilter
 insmod mdraid1x
 insmod ext2
 set root='mduuid/7d1bec3121f39ea4c90f78a6083e81e9'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root

Re: (SOLVED) Re: fix a txt/dat file with soccer data using awk and sort

2015-10-04 Thread Jon LaBadie
On Sun, Oct 04, 2015 at 08:52:00AM -0800, Antonio Olivares wrote:
> 
> 
> > -Original Message-
> > From: jo...@jgcomp.com
> > Sent: Sun, 04 Oct 2015 01:01:26 -0400
> > To: users@lists.fedoraproject.org
> > Subject: Re: fix a txt/dat file with soccer data using awk and sort
> > 
> > On Sat, Oct 03, 2015 at 06:23:38PM -0800, Antonio Olivares wrote:
> >> Dear fedora users,
> >> 
> >> I have a file table.dat with team data ie, Wins Loses Draws Goals For,
> >> Goals Against, Total Points as follows:
> >> 
> >> $ cat table.dat
> >> TeamW   L   D   GF  GA  DIF PTS
> >> Team1   3   2   1   13  17
> >> Team2   2   3   1   14  13
> >> Team3   6   0   0   28  13
> >> Team4   0   6   0   5   23
> >> Team5   0   0   0   0   0
> >> $ awk '{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8
> >> "\t" $5-$6, "\t" $2*3+$3*0+$4*1}' table.dat
> >> TeamW   L   D   GF  GA  DIF PTS 0
> >> 0
> >> Team1   3   2   1   13  17  -4
> >> 10
> >> Team2   2   3   1   14  13  1
> >> 7
> >> Team3   6   0   0   28  13  15
> >> 18
> >> Team4   0   6   0   5   23  -18
> >> 0
> >> Team5   0   0   0   0   0   0
> >> 0
> >> bash-4.3$
> >> 
> >> I can get the DIF by subtracting the 5th - 6th and get the goal
> >> differential, and the points by multiplying the Wins by 3 and the loses
> >> by 0 and the ties by 1 and get the points.  I am not expert, but instead
> >> of using a spreadsheet I would like to use awk as the example shows, but
> >> I would like the DIF to be under DIF and the points under PTS, how can I
> >> accomplish this?  Also if it were possible which I do not see why not?
> >> is how can I sort the teams by the ones higher in the table?
> > 
> > Here is a shot at it.  Assumptions include the team names are
> > longer than shown so I left room for up to 15 chars and for
> > the sorting to work as I have it, the names can not have spaces.
> > 
> > awk '
> > BEGIN { SortCmd = "sort -nr -k 8" }
> > 
> > NR == 1 {
> > printf "%-15s %5s %5s %5s %6s %6s %6s %6s\n",
> > "TEAM", "W", "L", "D", "GF", "GA", "DIF", "PTS"
> > }
> > 
> > NR > 1 {
> > dif = $5 - $6
> > pts = $2 * 3 + $4
> > printf "%-15s %5d %5d %5d %6d %6d %6d %6d\n",
> > $1, $2, $3, $4, $5, $6, dif, pts | SortCmd
> > }
> > ' datafile
> > 
> This achieves the goal that was set.  The only thing is how can I call it
> from script with a different datafile, instead of writing the datafile
> each time.  ie, save the above instructions to a file called teamstats.sh.
> In it, datafile would be teams1.dat.  How can I call it/script with
> different teams.dat?  so it can run nicely.  
> 

Yes, put it into a file and make the file executable.

To work with different data files, change my "datafile" argument to
"$1" or perhaps "${1:?need a data file name}".  Then you would
execute it as "progname datafile".

BTW personally I avoid naming a program with its language
as an extension.  Your program is "teamstats".  Why do you
care that it is a shell script, a python script, a compiled
C program or ???

For example, suppose in the future you decide to rewrite it
in python.  Now it would be called teamstats.py.  But people
are used to running teamstats.sh.  You have to "retrain" them.
If you leave off the extension no retraining is needed.



-- 
Jon H. LaBadie jo...@jgcomp.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


kmod-nvidia-304xx and dnf

2015-10-04 Thread Javier Perez
I have a problem. It happened also with yum, therefore it is not unique to
dnf, but dnf inherited the task of updating the system.

Oftentimes, the kernel is updated and the corresponding kmod-nvidia package
is not yet published. If I update the system, the kernel is updated, but
because the kmod-nvidia package is not likewise updated, I end up with a
black screen.

I can solve it easily by booting to the former kernel, but I wonder. Is
there a way to keep the kernel from being ujpdated if the corresponding
kmod-nvidia package is not available to be updated as well?

-- 
--
 /\_/\
 |O O|  pepeb...@gmail.com
  Javier Perez
   While the night runs
   toward the day...
  m m   Pepebuho watches
from his high perch.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: kmod-nvidia-304xx and dnf

2015-10-04 Thread Javier Perez
can I install both at the same time? Won't they crash and conflict with
each other?

On Sun, Oct 4, 2015 at 2:32 PM, Joe Zeff  wrote:

> On 10/04/2015 11:40 AM, Javier Perez wrote:
>
>> I can solve it easily by booting to the former kernel, but I wonder. Is
>> there a way to keep the kernel from being ujpdated if the corresponding
>> kmod-nvidia package is not available to be updated as well?
>>
>
> Yes: use akmod-nvidia, which will build a new kmod at boot if needed.
> Personally, I use both because the kmod is quicker if available, and the
> akmod can be used as a backup for it.
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>



-- 
--
 /\_/\
 |O O|  pepeb...@gmail.com
  Javier Perez
   While the night runs
   toward the day...
  m m   Pepebuho watches
from his high perch.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: dracut fails to include support for md RAID

2015-10-04 Thread Alex
Hi,

> I ran into this or something similar.  My system would boot fine on
> an older kernel but fail on a new oue.  Can't remember which one worked
> and which didn't. The solution I found was remove the bitmap, re-boot on
> the newer kernel, and add the bitmap back.
>
> # remove
> mdadm --grow --bitmap=none /dev/md127
>
> # create - but not while resyncing
> mdadm --grow --bitmap=internal /dev/md127

How did you ever discover this was the cause, and know what to do to fix it?

Thanks,
Alex
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: kmod-nvidia-304xx and dnf

2015-10-04 Thread Joe Zeff

On 10/04/2015 02:00 PM, Javier Perez wrote:

can I install both at the same time? Won't they crash and conflict with
each other?


I've been using both for years without trouble.  If there's a kmod for 
the current kernel, akmod simply exits.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: kmod-nvidia-304xx and dnf

2015-10-04 Thread Javier Perez
ok, I'll try that. Thanks

On Sun, Oct 4, 2015 at 4:40 PM, Joe Zeff  wrote:

> On 10/04/2015 02:00 PM, Javier Perez wrote:
>
>> can I install both at the same time? Won't they crash and conflict with
>> each other?
>>
>
> I've been using both for years without trouble.  If there's a kmod for the
> current kernel, akmod simply exits.
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>



-- 
--
 /\_/\
 |O O|  pepeb...@gmail.com
  Javier Perez
   While the night runs
   toward the day...
  m m   Pepebuho watches
from his high perch.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Ed Greshko
On 10/05/2015 05:21 AM, Suvayu Ali wrote:
> On Sun, Oct 04, 2015 at 08:06:42AM -0500, Richard Shaw wrote:
>> I'm assuming this is DNF and not some other change...
>>
>> Yum allowed multiple kernel-devel packages to be installed, dnf does not,
>> which prevents you from building kernel modules for other kernel releases.
>>
>> Was there a good reason for this change in behavior?
> This is not true.
>
>   $ rpm -q kernel-devel | sort
>   kernel-devel-4.0.4-202.fc21.x86_64
>   kernel-devel-4.1.5-200.fc22.x86_64
>   kernel-devel-4.1.6-200.fc22.x86_64
>   kernel-devel-4.1.6-201.fc22.x86_64
>   kernel-devel-4.1.7-200.fc22.x86_64
>   kernel-devel-4.1.8-200.fc22.x86_64
>
> Maybe you are confusing with kernel-headers?  If that is the case, it
> has been like that for ages.  And usually that should not be a problem,
> specially between minor releases (as is the case for a given Fedora
> release).
>

I think you had not read the entire thread before you responded.  We later 
discovered him to be on F21 and indeed on my F21 VM I confirmed

[root@f21 dnf]# rpm -q kernel
kernel-4.0.7-200.fc21.x86_64
kernel-4.1.6-100.fc21.x86_64
kernel-4.1.7-100.fc21.x86_64

[root@f21 dnf]# rpm -q kernel-devel
kernel-devel-4.1.7-100.fc21.x86_64

[root@f21 dnf]# uname -r
4.1.7-100.fc21.x86_64

F22, on the other hand, is "better"


-- 
In reality, some people should stick to running Windows and others should stay 
away from computers altogether.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Ed Greshko
On 10/05/2015 06:05 AM, Kevin Cummings wrote:
> On 10/04/15 17:45, Ed Greshko wrote:
>> On 10/05/2015 05:21 AM, Suvayu Ali wrote:
>>> On Sun, Oct 04, 2015 at 08:06:42AM -0500, Richard Shaw wrote:
 I'm assuming this is DNF and not some other change...

 Yum allowed multiple kernel-devel packages to be installed, dnf does not,
 which prevents you from building kernel modules for other kernel releases.

 Was there a good reason for this change in behavior?
>>> This is not true.
>>>
>>>   $ rpm -q kernel-devel | sort
>>>   kernel-devel-4.0.4-202.fc21.x86_64
>>>   kernel-devel-4.1.5-200.fc22.x86_64
>>>   kernel-devel-4.1.6-200.fc22.x86_64
>>>   kernel-devel-4.1.6-201.fc22.x86_64
>>>   kernel-devel-4.1.7-200.fc22.x86_64
>>>   kernel-devel-4.1.8-200.fc22.x86_64
>>>
>>> Maybe you are confusing with kernel-headers?  If that is the case, it
>>> has been like that for ages.  And usually that should not be a problem,
>>> specially between minor releases (as is the case for a given Fedora
>>> release).
>>>
>> I think you had not read the entire thread before you responded.  We later 
>> discovered him to be on F21 and indeed on my F21 VM I confirmed
>>
>> [root@f21 dnf]# rpm -q kernel
>> kernel-4.0.7-200.fc21.x86_64
>> kernel-4.1.6-100.fc21.x86_64
>> kernel-4.1.7-100.fc21.x86_64
>>
>> [root@f21 dnf]# rpm -q kernel-devel
>> kernel-devel-4.1.7-100.fc21.x86_64
>>
>> [root@f21 dnf]# uname -r
>> 4.1.7-100.fc21.x86_64
> Not my experience, I have:
>
> # rpm -q kernel
> kernel-4.1.4-100.fc21.x86_64
> kernel-4.1.5-100.fc21.x86_64
> kernel-4.1.6-100.fc21.x86_64
> kernel-4.1.7-100.fc21.x86_64
> kernel-4.1.8-100.fc21.x86_64
> # rpm -q kernel-devel
> kernel-devel-4.1.4-100.fc21.x86_64
> kernel-devel-4.1.5-100.fc21.x86_64
> kernel-devel-4.1.6-100.fc21.x86_64
> kernel-devel-4.1.7-100.fc21.x86_64
> kernel-devel-4.1.8-100.fc21.x86_64
>
> What I do not use is dnf, I'm still using yum  Yet another instance
> of dnf not working the same as yum.
>
>> F22, on the other hand, is "better"

And that is why I said "F22 is better".

With the same configuration for dnf in F22 the kernel-devel packages remain.   
Should have made that clear.

-- 
In reality, some people should stick to running Windows and others should stay 
away from computers altogether.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Kevin Cummings
On 10/04/15 17:45, Ed Greshko wrote:
> On 10/05/2015 05:21 AM, Suvayu Ali wrote:
>> On Sun, Oct 04, 2015 at 08:06:42AM -0500, Richard Shaw wrote:
>>> I'm assuming this is DNF and not some other change...
>>>
>>> Yum allowed multiple kernel-devel packages to be installed, dnf does not,
>>> which prevents you from building kernel modules for other kernel releases.
>>>
>>> Was there a good reason for this change in behavior?
>> This is not true.
>>
>>   $ rpm -q kernel-devel | sort
>>   kernel-devel-4.0.4-202.fc21.x86_64
>>   kernel-devel-4.1.5-200.fc22.x86_64
>>   kernel-devel-4.1.6-200.fc22.x86_64
>>   kernel-devel-4.1.6-201.fc22.x86_64
>>   kernel-devel-4.1.7-200.fc22.x86_64
>>   kernel-devel-4.1.8-200.fc22.x86_64
>>
>> Maybe you are confusing with kernel-headers?  If that is the case, it
>> has been like that for ages.  And usually that should not be a problem,
>> specially between minor releases (as is the case for a given Fedora
>> release).
>>
> 
> I think you had not read the entire thread before you responded.  We later 
> discovered him to be on F21 and indeed on my F21 VM I confirmed
> 
> [root@f21 dnf]# rpm -q kernel
> kernel-4.0.7-200.fc21.x86_64
> kernel-4.1.6-100.fc21.x86_64
> kernel-4.1.7-100.fc21.x86_64
> 
> [root@f21 dnf]# rpm -q kernel-devel
> kernel-devel-4.1.7-100.fc21.x86_64
> 
> [root@f21 dnf]# uname -r
> 4.1.7-100.fc21.x86_64

Not my experience, I have:

# rpm -q kernel
kernel-4.1.4-100.fc21.x86_64
kernel-4.1.5-100.fc21.x86_64
kernel-4.1.6-100.fc21.x86_64
kernel-4.1.7-100.fc21.x86_64
kernel-4.1.8-100.fc21.x86_64
# rpm -q kernel-devel
kernel-devel-4.1.4-100.fc21.x86_64
kernel-devel-4.1.5-100.fc21.x86_64
kernel-devel-4.1.6-100.fc21.x86_64
kernel-devel-4.1.7-100.fc21.x86_64
kernel-devel-4.1.8-100.fc21.x86_64

What I do not use is dnf, I'm still using yum  Yet another instance
of dnf not working the same as yum.

> F22, on the other hand, is "better"
> 
> 

-- 
Kevin J. Cummings
kjch...@verizon.net
cummi...@kjchome.homeip.net
cummi...@kjc386.framingham.ma.us
Registered Linux User #1232 (http://www.linuxcounter.net/)
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Suvayu Ali
On Mon, Oct 05, 2015 at 05:45:09AM +0800, Ed Greshko wrote:
> On 10/05/2015 05:21 AM, Suvayu Ali wrote:
> > On Sun, Oct 04, 2015 at 08:06:42AM -0500, Richard Shaw wrote:
> >> I'm assuming this is DNF and not some other change...
> >>
> >> Yum allowed multiple kernel-devel packages to be installed, dnf does not,
> >> which prevents you from building kernel modules for other kernel releases.
> >>
> >> Was there a good reason for this change in behavior?
> > This is not true.
> >
> >   $ rpm -q kernel-devel | sort
> >   kernel-devel-4.0.4-202.fc21.x86_64
> >   kernel-devel-4.1.5-200.fc22.x86_64
> >   kernel-devel-4.1.6-200.fc22.x86_64
> >   kernel-devel-4.1.6-201.fc22.x86_64
> >   kernel-devel-4.1.7-200.fc22.x86_64
> >   kernel-devel-4.1.8-200.fc22.x86_64
> >
> > Maybe you are confusing with kernel-headers?  If that is the case, it
> > has been like that for ages.  And usually that should not be a problem,
> > specially between minor releases (as is the case for a given Fedora
> > release).
> >
> 
> I think you had not read the entire thread before you responded.  We later 
> discovered him to be on F21 and indeed on my F21 VM I confirmed

Indeed!  I noticed after I had responded.  I guess a backport bug report
is in order against dnf.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF: Only one kernel-devel package allowed?

2015-10-04 Thread Ed Greshko
On 10/05/2015 08:33 AM, Suvayu Ali wrote:
> Indeed!  I noticed after I had responded.  I guess a backport bug report
> is in order against dnf.

Well, with F21 going EOL soon and the fact that you've discovered the need to 
make a change to the config file would seem to make this unnecessary.

-- 
In reality, some people should stick to running Windows and others should stay 
away from computers altogether.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org