Bug#736822: Cannot purge/completely remove Steam

2014-02-26 Thread Jordan Metzmeier
tags 736822 moreinfo
thanks

Please run the following and add the output to the bug report:

sh -x /var/lib/dpkg/info/steam.postrm

This will run the post removal script in a debug mode, which should
make it easier to identify the issue.

-- 
Regards,
Jordan Metzmeier


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#736822: Cannot purge/completely remove Steam

2014-01-26 Thread Vlad Orlov
Package: steam
Version: 1.0.0.39-1
Severity: normal

Hi,

I had Steam installed for some testing purposes I don't remember, and later I 
removed it.
It didn't get removed completely, there's a couple of files left:

$ ls -l /var/lib/dpkg/info/steam.*
-rw-r--r-- 1 root root   0 Jan 27 11:23 /var/lib/dpkg/info/steam.list
-rwxr-xr-x 1 root root 451 May 27  2013 /var/lib/dpkg/info/steam.postrm

I can't remove it with apt-get remove because it's counted as already removed:

$ sudo apt-get remove steam
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Package 'steam:i386' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

But I also can't remove it completely with apt-get purge:

$ sudo apt-get purge steam
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages will be REMOVED:
  steam:i386*
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 241526 files and directories currently installed.)
Removing steam ...
Purging configuration files for steam ...
dpkg: error processing steam (--purge):
 subprocess installed post-removal script returned error exit status 10
Errors were encountered while processing:
 steam
E: Sub-process /usr/bin/dpkg returned an error code (1)

I really don't know what part of that script returns status 10, and what that 
code means,
so here I am, asking for some assistance.