AW: apt
First i have it removed with --purge.
apt-get remove --purge samba
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
samba*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 6234kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 29038 files and directories currently installed.)
Removing samba ...
Stopping Samba daemons: nmbd smbd.
Purging configuration files for samba ...
Removing configuration file /etc/default/samba...
Removing configuration file /etc/default/samba...
Second "apt-get install samba"
Selecting previously deselected package samba.
(Reading database ... 28988 files and directories currently installed.)
Unpacking samba (from .../samba_3.0.10-1_i386.deb) ...
Setting up samba (3.0.10-1) ...
Generating /etc/default/samba...
/var/lib/dpkg/info/samba.postinst: line 149: /etc/samba/smbpasswd: No such
file or directory
dpkg: error processing samba (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----Ursprüngliche Nachricht-----
Von: Benjamin Eastep [mailto:shifting@shifting.ca]
Gesendet: Samstag, 16. April 2005 01:45
An: Philippe Braxmeier
Betreff: Re: apt
This is when you removed it with --purge?
Ben
On Sat, Apr 16, 2005 at 01:40:18AM +0200, Philippe Braxmeier wrote:
>
> Yes, the removing works fine! But the apt-get install samba:
>
> The following NEW packages will be installed:
> samba
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/2446kB of archives.
> After unpacking 6234kB of additional disk space will be used.
> Preconfiguring packages ...
> Selecting previously deselected package samba.
> (Reading database ... 28988 files and directories currently
> installed.) Unpacking samba (from .../samba_3.0.10-1_i386.deb) ...
> Setting up samba (3.0.10-1) ...
> /var/lib/dpkg/info/samba.postinst: line 149: /etc/samba/smbpasswd: No
> such file or directory
> dpkg: error processing samba (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> samba
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> THX for Help
Reply to: