Unable to remove package remote-tty 4.0-12

Bug #600497 reported by Adrian Popa
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
remote-tty (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: remote-tty

Hello,

I am unable to uninstall (apt-get autoremove) this package and I always get this output:

adrianp@frost:~/temp$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  remote-tty
0 upgraded, 0 newly installed, 1 to remove and 17 not upgraded.
After this operation, 242kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 183460 files and directories currently installed.)
Removing remote-tty ...
Stopping remote-tty console manager:cd: 56: can't cd to /var/run/remote-tty/pid
invoke-rc.d: initscript remote-tty, action "stop" failed.
dpkg: error processing remote-tty (--remove):
 subprocess installed pre-removal script returned error exit status 2
Starting remote-tty console manager:
  no consoles configured
Errors were encountered while processing:
 remote-tty
E: Sub-process /usr/bin/dpkg returned an error code (1)

My system (10.04) was upgraded from 09.10.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: remote-tty 4.0-12
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Thu Jul 1 08:57:31 2010
ErrorMessage: subprocess installed pre-removal script returned error exit status 2
SourcePackage: remote-tty
Title: package remote-tty 4.0-12 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 2

Revision history for this message
Adrian Popa (adrian-popa-gh) wrote :
Revision history for this message
Adrian Popa (adrian-popa-gh) wrote :

Managed to find a work-around to uninstall it - I have created the directory /var/run/remote-tty/pid and the uninstall process worked:

root@frost:/# ls -l /var/run/remote-tty/pid
ls: cannot access /var/run/remote-tty/pid: No such file or directory
root@frost:/# mkdir -p /var/run/remote-tty/pid
root@frost:/# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  remote-tty
0 upgraded, 0 newly installed, 1 to remove and 17 not upgraded.
After this operation, 242kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 183460 files and directories currently installed.)
Removing remote-tty ...
Stopping remote-tty console manager: nothing running.
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...

Maybe the stop script should check that the pid directory exists before dying

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 409805, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in remote-tty (Ubuntu):
status: New → Confirmed
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.