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