Skip navigation.
Home
Now Shipping Version 7.0

updating samba-common 3.0.22-1ubuntu3.3 to samba-common_3.0.25b-1_i386.deb ERROR


Posts: 2

How can I fix this error so I can do the update. Here is the error.

(Reading database ... 116414 files and directories currently installed.)
Preparing to replace samba-common 3.0.22-1ubuntu3.3 (using .../samba-common_3.0.25b-1_i386.deb) ...
Unpacking replacement samba-common ...
dpkg: error processing ///home/mark/Documents/Downloads/samba-common_3.0.25b-1_i386.deb (--install):
trying to overwrite `/usr/bin/profiles', which is also in package samba
dpkg-deb: subprocess paste killed by signal (Broken pipe)
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Errors were encountered while processing:
///home/mark/Documents/Downloads/samba-common_3.0.25b-1_i386.deb
RESULT=1

drlizau's picture

translation

the file /usr/bin/profiles is in both samba and samba-common
when upgrading only one of these packages you could upset the other, so the package manager stops you upgrading.

if you are sure that either
nothing will go wrong
or
that you can backtrack if it does

you use dpkg --force-overwrite
to install the samba-common

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.