Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[Solved] openpty failed: 'out of pty devices'

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

[Solved] openpty failed: 'out of pty devices'

  • Quote

Post by DigitalCorpus » Fri Aug 15, 2008 9:43 pm

Should I worry about this error? Every time I emerge something I have this come up. I'm running a q6700 on a 965P-DS3 and am using the official sources and amd64 minimal CD.
Last edited by DigitalCorpus on Sun Aug 17, 2008 6:11 pm, edited 1 time in total.
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Fri Aug 15, 2008 9:44 pm

Can you please post a little bit of of the text surrounding the error message so that we can more readily find the cause of the problem? Thanks. :)
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

  • Quote

Post by DigitalCorpus » Fri Aug 15, 2008 9:58 pm

Here is a sample as I emerge ntp:

Code: Select all

 * ntp-4.2.4p4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                                   [ ok ]
openpty failed: 'out of pty devices'
 * Adjusting permissions for FEATURES=userpriv: '/ccache'
 * Adding group 'ntp' to your system ...
 *  - Groupid: 123
 * Adding user 'ntp' to your system ...
 *  - Userid: 123
 *  - Shell: /sbin/nologin
 *  - Home: /dev/null
 *  - Groups: ntp
>>> Unpacking source...
Before that all it is doing is downloading the source with wget which works just fine.
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Fri Aug 15, 2008 10:01 pm

Ah, I think I remember seeing this as a bug report, but it was a while back:

http://bugs.gentoo.org/show_bug.cgi?id=186876

Are you using the newest version of Portage?
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

  • Quote

Post by DigitalCorpus » Fri Aug 15, 2008 10:03 pm

2.2 rc8 is my current portage version. I can install everything just fine afaik. I had this error when working with an unofficial CD for Reiser4 support.
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

  • Quote

Post by DigitalCorpus » Fri Aug 15, 2008 10:06 pm

If it is of any consequence I'm also getting a warning each time I use emerge:

Code: Select all

livecd / # emerge -p portage
WARNING: repository at /usr/local/portage is missing a repo_name entry
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Fri Aug 15, 2008 10:07 pm

Ah, that is still in ~ARCH, so I would recommend trying to downgrade back to 2.1.4.4. That will most likely get rid of the problem.
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

  • Quote

Post by DigitalCorpus » Fri Aug 15, 2008 10:10 pm

Wanted to use gcc 4.3.x for the core2 march flag. Should I avoid ~ARCH it until it is labeled as stable then? I didn't have a problem in the past with betas
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Fri Aug 15, 2008 10:15 pm

No, it's fine to use ~ARCH if you would like but be aware that some things may not function properly (or have annoyances such as this one). If it isn't causing breakage I wouldn't worry about it. However, if you do want to ONLY downgrade Portage to 2.1.4.4 you can just edit /etc/portage/package.keywords to have this line in it:

Code: Select all

<=sys-apps/portage-2.1.4.4 amd64
Last edited by NathanZachary on Fri Aug 15, 2008 10:20 pm, edited 1 time in total.
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

  • Quote

Post by DigitalCorpus » Fri Aug 15, 2008 10:18 pm

sorry, but shouldn't x86 be amd64?
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Fri Aug 15, 2008 10:20 pm

You are certainly correct! I was doing too many things at one time; I apologise for the error.
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

  • Quote

Post by DigitalCorpus » Fri Aug 15, 2008 10:22 pm

Don't worry about it. I have to get accustomed to the fine-toothed control that portage gives with versioning and usage of each package available.
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Fri Aug 15, 2008 10:25 pm

Well I don't think that the error will cause any big problems. However, if you're worried about it then try downgrading to Portage 2.1.4.4 and it will most likely go away. :)
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

  • Quote

Post by DigitalCorpus » Fri Aug 15, 2008 10:29 pm

I'll do that as soon as gcc is done compiling here. Thanks again for the help.
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Fri Aug 15, 2008 10:30 pm

No problem at all. Let us know how the downgrade works out for you. :)
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

  • Quote

Post by DigitalCorpus » Fri Aug 15, 2008 10:55 pm

unless I remove ~amd64 in my make.conf file, portage still insists on updating itself to 2.2_rc8. I'm verifying this by running emerge -p portage before I update world.

/etc/portage/package.keywords

Code: Select all

<=sys-apps/portage-2.1.4.4 amd64
<=sys-devel/gcc-4.3.1_rc1 ~amd64
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Fri Aug 15, 2008 11:13 pm

You could always remove the ~amd64 from your make.conf, then emerge -av portage (to get 2.1.4.4), and then add sys-apps/portage to /etc/portage/package.mask. I don't THINK that should cause any problems (but I'm not certain). As I said earlier though, you don't have to downgrade as it doesn't seem like the notification is causing any breakages.
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Sat Aug 16, 2008 2:06 am

Code: Select all

openpty failed: 'out of pty devices' 
I think this is a warning rather than an error. I see it too, when I am emerging inside a chroot.

I have not tried this, but you could probably get rid of the warnings by using "mount --rbind" for /dev instead of "mount --bind".
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

  • Quote

Post by DigitalCorpus » Sun Aug 17, 2008 6:11 pm

Thanks for the tip about adding the read only flag. Solves the extraneous output.
Last edited by DigitalCorpus on Mon Aug 18, 2008 8:53 am, edited 1 time in total.
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Mon Aug 18, 2008 4:00 am

If you are satisfied with this solution, please add [SOLVED] to the title of the original thread. Thanks. :)
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
Hu
Administrator
Administrator
Posts: 24401
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Aug 19, 2008 12:52 am

DigitalCorpus wrote:Thanks for the tip about adding the read only flag. Solves the extraneous output.
Minor correction: --rbind is a recursive bind, not a read-only bind. See man mount for full details.
Top
Dinini
Apprentice
Apprentice
Posts: 236
Joined: Wed Jun 11, 2003 12:22 am

  • Quote

Post by Dinini » Thu Aug 21, 2008 7:05 am

I realize the original problem is solved but this advice seems wrong.
kalos wrote: However, if you do want to ONLY downgrade Portage to 2.1.4.4 you can just edit /etc/portage/package.keywords to have this line in it:

Code: Select all

<=sys-apps/portage-2.1.4.4 amd64
if ~amd64 is the default, I believe you need

Code: Select all

>=sys-apps/portage-2.1.4.4 -~amd64 
to only upgrade from 2.1.4.4 when the package is stable. Note the minus/hyphen for removing the ~amd64 keyword for the package and ">" for matching greater packages (such as 2.2_rc8). /etc/portage/package.keywords changes a bit in portage 2.2 so double check your syntax "man portage" when upgrading and downgrading.
"There are nine and sixty ways of constructing tribal lays,
And every single one of them is right!" - Rudyard Kipling "In the Neolithic Age"
Top
Post Reply

22 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic