ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > Computer Software > Operating Systems

Reply
 
LinkBack Thread Tools Display Modes
Old 05-02-2008, 01:43 PM   #1 (permalink)
Platinum Member
 
Join Date: Feb 2008
Location: Solicitor's office
Posts: 953
Default Ubuntu upgrade failing & my blood pressure rising

I've done this a million times <end_slight_exaggeration> by now. I'm trying to upgrade my 7.04 Ubuntu to 7.10 (I assume this is required before I can upgrade to 8.10, since no other options are available?) However, *every* time I try it, it fails. It starts downloading, and everything seems to be going well, but it always pops up with an error message, every time at the pretty much same stage... more details on this coming soon when it fails again (trying to upgrade it right now). It was some kinda nag about corrupt/locked files, that much I can remember.

Okay, now it started nagging about failing to download the repository indexes or something like that, saying that there might be a network problem. The net works fine, though, since I'm browsing stuff (and posting here) right now.

Having yet another go at this... in the meantime, can some Linux-guru please tell me what could be wrong? Thank you beforehand...

Ah but I really have to get some sleep. I'll leave this on overnight and see what happens... back in 8 hours.
__________________
BY READING THE ABOVE POST, YOU AGREE TO THE FOLLOWING:

"The above post is provided solely for entertainment purposes and is not to be taken as professional advice. Therefore, I shall not be held responsible for any damage or losses that are result from anything I have posted, to the extent applicable by law. In the unlikely event that I CAN be held responsible, I have never been here, I am not here, and I will never be here, and it will be highly questionable whether I even exist."

Last edited by hackapelite; 05-02-2008 at 01:46 PM.
hackapelite is offline   Reply With Quote


Old 05-02-2008, 09:34 PM   #2 (permalink)
Diamond Member
 
imsati's Avatar
 
Join Date: Sep 2007
Location: EHT, NJ
Posts: 2,477
Default

Quote:
but it always pops up with an error message, every time at the pretty much same stage... more details on this coming soon when it fails again
Indeed

*How* are you trying to upgrade it, exactly? Via a script or by changing the Repos and playing with Terminal?
__________________
--Jay
Gigabyte EP31-DS3L | E4500 | Masscool HSF paired with AS-5
80 GB SATA2 x 2 | e-GeForce 7100 GS | CM Elite 330 (gorgeous!)
Triple Boot: Ubuntu 7.10/XP Home/Kubuntu 7.10

Also, I can kill you with my brain.

The Great Forum Challenge
http://www.computerforum.com/114761-...tml#post922619
(And you follow his advice why, exactly...?) (Funny Thread though!)
imsati is offline   Reply With Quote
Old 05-02-2008, 11:08 PM   #3 (permalink)
Platinum Member
 
Join Date: Feb 2008
Location: Solicitor's office
Posts: 953
Default

How am I trying to upgrade? In the update manager, it's got a little notification saying "New version is available" or something along those lines, and an "upgrade" button, right above the list of available updates. Then I just click it...

(Okay, it failed again)

It apparently fails at the "Preparing the Upgrade" stage...well it did this time... it ("Preparing the Upgrade") is highlighted in the Distribution Upgrade window, saying that fetching is complete, and with the following error message (that message appearing in a different window/dialog...):

"Error during update

A problem occured during the update. This is usually some sort of network problem, please check your network connection and retry."

(and then a list of files):
Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz Sub-process gzip returned an error code (1)
Failed to fetch http://au.archive.ubuntu.com/ubuntu/...86/Packages.gz Sub-process gzip returned an error code (1)
Failed to fetch http://au.archive.ubuntu.com/ubuntu/...rce/Sources.gz Sub-process gzip returned an error code (1)
Failed to fetch http://au.archive.ubuntu.com/ubuntu/...86/Packages.gz Sub-process gzip returned an error code (1)

Oh and sometimes it does fail at a different stage... I can remember it saying something of locked/corrupt files a couple of times... I think so anyways.

Trying again...
__________________
BY READING THE ABOVE POST, YOU AGREE TO THE FOLLOWING:

"The above post is provided solely for entertainment purposes and is not to be taken as professional advice. Therefore, I shall not be held responsible for any damage or losses that are result from anything I have posted, to the extent applicable by law. In the unlikely event that I CAN be held responsible, I have never been here, I am not here, and I will never be here, and it will be highly questionable whether I even exist."

Last edited by hackapelite; 05-02-2008 at 11:11 PM.
hackapelite is offline   Reply With Quote
Old 05-03-2008, 03:03 AM   #4 (permalink)
Diamond Member
 
imsati's Avatar
 
Join Date: Sep 2007
Location: EHT, NJ
Posts: 2,477
Default

If you haven't already, try doing it via Terminal - usually much less of a hassle if you're even remotely familiar with command lines.

Try typing: sudo gedit /etc/apt/sources.list, then enter your Root password. A file will open with lines of code. Anything that's not commented out (#) should begin with 'deb (http)' or 'deb(-src) http' and list various info afterwards, including the distribution towards the end. You could try changing 'feisty' to 'gutsy', leaving everything else as-is, then saving the file, and closing it. Then, from Terminal, type sudo apt-get update and then sudo aptitude upgrade.

But the question on my mind is...unless you have some serious hard-to-do tweaks on your current install or you installed everything to /root (and are lacking a /home partition), why go through the hassle of two dist-upgrades rather than just do a fresh install of 8.04? If you have a separate /home partition, just pop in a Live or Alt-Install CD, format /root, install there, and eat cake. Much easier/quicker that way.
__________________
--Jay
Gigabyte EP31-DS3L | E4500 | Masscool HSF paired with AS-5
80 GB SATA2 x 2 | e-GeForce 7100 GS | CM Elite 330 (gorgeous!)
Triple Boot: Ubuntu 7.10/XP Home/Kubuntu 7.10

Also, I can kill you with my brain.

The Great Forum Challenge
http://www.computerforum.com/114761-...tml#post922619
(And you follow his advice why, exactly...?) (Funny Thread though!)
imsati is offline   Reply With Quote
Old 05-03-2008, 03:56 AM   #5 (permalink)
Platinum Member
 
Join Date: Feb 2008
Location: Solicitor's office
Posts: 953
Default

Umm... well I'm not a big Linux-genius, I didn't even think of a fresh reinstall. Since you're wondering why I'm not doing it, I assume that it's be easiest&best to go with that option...?

How would this affect programs I've currently installed? Or how would anything that I currently have be affected?

