taskManeage - Tasks: task #16270, Uninstall method for python +...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #16270: Uninstall method for python + python modules

Submitter:  Boud Roukema <boud>
Submitted:  Tue 04 Oct 2022 04:49:17 PM UTC
   
 
Should Start On:  Tue 04 Oct 2022 12:00:00 AM UTC Should be Finished on:  Tue 04 Oct 2022 12:00:00 AM UTC
Category:  Software Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Percent Complete:  0%
Open/Closed:  Open Effort:  0.00

Tue 04 Oct 2022 04:49:17 PM UTC, original submission:  

When debugging or testing improvements to the python build system (python.mk) in Maneage, it would be good to have a clean method for uninstalling all python libraries and binaries and python module libraries and binaries.

My best recent attempt was

rm -fv .local/version-info/python/; rm -fv .local/bin/python; rm -fr .local/lib/python*; rm -fr .build/.cache/Python-Eggs/; rm -fv .local/version-info/proglib/python-3.10.6; rm -fv .local/bin/cy*; rm -fv .local/version-info/proglib/cy*; rm -fvr .local/include/python3.10* ; rm -fv .local/bin/f2py*

but on doing './project configure --existing-conf' I still got fatal errors of the style

FileExistsError: File already exists: ...


The only practical method I found of uninstalling python, in order to get a clean test of an update to python, was to remove the whole '.build/' tree.  (In principle, removing '.build/software/' should be enough.)

(In Debian, aptitude purge PACKAGE removes all traces of the package, including any configure files installed with PACKAGE and subsequently modified by the sysadmin. An alternative is aptitude remove PACKAGE , which does not remove configuration files.)

Boud Roukema <boud>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by boud (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code