Fedora Installation :: Python Error When Trying To Upgrade F13 To 14?
Nov 27, 2010
I'm encountering a python error in the beginning of the upgrade. See screenshot. How can this be solved or should I indeed file a bug report? Problem is that except for taking the picture, I've been unable to save the info.
On upgrade I ran into this catch-22, and have almost 500 packages in limbo because of it. Any ideas on how to fix python-gobject or pycompile or whichever is angry?
Setting up python-gobject (2.28.3-1ubuntu1) ... Traceback (most recent call last): File "/usr/bin/pycompile", line 322, in <module> main() File "/usr/bin/pycompile", line 299, in main options.force, options.optimize, e_patterns)
I had problems with python stuff and so update manager did not work. Also many other problems, PiTiVi was installed but did not start eg... After many trials of this and that I removed python-gtk2 and so also ubuntu desktop. But was unable to get it back. Now I cannot even shut down. While it is not possible to install desktop or anything else, would it be possible to fix this by upgrading the whole system to 10.04 (10.10?)? Would it fix python installation. How could I do it. Some info tells to change sources.list and run apt-get upgrade, but some tell not to do so.
t@t:~$ update-manager Traceback (most recent call last): File "/usr/bin/update-manager", line 26, in <module>
I have some tools that seem to have issues with Python 2.5 but are OK (on other systems) with Python 2.6. So, I was considering upgrading my Python interpreter to the current 2.6.4, but I know that in various RH distros, this was strongly discouraged. Is it OK to replace my current Python 2.5.2 on F10? If so, should that be done from source or can I do this cleanly through yum?
After upgrading to 10.04LTR 64bit I encountered this problem below... I have already tried -f / --configure to no avail.
@ASUS-AMD64:~$ sudo apt-get upgrade Reading package lists. Building dependency tree Reading state information Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up python-lazr.uri (1.0.2-1) dpkg (subprocess): unable to execute installed post-installation script: Exec format error dpkg: error processing python-lazr.uri (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: python-lazr.uri E: Sub-process /usr/bin/dpkg returned an error code (1)
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'm trying to install Openshot 1.1.3. from source on Mandriva 2010. I don't understand what else I should do apart from the command "sudo python setup.py install", but clearly this isn't enough, because I get the following error message:
Error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)
I've put the tarball at /usr/share/openshot-1.1.3. According to Software Management, I have python2.6 installed (and the other dependencies mentioned in the README), but what do I know. (I tried using an RPM file from rpm.pbone.net [URL], but that didn't work out either, I don't know whether this is the easier route or not.)
I get this missing dependency: Error: Missing Dependency: python(abi) = 2.3 I've tried to find this, but can find only references to it in past versions of Fedora (<9). I'm running F11.
Last night software updater notification showed 29 updates. I was building a liveCD image so decided create the image first then install the updates. After the updates were finished, I did a reboot because some packages required it, I logged on successfully, then I shutdown for the night. This morning when I executed the same command used to create the liveCD image, I get the following error.
two days ago I updated my Fedora 11 to Fedora 12 which seemed to run fine at first ... until it rebooted after the update process. I was presented with the following error:
Approximately 5 seconds afterwards it tells me, that the root device was not found. My root volume is a LVM inside a LUKS container, so I guess the keyboard error from above implies that it can't query me for my passwort and therefore open the volume.
I would like to install pymedia on my ubuntu 9.10 karmic distribution, but I am having a bit of a hard time doing that.I managed to install all the libraries (lame, libogg, libvorbis etc.) but when trying to run 'python setup.py build' I get an error (Shown at the end).I found on the interwebs that it may have to do with the version of gcc c++ compiler running (currently gcc-4.4) and that it only works with gcc-3.x. Therefore I downloaded gcc-3.4 (from the old jaunty archive), and with this one still no joy.NebelhomP.S. I am not a complete newcomer to linux and python but I am not an expert so it may happen that I ask questions with a very obvious answer.
Code: nebelhom@nebelhom-desktop:~/pymedia-1.3.7.3$ python setup.py build Using UNIX configuration...
I'm trying to upgrade, but have this issue: usually I download the DVD iso, run checksum, burn it, test the disk, and when found ok, I run the upgrade. Now, however, I keep getting "disk not ok" at 95% of the disk test. I have downloaded and verified the iso twice, used 2 DVD's, 2 different DVD-drives, 2 different computers and keep getting this error at 95%.
I keep getting the following msg as I try to upgrade from 10.04 -> 10.10 ... "Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. This can be caused by:
* Upgrading to a pre-release version of Ubuntu * Running the current pre-release version of Ubuntu * Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report." I don't think any of the issues above apply - can anyone offer advice on how to get around or "force " the upgrade
doing an upgrade from 10.4 to 10.4 LTS and got this error:
Could Not Calculate Upgrade
An unresolvable problem occurred while calculating the upgrade:The package 'skype' is marked for removal but it is in the removal blacklist.
This can be caused by: * Upgrading to a pre-release version of Ubuntu * Running the current pre-release version of Ubuntu * Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.
When I tried to install scribus, it shows: could not mark all packages for installation or upgrade. The following packages have unresolvable dependencies. Make sure that all required repositories are added and enabled in the preferences. python-tk: Depends: python (<2.6) but 2.6.2-0ubuntu1 is to be installed
I get an error when trying to install python-virtualenv package:
Quote: # yum install python-virtualenv Loaded plugins: presto, refresh-packagekit Setting up Install Process Resolving Dependencies --> Running transaction check
[Code]...
AFAIK, python-virtualenv package does not really require any development packages (at least in ubuntu, debian, opensuse). Is it a bug? I didn't find anything with search engines...
I dont know how to put this that somobody would understand my problem but here we go. I have problem like said in title.I am unable to upgrade my kernel. Sunaptics says that I have 2.6.35-28 installed. I tried to reinstall 2.6.35-28 via synaptics but it gives me error.
Thats what uname -a says:
pekka@pekka-laptop:~$ uname -a Linux pekka-laptop 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux
Tried to install 2.6.35-27 via terminal thats what I get:
Code: pekka@pekka-laptop:~$ sudo apt-get install linux-image-2.6.35-27 [sudo] password for pekka: Reading package lists... Done Building dependency tree code....
dpkg: error processing linux-image-2.6.35-25-generic (--remove): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: linux-image-2.6.35-25-generic E: Sub-process /usr/bin/dpkg returned an error code (1) pekka@pekka-laptop:
I'm using centos5 hiab with qmail and apache and i'm trying to install Mailman via: ./configure --prefix=/home/admin/mailman --with-mail-gid=qmail --with-cgi-gid=apache
and I get the error:
***** Distutils is not available or is incomplete for /usr/bin/python ***** If you installed Python from RPM (or other package manager) ***** be sure to install the -devel package, or install Python ***** from source. See sec. 15.1 of the Installation Manual for ***** details
Doing an rpm -qa | grep python yields the following: python-2.4.3-19.el5 libxml2-python-2.6.26-2.1.2
[Code]....
So it seems to me that the only thing I need to is upgrade(new install??) python-devel-2.4.3-19.e15
I updated my up to date F12 to F13. I have what must be a 640X480 display with no way to change it. I get an error:
"Error: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg90. Please verify its path and try again" on all Yum commands so no yum installs are possible. I don't have the /usr/bin/GLX command So theAIGLX doesn't work.
I`m having a problem with upgrading my Fedora 11 to either Fedora 12 or Fedora 13. When i start preupgrade, it lists all packages that need to be upgraded, but then it ends with the message that none of the mirrors can be found. I`m seeing the messages in the console, and indeed all the mirrors return "HTTP Error 404: Not Found". Any idea how to change this and eventually do an upgrade?. I also downloaded the Fedora 13 DVD, and tried to upgrade that way, but it never showed me the window which must give me the option to upgrade instead of doing a fresh install. The explanation in the official website clearly shows that this window exist, but after several tries with the DVD I did not get it.
I am driving Fedora 12 and need to test an application GUI with Python 2.4, 2.5 and 2.6. Python2.6 is native in F12 at /usr/lib... and I have alt-installed 2.4 and 2.5 at /usr/local/lib... Site-packages directories for 2.4 and 2.5 are empty. I have tried different tricks to install gtk-2.0 and pygtk in the site-packages of 2.4 and 2.5. But could not find a working solution.
My latest trial was to download Fedora 7 live and copy from its python2.5 gtk-2.0 and pygtk.* to F12:/usr/local/lib/python2.5/site-packages. Results were as follows:
Python 2.5.5 (r255:77872, May 13 2010, 17:15:51) [GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pygtk >>> import gtk Traceback (most recent call last):
After an online upgrade from f11 to f13, on rebooting the setup attempts to configure the wireless connection and fails with a not very illuminating "error configuring your network interface" notice, offering no option but to go back and try again, which of course fails again with the same error.
Wireless card is a D-link that works fine with the ath5k driver in f11.
how I can get out of this vicious cycle and proceed with booting the upgrade?
I would like to update Python v.2.4 and Numpy to Python v.2.6 and Numpy v.1.3. How can I do it. I heard that we can use "yum update", but I am not sure to do it correctly.
I upgraded from F11(x86_64) to F12 with no reported errors. (expected an update session to follow, but it didn't.) Tried a manual "yum update" and it aborted with a notice that libssl.so.8 was not found (required by python-2.6.2). I didn't find anything useful at wiki.linux.duke.edu/YumFaq.
The DVD installs python-2.6.2-2 (8/21/09) and openssl-1.0.0-0.10.beta3 (10/16/09). /usr/lib/libssl.so.10 is a symbolic link to libssl.1.0.0. libssl.so.8 is not found, really. I thought of replacing openssl with one from F11 but it was required by too many packages - couldn't remove.
I tried to find a later rpm of python, but couldn't locate any Fedora directories with individual packages.
I've searched the web and the forums. What am I missing?