STUCK in Update to new SAMBA
by Jezekilj Monk from LinuxQuestions.org on (#4Y8V6)
Has anyone else today got stuck while Update Manager was updating SAMBA?
Update Manager on my LinuxMint 19.3 Cinnamon listed the update for SAMBA
When I started the update I was given following options.
install the package maintainer's version
keep the local version currently installed
show the differences between the versions
show a side-by-side difference between the versions
show a 3-way difference between available versions
do a 3-way merge between available versions
start a new shell to examine the situation
I picked the last and terminal window of the Update Manager got stuck there with the root sign "#". Updating procedure was not finished after couple of hours.
Then I tried reboot, which only worked as 'sleep' or 'hibernate' mode, I am not sure.
I had to manually power off Mint and then boot it up again.
Now Update Manager gave me this message
Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'Sub-process returned an error code
In a separate window i was told that update process was aborted and I should do it manually by typing following command in the terminal
Code:sudo dpkg --configure -aI did it and got this message
Package configuration
Samba server and utilities
A new version (/run/samba/upgrades/smb.conf) of configuration file /etc/samba/smb.conf is available, but the version installed currently has been locally modified.
What do you want to do about modified configuration file smb.conf?
install the package maintainer's version
keep the local version currently installed
show the differences between the versions
show a side-by-side difference between the versions
show a 3-way difference between available versions
do a 3-way merge between available versions
start a new shell to examine the situation
<Ok>
I picked the last option and SAMBA worked just fine (sharing both from my laptop and accessing shares on other PCs).
I closed the terminal not knowing what next to do. System waits for me to again run the above command and pick some of the options, but what those three options really mean
A. package maintainer's version -
B. local version -
C. 3-way merge between available versions)?
And which one should I know pick?


Update Manager on my LinuxMint 19.3 Cinnamon listed the update for SAMBA
When I started the update I was given following options.
install the package maintainer's version
keep the local version currently installed
show the differences between the versions
show a side-by-side difference between the versions
show a 3-way difference between available versions
do a 3-way merge between available versions
start a new shell to examine the situation
I picked the last and terminal window of the Update Manager got stuck there with the root sign "#". Updating procedure was not finished after couple of hours.
Then I tried reboot, which only worked as 'sleep' or 'hibernate' mode, I am not sure.
I had to manually power off Mint and then boot it up again.
Now Update Manager gave me this message
Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'Sub-process returned an error code
In a separate window i was told that update process was aborted and I should do it manually by typing following command in the terminal
Code:sudo dpkg --configure -aI did it and got this message
Package configuration
Samba server and utilities
A new version (/run/samba/upgrades/smb.conf) of configuration file /etc/samba/smb.conf is available, but the version installed currently has been locally modified.
What do you want to do about modified configuration file smb.conf?
install the package maintainer's version
keep the local version currently installed
show the differences between the versions
show a side-by-side difference between the versions
show a 3-way difference between available versions
do a 3-way merge between available versions
start a new shell to examine the situation
<Ok>
I picked the last option and SAMBA worked just fine (sharing both from my laptop and accessing shares on other PCs).
I closed the terminal not knowing what next to do. System waits for me to again run the above command and pick some of the options, but what those three options really mean
A. package maintainer's version -
B. local version -
C. 3-way merge between available versions)?
And which one should I know pick?