Ubuntu :: Delete All Python Packages That Were Installed By Checkinstall With The /usr Prefix?
Aug 31, 2010
I ran into this bug: [URL]...I checked that overwrite-local was set to 1. So I want to delete all python packages that were installed by checkinstall with the /usr prefix.
Now it has been some time since I did this and I dont really remember. Does anyone using checkinstall know how to spot packages installed via checkinstall? I already checked the FAQ and doc of checkinstall, but no info on this.
I recently installed a few packages from source using checkinstall (notably x264). Today, when my normal synaptic/apt-get upgrade ran, it wanted to to overwrite the (newer) version I installed with the (older) version in the repos.Is there any way to have synaptic/apt ignore packages installed via checkinstall so that they aren't overwritten?
i read somewhere (I think an article by AlienBob) that you needed to make sure .tgz packages where located in a safe place as opposed to the home directory so as to prevent accidental deletion.
I have a number of .tgz packages that I have already installed and moved to the /bin/ directory for safe keeping, but its not very orderly, ya' know?
Is it safe to delete/rm these .tgz files? Im assuming that the installpkg command extracts the creamy nougat inside and puts it somewhere useful.
Also, even if it is safe to delete, what is best practice in this case? keep them forever in some isolated directory?
in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work
So installing a programm is a problem. I like to install Aqualung. "/.configure" works. But "make" seems to be not installed. "checkinstall" seems to be not installed "sudo apt-get make" does not work. I have no internet connection with linux, because I have no idea how I install the network card. I guess this sudo command use internet? Is there another way to compile that program? (And just by the way, why must this be so difficult?
This all started when my Screenlets stopped working. Then I noticed that my update notification stopped too. So, to the command line I went to do and update hoping it was a recent update that needed to be fixed.
Code: sudo apt-get update && sudo apt-get upgrade
It appears that multiple python packages are trashed some how? Currently doing sudo apt-get -f install I get:
HTML Code: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: python-configglue python-ubuntuone-client libimobiledevice0 python-ubuntuone-storageprotocol python-twisted-web python-pyinotify libcouchdb-glib-1.0-2 .....
There seems to be a lot of documentation automatically installed on my hard drive, is there a unified browser for all of the -doc packages? Is it just the man command? What about the html documentation that comes with python packages? Is there an easy way to browse these? As it stands, all I know how to do is navigate to the directory and open the html file explicitly, it just seems like there might be an easier way. I've googled around and don't know exactly what I'm looking for.
I just finished upgrading the last of 3 machines from F10 to F12 using preupgrade (all i686). Except for a non-critical hplip issue, all went well with the first two machines upgraded 1 week and 3 days ago, but some python F10->F12 updates were missing on the third machine that I upgraded yesterday, leaving yum inoperable. Thanks to good yum error messages, I was able to resolve the problem (I think), but I thought I should post to check if mine is a unique or common problem, to enquire if it may have resulted from some of the python packages being in "update transit" in the repositories, and/or whether something like this can be avoided in future? Details follow:
Upgrade appeared to go well except for some dejavu font dependency issues (experienced on all three machines) and libcrypto.so.7 missing for eet-1.2.2-4... (third machine). However, there was a boot message that some python module (can't remember which) was not present for some nvidia requirement, although video driver worked fine. When testing yum: First it complained that libpython2.6.so.1.0 was not present. Since that module conflicted (identified by rpm) with various python 2.5.*f10 packages that that were still on board, I copied libpython2.6.so.1.0 (from a current f12 rpm) into /usr/lib manually. Second, yum complained that urlgrabber was not available, so rpm with the latest python-urlgrabber for f12 solved that.
Third, yum complained that pycurl was not available, so rpm with the latest python-pycurl solved that. Yum now works! and boot message is gone! I ran "yum install python-libs" to make sure that any necessary dependencies were met following my manual installation of libpython2.6.so.1.0, which resulted in a bunch of python dependencies being upgraded as a result.
I was assigned to do all the RHEL5 updates. All installed fine including the new kernel except for the updated libX11 and python packages. Does anyone have any suggestions relating to a fix for this?
When I run openshot it spits out this: Code: Added /usr/share/openshot to system path OpenShot (version 1.0.0) *** ERROR: MLT Python bindings failed to import *** *** ERROR: MLT Python bindings failed to import *** Error: OpenShot has not been installed in the Python path. (Both the site-packages and /usr/share/openshot folders were checked)
Use the following command to install OpenShot: $ sudo python setup.py install Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner self.run() File "/usr/share/openshot/classes/thumbnail.py", line 174, in run mlt.Factory().init() NameError: global name 'mlt' is not defined
I really want to free up disk spaces in my ubuntu, so i look up disk analyzer then i saw /var/cache/apt/archives take about 1.2GB space from my disk. can i deleted those packages to free up disk spaces? the packages there is a *.deb files, when i click on some them, it open ubuntu software center. an the ubuntu software center describe the newer upgrade is installed.
This borders on stackoverflow/superuser, but I guess it's a simple installation problem.I've installed python-twisted on my ubuntu 10.04 server, but it can't be found.This is what I get when I try to import something:
>>> from twisted.internet import reactor Traceback (most recent call last): File "", line 1, in [code]....
I've installed the package through apt-get.That way the module is installed in this folder: /usr/lib/python2.6/dist-packages/twisted with an __init__.py file.When I try to use python setup.py install (on the download from the site) it installs it to /usr/local/lib/python2.6/dist-packages/twisted, but it also does not find it there.
I have a package (mlt-python to be exact) which can be found here: [URL]...ent/x86_64/os/ and it requires python 2.6. When I try to install it with yum, I get this error:
[root@chessman Downloads]# yum localinstall mlt-python-0.5.4-1.fc14.x86_64.rpm Loaded plugins: langpacks, presto, refresh-packagekit Adding en_US to language list Setting up Local Package Process Examining mlt-python-0.5.4-1.fc14.x86_64.rpm: mlt-python-0.5.4-1.fc14.x86_64 Marking mlt-python-0.5.4-1.fc14.x86_64.rpm to be installed
[Code]...
So Apparently I have python 2.7 and it needs python 2.6. Great. Is there a package that fakes python-2.6 and install anything?
I'm trying to install git (git-scm.com) from source. I need apt to recognize that it's installed, so I figured I would install it using the checkinstall program.
I followed the steps listed in the following thread: [URL].. Unfortunately, I'm getting some errors. I wondering if anyone could tell me what I'm doing wrong. Full log:
Code: $ wget http://kernel.org/pub/software/scm/git/git-1.7.3.2.tar.bz2 $ tar xf git-1.7.3.2.tar.bz2 $ cd git-1.7.3.2 $ make prefix=/usr/local
Going from 10.10 to 11.04 and I get this message:[URL].. I honestly have no idea what most of those are (yes I'm a huge noob), so it's possible that it's necessary to delete some of them, but Handbrake? Open Office? Why would it delete those? What possible reason could there be?
Additionally, what does "no longer needed" mean? Is it going to delete those packages too?
I have slow internet connection so i keep each .deb package i download in my local archive for next installations, now there is a collection of some older and new versions of the same packages in my local archive, is there any way to delete the older versions and keep the latest one in my local archive.
I was in Yum Extender and I accidentally hit some things I didnt want to and then it started removing packages I believe; not installing them.will yum delete packages other programs depend on if they're needed by other programs?it was some gstreamer libraries.
I have just installed Debian Lenny and was trying to upgrade the installed packages from the packages.debian.org site. when i asked synaptic to add the downloaded packages the would not appear, but when i checked the .xsessions file there are entries saying that the packages were being ingnored because they were either different versions, the MD5 did not match or even "can't find pkg". i have to use the local library to download the packages because i dont have an internet connection at home.
I tried installing System-->Administration-->Synaptics Package Manager and I got following error
Code: gnochm: Depends: python-gtkhtml2 but it is not installable I am using Lucid 64 bit and in my sources.list multiverse ,partner ,universe ,restricted and backports are enabled.
I installed a newer version of python in /usr/local/bin/python2.6. Now I want to use that python and only that one. When I type "Which python", I want to see /usr/local/bin/python2.6, NOT /usr/bin/python, which is old one (2.4). Also, I want to see the same even after I reboot. How do I do that?
There is a nice package wxCam that used to be included in the opensuse (last one was, I think 10.3). Or perhaps I am wrong and it was from the Packman repo. Who maintains these packages?
I installed it from source and it must have ended up installing about 200MB of dependencies and dependencies of dependencies. I am not knowledgeable enough to create an rpm (checkinstall does not seem to be able to create an rpm).
I used checkinstall in fedora4 to make a rpm packed.The rpm pack is ok.When I used:
rpm -i xxxx.rpm to install the pack is ok. But when I used: rpm -e xxx to uninstall the pack didn't report error.But not uninstall. In my make file that checkinstall used is like this: install: FORCE
I would like to know if I can delete all of my files and remove all programs from my ubuntu laptop, like a clean install but without having to install the drivers and going through the installation
Is there a way to see the packages that I have recently installed? I'm trying to remove a program and I'm not sure what the names of the packages that came with it are.
I have been running Ubuntu on my laptop since 9.10 by itself (not dualbooting Windows). I had no problems with it back then but I did notice that when I upgraded, not all the packages installed and I would get an error message saying so. I never thought much of it. The problem became apparent when upgrading from 9.10 to 10.4, I would get an error message everytime and the upgrade would be cancelled. This forced me to reinstall Ubuntu for both 10.04 and 10.10. As soon as I downloaded 10.10 I downloaded docky and chromium. Heres where my current problems arise:
- Docky (which worked in 10.04) wont work even after I download compiz. - Every time I update the system, if i try to update chromium or anything else from google it cancels the upgrade. - I tried using "sudo apt-get upgrade" in the terminal but I get "Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/dpkg/status E: The package lists or status file could not be parsed or opened."