Your message dated Wed, 16 May 2007 15:37:16 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#424651: Samba upgrade failure: 3.0.24-6etch1 dependencies 
unmet
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: samba
Version: 3.0.24etch1

When upgrading "Samba" running "apt-get upgrade" I got unmet dependencies related messages:

=============================
# apt-get upgrade
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.
samba: Depends: samba-common (= 3.0.24-6) but 3.0.24-6etch1 is installed
samba-dbg: Depends: samba (= 3.0.24-6etch1) but 3.0.24-6 is installed
swat: Depends: samba (= 3.0.24-6etch1) but 3.0.24-6 is installed
E: Unmet dependencies. Try using -f.
=============================

Applying the sugested alternative "apt-get -f install" I got the following:

=============================
# apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies...Done
The following extra packages will be installed:
samba
Recommended packages:
smbldap-tools
The following packages will be upgraded:
samba
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 0B/3261kB of archives.
After unpacking 8192B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 97141 files and directories currently installed.)
Preparing to replace samba 3.0.24-6 (using .../samba_3.0.24-6etch1_i386.deb) ...
invoke-rc.d: dangling symlink: /etc/rc3.d/S91samba
dpkg: warning - old pre-removal script returned error exit status 102
dpkg - trying script from the new package instead ...
invoke-rc.d: dangling symlink: /etc/rc3.d/S91samba
dpkg: error processing /var/cache/apt/archives/samba_3.0.24-6etch1_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 102
Errors were encountered while processing:
/var/cache/apt/archives/samba_3.0.24-6etch1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
=============================

I´m using Debian/GNU Linux 4.0 (etch), with kernel version 2.6.18-4 and libc6 2.3.6.ds1-13.

Thank you!

--
Prof. Daniel de Queiroz Lopes
Colégio Sévigné e Instituto Superior de Educação Sévigné
Rua Duque de Caxias, 1475 - Fone: (51)3225-7499
Porto Alegre - RS - BRASIL




--- End Message ---
--- Begin Message ---
Hi Daniel,

I'm sorry, but nothing you describe here is a bug in the samba package.

On Wed, May 16, 2007 at 12:41:09PM -0300, Prof. Daniel de Queiroz Lopes wrote:
> When upgrading "Samba" running "apt-get upgrade"  I got unmet 
> dependencies related messages:

> =============================
> # apt-get upgrade
> 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.
> samba: Depends: samba-common (= 3.0.24-6) but 3.0.24-6etch1 is installed
> samba-dbg: Depends: samba (= 3.0.24-6etch1) but 3.0.24-6 is installed
> swat: Depends: samba (= 3.0.24-6etch1) but 3.0.24-6 is installed
> E: Unmet dependencies. Try using -f.
> =============================

This suggests that for some reason you had one or more of these packages on
hold, stopping apt from installing the security update.

> Applying the sugested alternative "apt-get -f install" I got the following:

> =============================
> # apt-get install -f
> Reading package lists... Done
> Building dependency tree... Done
> Correcting dependencies...Done
> The following extra packages will be installed:
> samba
> Recommended packages:
> smbldap-tools
> The following packages will be upgraded:
> samba
> 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> 2 not fully installed or removed.
> Need to get 0B/3261kB of archives.
> After unpacking 8192B of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Preconfiguring packages ...
> (Reading database ... 97141 files and directories currently installed.)
> Preparing to replace samba 3.0.24-6 (using 
> .../samba_3.0.24-6etch1_i386.deb) ...
> invoke-rc.d: dangling symlink: /etc/rc3.d/S91samba
> dpkg: warning - old pre-removal script returned error exit status 102
> dpkg - trying script from the new package instead ...
> invoke-rc.d: dangling symlink: /etc/rc3.d/S91samba
> dpkg: error processing 
> /var/cache/apt/archives/samba_3.0.24-6etch1_i386.deb (--unpack):
> subprocess new pre-removal script returned error exit status 102
> Errors were encountered while processing:
> /var/cache/apt/archives/samba_3.0.24-6etch1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> =============================

This indicates that you've somehow manually broken this symlink, so the
package is not able to determine whether samba should be started on upgrade
and therefore it throws an error instead.  If you fix this broken symlink,
the upgrade will succeed.

The init symlinks in /etc/rc*.d must point to /etc/init.d/samba, which must
exist.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

--- End Message ---

Reply via email to