(And what are "/root" and "/home" there for anyway? Two noob Q's, I know...)
__________________
BY READING THE ABOVE POST, YOU AGREE TO THE FOLLOWING:

"The above post is provided solely for entertainment purposes and is not to be taken as professional advice. Therefore, I shall not be held responsible for any damage or losses that are result from anything I have posted, to the extent applicable by law. In the unlikely event that I CAN be held responsible, I have never been here, I am not here, and I will never be here, and it will be highly questionable whether I even exist."
hackapelite is offline   Reply With Quote


Old 05-03-2008, 04:23 AM   #6 (permalink)
Diamond Member
 
imsati's Avatar
 
Join Date: Sep 2007
Location: EHT, NJ
Posts: 2,477
Default

Quote:
Since you're wondering why I'm not doing it, I assume that it's be easiest&best to go with that option...?
In most cases, it's easier/quicker/less chance of problems that going through Upgrades; even more so when it would be necessary for multiple upgrades (as in this case Feisty-->Gutsy-->Hardy).

Quote:
How would this affect programs I've currently installed? Or how would anything that I currently have be affected?

(And what are "/root" and "/home" there for anyway? Two noob Q's, I know...)
Well, /root (and /home if applicable) are partitions on your hard drive. With Windows, you have everything on 'C:' and then 'Windows' and 'Program Files'... With Ubuntu, your /root is the same as 'C:\Windows' - it has all the necessary OS files. Similarly, /home would be kind of like a cross between 'C:\Program Files' (it would have all the stuff you installed yourself) and 'My Documents' (all your pics, music, etc.). However, since you can create separate partitions for each, a fresh install of the OS does not mean you lose all your personal stuff - everything will still be on the /home partition.

The two partitions you need for Linux are Swap (extended RAM space) and /root; everything after that is extra to keep things organized. If you create just those two, /home will be a part of /root - you'll need to physically set up and mount a separate /home partition during the Install process. After that's done, you can format/reinstall the OS to /root as often as you'd like, all your stuff on /home will be fine.

This is my HDD layout...

80GB (three partitions): XP OS, XP Software, My personal stuff
80GB (six partitions): Swap, Ubuntu Root, Ubuntu Home, Kubuntu Root, Kubuntu Home, backup of my personal files

In your case, I'd opt for a fresh install of 8.04 not only to crush any upgrade woes you're having, but also to do a bit of HDD setup to ease some potential future problems. Personally, I'd go with this...

Swap: 2GB max (old rule was Physical RAM * 2, but with RAM so cheap now most folks have enough to rarely warrant the use of Swap anymore. If you have 1GB RAM, make Swap 2GB; if you have 2GB+ RAM, you can easily get away with 1GB or even 512MB Swap.)
/root: 7GB
/home: whatever you want (usually all the rest of your free HDD space unless you want non-linux partitions or a storage/backup partition)

Quick tip...anything mounted as /media/<insert mount point here> will show up on your desktop. So, something mounted as '/media/MyStuff' will be seen on the Desktop as 'MyStuff'. This is the type of storage/backup mentioned above.
__________________
--Jay
Gigabyte EP31-DS3L | E4500 | Masscool HSF paired with AS-5
80 GB SATA2 x 2 | e-GeForce 7100 GS | CM Elite 330 (gorgeous!)
Triple Boot: Ubuntu 7.10/XP Home/Kubuntu 7.10

Also, I can kill you with my brain.

The Great Forum Challenge
http://www.computerforum.com/114761-...tml#post922619
(And you follow his advice why, exactly...?) (Funny Thread though!)
imsati is offline   Reply With Quote
Old 05-03-2008, 04:34 AM   #7 (permalink)
Platinum Member
 
Join Date: Feb 2008
Location: Solicitor's office
Posts: 953
Default

So...if I got this right... it'd be best to have /root in a separate partition and /home in another? How about the others (and where could I find out what they're for?)?
__________________
BY READING THE ABOVE POST, YOU AGREE TO THE FOLLOWING:

"The above post is provided solely for entertainment purposes and is not to be taken as professional advice. Therefore, I shall not be held responsible for any damage or losses that are result from anything I have posted, to the extent applicable by law. In the unlikely event that I CAN be held responsible, I have never been here, I am not here, and I will never be here, and it will be highly questionable whether I even exist."
hackapelite is offline   Reply With Quote
Old 05-03-2008, 06:12 AM   #8 (permalink)
Diamond Member
 
imsati's Avatar
 
Join Date: Sep 2007
Location: EHT, NJ
Posts: 2,477
Default

Quote:
So...if I got this right... it'd be best to have /root in a separate partition and /home in another?
Yes, you are correct.

As for the others, unless you've an excellent understanding of how Linux works regarding mountpoints and whatnot, leave them be. Really, the only four areas you need to concern yourself with are Swap (which is mindlessly simple), /root and /home (which you seem to grasp the basic concept of and be on track with), and anything 'media/<whatever>', which is great for storage/easy-access-from-the-desktop type stuff. Setting up things like /boot, /usr, etc., just steer clear of for now. If you really want to know what they're for, I'd recommend a Google, or maybe Wiki, search - they would be able to explain in a much simpler way than I would.

Edit: Sorry for the response time - I got tied up with GemStone I'm heading to bed in about 15 minutes or so, so best of luck until tomorrow when I'm able to check the Forums!
__________________
--Jay
Gigabyte EP31-DS3L | E4500 | Masscool HSF paired with AS-5
80 GB SATA2 x 2 | e-GeForce 7100 GS | CM Elite 330 (gorgeous!)
Triple Boot: Ubuntu 7.10/XP Home/Kubuntu 7.10

Also, I can kill you with my brain.

The Great Forum Challenge
http://www.computerforum.com/114761-...tml#post922619
(And you follow his advice why, exactly...?) (Funny Thread though!)
imsati is offline   Reply With Quote
Old 05-03-2008, 10:21 AM   #9 (permalink)
Platinum Member
 
Join Date: Feb 2008
Location: Solicitor's office
Posts: 953
Default

Okay then, now I'm pretty much clear with this...ty for help. Off to torrent hardy...
__________________
BY READING THE ABOVE POST, YOU AGREE TO THE FOLLOWING:

"The above post is provided solely for entertainment purposes and is not to be taken as professional advice. Therefore, I shall not be held responsible for any damage or losses that are result from anything I have posted, to the extent applicable by law. In the unlikely event that I CAN be held responsible, I have never been here, I am not here, and I will never be here, and it will be highly questionable whether I even exist."
hackapelite is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice- Upgrade vs New computer DamienVryce Desktop Computers 4 04-06-2008 12:52 PM


All times are GMT +1. The time now is 06:08 AM.


Powered by: vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Copyright © 2002-2007 Computer Forum and Web Design Forum