Opened 10 years ago

Closed 8 years ago

#8370 closed defect (Won't Fix)

make uninstall does not remove all installed files

Reported by: Nick Morrott <knowledgejunkie (at) gmail (dot) com> Owned by: beirdo
Priority: trivial Milestone: unknown
Component: Bindings - Perl Version: Master Head
Severity: low Keywords:
Cc: Ticket locked: no

Description

After a clean installation and uninstallation with trunk @ r24200, the following orphaned files/directories are left behind:

# ls -laR /usr/local/share/mythtv/*
/usr/local/share/mythtv/mythnetvision:
total 16
drwxr-xr-x 4 root root 4096 2010-04-19 19:35 .
drwxr-xr-x 4 root root 4096 2010-04-20 01:55 ..
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 icons
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 scripts

/usr/local/share/mythtv/mythnetvision/icons:
total 12
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 .
drwxr-xr-x 4 root root 4096 2010-04-19 19:35 ..
drwxr-xr-x 2 root root 4096 2010-04-20 01:55 directories

/usr/local/share/mythtv/mythnetvision/icons/directories:
total 8
drwxr-xr-x 2 root root 4096 2010-04-20 01:55 .
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 ..

/usr/local/share/mythtv/mythnetvision/scripts:
total 12
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 .
drwxr-xr-x 4 root root 4096 2010-04-19 19:35 ..
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 nv_python_libs

/usr/local/share/mythtv/mythnetvision/scripts/nv_python_libs:
total 12
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 .
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 ..
drwxr-xr-x 2 root root 4096 2010-04-20 01:55 vimeo

/usr/local/share/mythtv/mythnetvision/scripts/nv_python_libs/vimeo:
total 8
drwxr-xr-x 2 root root 4096 2010-04-20 01:55 .
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 ..

/usr/local/share/mythtv/mythvideo:
total 12
drwxr-xr-x 3 root root 4096 2010-04-19 19:35 .
drwxr-xr-x 4 root root 4096 2010-04-20 01:55 ..
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 scripts

/usr/local/share/mythtv/mythvideo/scripts:
total 12
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 .
drwxr-xr-x 3 root root 4096 2010-04-19 19:35 ..
drwxr-xr-x 2 root root 4096 2010-04-20 01:55 Movie

/usr/local/share/mythtv/mythvideo/scripts/Movie:
total 8
drwxr-xr-x 2 root root 4096 2010-04-20 01:55 .
drwxr-xr-x 3 root root 4096 2010-04-20 01:55 ..
# ls -laR /usr/local/lib/perl5/site_perl/5.10.0/MythTV*
-r--r--r-- 1 root root 33703 2010-03-01 22:17 /usr/local/lib/perl5/site_perl/5.10.0/MythTV.pm

/usr/local/lib/perl5/site_perl/5.10.0/MythTV:
total 68
drwxr-xr-x   2 root root  4096 2010-04-19 19:27 .
drwxr-xr-x. 31 root root  4096 2010-04-19 19:27 ..
-r--r--r--   1 root root  4350 2009-04-11 01:04 Channel.pm
-r--r--r--   1 root root 20807 2009-07-06 18:01 Program.pm
-r--r--r--   1 root root 24159 2010-03-21 23:16 Recording.pm
-r--r--r--   1 root root  2581 2009-04-11 01:04 StorageGroup.pm

For the MythNetVision? and MythVideo? orphaned directories, I'm guessing it will be fairly trivial to fix, but I'm not so sure about the Perl modules.

Change History (6)

comment:1 Changed 10 years ago by robertm

Milestone: unknown0.24
Priority: minortrivial
Severity: mediumlow

I'll figure out the MNV and MV portions of this.

comment:2 Changed 9 years ago by robertm

Milestone: 0.240.25
Owner: changed from Isaac Richards to robertm
Status: newaccepted

This will have changed somewhat, and it's possible that only the perl portions still apply since most of this has been moved. Pushing the rest to .25

comment:3 Changed 9 years ago by beirdo

Owner: changed from robertm to beirdo

I'll take a look at the perl part. Since that seems to be the last remaining part we know of, I'll steal the ticket at this time.

comment:4 Changed 9 years ago by beirdo

Component: MythTV - GeneralBindings - Perl

comment:5 Changed 9 years ago by stuartm

Milestone: 0.25

Milestone 0.25 deleted

comment:6 Changed 8 years ago by beirdo

Milestone: 0.25unknown
Resolution: Won't Fix
Status: acceptedclosed

There has not been a clean way found to deal with this in almost 18 months. Giving up on it.

Note: See TracTickets for help on using tickets.