[LINUX] XBMC for Linux Updater Script

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
CrashX Offline
Posting Freak
Posts: 1,216
Joined: Jan 2009
Reputation: 2
Post: #11
Sometimes auto update for ubuntu doesn't work at all via Crontab only.. I am getting the following error when executing apt-get upgrade -y

Code:
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  firefox firefox-3.0 firefox-3.0-branding firefox-3.0-gnome-support
  firefox-gnome-support xulrunner-1.9 xulrunner-1.9-gnome-support
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8899kB of archives.
After this operation, 4096B of additional disk space will be used.
Get:1 http://security.ubuntu.com intrepid-security/main xulrunner-1.9-gnome-support 1.9.0.11+build2+nobinonly-0ubuntu0.8.10.2 [39.4kB]
Get:2 http://security.ubuntu.com intrepid-security/main xulrunner-1.9 1.9.0.11+build2+nobinonly-0ubuntu0.8.10.2 [7548kB]
Get:3 http://security.ubuntu.com intrepid-security/main firefox-3.0-gnome-support 3.0.11+build2+nobinonly-0ubuntu0.8.10.1 [84.5kB]
Get:4 http://security.ubuntu.com intrepid-security/main firefox-3.0-branding 3.0.11+build2+nobinonly-0ubuntu0.8.10.1 [202kB]
Get:5 http://security.ubuntu.com intrepid-security/main firefox-3.0 3.0.11+build2+nobinonly-0ubuntu0.8.10.1 [887kB]
Get:6 http://security.ubuntu.com intrepid-security/main firefox 3.0.11+build2+nobinonly-0ubuntu0.8.10.1 [69.0kB]
Get:7 http://security.ubuntu.com intrepid-security/main firefox-gnome-support 3.0.11+build2+nobinonly-0ubuntu0.8.10.1 [69.0kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 8899kB in 24s (368kB/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)

Any ideas ? If I login to my shell and manually run my updater script, it works fine ..
(This post was last modified: 2009-06-16 19:09 by CrashX.)
find quote
CrashX Offline
Posting Freak
Posts: 1,216
Joined: Jan 2009
Reputation: 2
Post: #12
Anyone have any ideas ?

The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
find quote
Post Reply