Gentoo Archives: gentoo-user

From: gevisz <gevisz@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] unix2dos blocks dos2unix
Date: Sun, 14 Sep 2014 08:18:49
Message-Id: CA+t6X7cG8BSHuku2gpNNEzGNVnnnu1UAEHP5C8U0cCRf6gVkWQ@mail.gmail.com
In Reply to: Re: [gentoo-user] unix2dos blocks dos2unix by Alan McKinnon
1 2014-09-14 10:59 GMT+03:00 Alan McKinnon <alan.mckinnon@×××××.com>:
2 > On 14/09/2014 09:47, Gevisz wrote:
3 >> On Sun, 14 Sep 2014 12:57:37 +0530
4 >> Nilesh Govindrajan <me@××××××××.com> wrote:
5 >>
6 >>> On Sun, 2014-09-14 at 10:24 +0300, Gevisz wrote:
7 >>>> I have just installed unix2dos utility
8 >>>> (never had a need to use it before) and
9 >>>> just after that tried to install dos2unix
10 >>>> but the installation of dos2unix failed
11 >>>> complaining on the fact that
12 >>>>
13 >>>> "app-text/unix2dos" is blocking app-text/dos2unix-6.0.5
14 >>>>
15 >>>> I find it very strange as I think that if someone
16 >>>> needs unix2dos utility he usually also needs dos2unix
17 >>>> utility, especially taking into account that unix2dos
18 >>>> by default overwrites its input file.
19 >>>>
20 >>>> This is the output from the emerge command:
21 >>>>
22 >>>> # emerge --ask dos2unix
23 >>>>
24 >>>> These are the packages that would be merged, in order:
25 >>>>
26 >>>> Calculating dependencies... done!
27 >>>> [ebuild N ] app-text/dos2unix-6.0.5 USE="nls -debug"
28 >>>> [blocks B ] app-text/unix2dos ("app-text/unix2dos" is blocking
29 >>>> app-text/dos2unix-6.0.5)
30 >>>> [blocks B ] >=app-text/dos2unix-5 (">=app-text/dos2unix-5" is
31 >>>> blocking app-text/unix2dos-2.2-r1)
32 >>>>
33 >>>> * Error: The above package list contains packages which cannot be
34 >>>> * installed at the same time on the same system.
35 >>>>
36 >>>> (app-text/dos2unix-6.0.5::gentoo, ebuild scheduled for merge)
37 >>>> pulled in by dos2unix
38 >>>>
39 >>>> (app-text/unix2dos-2.2-r1::gentoo, installed) pulled in by
40 >>>> app-text/unix2dos required by @selected
41 >>>>
42 >>>>
43 >>>> For more information about Blocked Packages, please refer to the
44 >>>> following section of the Gentoo Linux x86 Handbook (architecture is
45 >>>> irrelevant):
46 >>>>
47 >>>> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
48 >>>>
49 >>>> Any thought?
50 >>>>
51 >>>
52 >>> % eix dos2unix
53 >>> 14-09-14 - 12:56:42
54 >>> * app-text/dos2unix
55 >>> Available versions: 6.0.3 6.0.5 (~)6.0.6 {debug nls}
56 >>> Homepage: http://www.xs4all.nl/~waterlan/dos2unix.html
57 >>> http://sourceforge.net/projects/dos2unix/
58 >>> Description: Convert DOS or MAC text files to UNIX format
59 >>> or ***vice versa***
60 >>>
61 >>>
62 >>> dos2unix handles both, that's why.
63 >>>
64 >>
65 >> Ok, thak you. I have only checked that unix2dos converts one way.
66 >> But, anyway, it is unexpected behavior.
67 >
68 > Not really. Look at both packages in eix, they have vastly different
69 > version numbers but they both have the same homepage:
70 >
71 > "In 2010 the two separate dos2unix and unix2dos packages have been
72 > bundled into a single dos2unix package (version 5.0). Support for
73 > Unicode UTF-16 was added in 2012 (version 6.0)."
74 >
75 > Visualize the name as having "<->" instead of "2" :-)
76 >
77 > From a first glance, I'd guess that unix2dos has been obsolete
78 > (superceded?) for 4 years and should be removed from the tree
79
80 Yes, I have already looked at that page and have the same impression as you.
81
82 And the same conviction that in this case unix2dos should be removed from
83 the portage tree, as well. :)