[Bug 1233625] Re: update package started failing (w/ samba?)

MarkB mbreithart at gmail.com
Thu Oct 10 13:55:29 UTC 2013


Yolanda,

Thanks for the reply and suggestion. I ran the suggested commands in the
link subsequently:

<begin>
sudo apt-get clean
sudo apt-get update
<end>

then

<begin>
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
<end>

The sudo apt-get update ran without error. Last 2 lines from terminal
window below:

<begin>
Fetched 4,240 B in 1s (2,174 B/s)
Reading package lists... Done
<end>

I then ran; sudo apt-get install -f. It returned the following [error]
message(s):

<begin>
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  nvidia-settings-updates
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  samba
Suggested packages:
  openbsd-inetd inet-superserver smbldap-tools ldb-tools ctdb
The following packages will be upgraded:
  samba
1 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
4 not fully installed or removed.
Need to get 0 B/8,009 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 772573 files and directories currently installed.)
Preparing to replace samba 2:3.6.3-2ubuntu2.6 (using
.../samba_2%3a3.6.3-2ubuntu2.8_i386.deb) ...
PID file /var/run/mediaserver.pid not found, stopping server anyway...

Stopping twonkyproxy
Stopping twonkytuner
twonkytuner: no process found
invoke-rc.d: initscript nmbd, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status
3
dpkg - trying script from the new package instead ...
PID file /var/run/mediaserver.pid not found, stopping server anyway...

Stopping twonkyproxy
Stopping twonkytuner
twonkytuner: no process found
invoke-rc.d: initscript nmbd, action "stop" failed.
dpkg: error processing
/var/cache/apt/archives/samba_2%3a3.6.3-2ubuntu2.8_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 3
No apport report written because MaxReports is reached already

update-alternatives: using /usr/bin/smbstatus.samba3 to provide
/usr/bin/smbstatus (smbstatus) in auto mode.
Warning: support deamon /usr/local/twonky/twonkytuner not found.
Starting /usr/local/twonky/twonkystarter ...
Twonky Version 7.2.3
twonkyproxy is already running.

For image conversion and scaling the TwonkyServer utilizes ImageMagick. For
details on the license please see
/usr/local/twonky/cgi-bin/convert-readme.txt
Twonky server seems already be running under PID 3822
(PID file /var/run/mediaserver.pid already exists). Checking for process...
Process IS running. Not started again.
Errors were encountered while processing:
 /var/cache/apt/archives/samba_2%3a3.6.3-2ubuntu2.8_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
<end>

I installed Twonky media server per instructions at the following link:
http://www.dickson.me.uk/2010/11/02/installing-twonkyserver-on-ubuntu-lucid-lunx-10-04-1/

Even though the instructions were written for Ubuntu 10.04 I figured the
distro had not changed that much. Twonky was working for several weeks
prior to the update errors. The music files I am attempting to stream are
located on the 2nd internal hard drive.

I also attempted to change the way my 2nd internal hard drive is mounted.
>From mounting when a user clicked on it (me) in Home folder to mounting at
system boot (all users, all the time available). I still have not got that
figured out. The update problem seemed started occurring after I tried
changing the hard drive mount. I backed out of everything I did here.

I'm thinking I need to re-install Ubuntu 12.04. Unfortunately I'm better at
Windows than Linux, this seems way over my head to debug.

Any additional ideas?

Thanks.  //mark breithart


On Thu, Oct 10, 2013 at 3:24 AM, Yolanda Robla
<yolanda.robla at canonical.com>wrote:

> Thanks for reporting this
> Please can you take a look at this thread
>
> http://ubuntuforums.org/showthread.php?t=2150659&p=12673626#post12673626
>
> To check if that helps?
>
> Best
> Yolanda
>
> ** Changed in: samba (Ubuntu)
>        Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1233625
>
> Title:
>   update package started failing (w/ samba?)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1233625/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1233625

Title:
  update package started failing (w/ samba?)

Status in “samba” package in Ubuntu:
  Invalid

Bug description:
  During the normal update process the desktop upgrade package failed. 
  I have recently installed Twonky Media Server on the PC. But Twonky has been operating normally for 2 months.
  I connect to a DLink DNS-323 NAS w/ it's OS running a Linux kernel.
  I have been trying to mount a second internal HDD for all users. Current mount method is dependent upon user id (mine).

  Error report:
  The following packages have unmet dependencies:
  samba: Depends: samba-common (= 2:3.6.3-2ubuntu2.6) but 2:3.6.3-2ubuntu2.7 is installed
         Depends: libwbclient0 (= 2:3.6.3-2ubuntu2.6) but 2:3.6.3-2ubuntu2.7 is installed
         Depends: upstart-job but it is a virtual package

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: samba 2:3.6.3-2ubuntu2.6
  ProcVersionSignature: Ubuntu 3.2.0-53.81-generic-pae 3.2.50
  Uname: Linux 3.2.0-53-generic-pae i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu17.4
  Architecture: i386
  Date: Tue Oct  1 07:35:33 2013
  DuplicateSignature: package:samba:2:3.6.3-2ubuntu2.6:subprocess new pre-removal script returned error exit status 3
  ErrorMessage: subprocess new pre-removal script returned error exit status 3
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  MarkForUpload: True
  SambaClientRegression: Yes
  SourcePackage: samba
  Title: package samba 2:3.6.3-2ubuntu2.6 failed to install/upgrade: subprocess new pre-removal script returned error exit status 3
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1233625/+subscriptions



More information about the foundations-bugs mailing list