Ubuntu Installation :: Python -> Upgrade 9.10 To 10.x From Command Line?
Oct 7, 2010
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>
[code]....
View 9 Replies
ADVERTISEMENT
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Jun 14, 2011
i have ubuntu 10.04 and python 2.6 installed how do i run, stop or restart a .py file from the command line.
btw im using Putty from a windows computer
View 1 Replies
View Related
May 6, 2010
I clicked on the upgrade to LTS 10.04 option on my Asus 901 EEE PC and after completion it will only boot straight to command line...I would like to get back to the UNR Gui.
View 2 Replies
View Related
Apr 29, 2011
Keep getting alert notification box, with close button. But get no response from keyboard or mouse. So I can't get past it. It seems that you do not have the hardware required to run Unity. Please choose Ubuntu Classic at the login screen and you will be using the traditional environment. (Late model Dell, probably less than 2 years old.) But since I can't use the mouse to activate the close button, or use the keyboard (alt + x, or enter), I can't get past that point. Is there some control sequence I can use during boot startup and get to single user mode and modify something?
View 8 Replies
View Related
Sep 27, 2010
How do I kill a python application from the command line? For an example I have 2 applications running. The first is bleachbit and the second is furiusisomount. They are both python applications so they both come up as python under process name. I could kill them by ID number but if there was another way to do it so that it could be automated in a bash script.
View 9 Replies
View Related
Dec 28, 2010
If i have a python file with a function call_me(a,b),how can I call this function from the command line ,after i compile the program?
View 5 Replies
View Related
May 25, 2010
I have been running Ubuntu 9.10 for a while now. Today, I ran updates on my computer and also requested the upgrade to 10.04. Unfortunately, a few hours into it my computer hung. I had no choice but to reboot. When I did so the computer started a 10.04 screen and then went to a 'command line' for me to login. I am able to login, however, all i have is the 'command line'. What can i do now? Can I restart the upgrade from the 'command line'?
View 3 Replies
View Related
Jun 18, 2011
if it's possible (or how to) upgrade the kernel using apt-get? ...particularly from 2.6.35.4 to 2.6.38-8.I'm using an upgraded Ubuntu 11.04 installation
View 5 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
May 1, 2011
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)
[Code]...
View 4 Replies
View Related
Jul 6, 2010
I'm a bit new to Python programming and hoped that someone might be able to help with a problem I'm having. What I essentially want to do is to combine two text files line for line. I know how to do this in a bash script so to give you a better idea here's the code for that:
Code:
This is basically for adding on values to the end of a CSV file that uses ';' as the delimiter. So say file1 said:
And file2 said:
Then running this command would create merged_file1_and_file2 which would be:
The code I'm using at the moment is:
Code:
As I'm sure any experienced python programmer will see, this prints out the first line of the file "csvraw" and then all of the lines of "stamps" and then the remainder of "csvraw".
What I'd like to do is something like: (pseudo code, I know it's not python ;-))
Code:
Is this possible? I've tried googling and my Python Pocket Reference hasn't been much help. I've looked at pickling but that doesn't seem appropriate.
View 1 Replies
View Related
May 5, 2010
I've been unable to do a fresh install of XBMC Live 9.11 to my hard drive. Everytime it fails at the Install System step. But I am able to get XBMC Live 9.04.1 to install successfully. How do I upgrade XBMC Live 9.04.1 to 9.11? I understand that Ctrl+Alt+F2 brings up the command line, but what are the next set of commands to run?
View 1 Replies
View Related
Mar 12, 2011
how do you download an update or an upgrade (or whatever it's called) on a command line. for chromium internet browser. opened the computer and couldn't watch videos. i tried all the downloads available on adobe's website and all of them are on my "downloads" folder and when i click on any i just get stuff i don't understand and i simply find it easier to download through terminal.
View 9 Replies
View Related
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.
View 3 Replies
View Related
May 28, 2010
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)
View 6 Replies
View Related
Nov 13, 2015
I've upgraded a server on our LAN from fully functioning Wheezy to Jessie. All seems fine except remote administering using Putty from my windows workstation when issuing reboot from command line, it goes down and reboots but stops at login prompt asking for username and password and does not come back on the LAN network. This server does not normally have a monitor or keyboard so my ability to remote admin this server in effect is disabled.
If I log on, it will come back on the LAN network. I've checked the logs but can't see any errors. Is it in the configuration of Jessie somewhere or perhaps a Grub issue. I have 5 other production Wheezy servers that I intend to update to Jessie once I understand how to deal with this problem.
View 4 Replies
View Related
Mar 30, 2011
How can I upgrade python-2.4.3 to python-2.5?
View 1 Replies
View Related
Sep 21, 2010
I am running 64bit 10.04 (Lucid) with Kernel 2.6.32.24-generic and I keep finding that Ubuntu keeps booting to command line. I have found that by typing "startx" I am able to load up the GUI. Is there a way I can get it to start like this every time?I used to get the GUI login screen but I don't anymore. Is there a way I can change this?
View 5 Replies
View Related
Apr 14, 2010
I am reading "A Byte of Python" and this is the 2nd time I've completely been confused about something:"What if you wanted to specify a two-line string? One way is to use a triple-quoted string asshown previously or you can use an escape sequence for the newline character - toindicate the start of a new line. An example is This is the first lineThis is thesecond line. Another useful escape sequence to know is the tab - There are many moreescape sequences but I have mentioned only the most useful ones here."In python:>>> "This is the first lineThis is the second"'This is the first lineThis is the second'>>>
View 1 Replies
View Related
Feb 4, 2010
So I just partitioned my hard-drive, one side with windows the other to set free for ubuntu. It all worked fine. I put in the liveCD of ubuntu 9.10 and installed on to the partition. However, I have a problem. When it boots up it asks me to either boot into linux 2.6 or windows 7. Windows 7 works fine, but when I boot into ubuntu, the loading screen comes up and then it doesn't seem to boot into GDM. It's all command-line interface. I've tried sudo apt-get update and upgrade, but it isn't connected to my network yet so I can't do that. What can I do?
View 9 Replies
View Related
Apr 6, 2010
I just installed a fresh install of 9.10 on my amd64. when it starts it locks up right away. i know that this has to do with my nvidia card. i've had to do this in the past. but since it locks up i have no way to get into the command line. ctl-alt-F1 does not work. is there a way to just have it boot right to the command line without loading up gdm?
View 1 Replies
View Related
May 6, 2010
Just installed Lucid from CD ROM. I have 2 HDDs. When the install screen came to ask about partitions, it didn't seem to want me to install it onto the same HDD as my XP/Ubuntu 9.10 partitions, so I installed it onto my other HDD. After it finished, I restarted and it appeared on GRUB. It takes me to a command line where it asks me for my desktop login and then my password.
It allows me to type in my login, but the password isn't so easy. It won't let me type it in. It's as if the keyboard stops working apart from the return key. I have no understanding of command line. As soon as I'd entered my password, it went on to tell me that there were no packages to install, and then stayed on command line as if I'd just opened a terminal. How would I get it to take me to my desktop?
View 3 Replies
View Related
Jun 8, 2010
I've installed Karmimc Koala server edition, and I wanted the gui so I followed advice on a forum and did an apt get install gnome desktop etc. but don't know what to do next, all I see is a command line, no gui. I would even settle for just having web min so I could control my server from that, as I have read that servers are more vulnerable with a gui.....and my last ubuntu server got hacked, so I had to wipe out the hard drive and start all over.
View 3 Replies
View Related
Nov 7, 2010
I have just installed ubuntu 10.04 via a netboot install.When my system reboots I only have the command line - no gui. Could someone kindly inform me what command I need to run in order to get a GUI
View 3 Replies
View Related
Mar 10, 2011
My computer is a netbook with no optical drive. I had a friend bring over an external CD drive to burn the live CD, but I don't have that now. Since then, I've messed up my install beyond easy repair, so I was wondering if there was a simple (or perhaps not so simple) command that would reinstall every package from the software repositories (I do have access to the Internet, just no GUI). I'm talking about a clean install here.
View 3 Replies
View Related
Apr 29, 2011
I did a dist-upgrade this morning, and now every time I boot, it only goes to the command line login prompt.
Attempting to stop and restart gdm does nothing besides make the screen shake for a second, and I've installed all available video drivers from Available Drivers, and the ones from nvidia's website.
I am, however, able to boot into recovery mode and then select failsafe graphics mode, and get into the desktop.
Any ideas how I can get my normal boot to work?
View 1 Replies
View Related
Sep 1, 2011
i am trying to install upgrades for my ubuntu server via webmin, and i put in the command apt-get install imagemagick and when i do that i see the output and it asks me if i want to install, is there a command that will automatically force the installation so that way i dont have to hit yes or Y?
View 2 Replies
View Related
Nov 14, 2010
How do i do to:1. Check if there is a audio source plugged in via line in?2. Control the volumeI want to do it through either bash or python script.
View 1 Replies
View Related
Feb 5, 2010
How to installing ubuntu 9.10 server in command line mode?
View 1 Replies
View Related