You are not logged in.

#1 2006-04-12 21:41:16

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

gawk and mawk

Looks like mawk has been moved to Extra, and gawk moved to Current. pacman wanted to replace mawk with gawk, so I said yes.

:: Replace mawk with gawk from "current"? [Y/n] 

Remove:  mawk

Targets: gawk-3.1.5-2 kernel26-2.6.16.4-1 mawk-1.3.3-7 php-5.1.2-3

...

checking package integrity... done.
removing mawk... done.
loading package data... done.
checking for file conflicts... done.
installing gawk... done.
upgrading kernel26... done.
>>> Generating initial ramdisk.   Please wait...
>>> Generating fallback ramdisk.  Please wait...
>>> Updating module dependencies. Please wait ...
installing mawk... done.
upgrading php... done.

so... it removed mawk, then downloaded and installed both mawk and gawk.

If I try to remove mawk manually, pacman reports that it's required by autoconf and sysvinit.

Offline

#2 2006-04-12 21:50:59

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: gawk and mawk

I should check a couple other things. pacman -Qi reports several funny things...

mawk says it's required by: autoconf sysvinit
gawk says it's required by: autoconf initscripts man sysvinit
autoconf says it depends on: bash diffutils gawk m4
sysvinit says it depends on: coreutils gawk glibc shadow util-linux

Both mawk and gawk provide awk. they don't conflict. pacman -Si reveals that gawk replaces mawk.

In actual fact, autoconf and sysvinit depend on mawk, and initscripts and man depend on the provided "awk". The true error is the dependency on mawk, however, pacman knows gawk replaces mawk, and that the packages -Qi page says it requires gawk, so it should not have installed mawk again.

Offline

#3 2006-04-13 00:03:39

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: gawk and mawk

Submit a bug report.

Here, autoconf and sysvinit depends on mawk. I guess they should depend on awk (or gawk?).

Offline

#4 2006-04-13 00:28:56

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: gawk and mawk

This post is something to gawk at!!!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2006-04-13 08:33:57

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: gawk and mawk

Everything should depend on "awk" not "gawk" or "mawk" _unless_ they specifically can't run without that version of awk.

So "awk" is what they should have.  Haven't checked bugs yet to see if it's been posted.

Offline

#6 2006-04-13 16:55:13

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: gawk and mawk

I just submitted a bug report.

Offline

#7 2006-04-13 17:02:06

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: gawk and mawk

They actually depend on awk - according to the PKGBUILD files.

Offline

#8 2006-04-13 17:24:31

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: gawk and mawk

True. I think that had to do because initscripts-gensplash was depending on mawk. I changed that dependency to awk. And rebuilt the package. Then I removed mawk with pacman -Rd.

Offline

#9 2006-04-13 20:05:35

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: gawk and mawk

Snowman wrote:

I just submitted a bug report.

Ah shit... I searched for bug reports about gawk and turned up nothing so I submitted one too. :oops:

Offline

#10 2006-04-13 21:08:17

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: gawk and mawk

Yeah, Judd has already marked Snowman's bug report as "fixed and closed".


oz

Offline

#11 2006-04-13 21:49:25

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: gawk and mawk

So which one should we have on our systems now?  I'm lost amid all the mawk/gawk tawlk... big_smile

Offline

#12 2006-04-13 21:52:27

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: gawk and mawk

elasticdog wrote:

So which one should we have on our systems now?  I'm lost amid all the mawk/gawk tawlk... big_smile

Yeah, me too... I've been holding off on upgrading until the dust has settled but I'm still getting the pacman question about replacing mawk with gawk.  It's damned confusing to say the least.   :?


oz

Offline

#13 2006-04-13 22:21:57

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: gawk and mawk

Archlinux.org already has all the packages correct, mawk is no longer present on my system.
Just wait until the mirrors are synced.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#14 2006-04-14 00:00:17

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: gawk and mawk

After reading what Judd wrote about it in Gullible's bug report, it all makes sense now:

http://bugs.archlinux.org/task/4452


oz

Offline

#15 2006-04-14 00:18:11

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: gawk and mawk

Just to clarify a bit what I wrote above. When I said that I rebuilt the package, I didn't changed the community package just the one on my system. I emailed dibble about it though.  I assume he will fix it when he'll be able to.

Offline

Board footer

Powered by FluxBB