On 14/09/2014 09:47, Gevisz wrote:
> On Sun, 14 Sep 2014 12:57:37 +0530
> Nilesh Govindrajan <m...@nileshgr.com> wrote:
> 
>> On Sun, 2014-09-14 at 10:24 +0300, Gevisz wrote:
>>> I have just installed unix2dos utility
>>> (never had a need to use it before) and
>>> just after that tried to install dos2unix
>>> but the installation of dos2unix failed
>>> complaining on the fact that
>>>
>>> "app-text/unix2dos" is blocking app-text/dos2unix-6.0.5
>>>
>>> I find it very strange as I think that if someone
>>> needs unix2dos utility he usually also needs dos2unix
>>> utility, especially taking into account that unix2dos
>>> by default overwrites its input file.
>>>
>>> This is the output from the emerge command:
>>>
>>> # emerge --ask dos2unix
>>>
>>> These are the packages that would be merged, in order:
>>>
>>> Calculating dependencies... done!
>>> [ebuild  N     ] app-text/dos2unix-6.0.5  USE="nls -debug" 
>>> [blocks B      ] app-text/unix2dos ("app-text/unix2dos" is blocking
>>> app-text/dos2unix-6.0.5)
>>> [blocks B      ] >=app-text/dos2unix-5 (">=app-text/dos2unix-5" is
>>> blocking app-text/unix2dos-2.2-r1)
>>>
>>>  * Error: The above package list contains packages which cannot be
>>>  * installed at the same time on the same system.
>>>
>>>   (app-text/dos2unix-6.0.5::gentoo, ebuild scheduled for merge)
>>> pulled in by dos2unix
>>>
>>>   (app-text/unix2dos-2.2-r1::gentoo, installed) pulled in by
>>>     app-text/unix2dos required by @selected
>>>
>>>
>>> For more information about Blocked Packages, please refer to the
>>> following section of the Gentoo Linux x86 Handbook (architecture is
>>> irrelevant):
>>>
>>> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
>>>
>>> Any thought?
>>>
>>
>> % eix dos2unix
>> 14-09-14 - 12:56:42
>> * app-text/dos2unix
>>      Available versions:  6.0.3 6.0.5 (~)6.0.6 {debug nls}
>>      Homepage:            http://www.xs4all.nl/~waterlan/dos2unix.html
>> http://sourceforge.net/projects/dos2unix/
>>      Description:         Convert DOS or MAC text files to UNIX format
>> or ***vice versa***
>>
>>
>> dos2unix handles both, that's why.
>>
> 
> Ok, thak you. I have only checked that unix2dos converts one way.
> But, anyway, it is unexpected behavior.

Not really. Look at both packages in eix, they have vastly different
version numbers but they both have the same homepage:

"In 2010 the two separate dos2unix and unix2dos packages have been
bundled into a single dos2unix package (version 5.0). Support for
Unicode UTF-16 was added in 2012 (version 6.0)."

Visualize the name as having "<->" instead of "2" :-)

>From a first glance, I'd guess that unix2dos has been obsolete
(superceded?) for 4 years and should be removed from the tree



-- 
Alan McKinnon
alan.mckin...@gmail.com


Reply via email to