public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 16:19 [gentoo-user] Why can't I emerge telnet? Alan Mackenzie
@ 2011-04-07 16:05 ` Jeremy McSpadden
  2011-04-07 20:13   ` Alan Mackenzie
  2011-04-07 16:09 ` Mark Knecht
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 21+ messages in thread
From: Jeremy McSpadden @ 2011-04-07 16:05 UTC (permalink / raw
  To: gentoo-user

[I] net-misc/netkit-telnetd
     Available versions:  0.17-r6 0.17-r8 ~0.17-r9 ~0.17-r10
     Installed versions:  0.17-r8(04:51:44 11/19/09)
     Homepage:            ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
     Description:         Standard Linux telnet client and server

learn to search portage. either "eix" or "emerge -s"

Jeremy

On Apr 7, 2011, at 11:19 AM, Alan Mackenzie wrote:

> Hi, Gentoo!
> 
> I would like a telnet client installed on my gentoo amd64 system.  When I
> try
>        emerge telnet
> , I get told that telnet doesn't exist.
> 
> What am I doing wrong?  Is there a telnet client on gentoo?
> 
> -- 
> Alan Mackenzie (Nuremberg, Germany).
> 
> 
> 






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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 16:19 [gentoo-user] Why can't I emerge telnet? Alan Mackenzie
  2011-04-07 16:05 ` Jeremy McSpadden
@ 2011-04-07 16:09 ` Mark Knecht
  2011-04-07 16:18   ` Paul Hartman
  2011-04-07 16:13 ` Peter Ruskin
  2011-04-07 19:06 ` Mick
  3 siblings, 1 reply; 21+ messages in thread
From: Mark Knecht @ 2011-04-07 16:09 UTC (permalink / raw
  To: gentoo-user; +Cc: Alan Mackenzie

On Thu, Apr 7, 2011 at 9:19 AM, Alan Mackenzie <acm@muc.de> wrote:
> Hi, Gentoo!
>
> I would like a telnet client installed on my gentoo amd64 system.  When I
> try
>        emerge telnet
> , I get told that telnet doesn't exist.
>
> What am I doing wrong?  Is there a telnet client on gentoo?
>
> --
> Alan Mackenzie (Nuremberg, Germany).
>
>

telnet-bsd has a telnet client. (I think...)

- Mark



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 16:19 [gentoo-user] Why can't I emerge telnet? Alan Mackenzie
  2011-04-07 16:05 ` Jeremy McSpadden
  2011-04-07 16:09 ` Mark Knecht
@ 2011-04-07 16:13 ` Peter Ruskin
  2011-04-07 19:06 ` Mick
  3 siblings, 0 replies; 21+ messages in thread
From: Peter Ruskin @ 2011-04-07 16:13 UTC (permalink / raw
  To: gentoo-user

On Thursday 07 April 2011 17:19:24 Alan Mackenzie wrote:
> Hi, Gentoo!
>
> I would like a telnet client installed on my gentoo amd64 system.
>  When I try
>         emerge telnet
> , I get told that telnet doesn't exist.
>
> What am I doing wrong?  Is there a telnet client on gentoo?

net-misc/netkit-telnetd

-- 
Peter
========================================================================
Gentoo Linux: Portage 2.2.0_alpha28		kernel-2.6.37-gentoo
AMD Phenom(tm) 9950 Quad-Core Processor		gcc(Gentoo: 4.5.2)
KDE: 3.5.10					Qt: 3.3.8b
========================================================================



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 16:09 ` Mark Knecht
@ 2011-04-07 16:18   ` Paul Hartman
  0 siblings, 0 replies; 21+ messages in thread
From: Paul Hartman @ 2011-04-07 16:18 UTC (permalink / raw
  To: gentoo-user

On Thu, Apr 7, 2011 at 11:09 AM, Mark Knecht <markknecht@gmail.com> wrote:
> On Thu, Apr 7, 2011 at 9:19 AM, Alan Mackenzie <acm@muc.de> wrote:
>> Hi, Gentoo!
>>
>> I would like a telnet client installed on my gentoo amd64 system.  When I
>> try
>>        emerge telnet
>> , I get told that telnet doesn't exist.
>>
>> What am I doing wrong?  Is there a telnet client on gentoo?
>>
>> --
>> Alan Mackenzie (Nuremberg, Germany).
>>
>>
>
> telnet-bsd has a telnet client. (I think...)

there is also netkit-telnetd (and net-misc/putty if you're so
inclined)... or net-misc/tn5250 if you're dealing with AS/400's

And probably more :)



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

* [gentoo-user] Why can't I emerge telnet?
@ 2011-04-07 16:19 Alan Mackenzie
  2011-04-07 16:05 ` Jeremy McSpadden
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Alan Mackenzie @ 2011-04-07 16:19 UTC (permalink / raw
  To: gentoo-user

Hi, Gentoo!

I would like a telnet client installed on my gentoo amd64 system.  When I
try
        emerge telnet
, I get told that telnet doesn't exist.

What am I doing wrong?  Is there a telnet client on gentoo?

-- 
Alan Mackenzie (Nuremberg, Germany).



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 16:19 [gentoo-user] Why can't I emerge telnet? Alan Mackenzie
                   ` (2 preceding siblings ...)
  2011-04-07 16:13 ` Peter Ruskin
@ 2011-04-07 19:06 ` Mick
  3 siblings, 0 replies; 21+ messages in thread
From: Mick @ 2011-04-07 19:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1037 bytes --]

On Thursday 07 April 2011 17:19:24 Alan Mackenzie wrote:
> Hi, Gentoo!
> 
> I would like a telnet client installed on my gentoo amd64 system.  When I
> try
>         emerge telnet
> , I get told that telnet doesn't exist.
> 
> What am I doing wrong?  Is there a telnet client on gentoo?

As others said there's more than one option, not forgetting netcat:

nc -t address <port>

However, you don't need to install anything if you don't want to, because 
busybox contains a telnet client and daemon.

Just create a symlink from your /usr/local/bin/telnet to /bin/busybox:

# ln -s /bin/busybox /usr/local/bin/telnet

$ ls -la /usr/local/bin/telnet
lrwxrwxrwx 1 root root 12 Jan 30 12:24 /usr/local/bin/telnet -> /bin/busybox

$ telnet
BusyBox v1.17.4 (2010-12-26 22:07:56 GMT) multi-call binary.

Usage: telnet [-a] [-l USER] HOST [PORT]

Connect to telnet server

Options:
	-a	Automatic login with $USER variable
	-l USER	Automatic login as USER

Or just run:

$ busybox telnet
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 20:13   ` Alan Mackenzie
@ 2011-04-07 20:10     ` Mark Knecht
  2011-04-07 21:45       ` Peter Humphrey
  2011-04-07 20:14     ` Dale
  1 sibling, 1 reply; 21+ messages in thread
From: Mark Knecht @ 2011-04-07 20:10 UTC (permalink / raw
  To: gentoo-user; +Cc: Alan Mackenzie

On Thu, Apr 7, 2011 at 1:13 PM, Alan Mackenzie <acm@muc.de> wrote:
> Hi, Jeremy.
>
> On Thu, Apr 07, 2011 at 11:05:41AM -0500, Jeremy McSpadden wrote:
>> [I] net-misc/netkit-telnetd
>>      Available versions:  0.17-r6 0.17-r8 ~0.17-r9 ~0.17-r10
>>      Installed versions:  0.17-r8(04:51:44 11/19/09)
>>      Homepage:            ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
>>      Description:         Standard Linux telnet client and server
>
> Thanks, I've installed this and it seems to work.
>
>> learn to search portage. either "eix" or "emerge -s"
>
> That I'll have to do.  I'm not fully comfortable with emerge yet.
>
>> Jeremy
>
> --
> Alan Mackenzie (Nuremberg, Germany).

OK, then teaching a man to fish, you'd try


mark@c2stable ~ $ eix -c telnet
[N] dev-java/telnetd (2.0): A telnet daemon for use in java applications
[N] dev-perl/Net-Telnet (3.03-r1): A Telnet Perl Module
[N] dev-perl/Net-Telnet-Cisco (1.10): Automate telnet sessions w/
routers&switches
[N] net-misc/netkit-telnetd (0.17-r6): Standard Linux telnet client and server
[I] net-misc/telnet-bsd (1.2-r1@01/21/11): Telnet and telnetd ported
from OpenBSD with IPv6 support
[N] net-misc/utelnetd (~0.1.9-r1): A small Telnet daemon, derived from
the Axis tools
[N] sec-policy/selinux-telnet (--): SELinux policy for general applications
Found 7 matches.
mark@c2stable ~ $

mark@c2stable ~ $ equery files telnet-bsd | grep bin
/usr/bin
/usr/bin/telnet
/usr/sbin
/usr/sbin/in.telnetd
mark@c2stable ~ $

and you have an answer.

In this case telnet, the binary executable, can be provided by
multiple packages, but this gets you much closer than you were.

Good luck, learn the distro and ask questions.

Cheers,
Mark



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 16:05 ` Jeremy McSpadden
@ 2011-04-07 20:13   ` Alan Mackenzie
  2011-04-07 20:10     ` Mark Knecht
  2011-04-07 20:14     ` Dale
  0 siblings, 2 replies; 21+ messages in thread
From: Alan Mackenzie @ 2011-04-07 20:13 UTC (permalink / raw
  To: gentoo-user

Hi, Jeremy.

On Thu, Apr 07, 2011 at 11:05:41AM -0500, Jeremy McSpadden wrote:
> [I] net-misc/netkit-telnetd
>      Available versions:  0.17-r6 0.17-r8 ~0.17-r9 ~0.17-r10
>      Installed versions:  0.17-r8(04:51:44 11/19/09)
>      Homepage:            ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
>      Description:         Standard Linux telnet client and server

Thanks, I've installed this and it seems to work.

> learn to search portage. either "eix" or "emerge -s"

That I'll have to do.  I'm not fully comfortable with emerge yet.

> Jeremy

-- 
Alan Mackenzie (Nuremberg, Germany).



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 20:13   ` Alan Mackenzie
  2011-04-07 20:10     ` Mark Knecht
@ 2011-04-07 20:14     ` Dale
  2011-04-07 20:30       ` Joost Roeleveld
  1 sibling, 1 reply; 21+ messages in thread
From: Dale @ 2011-04-07 20:14 UTC (permalink / raw
  To: gentoo-user

Alan Mackenzie wrote:
> Hi, Jeremy.
>
> On Thu, Apr 07, 2011 at 11:05:41AM -0500, Jeremy McSpadden wrote:
>    
>> [I] net-misc/netkit-telnetd
>>       Available versions:  0.17-r6 0.17-r8 ~0.17-r9 ~0.17-r10
>>       Installed versions:  0.17-r8(04:51:44 11/19/09)
>>       Homepage:            ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
>>       Description:         Standard Linux telnet client and server
>>      
> Thanks, I've installed this and it seems to work.
>
>    
>> learn to search portage. either "eix" or "emerge -s"
>>      
> That I'll have to do.  I'm not fully comfortable with emerge yet.
>
>    
>> Jeremy
>>      
>    

Sounds like you are new.  Interesting commands:  The "q" family.  Just 
do a "man q" and check it out since there is a few of them.  There is 
also eix, genlop which sort of has some common tools as the "q" family.  
You also need use eselect from time to time as well.  There are also 
times when revdep-rebuild will rear its head too.

That should be a start and I'm sure someone will point out one or two I 
missed as well.  ;-)

Dale

:-)  :-)



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 20:14     ` Dale
@ 2011-04-07 20:30       ` Joost Roeleveld
  2011-04-07 21:21         ` Mark Knecht
  2011-04-07 22:53         ` Matthew Finkel
  0 siblings, 2 replies; 21+ messages in thread
From: Joost Roeleveld @ 2011-04-07 20:30 UTC (permalink / raw
  To: gentoo-user

On Thursday 07 April 2011 15:14:43 Dale wrote:
> Alan Mackenzie wrote:
> > Hi, Jeremy.
> > 
> > On Thu, Apr 07, 2011 at 11:05:41AM -0500, Jeremy McSpadden wrote:
> >> [I] net-misc/netkit-telnetd
> >> 
> >>       Available versions:  0.17-r6 0.17-r8 ~0.17-r9 ~0.17-r10
> >>       Installed versions:  0.17-r8(04:51:44 11/19/09)
> >>       Homepage:           
> >>       ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
> >>       Description:         Standard Linux telnet client and
> >>       server
> > 
> > Thanks, I've installed this and it seems to work.
> > 
> >> learn to search portage. either "eix" or "emerge -s"
> > 
> > That I'll have to do.  I'm not fully comfortable with emerge yet.
> > 
> >> Jeremy
> 
> Sounds like you are new.  Interesting commands:  The "q" family.  Just
> do a "man q" and check it out since there is a few of them.  There is
> also eix, genlop which sort of has some common tools as the "q" family.
> You also need use eselect from time to time as well.  There are also
> times when revdep-rebuild will rear its head too.
> 
> That should be a start and I'm sure someone will point out one or two I
> missed as well.  ;-)

To search for specific packages, I think Dale and Mark did a good set.
As for the others, like "revdep-rebuild", there is also "python-updater" and 
"etc-update".

The last "etc-update" is only really needed when doing upgrades. I would like 
to recommend you try these commands before you are too dependent on the 
installation.
Making mistakes while learning is a good method, but can also be extremely 
frustrating when these same mistakes keep you from enjoying the use of the 
computer. (Yes, I am speaking from personal experience ;) )

--
Joost



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 20:30       ` Joost Roeleveld
@ 2011-04-07 21:21         ` Mark Knecht
  2011-04-13 22:45           ` Alex Schuster
  2011-04-07 22:53         ` Matthew Finkel
  1 sibling, 1 reply; 21+ messages in thread
From: Mark Knecht @ 2011-04-07 21:21 UTC (permalink / raw
  To: gentoo-user; +Cc: Joost Roeleveld

On Thu, Apr 7, 2011 at 1:30 PM, Joost Roeleveld <joost@antarean.org> wrote:
> On Thursday 07 April 2011 15:14:43 Dale wrote:
>> Alan Mackenzie wrote:
>> > Hi, Jeremy.
>> >
>> > On Thu, Apr 07, 2011 at 11:05:41AM -0500, Jeremy McSpadden wrote:
>> >> [I] net-misc/netkit-telnetd
>> >>
>> >>       Available versions:  0.17-r6 0.17-r8 ~0.17-r9 ~0.17-r10
>> >>       Installed versions:  0.17-r8(04:51:44 11/19/09)
>> >>       Homepage:
>> >>       ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
>> >>       Description:         Standard Linux telnet client and
>> >>       server
>> >
>> > Thanks, I've installed this and it seems to work.
>> >
>> >> learn to search portage. either "eix" or "emerge -s"
>> >
>> > That I'll have to do.  I'm not fully comfortable with emerge yet.
>> >
>> >> Jeremy
>>
>> Sounds like you are new.  Interesting commands:  The "q" family.  Just
>> do a "man q" and check it out since there is a few of them.  There is
>> also eix, genlop which sort of has some common tools as the "q" family.
>> You also need use eselect from time to time as well.  There are also
>> times when revdep-rebuild will rear its head too.
>>
>> That should be a start and I'm sure someone will point out one or two I
>> missed as well.  ;-)
>
> To search for specific packages, I think Dale and Mark did a good set.
> As for the others, like "revdep-rebuild", there is also "python-updater" and
> "etc-update".
>
> The last "etc-update" is only really needed when doing upgrades. I would like
> to recommend you try these commands before you are too dependent on the
> installation.
> Making mistakes while learning is a good method, but can also be extremely
> frustrating when these same mistakes keep you from enjoying the use of the
> computer. (Yes, I am speaking from personal experience ;) )
>
> --
> Joost

Let's potentially add

module-rebuild -X rebuild

to the list of little gems that keep Gentoo systems happy when
installing a new kernel.

Cheers,
Mark



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 20:10     ` Mark Knecht
@ 2011-04-07 21:45       ` Peter Humphrey
  2011-04-07 22:08         ` Mark Knecht
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2011-04-07 21:45 UTC (permalink / raw
  To: gentoo-user

On Thursday 07 April 2011 21:10:32 Mark Knecht wrote:

> mark@c2stable ~ $ equery files telnet-bsd | grep bin

Which of course he can't do until after he's installed the package.

-- 
Rgds
Peter



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 21:45       ` Peter Humphrey
@ 2011-04-07 22:08         ` Mark Knecht
  2011-04-07 22:47           ` Dale
  0 siblings, 1 reply; 21+ messages in thread
From: Mark Knecht @ 2011-04-07 22:08 UTC (permalink / raw
  To: gentoo-user; +Cc: Peter Humphrey

On Thu, Apr 7, 2011 at 2:45 PM, Peter Humphrey <peter@humphrey.ukfsn.org> wrote:
> On Thursday 07 April 2011 21:10:32 Mark Knecht wrote:
>
>> mark@c2stable ~ $ equery files telnet-bsd | grep bin
>
> Which of course he can't do until after he's installed the package.
>
> --
> Rgds
> Peter

Damn. You're right. My bad.

Well, had he used eix (or emerge -s telnet) at least he would have
determined that he had the wrong package name.

- Mark



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 22:08         ` Mark Knecht
@ 2011-04-07 22:47           ` Dale
  2011-04-07 22:59             ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Dale @ 2011-04-07 22:47 UTC (permalink / raw
  To: gentoo-user

Mark Knecht wrote:
> On Thu, Apr 7, 2011 at 2:45 PM, Peter Humphrey<peter@humphrey.ukfsn.org>  wrote:
>    
>> On Thursday 07 April 2011 21:10:32 Mark Knecht wrote:
>>
>>      
>>> mark@c2stable ~ $ equery files telnet-bsd | grep bin
>>>        
>> Which of course he can't do until after he's installed the package.
>>
>> --
>> Rgds
>> Peter
>>      
> Damn. You're right. My bad.
>
> Well, had he used eix (or emerge -s telnet) at least he would have
> determined that he had the wrong package name.
>
> - Mark
>
>
>    

I mistyped a package name the other day and portage actually made 
suggestions as to what I meant to type.  O_O  I think the devs are 
trying to program in some ESP code.  lol

Dale

:-)  :-)



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 20:30       ` Joost Roeleveld
  2011-04-07 21:21         ` Mark Knecht
@ 2011-04-07 22:53         ` Matthew Finkel
  1 sibling, 0 replies; 21+ messages in thread
From: Matthew Finkel @ 2011-04-07 22:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

>
> > >
> > > Thanks, I've installed this and it seems to work.
> > >
> > >> learn to search portage. either "eix" or "emerge -s"
> > >
> > > That I'll have to do.  I'm not fully comfortable with emerge yet.
> > >
> > >> Jeremy
> >
> > Sounds like you are new.  Interesting commands:  The "q" family.  Just
> > do a "man q" and check it out since there is a few of them.  There is
> > also eix, genlop which sort of has some common tools as the "q" family.
> > You also need use eselect from time to time as well.  There are also
> > times when revdep-rebuild will rear its head too.
>
> To search for specific packages, I think Dale and Mark did a good set.
> As for the others, like "revdep-rebuild", there is also "python-updater"
> and
> "etc-update".


Huh, I've been using gentoo for years and never knew about the "q's",
definitely learned something new today! But I just wanted to make a note
that a few of these programs are part of the gentoolkit package. Querying
portage for revdep, equery, etc won't give you the package it belongs to.

[-- Attachment #2: Type: text/html, Size: 1536 bytes --]

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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 22:47           ` Dale
@ 2011-04-07 22:59             ` Peter Humphrey
  2011-04-07 23:39               ` Dale
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2011-04-07 22:59 UTC (permalink / raw
  To: gentoo-user

On Thursday 07 April 2011 23:47:22 Dale wrote:

> I mistyped a package name the other day and portage actually made
> suggestions as to what I meant to type.  O_O  I think the devs are
> trying to program in some ESP code.  lol

No mate, they've just finally cottoned-on to your and my bad typing!

-- 
Rgds
Peter



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 22:59             ` Peter Humphrey
@ 2011-04-07 23:39               ` Dale
  0 siblings, 0 replies; 21+ messages in thread
From: Dale @ 2011-04-07 23:39 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey wrote:
> On Thursday 07 April 2011 23:47:22 Dale wrote:
>
>    
>> I mistyped a package name the other day and portage actually made
>> suggestions as to what I meant to type.  O_O  I think the devs are
>> trying to program in some ESP code.  lol
>>      
> No mate, they've just finally cottoned-on to your and my bad typing!
>
>    

At first, it freaked me out.  I reproduced the "feature" here tho:

root@fireball / # emerge -1av nvidia-driver

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "nvidia-driver".

emerge: searching for similar names...
emerge: Maybe you meant any of these: x11-drivers/nvidia-drivers, 
dev-db/libdbi-drivers, dev-util/nvidia-cuda-profiler?
root@fireball / #

I thought dang, that is neato!!  Now if they can just make it read my 
mind and me not have to show off my bad typing or forgetting the name of 
the package.  ;-)   So, you may be right.  o_O

Dale

:-)  :-)



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-07 21:21         ` Mark Knecht
@ 2011-04-13 22:45           ` Alex Schuster
  2011-04-14  0:00             ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Alex Schuster @ 2011-04-13 22:45 UTC (permalink / raw
  To: gentoo-user

Mark Knecht writes:

> On Thu, Apr 7, 2011 at 1:30 PM, Joost Roeleveld <joost@antarean.org> 
> wrote:

> > The last "etc-update" is only really needed when doing upgrades. I
> > would like to recommend you try these commands before you are too
> > dependent on the installation.

etc-update does the job, but looks a little dated to me. I prefer dispatch-
conf. My favorite at the moment is cfg-update, which is even better at 
guessing which updates can be automated. It also supports three-way merges, 
which probably means it not only takes the current and the new version of a 
config file into account, but also old versions.


> Let's potentially add
> 
> module-rebuild -X rebuild
> 
> to the list of little gems that keep Gentoo systems happy when
> installing a new kernel.

I don't know it stable portage already has this feature, but at least 
portage-2.2 has a set called module-rebuild. So I just do an emerge 
@modules-rebuild. Oh, and instead of emerge $( qlist -IC x11-drivers/ ) one 
can use emerge @x11-module-rebuild. This one is needed when xorg-server was 
upgraded.

	Wonko



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-13 22:45           ` Alex Schuster
@ 2011-04-14  0:00             ` Peter Humphrey
  2011-04-14 11:55               ` Bill Longman
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2011-04-14  0:00 UTC (permalink / raw
  To: gentoo-user

On Wednesday 13 April 2011 23:45:01 Alex Schuster wrote:

> I don't know it stable portage already has this feature, but at least
> portage-2.2 has a set called module-rebuild. So I just do an emerge
> @modules-rebuild. Oh, and instead of emerge $( qlist -IC x11-drivers/ ) one
> can use emerge @x11-module-rebuild. This one is needed when xorg-server was
> upgraded.

I just have a little script:

$ cat /usr/local/sbin/up-x
#!/bin/bash
#
# /usr/local/sbin/up-x
#
# Recompile X drivers etc. after kernel upgrade:
#
emerge  -1 --jobs=5 --keep-going `qlist -IC x11-drivers` &&\
        echo &&\
        sh /usr/local/src/VirtualBox*run &&\
        echo

Makes life really simple, with hardly any typing.

-- 
Rgds
Peter



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-14  0:00             ` Peter Humphrey
@ 2011-04-14 11:55               ` Bill Longman
  2011-04-14 13:59                 ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Bill Longman @ 2011-04-14 11:55 UTC (permalink / raw
  To: gentoo-user

> I just have a little script:
>
> $ cat /usr/local/sbin/up-x
> #!/bin/bash
> #
> # /usr/local/sbin/up-x
> #
> # Recompile X drivers etc. after kernel upgrade:
> #
> emerge  -1 --jobs=5 --keep-going `qlist -IC x11-drivers` &&\
>        echo &&\
>        sh /usr/local/src/VirtualBox*run &&\
>        echo
>
> Makes life really simple, with hardly any typing.

Very nice.

BTW, you do not need to escape newlines after "&&".

echo Try &&
echo This &&
echo At &&
echo Home ||
echo Or Not



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

* Re: [gentoo-user] Why can't I emerge telnet?
  2011-04-14 11:55               ` Bill Longman
@ 2011-04-14 13:59                 ` Peter Humphrey
  0 siblings, 0 replies; 21+ messages in thread
From: Peter Humphrey @ 2011-04-14 13:59 UTC (permalink / raw
  To: gentoo-user

On Thursday 14 April 2011 12:55:36 Bill Longman wrote:

> BTW, you do not need to escape newlines after "&&".

Just goes to show: you learn something new every day - if you're not careful.

-- 
Rgds
Peter



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

end of thread, other threads:[~2011-04-14 14:00 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 16:19 [gentoo-user] Why can't I emerge telnet? Alan Mackenzie
2011-04-07 16:05 ` Jeremy McSpadden
2011-04-07 20:13   ` Alan Mackenzie
2011-04-07 20:10     ` Mark Knecht
2011-04-07 21:45       ` Peter Humphrey
2011-04-07 22:08         ` Mark Knecht
2011-04-07 22:47           ` Dale
2011-04-07 22:59             ` Peter Humphrey
2011-04-07 23:39               ` Dale
2011-04-07 20:14     ` Dale
2011-04-07 20:30       ` Joost Roeleveld
2011-04-07 21:21         ` Mark Knecht
2011-04-13 22:45           ` Alex Schuster
2011-04-14  0:00             ` Peter Humphrey
2011-04-14 11:55               ` Bill Longman
2011-04-14 13:59                 ` Peter Humphrey
2011-04-07 22:53         ` Matthew Finkel
2011-04-07 16:09 ` Mark Knecht
2011-04-07 16:18   ` Paul Hartman
2011-04-07 16:13 ` Peter Ruskin
2011-04-07 19:06 ` Mick

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