CODE
box:/etc/apt# apt-get install samba
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
samba
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
132 not fully installed or removed.
Need to get 0B/2556kB of archives.
After unpacking 53.2kB disk space will be freed.
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 36630 files and directories currently installed.)
Preparing to replace samba 3.0.14a-3 (using .../samba_3.0.14a-3sarge11_i386.deb) ...
Unpacking replacement samba ...
/var/lib/dpkg/info/samba.postrm: line 22: update-inetd: command not found
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 22: update-inetd: command not found
dpkg: error processing /var/cache/apt/archives/samba_3.0.14a-3sarge11_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: line 22: update-inetd: command not found
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/samba_3.0.14a-3sarge11_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This samba error seems to be a sticking point though now as installing any other apt packages like apache or swat will return some sort of similar samba error;
CODE
box:/etc/apt# apt-get install apache
Reading Package Lists... Done
Building Dependency Tree... Done
apache is already the newest version.
The following extra packages will be installed:
samba
The following packages will be upgraded:
samba
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
132 not fully installed or removed.
Need to get 0B/2556kB of archives.
After unpacking 53.2kB disk space will be freed.
Do you want to continue? [Y/n] y
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 36630 files and directories currently installed.)
Preparing to replace samba 3.0.14a-3 (using .../samba_3.0.14a-3sarge11_i386.deb) ...
Unpacking replacement samba ...
/var/lib/dpkg/info/samba.postrm: line 22: update-inetd: command not found
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 22: update-inetd: command not found
dpkg: error processing /var/cache/apt/archives/samba_3.0.14a-3sarge11_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: line 22: update-inetd: command not found
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/samba_3.0.14a-3sarge11_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
box:/etc/apt#
CODE
Use these repos for sarge
deb http://archive.debian.org/debian sarge main contrib non-free
deb http://archive.debian.org/debian-non-US oldstable/non-US main contrib non-free
deb-src http://archive.debian.org/debian-non-US oldstable/non-US main contrib non-free
deb http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb-src http://archive.debian.org/debian-security sarge/updates main contrib non-free
I think I'd screwed my old instillation so in the end reformatted and did a new fresh native xebian install and removed all the original sources which all seemed to be causing errors and warnings.
Then replacing with the ones above I seem to be able to run apt-get update and apt-get -f dist-upgrade without any problems.
Samba/Swat etc all seem to install and run fine now as well so huge thanks for that.
Out of interest is there any point upgrading the kernel to 2.6.18? Will it alleviate any of these problems and allow me to install from etch?
Now I just need to get SABnzbd working--have updated to pytho2.5 but every time I run SABnzbd.py I get an error about
Sorry, requires Python module sqlite3 (pysqlite2 in python2.4)
Try: apt-get install python-pysqlite2
Bit annoying..... the charms of linux?
If I manage to get it all working might stick together a walk thorough in case it helps anyone?
Thanks again run088