Re: apt-get upgrade

2004-10-27 Thread Francesco P. Lovergine
On Mon, Oct 25, 2004 at 09:20:26AM +1300, Johnno wrote:
 
 dpkg package is install, any ideas?
 
One main suggestion: use an appropriate list, you are OT here.

-- 
Francesco P. Lovergine


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get upgrade

2004-10-24 Thread Gaddis, Jeremy L.
On Sun, 2004-10-24 at 16:20, Johnno wrote:
 Hello
 
 When I do a apt-get upgrade on one the the servers here I get this error
 message:

[snip]

 NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.

export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin

Preferably that'd be in your .bash_profile or similar.

-j

-- 
Jeremy L. Gaddis   [EMAIL PROTECTED]
IS/Network Technician
Ivy Tech State College, Bloomington
812.330.6156



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get upgrade

2004-10-24 Thread Doug Griswold
echo $PATH as root and see if /usr/local/sbin, /usr/sbin and /sbin are
in root's path.  If they are maybe you issued su instead of su -.

 Johnno [EMAIL PROTECTED] 10/24/04 4:20 PM 
Hello

When I do a apt-get upgrade on one the the servers here I get this error
message:

Do you want to continue? [Y/n]
dpkg: `ldconfig' not found on PATH.
dpkg: `start-stop-daemon' not found on PATH.
dpkg: `install-info' not found on PATH.
dpkg: `update-rc.d' not found on PATH.
dpkg: 4 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and
/sbin.
E: Sub-process /usr/bin/dpkg returned an error code (2)

dpkg package is install, any ideas?

Many Thanks,
   Johnno



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get upgrade

2004-10-24 Thread Norbert Tretkowski
* Johnno wrote:
 NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
[...]
 dpkg package is install, any ideas?

What's the content of your root's $PATH?

Norbert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get upgrade

2004-10-24 Thread Steve Kemp
On Mon, Oct 25, 2004 at 09:20:26AM +1300, Johnno wrote:

 When I do a apt-get upgrade on one the the servers here I get this error
 message:
 
 Do you want to continue? [Y/n]
 dpkg: `ldconfig' not found on PATH.
 dpkg: `start-stop-daemon' not found on PATH.
 dpkg: `install-info' not found on PATH.
 dpkg: `update-rc.d' not found on PATH.
 dpkg: 4 expected program(s) not found on PATH.
 NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
 E: Sub-process /usr/bin/dpkg returned an error code (2)
 
 dpkg package is install, any ideas?

  The error message given should be sufficient to fix the problem:

 NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.

  If you're running bash, you should run:

PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
export PATH
apt-get upgrade

Steve
--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get upgrade or .tgz

2004-03-03 Thread Gavin Hamill
On Wed, 2004-03-03 at 14:03, Andrew P. Kaplan wrote:
 I have an old version of Postfix running on my Debian box. I don't remember
 if I used apt-get or installed from a .tgz file. If I use apt-get install I
 am concerned I could end up with two version of Postfix. What's the best way
 to upgrade.

Well, a 'tgz' manual installation will usually place the binaries in
/usr/local - also check dpkg -l postfix to see if dpkg thinks it's
installed.

How does your machine currently launch postfix? Is it from
/etc/init.d/postfix ? If not, then it's unlikely to have been installed
via apt.

There are plenty of other indicators, but these should give you a good
start.

Cheers,
Gavin.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get upgrade or .tgz

2004-03-03 Thread Craig Sanders
On Wed, Mar 03, 2004 at 09:03:51AM -0500, Andrew P. Kaplan wrote:
 I have an old version of Postfix running on my Debian box. I don't remember
 if I used apt-get or installed from a .tgz file. If I use apt-get install I
 am concerned I could end up with two version of Postfix. What's the best way
 to upgrade.

somebody else already posted some ideas on how to tell whether it is a package
or not.  useful info:

   dpkg -l postfix*


if it's not a package, the best way to upgrade is to backup your postfix
config, delete the .tgz install of postfix, and then apt-get install the latest
postfix packages.  they you never have to worry about it again.

if it is a package then just use apt-get to upgrade postfix.

craig


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get upgrade or .tgz

2004-03-03 Thread Gavin Hamill
On Wed, 2004-03-03 at 14:03, Andrew P. Kaplan wrote:
 I have an old version of Postfix running on my Debian box. I don't remember
 if I used apt-get or installed from a .tgz file. If I use apt-get install I
 am concerned I could end up with two version of Postfix. What's the best way
 to upgrade.

Well, a 'tgz' manual installation will usually place the binaries in
/usr/local - also check dpkg -l postfix to see if dpkg thinks it's
installed.

How does your machine currently launch postfix? Is it from
/etc/init.d/postfix ? If not, then it's unlikely to have been installed
via apt.

There are plenty of other indicators, but these should give you a good
start.

Cheers,
Gavin.





Re: apt-get upgrade or .tgz

2004-03-03 Thread Craig Sanders
On Wed, Mar 03, 2004 at 09:03:51AM -0500, Andrew P. Kaplan wrote:
 I have an old version of Postfix running on my Debian box. I don't remember
 if I used apt-get or installed from a .tgz file. If I use apt-get install I
 am concerned I could end up with two version of Postfix. What's the best way
 to upgrade.

somebody else already posted some ideas on how to tell whether it is a package
or not.  useful info:

   dpkg -l postfix*


if it's not a package, the best way to upgrade is to backup your postfix
config, delete the .tgz install of postfix, and then apt-get install the latest
postfix packages.  they you never have to worry about it again.

if it is a package then just use apt-get to upgrade postfix.

craig




Re: apt-get upgrade installs unnecessary users / Cobalt RaQ 3i

2001-02-05 Thread brian moore

On Mon, Feb 05, 2001 at 11:16:02PM +0100, H.P. Stroebel wrote:
 hi list,
 
 1) i switched recently from redhat to debian for an internet server
 installation

A very good move.  MUCH easier to maintain.

 i deleted unnecessary users and groups like games, audio etc., but they
 were reinstalled when doing the first apt-get upgrade.
 
 could anyone point me please to some ressources concerning default
 users/groups, which of them are necessary and how to avoid their
 reinstallation ?

Just ignore them.  A group with no members doesn't hurt anything.  (They
are there as placeholders.)


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: apt-get upgrade installs unnecessary users / Cobalt RaQ 3i

2001-02-05 Thread brian moore
On Mon, Feb 05, 2001 at 11:16:02PM +0100, H.P. Stroebel wrote:
 hi list,
 
 1) i switched recently from redhat to debian for an internet server
 installation

A very good move.  MUCH easier to maintain.

 i deleted unnecessary users and groups like games, audio etc., but they
 were reinstalled when doing the first apt-get upgrade.
 
 could anyone point me please to some ressources concerning default
 users/groups, which of them are necessary and how to avoid their
 reinstallation ?

Just ignore them.  A group with no members doesn't hurt anything.  (They
are there as placeholders.)