apt problem?
I've used dselect/apt for a long time to update my debian distribution. For the last several days when I tried to update I get the following message. Updating package file cache... E: Line 3 in package file /var/state/apt/lists/ftp.debian.org_debian_dists_potat o_main_binary-i386_Packages is too long.(2) I tried getting distribution from different sites -- no luck. I looked at the file mentioned. Line 3 is a normal line. I did apt-get clean to start over. I get the same message regardless of whether I download main, non-free, or contrib sections of the dist. I tried them all separately -- same result. The message seems unhelpful to me. Does anyone have a clue as to what's happening and how to fix it? I'm not sure what version of apt I have. That's one of things I was trying to upgrade. Thanks, JEB
Puzzling Problem with Parallel Port
Linux doesn't recognize my parallel port. The lp module is loaded. ls > /dev/lp0 or /dev/lp1 both give the message "no such device". I can use the parallel port from Windows 95, so the hardware is functional. Anything I should try? The printer isn't anything exotic--just a plain 24 pin dot matrix that is being asked to print ascii, which works find from DOS. Any ideas would be appreciated. I'm running kernel version 2.2.7. JEB
PHP3 and Mysql -- Broken Module
I'm using the latest Debain versions of PHP3 and the PHPMysql module. I'm also using the latest version of Mysql. It works fine. PHP3 seems to work by itself; PHP3 scripts that don't access Mysql work. When I try to run a PHP script, I get a message saying "Call to unsupported or undefined function mysql_connect()" I've added the mysql module to the PHP configuration, but it's apparent that it can find a library or something that it needs. Does anyone have this combination working, or are the the PHP module for Mysql broken? Thanks, JEB
(Fwd) Re: Puzzling Problem with Parallel Port
Hmmm.. I compiled in the parport and lp modules, and the items for parallel port support. Is there anyway I can check what IRQ or address space the module thinks it is supposed to be using? JEB YOU WROTE Yup -- you're probably not used to this new parport thing that was introduced in 2.1 and now is in 2.2 --- but it needs to be compiled with the kernel -- Look it general options or something -- you need to enable parport devices -- then go to character devices and you'll be able to enable PC style parallel port. It should automatically recognize your port as soon as you recompile and reboot! Now if only I could get make-kpkg to work with 2.2.9 :( -abr At 06:49 PM 5/17/99 +, jeb wrote: >Linux doesn't recognize my parallel port. > >The lp module is loaded. > >ls > /dev/lp0 or /dev/lp1 both give the message "no such device". > >I can use the parallel port from Windows 95, so the hardware is >functional. > >Anything I should try? > >The printer isn't anything exotic--just a plain 24 pin dot matrix >that is being asked to print ascii, which works find from DOS. > >Any ideas would be appreciated. I'm running kernel version 2.2.7. > >JEB > > >-- >Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < >/dev/null -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: Puzzling Problem with Parallel Port -- Resolved
I appreciate the replies from people who offered help. While no single reply hit my problem, the collective effort helped considerably in narrowing my troubleshooting. Thanks. When I re-compiled the kernel to include the parallel port, I didn't realize I'd have to run update-modules to get the right information in my conf.modules file. That's what it took. Is this a newbie question? I don't know. I've been running Debian Linux for over a year now. The fact that I don't know every detail of Linux actually speaks well to the general effectiveness of the distribution scheme. Apt and dselect generally get things to the right place with a reasonable startup configuration. JEB > > Linux doesn't recognize my parallel port. > > > > The lp module is loaded. > > > > ls > /dev/lp0 or /dev/lp1 both give the message "no such device". > > > > I can use the parallel port from Windows 95, so the hardware is > > functional. > > > > Anything I should try? > > > > Mine works, under kernels v2.2.x. > > I have the following in /etc/modutiles/aliases: > alias parport_lowlevel parport_pc > > and the (tightly-edited) output of lsmod is: > Module Size Used by > parport_pc 5484 1 (autoclean) > lp 4840 0 (unused) > parport 6612 1 [parport_pc lp] > > The way parallel port modules are organised has changed with kernels > 2.2.x away from a monolithic, PC-specific module to allow for a more > uniform approach to dealing with non-PC and non-standard parallel ports. > That's why I have the alias, to associate the generic hardware-level > driver name with the particular driver required for the PC parallel > port. > > If you edit files in /etc/modutils, run update-modules as root to ensure > that your changes take effect. > > > John P. > -- > [EMAIL PROTECTED] > [EMAIL PROTECTED] > "Oh - I - you know - my job is to fear everything." - Bill Gates in Denmark > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > >
Missing rgb file
I get the error message below when I try to start X. Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb' I used "find" to confirm there is no rgb file on my system anywhere. So, somehow the file must have disappeared, or it's named differently or Does anyone know how the "rgb" file gets installed and where I might get it? Thanks, JEB
PHP4 - Does anyone have the .deb pkg working?
I was happy to see the php4 debian module ready for use. I've been using hte php3 module (from the .deb package) and was generally very happy with it. I installed the php4 package; now php3 files won't work at all. Php3 files aren't being interepreted by the apache module. I did check the apache configuration to make sure the php4 module is loaded, but it seems to be quite dead. I made an attempt to edit the srm.conf to ensure the php3 mime type was identified. I made sure the php4 library really existed where apache was told to look for it. I'm probably overlooking something really basic and simple, since I'm not an Apache guru. Any help or leads would be appreciated. Thanks, JEB