LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-03-2004, 08:41 PM   #1
overbored
Member
 
Registered: Jun 2003
Posts: 58

Rep: Reputation: 15
apt-file returns nothing; 'bad file descriptor'


i'm trying to use 'apt-file -v search vim' (i just apt-got vim) but it returns nothing, and complains about a 'Bad file descriptor'...anybody know what's going on? (tried it with sudo too)
 
Old 10-03-2004, 09:32 PM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
I'm on unstable, just installed apt-file and here's my output:

Code:
aero:/home/ken# apt-file -v search emacs
D: got 'deb http://http.us.debian.org/debian sid main non-free contrib': Bad file descriptor
D: kept 'deb http://http.us.debian.org/debian sid main non-free contrib'
D: got 'deb http://non-us.debian.org/debian-non-US sid/non-US main contrib non-free'
D: kept 'deb http://non-us.debian.org/debian-non-US sid/non-US main contrib non-free'
D: got 'deb http://debian.jones.dk sid misc'
D: kept 'deb http://debian.jones.dk sid misc'
D: got 'deb http://people.debian.org/~costela/debian/ ./'
D: kept 'deb http://people.debian.org/~costela/debian/ ./'
D: got 'deb ftp://ftp.nerim.net/debian-marillat/ unstable main'
D: kept 'deb ftp://ftp.nerim.net/debian-marillat/ unstable main'
D: got 'deb http://www.tux.org/pub/java/debian sid main non-free'
D: kept 'deb http://www.tux.org/pub/java/debian sid main non-free'
D: got 'deb http://src.braincells.com/debian sid/ '
D: kept 'deb http://src.braincells.com/debian sid/ '
D: regexp: ^(.*?emacs[^\s]*)\s+(\S+)\s*$: Bad file descriptor
So I'm getting it too. Have you checked bugs.debian.org yet? Are you using stable|testing|unstable? Please include that in your posts...That way someone can zero in on your issue much quicker...
 
Old 10-03-2004, 10:06 PM   #3
overbored
Member
 
Registered: Jun 2003
Posts: 58

Original Poster
Rep: Reputation: 15
hi, i found out the problem....i had to run 'apt-file update' first. duh!!!!
 
Old 10-03-2004, 10:13 PM   #4
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Thanks, I'll do the same right now!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard disk failing? write error: Bad file descriptor glt Linux - Hardware 4 12-14-2005 11:41 AM
Bad File Descriptor tech_user Linux - Hardware 0 10-14-2005 04:21 PM
boot/System.map: Bad file descriptor pixie Fedora 16 03-01-2005 01:19 PM
Evolution: bad file descriptor bfibandit Mandriva 2 04-11-2004 04:00 PM
SIOCSIFADDR: Bad file descriptor egon Linux - Networking 0 02-13-2001 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration