[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Erros no apt-get usando crontab



Bom dia pessoal, estive verificando que minha atualização automatica do
sistema nao anda funcionando corretamente...

adicionei a seguinte linha na crontab para fazer o update e upgrade
automaticamente:

# Atualiza sistema
00 */12 * * *   apt-get update && apt-get upgrade -y

so que quando etm alguma nova atualizacao esta ocorrendo, o email que a
crontab envia apresenta o seguitne erro:

Hit http://non-us.debian.org woody/non-US/main Packages
Hit http://non-us.debian.org woody/non-US/main Release
Hit http://non-us.debian.org woody/non-US/contrib Packages
Hit http://non-us.debian.org woody/non-US/contrib Release
Hit http://non-us.debian.org woody/non-US/non-free Packages
Hit http://non-us.debian.org woody/non-US/non-free Release
Hit http://non-us.debian.org woody/non-US/main Sources
Hit http://non-us.debian.org woody/non-US/main Release
Hit http://non-us.debian.org woody/non-US/contrib Sources
Hit http://non-us.debian.org woody/non-US/contrib Release
Hit http://non-us.debian.org woody/non-US/non-free Sources
Hit http://non-us.debian.org woody/non-US/non-free Release
Hit http://ftp.debian.org woody/main Packages
Hit http://ftp.debian.org woody/main Release
Hit http://ftp.debian.org woody/non-free Packages
Hit http://ftp.debian.org woody/non-free Release
Hit http://ftp.debian.org woody/contrib Packages
Hit http://ftp.debian.org woody/contrib Release
Hit http://ftp.debian.org woody/main Sources
Hit http://ftp.debian.org woody/main Release
Hit http://ftp.debian.org woody/non-free Sources
Hit http://ftp.debian.org woody/non-free Release
Hit http://ftp.debian.org woody/contrib Sources
Hit http://ftp.debian.org woody/contrib Release
Get:1 http://security.debian.org woody/updates/main Packages [49.2kB]
Get:2 http://security.debian.org woody/updates/main Release [110B]
Hit http://security.debian.org woody/updates/contrib Packages
Get:3 http://security.debian.org woody/updates/contrib Release [113B]
Hit http://security.debian.org woody/updates/non-free Packages
Get:4 http://security.debian.org woody/updates/non-free Release [114B]
Fetched 49.5kB in 16s (3001B/s)
Reading Package Lists...
Building Dependency Tree...
Reading Package Lists...
Building Dependency Tree...
1 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
Need to get 461kB of archives. After unpacking 36.9kB will be used.
Get:1 http://security.debian.org woody/updates/main libssl0.9.6
0.9.6c-2.woody.1 [461kB]
Fetched 461kB in 1m48s (4266B/s)
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)


alguem sabe oq eu estou fazendo errado???

Obrigado
-------------------------
Hélio José Poffo Junior - Administrador de Redes
Debian GNU/Linux 3.0 (woody 2.4.18) - Linux user: #196175
Passebus Administradora LTDA.




Reply to: