Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XBox apt-get break - fixed

4 views
Skip to first unread message

Paul D Smith

unread,
Oct 10, 2011, 3:41:48 AM10/10/11
to
Problem:

XBox running Ed's 1.1.4 Xebian. I tried to install a package but the apt
sources were out of date so I updated it - wrongly. apt-get then tried to
upgrade my box causing all sorts of mayhem, and this is an e-mail for
posterity on what I discovered.

Firstly, the drive was still fine, but no network access. I could connect
by booting the old install CD and then mounting the drive.

I quickly figured out that eth0 was missing but could not figure out why.
Eventually I found out what had happened...

1. Xebian 1.1.4 is based on Debian "sarge" so updated the apt sources
correctly this time. Used "apt-get -s" and "apt-get check" to test that
this seemed to be correct.

2. The apt-get had knackered dhclient (the DHCP client package) and my XBox
was using DHCP. So...

- Make the network config use a static IP address

- Now boot from the hard drive

- Now REMOVE dhclient packages

- Now INSTALL dhclient packages

- Now restore the DHCP network config and reboot.

3. apt-get had also broken samba

- Yep, REMOVE then INSTALL samba

- Good news, the samba config. files were still there and samba
configuration still worked first time!

4. Aside - Apache had not been broken by apt-get, perhaps it gave up before
it got to the "trash apache" step.

Hope this helps someone.

Paul DS.

0 new messages