package tgt 1:1.0.37-0ubuntu1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Bug #1210307 reported by Jeff Lane 
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tgt (Ubuntu)
New
Undecided
Unassigned

Bug Description

Did a general dist-upgrade on saucy. I have TGT installed for some work with devstack. For some reason, tgt failed to upgrade and that caused apt to throw an error.

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: tgt 1:1.0.37-0ubuntu1
ProcVersionSignature: Ubuntu 3.10.0-6.17-generic 3.10.3
Uname: Linux 3.10.0-6-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12-0ubuntu3
Architecture: amd64
Date: Thu Aug 8 08:49:58 2013
DuplicateSignature: package:tgt:1:1.0.37-0ubuntu1:subprocess new pre-removal script returned error exit status 1
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2012-03-15 (511 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120307)
MarkForUpload: True
SourcePackage: tgt
Title: package tgt 1:1.0.37-0ubuntu1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: Upgraded to saucy on 2013-06-22 (47 days ago)
modified.conffile..etc.init.tgt.conf: [deleted]
mtime.conffile..etc.tgt.targets.conf: 2013-05-10T14:34:21.654054

Revision history for this message
Jeff Lane  (bladernr) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

Thanks for reporting this
Seems that something is preventing tgt to stop. Can you please send the tgt log files to check why process isn't stopping?

Thanks
Yolanda

Changed in tgt (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeff Lane  (bladernr) wrote :

 * Stopping target framework daemon tgtd ESC[80G ^MESC[74G[ESC[31mfailESC[39;49m]
invoke-rc.d: initscript tgt, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
 * Stopping target framework daemon tgtd ESC[80G ^MESC[74G[ESC[31mfailESC[39;49m]
invoke-rc.d: initscript tgt, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/tgt_1%3a1.0.38-0ubuntu1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1

There appears to be no log for tgt... the only references I could find are the above in apt/term.log

and the following from syslog:
Sep 5 10:55:56 klaatu tgtd: semkey 0x610ff449
Sep 5 10:55:56 klaatu tgtd: tgtd daemon started, pid:14792
Sep 5 10:55:56 klaatu tgtd: tgtd logger started, pid:14793 debug:0
Sep 5 10:55:56 klaatu kernel: [ 7247.887727] tgtd (14792): /proc/14792/oom_adj is deprecated, please use /proc/14792/oom_score_adj instead.
Sep 5 10:55:57 klaatu tgtd: iser_ib_init(3349) Failed to initialize RDMA; load kernel modules?
Sep 5 10:55:57 klaatu tgtd: work_timer_start(150) use signal based scheduler
Sep 5 10:55:57 klaatu tgtd: bs_init(316) use signalfd notification

Changed in tgt (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.