/srv/irclogs.ubuntu.com/2013/05/24/#ubuntu-beginners.txt

Phryqhey, a couple weeks ago I tried upgrading my Ubuntu to 13.04 and my computer died part way. Now when I try to do the upgrade, I get an error halfway that there are no upgrades. I'm wondering if it half upgraded and now the OS is confused about which version it is18:09
morten771could be perhaps18:09
Phryqany way to fix it?18:13
PhryqI just ignored it before, but since my last update today virtualbox has stopped working (I uninstalled thinking a new install would fix it but it won't allow me to re-install). During the upgrade I was giving an error related to virtualbox not being able to update.18:14
Phryqso I'm thinking if I just upgrade to 13, it will fix this problem (and maybe a couple other bugs18:14
Phryq)18:14
morten771I'm not good at these things. I'm a newbie myself18:15
holsteinPhryq: well, keep in mind what has happened.. this is not something that there is necessarily a quick fix for18:15
Unit193sudo apt-get update && sudo apt-get dist-upgrade   if it stopped, then lsb_release -a18:15
holsteinPhryq: are you on the machine? can you open a terminal? or tty?18:15
holsteinwhat Unit193 suggested was where i was going...18:15
Unit193Check /etc/apt/sources.list as well.18:16
Phryqya18:17
Phryqtty?18:17
holstein!tty18:17
ubot93To get to the TTY terminals 1-6, use the keystroke ctrl + alt + F1-F6 respectively (Alt+F7 will get you back to your graphical login).  To change the resolution for your TTY, see https://help.ubuntu.com/community/ChangeTTYResolution18:17
holsteinPhryq: if you *can* open a terminal, then you can just do that, and not do tty..18:17
Phryqah, but I learned about TTY, neato. I got a terminal open on the same machine I'm having the problem with.18:18
Unit193sudo dpkg --configure -a  may be needed.18:18
PhryqI'm running  sudo apt-get update, I thought I'd just updated but it seems to be doing more.18:18
geirhathat only updates the package lists18:19
Phryqah, well I've typed all 3 of those commands. No errors18:19
holstein!pastebin | Phryq18:20
ubot93Phryq: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:20
holsteinPhryq: you can run lsb_release -a and share that ouput18:20
Phryqhttp://pastie.org/795434518:22
holsteinPhryq: as that states, you are on 12.1018:24
Phryqwould upgrading from terminal work better than using the gui?18:26
holsteinPhryq: doesnt matter. both should be fine.. what do i suggest? plan for failure.. backup all data, and try an upgrade (if you prefer) and if that fails, do a fresh install18:28
Phryqdamn. Tomorrow I will have to buy an external hard drive case to backup my stuff18:29
Phryqok, thanks guys18:30
holsteinPhryq: the hard drive you are using *will* faile.. its just a matter of when18:30
Phryqgood night!18:30
Phryqthe problem is with the OS though, not the hard drive, right?18:30
holsteinPhryq: the problem is with neither18:30
Phryqwhat do you mean?18:30
holsteinPhryq: you interrupted a large system upgrade.. and it seems there is no problem18:30
Phryqah yes, that's what I meant. Fresh install and everything is fine18:31
holsteinPhryq: you just need to decide what you want to do, and make it happen... i suggest the backup since that hard drive *will* fail (as they all will)18:31
holsteinPhryq: everything looks fine now.. you could try an upgrade and let it properly complete18:31
Phryqit won't upgrade; that's my problem18:32
PhryqI will back up and do a fresh install of 1318:32
holsteinPhryq: you said you had interrupted it, correct?18:32
Phryqya18:32
holsteinPhryq: then, it would have.. and still may..18:33
Phryqand since I interupted it a couple weeks ago, it will not upgrade18:33
holsteinPhryq: have you tried via commandline?18:33
Phryqno18:33
Phryqhow do I do it with commandline?18:33
Phryqit might work better through command line?18:33
holsteinhttp://www.liberiangeek.net/2013/03/upgrade-to-ubuntu-13-04-from-12-10-in-ubuntu-via-software-updater/18:33
holstein!better | Phryq18:34
ubot93Phryq: Usually, there is no single "best" application to perform a given task. It's up to you to choose, depending on your preferences, features you require, and other factors. Do NOT take polls in the channel. If you insist on getting people's opinions, ask BestBot in #ubuntu-bots.18:34
holsteinPhryq: if you haver 'broken the system, then you might need to take special efforts to get it fixed18:34
Phryqok, but I mean the GUI is not working; there is a possibility the command line might?18:34
holsteinit would be better to have not interrupte it.. but im sure you can sort it out18:34
Phryqhow do I upgrade with command line?18:34
holsteinPhryq: can you open the link i gave?18:35
Phryqyes, didn't see it at first; thankyou18:35
Phryq"After running the above commands and finish updating your system, press Ctrl – F2 on your keyboard to open run command" I don't understand18:37
holsteinPhryq: cool.. just ignore that then, and try http://linuxg.net/update-from-ubuntu-12-10-to-ubuntu-13-04-by-terminal/18:38
morten771ctrl-F2 shuold open a small dialogbox where you can write a command to run18:38
Phryqhttp://pastie.org/795444518:39
Phryqctrl-F2 doesn't seem to be working for me, but no matter, I'll go with that new link. I pasted the output of the terminal command there18:40
morten771if your keyboard have a special [Fn] key then perhaps you have tro press that for the [F2] key to work normally.18:41
Phryqnope, but it does change the screen brightness for me! haha18:41
holsteinPhryq: there are several options there.. manually editing the sources should force a fix to whatever is going on.. what would i do? backup my data and fresh install18:41
Phryqanyway, I gtg to bed18:41
morten771and wait... isn't it Alt-F2 that is run...? oh yeah it is. not ctrl-f218:41
Phryqah, that's why18:42
holsteinPhryq: if you are in a hurrry, i would come back when you have about 5 hours18:42
PhryqGood idea18:42
PhryqI'll do a re-install tomorrow.18:42
Phryq'night18:42
holsteinPhryq: i typically backup and just fresh install.. i can do a fresh install in like 15 miutes18:42
holsteinwith upgrades, i find, best case, they only take 4 hours or so, and nothing breaks...18:42
morten771will this make a perfect partition bakup:  "sudo dd if=/dev/sda7 of=/media/myusbdisk/bakup.img" (and if I want to access a file on it "sudo mount -ro loop /media/myusbdisk/bakup.img /mnt" (if my / is at sda7) ?18:43
holsteinand, you need to have your data backed up anyway18:43
morten771and can I copy the image back to a real partition with dd on another harddisk if the one I have breaks?18:43
holsteinmorten771: i use clonezilla18:43
holsteinalso, i manually backup data that is mission critical to several locations18:43
morten771well... I thought it would be nice to have a backup that doesn't need a special backup program to be used18:43
holsteinmorten771: clonezilla is just running those commands for me18:45
holsteinmorten771: there are differnt backup gui's that just backup data.. and dont require anything18:45
morten771I want a backup that I can restore the partition to how it was, and don't have to reinstall the os manually first. even if this harddisk I have breaks. (But I still want to be able to access the individual files too if I accicently delete a file or so)18:45
morten771aha ok som clonezilla is more like a gui to the dd then. ok.18:46
holsteinmorten771: i use clonezilla for that, since it does all of those commands for me18:46
morten771aha18:46
holsteinmorten771: but, im sure you can dd it manually.. i just personally havent done that18:46
morten771if I restore a bakup to a new disk, can I (after making the partition of right size) restore this partition bakup to say /dev/sda1 (instead of where it used to be)?18:48
holsteinmorten771: well, in theory, its all open, so anything is possible18:51
holsteini typically just clone the whole OS18:52
morten771ok18:53
=== Altimeter_ is now known as Altimeter

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!