Re: Fixing a half-configured package

2013-04-16 Thread sirquijote
Thanks to everyone who responded on this issue.  Following the advice I
managed to get this sorted.

Cheers :)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/19373.82.44.24.160.1366130586.squir...@lavabit.com



Re: Fixing a half-configured package

2013-04-09 Thread sirquijote
 Hello sirquijote


 Excerpt from sirquij...@lavabit.com:


 -- snip --

 The usercommands script is just a simple one-liner that I inserted to
 turn
 off my laptop's screen on boot, just before login:

 CODE

 #! /bin/sh
 # /etc/init.d/usercommands
 #

 # Turn off the display on boot
 vbetool dpms off

 exit 0
 \CODE

 That's all it does.  Is there some way I can re-implement that command
 to
 avoid having to learn how to use LSB tags?  That skeleton file is just
 gobbledy-gook to me, and I'm already troubleshooting Netatalk 3 it is.

 You can use '/etc/rc.local' for this purpose. It is there for exactly such
 things. Just put your command(s) in there but keep the last line 'exit 0'
 as
 last line intact.

 --
 Regards,
 Thilo


I've placed my command in rc.local.  I'll see what happens the next time I
boot the server.  Thanks.

I then ran locate usercommands, and deleted all instances of the
filename.  They were here:
/etc/init.d/usercommands
/etc/rc0.d/K01usercommands
/etc/rc1.d/K01usercommands
/etc/rc2.d/S21usercommands
/etc/rc3.d/S21usercommands
/etc/rc4.d/S21usercommands
/etc/rc5.d/S21usercommands
/etc/rc6.d/K01usercommands
/var/lib/update-rc.d/usercommands

Then I ran aptitude upgrade host (there being an update for this
available) and I still get error messages relating to nfs-kernel-server:

CODE
Setting up nfs-kernel-server (1:1.2.2-4squeeze2) ...
insserv: Service nfs-common has to be enabled to start service
nfs-kernel-server
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing nfs-kernel-server (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
  Setting up host
(1:9.7.3.dfsg-1~squeeze10) ...
Errors were encountered while processing:
 nfs-kernel-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up nfs-kernel-server (1:1.2.2-4squeeze2) ...
insserv: Service nfs-common has to be enabled to start service
nfs-kernel-server
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing nfs-kernel-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 nfs-kernel-server
\CODE

So, the LSB error is absent, but the nfs-kernel-server error still exists.
 Clearly they're not connected, and I'm not sure how necessary moving my
command to rc.local actually was.

I then ran /etc/init.d/nfs-common start and used aptitude to upgrade
another package, and received the exact same error messages - oddly it
still says, Service nfs-common has to be enabled to start service
nfs-kernel-server even though I checked and idmapd and statd (the
processes initiated by the previous init command) were definitely running.

So: what should I try now?



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/5706.82.44.24.160.1365487533.squir...@lavabit.com



Fixing a half-configured package

2013-04-08 Thread sirquijote
Hi,

Debian 6.0.7 Stable

Sorry, I've been trying to figure this out for myself and got nowhere. 
I'd like to fix it sooner than later because every time I run any
aptitude/apt-get commands it shows the same warnings and clutters the
screen.

nfs-kernel-server appears to be half-configured (C) according to
Aptitude.  I'm not sure what to do about this so I tried:

aptitude reinstall nfs-kernel-server

This just gave me the same warnings as before:

CODE
The following packages will be REINSTALLED:
nfs-kernel-server
 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 15
not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up nfs-kernel-server (1:1.2.2-4squeeze2) ...
insserv: warning: script 'K01usercommands' missing LSB tags and overrides
insserv: Service nfs-common has to be enabled to start service
nfs-kernel-server
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing nfs-kernel-server (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
  Errors were encountered while
processing:
 nfs-kernel-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up nfs-kernel-server (1:1.2.2-4squeeze2) ...
insserv: warning: script 'K01usercommands' missing LSB tags and overrides
insserv: Service nfs-common has to be enabled to start service
nfs-kernel-server
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing nfs-kernel-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 nfs-kernel-server
\CODE

How do I resolve this?  NFS is, for the time-being, necessary, though I'll
shortly be replacing it with Netatalk (fingers-crossed).



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/27024.82.44.24.160.1365461291.squir...@lavabit.com



Re: Fixing a half-configured package

2013-04-08 Thread sirquijote
 sirquij...@lavabit.com wrote:
 Setting up nfs-kernel-server (1:1.2.2-4squeeze2) ...
 insserv: warning: script 'K01usercommands' missing LSB tags and
 overrides

 That error message tells the problem.  It says that the
 K01usercommands script is missing the LSB tags.  It will do nothing
 more until that problem is fixed.

 This has nothing to do with nfs.  This has only to do with the bad
 usercommands script.

 That file K01usercommands is not part of the standard packaging.  It
 must be something that you have manually added to the system.  The S
 and K scripts would normally be symlinks to the source in a
 /etc/init.d/usercommands file.  But you can tell for sure by using
 find.

   find /etc/rc?.d -name '*usercommands'

 The simplest thing is to remove all reference to that file from
 everywere.  Then because it is no longer causing trouble you should be
 able to reconfigure the nfs-kernel-server package and insserv will fix
 up everything for all of the parallel booting scripts.

 If you must have usercommands as a boot time script then it must have
 LSB headers.  See the /etc/init.d/skeleton file for examples.  See the
 man page for 'man insserv' for more information.

 Bob



The usercommands script is just a simple one-liner that I inserted to turn
off my laptop's screen on boot, just before login:

CODE

#! /bin/sh
# /etc/init.d/usercommands
#

# Turn off the display on boot
vbetool dpms off

exit 0
\CODE

That's all it does.  Is there some way I can re-implement that command to
avoid having to learn how to use LSB tags?  That skeleton file is just
gobbledy-gook to me, and I'm already troubleshooting Netatalk 3 it is.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/50730.82.44.24.160.1365470168.squir...@lavabit.com



Re: What's Up With Debian.org?

2013-04-01 Thread sirquijote
 On Tue, 2 Apr 2013, Bret Busby wrote:


 On Mon, 1 Apr 2013, Nick Falcone wrote:

 Date: Tue, 2 Apr 2013 02:08:22
 From: Nick Falcone falcone...@gmail.com
 To: Eduardo M KALINOWSKI edua...@kalinowski.com.br
 Cc: debian-user@lists.debian.org
 Subject: Re: What's Up With Debian.org?
 Resent-Date: Mon,  1 Apr 2013 18:09:04 + (UTC)
 Resent-From: debian-user@lists.debian.org

 don't look now but it's april fools...


 On Mon, Apr 1, 2013 at 2:06 PM, Eduardo M KALINOWSKI 
 edua...@kalinowski.com.br wrote:

 On Seg, 01 Abr 2013, Patrick Bartek wrote:

 Just went to www.debian.org and all the spelling is strange both on
 Chrome and Iceweasel like iz for is, and sistem instead of system,
 etc.
  This is only on the home page.  Other pages look fine.


 Hint: What day is today?

 --
 Say no, then negotiate.
 -- Helga

 Eduardo M KALINOWSKI
 edua...@kalinowski.com.br




 The problem is that the Debian web site appears to have been breached
 and
 thence compromised.

 Is that supposed to be funny?

 I have just gone to the Debian web site, to find the references
 regarding the
 nature of the expermintal version of Debian, as a particular package
 developer has recommended using the expermiental stuff, to get the
 package
 running, and, there is really not much point, in trying to warn others
 on the
 mailing list for that package, if Debian itself is to be regarded as a
 joke.

 --
 Bret Busby
 Armadale
 West Australia
 ..

 So once you do know what the question actually is,
 you'll know what the answer means.
 - Deep Thought,
  Chapter 28 of Book 1 of
  The Hitchhiker's Guide to the Galaxy:
  A Trilogy In Four Parts,
  written by Douglas Adams,
  published by Pan Books, 1992
 


 So, has the web site been breached, or,. is it that the Debian Project
 people think that computer security and security breaches, are funny?

 If the Debian Project people regard computer security and security
 breaches as humorous, then there is the question as to whether Debian is
 to be taken seriously.

 Whoever did what has been done to the Debian web site, should be
 executed.

 --
 Bret Busby
 Armadale
 West Australia
 ..

 So once you do know what the question actually is,
   you'll know what the answer means.
 - Deep Thought,
Chapter 28 of Book 1 of
The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts,
written by Douglas Adams,
published by Pan Books, 1992
 


For a man who quotes Douglas Adam in his sig, you're sure taking this
harmless attempt at getting into the spirit of April Fool's Day in a
humourless manner.

I've only been using Debian for the shortest of short whiles, and have
been subscribed to this list for an even shorter time, but I'm quite glad
to see that the team behind the website were able to stick their tongues
in their cheeks and engage in a bit of tomfoolery.

I think you just got caught by surprise, jumped to the wrong conclusion
and may be feeling a little embarrassed at having been caught out by the
joke.

Just smile and see it's all in good fun, and you'll be fine :)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/52208.82.44.24.160.1364843295.squir...@lavabit.com



Re: Package maintenance on Debian

2013-03-31 Thread sirquijote
 On 29/03/13 23:31, sirquij...@lavabit.com wrote:
 despite the implication of the names, you may find either to be
(mostly) stable and useful, especially if old software is your only
trouble with Debian squeeze.
 Yeah, if it weren't for the older packages, I'd be content.
 How do I migrate to testing or unstable: does it require a re-install or
 do I just add those lists to apt-get?
 nvm, the Debian wiki actually covers this pretty well.
 Thanks for the help. :)

 Make sure you follow the install/upgrade notes carefully when upgrading
from Squeeze to Wheezy/Testing. There are some steps that have to be
done in the right order (upgrading udev and kernel, for a start), or you
will end up with an unusable system.

 It is certainly worth moving to Wheezy, as it will replace Squeeze as
Stable in the very near future.

 --
 Dom

It transpires that Netatalk hasn't reached v3 in sid yet, and the good
folks on the Netatalk mailing list tell me it's highly recommended, so I
think I'll just stick with Squeeze and compile Netatalk 3 myself.

Responses and patience much appreciated :)





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/14224.82.44.24.160.1364765197.squir...@lavabit.com



Package maintenance on Debian

2013-03-29 Thread sirquijote
Hi,

I've new to Debian, but already I've found two important packages that
haven't been updated for this OS in a while: Netatalk is almost three
years out of date, and Privoxy seems just as bad (I'm on 3.0.16, and
3.0.18 stable was released at the end of 2011).

I was looking for a stable, well-established and well-supported OS, but
from the looks of things package maintenance may be flagging badly.

Is that fair or have I just chanced upon two significant outliers?  If so
I'm pretty unlucky, considering netatalk and privoxy represent about 66%
of the total packages I've installed post-setup.

PS: I apologise for my tone.  I thought I was well into getting this setup
bedded-down, and my frustration is building.:(



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/63738.82.44.24.160.1364592063.squir...@lavabit.com



Re: Package maintenance on Debian

2013-03-29 Thread sirquijote
 Hi,

 I've new to Debian, but already I've found two important packages that
 haven't been updated for this OS in a while: Netatalk is almost three
 years out of date, and Privoxy seems just as bad (I'm on 3.0.16, and
 3.0.18 stable was released at the end of 2011).

 I was looking for a stable, well-established and well-supported OS, but
 from the looks of things package maintenance may be flagging badly.

 Is that fair or have I just chanced upon two significant outliers?  If so
 I'm pretty unlucky, considering netatalk and privoxy represent about 66%
 of the total packages I've installed post-setup.

 PS: I apologise for my tone.  I thought I was well into getting this setup
 bedded-down, and my frustration is building.:(


I just got a reply on another list, and it drew my attention to the fact
that Debian is an LTS OS.  I hadn't realised that would affect package
availability too, so the mistake is mine.

Apologies.  Guess I'll just have to find a more appropriate OS.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/19168.82.44.24.160.1364592235.squir...@lavabit.com



Re: Package maintenance on Debian

2013-03-29 Thread sirquijote
 despite the implication of the names, you may find either to be
 (mostly) stable and useful, especially if old software is your only
 trouble with Debian squeeze.

 Yeah, if it weren't for the older packages, I'd be content.

 How do I migrate to testing or unstable: does it require a re-install or
 do I just add those lists to apt-get?

nvm, the Debian wiki actually covers this pretty well.

Thanks for the help. :)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/65399.82.44.24.160.1364599876.squir...@lavabit.com



Re: NFSv3 config files for static ports

2013-03-28 Thread sirquijote
 On Wed, Mar 27, 2013 at 8:18 AM, Tom H tomh0...@gmail.com wrote:
 On Wed, Mar 27, 2013 at 6:26 AM,  sirquij...@lavabit.com wrote:
 Debian 6.0.7.
 I'm trying to set up NFSv3 with static ports for use with a firewall. The
 only walkthrough I've found on this is for Red Hat, which says: To
allow clients to access NFS shares behind a firewall, edit the
/etc/sysconfig/nfs configuration file to control which ports the
required
 RPC services run on.
 I don't have a /etc/sysconfig directory on Debian. Should I just
create
 it or is this config file put somewhere else on Debian?
 /etc/default/nfs-common
 /etc/default/nfs-kernel-server
 (and, if you want to set the quote port)
 /etc/default/quota

 Sorry. Just remembered.

 You also need to create /etc/modprobe.d/lockd.conf to set the lockd port.

 (If you're not using the Debian kernel and are compiling in lockd, you
have to use /etc/sysctl.d/lockd.conf.)


I've been experimenting and I'm beginning to move forward, so thanks for
the advice.  One important question though:

I ran a speed test by transferring a 366MB file with time cp … in the
Terminal from the local Mac over a gigabit LAN to the Linux server using
NFSv3, and got an astonishingly poor 12MB/s transfer speed.  Is that all I
can expect, or is NFSv3 capable of better?  The hardware infrastructure
involved demonstrably supports much faster speeds.






-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/17201.82.44.24.160.1364502844.squir...@lavabit.com



NFSv3 config files for static ports

2013-03-27 Thread sirquijote
Hi,

Debian 6.0.7.

I'm trying to set up NFSv3 with static ports for use with a firewall.  The
only walkthrough I've found on this is for Red Hat, which says:
To allow clients to access NFS shares behind a firewall, edit the
/etc/sysconfig/nfs configuration file to control which ports the required
RPC services run on.
I don't have a /etc/sysconfig directory on Debian.  Should I just create
it or is this config file put somewhere else on Debian?

Thanks.

PS: NFSv4 is buggy on the client platform so can't be used.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/34260.82.44.24.160.1364379983.squir...@lavabit.com