You are not logged in.

#1 2011-11-03 15:42:18

@op
Member
Registered: 2011-04-05
Posts: 49

Manual delete old files before package installation?

This is more a general or best practice question.

I installed a python program (gnoduino) manually some time ago using:

python setup.py build install

I found out that this program is available via AUR and it would be comfortable to use the AUR version.
So what should I do now. Manually delete everything that the python installer installed, with hope not to forget anything. And after that install via AUR?

Or leave it installed and start the install process via AUR and "overwrite" the old files?

In the first case: How do I delete everything?

whereis gnoduino
gnoduino: /usr/bin/gnoduino /usr/share/gnoduino /usr/share/man/man1/gnoduino.1

And I know that the python files reside in "/usr/lib/python2.7/site-packages/gnoduino".
Delete these files and I'm fine?

Offline

#2 2011-11-04 15:28:13

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: Manual delete old files before package installation?

Best practice would be to rebuild that package and uninstall, or use the built but not installed copy to locate and remove the files.

Bad practice and also my method would be to install with the -f flag and overwrite it.

However this could lead to breakage and more work if it goes wrong.

[NEO]Where we go from there is a choice I leave to you. [/NEO]

Offline

#3 2011-11-04 19:50:37

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Manual delete old files before package installation?

Just find all files not owned by any of your packages and remove them: https://wiki.archlinux.org/index.php/Pa … ny_package


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

Board footer

Powered by FluxBB