Ubuntu Installation :: Uninstalled Python - Whole System Disappeared
Jan 29, 2010
Every time I booted in 9.10, Python requested a password. I didn't plan to do any programming very soon (I'm new to Linux, although I know Unix) because I'm just learning the shell, etc, so I decided to uninstall Python through the Package Manager. I selected all of the installed Python modules and when I clicked "Apply" I was informed that there was one module (Python minimum something) that would seriously effect the whole system, so I unchecked that module and then ran the uninstall. When it completed, Firefox was gone, the two music players I had installed where gone, I couldn't log out and when I try to reboot I get a message "Ubuntu is running in low-graphics mode" and I go through several other menus, but I still can't get the system to boot.I assume a reinstall is in order, but should I "clean up" any of the remaining Linux modules/partition? And what's the best way to do that?
View 1 Replies
ADVERTISEMENT
Aug 10, 2010
I gave apt-get autoremove python which removed all the installed components in ubuntu now ubuntu does not boot into graphical mode I am just having the terminal to work on. Is there a way I can restore.
View 2 Replies
View Related
Feb 23, 2011
I know, why did I uninstall Open Office. Well I am running 11.3 with KDE 4. I did a clean install in December 2010. This is the first time I have updated an old database. I updated the database and then opened a new writer document and pressed F4. OpenOffice closed.
When I recovered the documents I tried F4 again and it closed. So I looked on this forum and found this: OpenOffice crash if I view database Post #8 seems to have the problems solved. So I went to YAST and unticked OpenOffice. I then went to OpenOffice.org and after reading the information about distributions own packages. Also realising that it was a tar.gz, I got cold feet and decided against installing from OpenOffice.org.
I went back to YAST and ticked OpenOffice, but it does not appear to be there anymore. I tried the start icon (bottom left corner), but it is not in there. I have tried opening a document, but it was opened with Okular. I think I have not ticked a box I should have. OpenOffice has a lot of entries in YAST, how do I capture the information so I can show it here? Or do I need to take several screenshots.
View 1 Replies
View Related
Apr 7, 2011
I installed amarok recently on 11.4 and it was slowing things down so I un-installed it but things are still slower than they were before. I un-installed all the mysql stuff that was was downloaded and installed during the amarok installation but this hasn't really helped either.
View 9 Replies
View Related
Aug 4, 2011
I needed to get rid of apache2 on my Ubuntu. apt-get remove apache2All looked successful but... ps aux... Oh look it's still running. No matter, I thought, maybe I'll just restart (restart on Linux!? I must be mad!) and it'll just disappear. Nope, it still starts up like it always has.I could of course just manually remove it.... but it feels so untidy.
View 1 Replies
View Related
Feb 2, 2011
I was dual-booting XP and Ubuntu 10.10 for a while, but as I never used Ubuntu it was just taking up space, so I figured I'd get rid of it. I used a partitioning tool from inside XP to remove the Ubuntu partition, forgetting that I used GRUB2 every time I booted to select which OS to load. Now when I start my computer I get stuck at the "grub rescue>" screen.After searching for solutions to this problem all of them said to either use the Windows XP CD to fix the Master Boot Record or reinstall Ubuntu, but I dont have my XP CD and there isnt enough room on my hard drive anymore for a Ubuntu install. Is there anything else I can do to fix this?
View 5 Replies
View Related
Feb 22, 2010
All of a sudden all my drop-down menus in the upper left dissapeared (things like system, applications, bookmarks, etc.) though buttons/shortcuts and clock, etc. are still there though oddly spaced out.
View 1 Replies
View Related
Mar 27, 2011
I don't know what I did, or maybe it was some update. I'm running Kubuntu Maverick 64-bit. Kmix in system tray disappeared. Sometimes it shows up after some long time, but I haven't seen it for the last month. Kmix process still runs, and it takes one entire thread of my Intel i3 processor. Killing kmix and restarting it does not change anything. Sound applications work as expected, but I cannot change volume. They work well also when I kill kmix. When I invoke kmix from xterm, I get the following messages:
Code:
QMetaObject::invokeMethod: No such method KMixApp::
loadCommandLineOptionsForNewInstance()
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
kmix(12181) Mixer::setGlobalMaster: Mixer::setGlobalMaster() card= "PulseAudio::Playback_Devices:1" control= "alsa_output.pci-0000_00_1b.0.analog-stereo"
kmix(12181) MixerToolBox::initMixer: Looking for mixers with the : "PulseAudio" driver
kmix(12181) Mixer_PULSE::Mixer_PULSE: Probing for PulseAudio...
<unknown program name>(12180)/: Communication problem with "kmix" , it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." ".
At the same time, phonom complains that some devices have disappeared (they do not show up in other places anymore):
Internal Audio Digital Stereo (IEC 95)
Internal Audio Digital Stereo (HDMI)
Internal Audio Analog Surround 5.1
What should I do to get my mixer back?
View 9 Replies
View Related
Feb 11, 2011
Recently I installed JACK and Ardour to try out. Later I decided against it and so I uninstalled them. After restarting my computer, I noticed that the sound applet has disappeared from the panel, although the battery and mail icons are still present. There is still sound coming out of my laptop speakers, but it is stuck at whatever volume I had it set on before the last time I shut down. Volume sliders inside Banshee and suchll function, but I cannot change the overall system volume, and my keyboard shortcuts for this have stopped working as well. When I go into System->Preferences->Sound, all I get is a message that says "Waiting for sound system to respond." and nothing happens. I've tried searching around for a solution, but nobody I could find seems to have had aimilar problem, and none of the various other solutions proposed have worked for me. I'm on Ubuntu 10.10 by the way.
View 5 Replies
View Related
Jul 5, 2011
No applications will show in my system tray anymore except the defaults. I've checked the entries and touching those had no effect. In fact, the programs I lost the icons too were in the entries, under "system tray settings" and so I set them to all always show. After doing so the applications actually disappeared from my entries entirelSome of my applications open up directly to the tray and I can't get to them at all anymore! They were all working previously until I moved my panels around.
View 1 Replies
View Related
Jan 26, 2010
I was installing Mysql admin like
$ sudo apt-get install mysql-admin
and it installed. I tried it and it worked perfectly
however when I restarted my computer i realized that all my system panels on my desktop disappeared
any solutions ?
View 4 Replies
View Related
Apr 28, 2011
apt-get install synaptic returned 0 installed 0 updated. I assume from this it is installed. There is no icon in 'application/system tools'. Is there something I might try? Is there a way to call this from terminal?
View 7 Replies
View Related
Nov 30, 2010
I have a bit of mystery regarding my system intermittently freezing. First off, the info. I using/running: Ubuntu 10.10, 64bit version (clean installation) Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz (not overclocked) 6GB RAM Nvidia GTX260 Nvidia proprietary drivers 1TB Western Digital HD (32MB cache) Now, the problem: A while ago, I started experiencing intermittent system freezes that would last for 2 or 3 minutes and happen about once every 45 to 75 minutes.
The Gnome System Monitor (GSM) would show 100% CPU utilization, but top, htop, and conky only show about 11% usage. I pulled up the process list in GSM. However, I had issues, for the obvious reason, when bringing it up when the CPU was spiking. Even when I could, it only showed the usual suspects (Firefox, Deluge, Ktorrent, and Xorg) running the high single digits. This was backed up in top, htop, and conky. I also checked the RAM, but usage was down around 25%, with nothing in the swap.
I checked the messages log, but there was nothing there. Nor in dmesg. At least not that my limited Linux admin skills could find. The freeze just happened, so I've attached them in their entirety. I've come to suspect that Python is the cause. It happens most often when I have Ktorrent or Deluge going. I used to use Deluge, but moved to Ktorrent to test if Deluge itself was the problem. They're both written in python though, and both seem to cause the slowdown. It also happens when other python-based programs are running, such as the updater, but not as much or as bad. Things I've tried to fix the problem:
- Clean install (first time in over 18 months)
- Updated Nvidia driver by adding a repository
- Updated Deluge by adding a repository
- Enabled backports.
- Gave my PC the finger
This is driving me nuts. If it was just BT clients, I'd only run those at nights, but it's also parts of Ubuntu itself that relies on python, which I really think is the problem.
View 9 Replies
View Related
Jun 27, 2011
I'm getting ready to sell my Acer Apsire One netbook. I had Ubuntu Netbook Edition on it. But I needed to remove it to sell it.I went on to Disk Manager on the XP Partition. I then deleted the Ubuntu Partitions. I then ran the fixmbr.exe file I got from this site [URL]After that I went into Acer eRecovery Manager (Since my netbook doesn't have a cd drive it comes with this as a recovery partition) I selected restore to factory conditions and it rebooted itself like normal during a restore. When it started back up it couldn't find anything to boot to.I now get an (error: no such partition. grub rescue>) error when I try to boot the computer up.How can I get this back to booting to Windows XP Home.
View 1 Replies
View Related
Jul 2, 2010
I'm running squeeze. The klipper icon has disappeared from the system tray and I can't figure out how to restore it. The service is running. Stopping and starting it has no effect. Changing the display options for the system tray has no effect. I can bring the klipper dialog up with Ctrl-Alt-V but there are no options available regarding the system tray.
It's obviously a user configuration issue since if I login as root the klipper icon is displayed. I tried to copy the klipper configuration file contents from root to user, but that also had no effect, except to alter some non-relevant options. I haven't been able to locate any other configuration files that might be relevant. This seems to be a not uncommon problem with klipper, but the causes seem to differ. I haven't found any solutions vi Google.
View 4 Replies
View Related
Jun 20, 2011
I was zsync-ing the latest Ubuntu 11.10 Alpha and thought I'd make a little GUI for it as a small project. The gui is set up, I just need to figure out how to run zsync with content from to variables, cto and cfrom. I tried the following code:
[Code]....
View 4 Replies
View Related
Jan 22, 2011
The whole day was more or less spent reinstalling a basic Gnome Ubuntu system. Everything went swimmingly until I started with the XBMC part of the installation. After wrestling with PPAs and apt-get for hours I finally got it installed, but then it all turned awkward in a hurry. It simply refused to start up. I clicked the icon and nothing happened for a good few seconds. The screen then flickered black for an instant, but after that nothing. I started from a terminal and it showed an error message saying it couldn't import Python's os and shutil modules. I found that mighty strange since both modules are part of the Python Standard Library.
Finally, in a bizarre twist, it turns out this doesn't seem to be a XBMC problem, suddenly apt-get started complaining too. TL,DR: I (nor the system) can't import any Standard Library modules in Python in Ubuntu! Is this a path problem? Or have I actually managed to uninstall some vital python packages, if so which ones? I am running Ubuntu 10.10, but I don't think this is necessarily a Ubuntu specific problem. Here are some dumps to show the error messages: (I forgot to copy the XBMC error message, but it looked exactly the same as these below, i.e., it couldn't import the os module) First from apt-get:
Code:
tv@tv:/usr/lib$ sudo apt-get autoremove
[sudo] password for tv:
Reading package lists... Done
Building dependency tree
[code]....
View 1 Replies
View Related
Apr 13, 2011
I'm on Debian Lenny. I've built and installed python-3.2 in /opt/python-3.2. Then i want to build and install pygtk, pycairo with /opt/python-3.2 and install them in that folder and not to use system default python (which is python-2.6) for their build process.
How do I tell pygtk and pycairo 's configure and makefile script to use /opt/python-3.2 's interpreter, include file and library for their build process(and not the system default python)?
I tried doing ./configure --help in pygtk folder but there was no option for specific non-system default python's folder location. Anyone has any ideas?
View 3 Replies
View Related
Jul 22, 2010
I love mac. Ubuntu will never live up to mac.
View 2 Replies
View Related
Jan 25, 2011
I'm trying to write a python script that will use the current user's name when interacting. Ex: when started, it should say "hello daweefolk" when I am logged in.
I've tried
Code:
username=os.system("echo $USER")
but the variable remains empty.
What is the correct code?
View 1 Replies
View Related
Apr 19, 2011
I am developing a program in a system where the Linux does not take care of the sync command automatically. So I have to run it from my application always I save some data in the disk, which in my case is a 2GB sdcard. It is true that I can make the operation system takes care of the syncronization, using a proper mount option, but in this case the programm's performance drops drastically. In particular I use the shelve module from Python to save data that comes from a socket/TCP connection and I have to deal with the potencial risk of the system being turned off suddenly Initially I wrote something like that to save data using shelve:
Code:
def saveData(vo)
fd = shelve.open( 'fileName' , 'c')
fd[ key ] = vo
fd.close()
os.system("sync")
But that takes too much time to save the data. Note that I use the sync from the OS every time I close a file to prevent data corruption in the case of the "computer" being turned off with data even in the buffer. To improve the performance I made something like that:
Code:
def saveListData( list )
fd = shelve.open('file_name', 'c')
for itemVo in list:
fd[itemVo.key] = itemVo
fd.close()
os.system("sync")
Thus, first I saved an amount of objects in a list then I open the file and save the objects. In this way I have to open the file just one time to save a lot of objects.However I would like to know if adding a lot of objects before closing the file would increase the risk of data corruption.I known that turning off the system after fd.close() and before os.sync may cause problems. But what about turning off the system after
Code:
fd = shelve.open('file_name', 'c')
but before fd.close()?
View 7 Replies
View Related
Mar 22, 2009
I want to be able to do
sudo ./program.py
instead of always having to do
sudo python program.py
What do I need to change?
View 5 Replies
View Related
Nov 30, 2009
I've already used line split stuff to transform my data into something like this in a text file:
Code:
['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']
[code]....
How can I get this on a python program so I can manipulate it as an array?
View 3 Replies
View Related
Feb 16, 2010
I used the system/administration/printing option to set up a printer (Lexmark X4650).
The exact driver wasn't available, so I chose one 'close' to mine, but it wouldn't print.
I followed various threads to try to sort this, but now the system/administration/printing option has disappeared.
I can go in to [url] and set up a printer again, but this still doesn't work and the option in system/administration/printing still isn't there!
Whilst I see that there are issues with some Lexmark printers, which I can fire-fight, it's the fact that
I've obviously done something to delete the Printing option that is the issue!
View 2 Replies
View Related
Oct 27, 2010
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
View 3 Replies
View Related
Jun 1, 2010
well my problem is as follows: on ubuntu lucid I ran:
[Code]....
OK, I've learnt my lesson and won't update ubuntu anymore, since it's the second time i'm encountering serious problems after updating it. But please if somebody can, please help me fix this now. I need my os with all my settings back as it was. I've seen that my /home partition is fine, and the root partition has less files/folders than the live cd root partition has, so I believe that only some important system files went missing up to now.
View 9 Replies
View Related
Nov 23, 2010
I had a problem with moving the panel, and in order to be able to move it I had to delete a couple of launchers. I have now lost VLC (Video LAN Converter), it is installed, but has gone from system/preferences/main menu so I can't start it or even put it on the menu or create a launcher. If I use Ubuntu Software Centre to un-install and re-install it it still doesn't appear.
View 9 Replies
View Related
May 11, 2011
I am running "Lucid Lynx" (10.04) 64 bit. My "Network Connections" has disappeared from the 'System -> Preferences' menu. I also had a network connections status/configure thing on the panel. With it, I could disable/enable and configure my network connections. It appears on a fresh install of 10.04, but it is no longer available. I've been running 10.04 for a number of months but it recently has disappeared.
View 3 Replies
View Related
Jan 7, 2010
I installed a dual boot system by installing Win7 and then Ubuntu 9.1. All fine until I needed to reinstall Win7. Now Windows has made itself the only OS. I presume that it has supperceided the GRUB. How (where) can I put the Grub back - (bearing in mind that the only way to run Ubuntu is to run it fron CD)?
View 2 Replies
View Related
Jul 23, 2010
I installed VMWare Player 3.1 on Ubuntu 10.04 64 bit and had the program show up in the applications menu. I opened and ran a prebuilt virtual machine without any problem. After shutting down the system, the next morning Player is gone, if I try to reinstall it shows that it is already installed, and if I try to open the virtual hard drive, it says that no applications is associated with that file type. There is no Player in the list of applications.
View 3 Replies
View Related