eisublime
July 24th, 2008, 04:19 PM
I'm trying to upgrade my 6.06 LTS server install of Ubuntu to the new shiny 8.04 LTS version, however it tries to upgrade samba during the process and fails. If i try sudo apt-get install -f I get
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
samba
The following packages will be upgraded:
samba
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
74 not fully installed or removed.
Need to get 0B/3404kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 58125 files and directories currently installed.)
Preparing to replace samba 3.0.22-1ubuntu3.3 (using .../samba_3.0.22-1ubuntu3.8_amd64.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.22-1ubuntu3.8_amd64.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.22-1ubuntu3.8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
If I try sudo apt-get install update-inetd I get
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package update-inetd
When I looked at the available packages for Dapper, it looks like update-inetd isn't one of them, so I need to do one of two things I guess. Either get update-inetd installed somehow (which I can't figure out how to do) or get apt-get to stop trying to upgrade samba. Can anyone help me figure out how to do either of those things?
Thanks
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
samba
The following packages will be upgraded:
samba
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
74 not fully installed or removed.
Need to get 0B/3404kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 58125 files and directories currently installed.)
Preparing to replace samba 3.0.22-1ubuntu3.3 (using .../samba_3.0.22-1ubuntu3.8_amd64.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.22-1ubuntu3.8_amd64.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.22-1ubuntu3.8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
If I try sudo apt-get install update-inetd I get
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package update-inetd
When I looked at the available packages for Dapper, it looks like update-inetd isn't one of them, so I need to do one of two things I guess. Either get update-inetd installed somehow (which I can't figure out how to do) or get apt-get to stop trying to upgrade samba. Can anyone help me figure out how to do either of those things?
Thanks