I've been wanting to make use out of my old xbox for a while but always seem to have trouble with apt-get no matter what distro.
Currently I've got Xebian installed and ssh working which seems fine. Ultimately I want to get it running as a sabnzbd and at some point a NAS. At the moment it's just installed on E: but if it would make things easier I could install the whole thing natively as I never use the xbox any more—out of interest is it possible to restore the original state of the xbox to play games if I do this?
I've tried just installing something simple like Samba and I get loads of errors about dependencies.
CODE
xebian:~# apt-get install samba
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
kernel-image-2.6.18-xbox: Depends: initrd-tools (>= 0.1.48) but it is not installable
locales: Depends: glibc-2.7-1
samba: Depends: samba-common (= 2:3.2.5-4lenny12) but 3.0.14a-3 is to be installed
Depends: libattr1 (>= 2.4.41-1) but 2.4.16-1 is to be installed
Depends: libc6 (>= 2.7-1) but 2.3.2.ds1-22 is to be installed
Depends: libcups2 (>= 1.3.8) but it is not going to be installed
Depends: libgnutls26 (>= 2.4.0-0) but it is not going to be installed
Depends: libkrb53 (>= 1.6.dfsg.2) but 1.3.6-2 is to be installed
Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
Depends: libpam0g (>= 0.99.7.1) but 0.76-22 is to be installed
Depends: libpopt0 (>= 1.14) but 1.7-5 is to be installed
Depends: libtalloc1 but it is not going to be installed
Depends: libwbclient0 (>= 2:3.2.0) but it is not going to be installed
Depends: update-inetd but it is not going to be installed
W: Couldn't stat source package list http://non-us.debian.org stable/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org stable/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org stable/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
So I've tried apt-get -f install and again I get more erros and suggestions about updating to 2.6
CODE
xebian:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
Suggested packages:
glibc-doc libc6-i686
The following packages will be REMOVED:
kernel-image-2.6.18-xbox
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 1 to remove and 314 not upgraded.
3 not fully installed or removed.
Need to get 0B/4550kB of archives.
After unpacking 13.8MB disk space will be freed.
Do you want to continue? [Y/n] y
Reading changelogs... Done
W: Couldn't stat source package list http://non-us.debian.org stable/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org stable/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org stable/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
Preconfiguring packages ...
(Reading database ... 35070 files and directories currently installed.)
Removing kernel-image-2.6.18-xbox ...
(Reading database ... 34800 files and directories currently installed.)
Preparing to replace libc6 2.3.2.ds1-22 (using .../libc6_2.7-18lenny4_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
WARNING: POSIX threads library NPTL requires kernel version
2.6.8 or later. If you use a kernel 2.4, please upgrade it
before installing glibc.
The installation of a 2.6 kernel _could_ ask you to install a new libc
first, this is NOT a bug, and should *NOT* be reported. In that case,
please add etch sources to your /etc/apt/sources.list and run:
apt-get install -t etch linux-image-2.6
Then reboot into this new kernel, and proceed with your upgrade
dpkg: error processing /var/cache/apt/archives/libc6_2.7-18lenny4_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-18lenny4_i386.deb
W: Couldn't stat source package list http://non-us.debian.org stable/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org stable/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org stable/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here's my sources list as well
CODE
deb http://ftp.at.debian.org/debian/ stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free
#add this line from http://www.emulab.it/forum/index.php?topic=8.0
deb http://download.webmin.com/download/repository sarge contrib
My knowledge of unix is basic and quite n00bish but it'd be great to get this working but I'm left scratching my head. Is Xebian the best distro to be using or is there something a little bit easier to be using?
Is there some simple way of getting all these dependencies installed as I guess they're need to compile the apps that I want to use like Samba and SABnzbd?
This post has been edited by juliushibert: Jul 4 2010, 11:29 AM