public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] unix2dos blocks dos2unix
@ 2014-09-14  7:24 Gevisz
  2014-09-14  7:27 ` Nilesh Govindrajan
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Gevisz @ 2014-09-14  7:24 UTC (permalink / raw
  To: gentoo-user

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?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] unix2dos blocks dos2unix
  2014-09-14  7:24 [gentoo-user] unix2dos blocks dos2unix Gevisz
@ 2014-09-14  7:27 ` Nilesh Govindrajan
  2014-09-14  7:47   ` Gevisz
  2014-09-14  7:32 ` meino.cramer
  2014-09-16 14:16 ` [gentoo-user] " Nikos Chantziaras
  2 siblings, 1 reply; 9+ messages in thread
From: Nilesh Govindrajan @ 2014-09-14  7:27 UTC (permalink / raw
  To: gentoo-user

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.

-- 
Nilesh Govindrajan <me@nileshgr.com>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] unix2dos blocks dos2unix
  2014-09-14  7:24 [gentoo-user] unix2dos blocks dos2unix Gevisz
  2014-09-14  7:27 ` Nilesh Govindrajan
@ 2014-09-14  7:32 ` meino.cramer
  2014-09-14  7:49   ` Gevisz
  2014-09-16 14:16 ` [gentoo-user] " Nikos Chantziaras
  2 siblings, 1 reply; 9+ messages in thread
From: meino.cramer @ 2014-09-14  7:32 UTC (permalink / raw
  To: gentoo-user

Gevisz <gevisz@gmail.com> [14-09-14 09:28]:
> 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?
> 

A shot in the dark:
* app-text/dos2unix
     Available versions:  6.0.3 6.0.5 ~6.0.6 ~7.0 {debug nls test}
     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

* app-text/unix2dos
     Available versions:  2.2-r1
     Homepage:            http://www.xs4all.nl/~waterlan/dos2unix.html
     Description:         UNIX to DOS text file format converter

Since dos2unix does both ways - remove unix2dos and you should be
fine...

Best regards,
mcc




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] unix2dos blocks dos2unix
  2014-09-14  7:27 ` Nilesh Govindrajan
@ 2014-09-14  7:47   ` Gevisz
  2014-09-14  7:59     ` Alan McKinnon
  0 siblings, 1 reply; 9+ messages in thread
From: Gevisz @ 2014-09-14  7:47 UTC (permalink / raw
  To: gentoo-user

On Sun, 14 Sep 2014 12:57:37 +0530
Nilesh Govindrajan <me@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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] unix2dos blocks dos2unix
  2014-09-14  7:32 ` meino.cramer
@ 2014-09-14  7:49   ` Gevisz
  0 siblings, 0 replies; 9+ messages in thread
From: Gevisz @ 2014-09-14  7:49 UTC (permalink / raw
  To: gentoo-user

On Sun, 14 Sep 2014 09:32:40 +0200
meino.cramer@gmx.de wrote:

> Gevisz <gevisz@gmail.com> [14-09-14 09:28]:
> > 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?
> > 
> 
> A shot in the dark:
> * app-text/dos2unix
>      Available versions:  6.0.3 6.0.5 ~6.0.6 ~7.0 {debug nls test}
>      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
> 
> * app-text/unix2dos
>      Available versions:  2.2-r1
>      Homepage:            http://www.xs4all.nl/~waterlan/dos2unix.html
>      Description:         UNIX to DOS text file format converter
> 
> Since dos2unix does both ways - remove unix2dos and you should be
> fine...

Thank you.

> Best regards,
> mcc
> 
> 
> 



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] unix2dos blocks dos2unix
  2014-09-14  7:47   ` Gevisz
@ 2014-09-14  7:59     ` Alan McKinnon
  2014-09-14  8:18       ` gevisz
  0 siblings, 1 reply; 9+ messages in thread
From: Alan McKinnon @ 2014-09-14  7:59 UTC (permalink / raw
  To: gentoo-user

On 14/09/2014 09:47, Gevisz wrote:
> On Sun, 14 Sep 2014 12:57:37 +0530
> Nilesh Govindrajan <me@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.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] unix2dos blocks dos2unix
  2014-09-14  7:59     ` Alan McKinnon
@ 2014-09-14  8:18       ` gevisz
  0 siblings, 0 replies; 9+ messages in thread
From: gevisz @ 2014-09-14  8:18 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

2014-09-14 10:59 GMT+03:00 Alan McKinnon <alan.mckinnon@gmail.com>:
> On 14/09/2014 09:47, Gevisz wrote:
>> On Sun, 14 Sep 2014 12:57:37 +0530
>> Nilesh Govindrajan <me@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

Yes, I have already looked at that page and have the same impression as you.

And the same conviction that in this case unix2dos should be removed from
the portage tree, as well. :)


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: unix2dos blocks dos2unix
  2014-09-14  7:24 [gentoo-user] unix2dos blocks dos2unix Gevisz
  2014-09-14  7:27 ` Nilesh Govindrajan
  2014-09-14  7:32 ` meino.cramer
@ 2014-09-16 14:16 ` Nikos Chantziaras
  2014-09-16 14:43   ` Kerin Millar
  2 siblings, 1 reply; 9+ messages in thread
From: Nikos Chantziaras @ 2014-09-16 14:16 UTC (permalink / raw
  To: gentoo-user

On 14/09/14 10:24, 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.

There's also app-text/tofrodos. It installs two binaries, "todos" and 
"fromdos".  It solved some problems the other tools had (unix2dos and 
dos2unix), but it's been long ago and I don't remember which problems 
they were...



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: unix2dos blocks dos2unix
  2014-09-16 14:16 ` [gentoo-user] " Nikos Chantziaras
@ 2014-09-16 14:43   ` Kerin Millar
  0 siblings, 0 replies; 9+ messages in thread
From: Kerin Millar @ 2014-09-16 14:43 UTC (permalink / raw
  To: gentoo-user

On 16/09/2014 15:16, Nikos Chantziaras wrote:
> On 14/09/14 10:24, 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.
>
> There's also app-text/tofrodos. It installs two binaries, "todos" and
> "fromdos".  It solved some problems the other tools had (unix2dos and
> dos2unix), but it's been long ago and I don't remember which problems
> they were...

Alternatively:

cd /usr/local/bin; echo dos2unix unix2dos | xargs -n1 ln -s /bin/busybox

--Kerin


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-09-16 14:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-14  7:24 [gentoo-user] unix2dos blocks dos2unix Gevisz
2014-09-14  7:27 ` Nilesh Govindrajan
2014-09-14  7:47   ` Gevisz
2014-09-14  7:59     ` Alan McKinnon
2014-09-14  8:18       ` gevisz
2014-09-14  7:32 ` meino.cramer
2014-09-14  7:49   ` Gevisz
2014-09-16 14:16 ` [gentoo-user] " Nikos Chantziaras
2014-09-16 14:43   ` Kerin Millar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox