Comment 5 for bug 81306

Revision history for this message
JimTonti (jtonti1) wrote :

I tried Tim's fix after getting error during upgrade from 6.06LTS to 6.10:
:
"Could not install '/var/cache/apt/archives/samba_3.0.22-1ubuntu4.2_i386.deb'
The upgrade aborts now. Please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bugreport.
subprocess new pre-removal script returned error exit status 102"

Here's the results:
etc/rc2.d$> sudo apt-get install -f
jtonti@jtonti-ubuntu2:/etc/rc2.d$ sudo apt-get install -f
Password:
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  samba xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xorg
Recommended packages:
  smbldap-tools
The following NEW packages will be installed:
  xorg
The following packages will be upgraded:
  samba xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable
5 upgraded, 1 newly installed, 0 to remove and 237 not upgraded.
714 not fully installed or removed.
Need to get 0B/16.9MB of archives.
After unpacking 28.7kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en",
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
(Reading database ... 86662 files and directories currently installed.)
Preparing to replace samba 3.0.22-1ubuntu3.3 (using .../samba_3.0.22-1ubuntu4.2_i386.deb) ...
invoke-rc.d: dangling symlink: /etc/rc2.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/rc2.d/S91samba
dpkg: error processing /var/cache/apt/archives/samba_3.0.22-1ubuntu4.2_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.22-1ubuntu4.2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm not sure what any of this means - sorry!