LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-16-2015, 03:57 PM   #1
SuSE_Lamer
Member
 
Registered: Nov 2004
Location: Hamburg/Germany
Distribution: Debian 10
Posts: 167

Rep: Reputation: 16
Ubuntu 12.04 LTS: upgrade to 14.04 LTS failed, half-ready state


Hello everyone,

I use Ubuntu (LTS-versions) on my laptop "Thinkpad T60p", and last evening I wanted (finally) upgrade my installtion (12.04) to 14.04.3. During the upgrade (which usually ran very smoothly and pain free) I got several error messages, then it said that the upgrade was over, and I restarted the laptop. Linux booted in text mode (no Gnome).

Today I investigated the situation, and found out the following:
- there are a lot of unresolved dependencies in the upgrade;
- when I try to execute "apt-get -f upgrade", it starts to download, but then I receive a message, saying that there is no place on the drive (there are something like 1,7 GB available), and upgrade stops;
- when I try to release some space (by deleting old/unused kernels, for instance), I cannot do it - due to the unresolved dependencies.

I'm not really newbie to Linux, but at the present I have no idea, how to resolve this issue. I would appreciate any hint, in which direction I should go.

Regards from Hamburg/Germany,
Andrey.
 
Old 08-17-2015, 01:44 PM   #2
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
Where is your 1.7 GB of free space? Are directories like /usr in their own partitions? Even experienced users forget about that sometimes...

Sometimes repositories can do weird things. What repositories and PPAs do you have?
 
Old 08-18-2015, 03:38 PM   #3
SuSE_Lamer
Member
 
Registered: Nov 2004
Location: Hamburg/Germany
Distribution: Debian 10
Posts: 167

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by wagscat123 View Post
Where is your 1.7 GB of free space? Are directories like /usr in their own partitions? Even experienced users forget about that sometimes...

Sometimes repositories can do weird things. What repositories and PPAs do you have?
Hello wagscat123,

When I installed Ubuntu, I separated /home and the rest. So, my documents are mounted on the separated partition, and all system files/folders are on another. And this one has 1,7 GB free.

Regards,
Andrey
 
Old 08-18-2015, 04:51 PM   #4
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
So there's 1.7 GB free on your system partition - although now that I think about it, that might not be enough space for the all of the packages in the upgrade to be cached - next time you run "apt-get -f upgrade", see how much space is left on your / partition right when it says you're out of space.

Also, do you have any PPAs or unofficial repos installed?
 
Old 08-20-2015, 02:39 AM   #5
SuSE_Lamer
Member
 
Registered: Nov 2004
Location: Hamburg/Germany
Distribution: Debian 10
Posts: 167

Original Poster
Rep: Reputation: 16
Hello,

I don't use inofficial repos. Why do you ask?

Greeting,
Andrey
Quote:
Originally Posted by wagscat123 View Post
So there's 1.7 GB free on your system partition - although now that I think about it, that might not be enough space for the all of the packages in the upgrade to be cached - next time you run "apt-get -f upgrade", see how much space is left on your / partition right when it says you're out of space.

Also, do you have any PPAs or unofficial repos installed?
 
Old 08-20-2015, 11:11 AM   #6
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
Sometimes unnoficial repos or strange repository configurations lead to interesting situations.

I'm thinking now that you might run out of hard disk space when your system caches all of the .deb files before it actually executes the upgrade. Next time you try the upgrade, pull up another terminal and type "df -h" every minute or two and see how much free space is left as the packages are downloaded and perhaps installed.
 
Old 08-21-2015, 03:17 AM   #7
SuSE_Lamer
Member
 
Registered: Nov 2004
Location: Hamburg/Germany
Distribution: Debian 10
Posts: 167

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by wagscat123 View Post
Sometimes unnoficial repos or strange repository configurations lead to interesting situations.

I'm thinking now that you might run out of hard disk space when your system caches all of the .deb files before it actually executes the upgrade. Next time you try the upgrade, pull up another terminal and type "df -h" every minute or two and see how much free space is left as the packages are downloaded and perhaps installed.
Hello,

I suppose it either. Usually I prepare my hard drive for the upgrade, but this time I have just forgotten it. As I said, my main goal for this week-end is purge old kernels I have and try to upgrade again.

Regards,
Andrey
 
Old 08-21-2015, 11:53 AM   #8
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
Ok - good luck on that. Let me know how the free space works if it blows up again
 
Old 08-23-2015, 03:13 PM   #9
SuSE_Lamer
Member
 
Registered: Nov 2004
Location: Hamburg/Germany
Distribution: Debian 10
Posts: 167

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by wagscat123 View Post
Ok - good luck on that. Let me know how the free space works if it blows up again
Hello,
to solve the issue, I had to resize my "/"-partition to gain more disk space. Upgrade ran through, and I have "only" 2 open issues:
1) somehow my NTFS-partition with Windows data doesn't get mounted via "fstab";
2) my GNOME-session doesn't start, when I enter my login and password;

Not nice, but I think, those issues are resolvable.

Greetings from hamburg,
Andrey.
 
Old 08-23-2015, 05:42 PM   #10
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
For GNOME-session not starting, did you try re-selecting the Unity option at the lightdm login screen? Someone also reset some settings to get things to work http://askubuntu.com/questions/53090...r-dash-appears.

For the Windows partition mount, according to Ubuntu's documentation, you'll need this line in your /etc/fstab, except with your Windows partition's UUID (can get from blkid):

"UUID=519CB82E5888AD0F /media/Data ntfs-3g defaults,windows_names,locale=en_US.utf8 0 0"
From here: https://help.ubuntu.com/community/Mo...dowsPartitions

Last edited by wagscat123; 08-23-2015 at 06:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Update a Ubuntu LTS release to the next LTS Version (dist upgrade) LXer Syndicated Linux News 0 02-19-2015 09:00 AM
LXer: Ubuntu 12.04.5 LTS (Precise Pangolin) Released with Linux Kernel from Ubuntu 14.04 LTS LXer Syndicated Linux News 0 08-08-2014 09:00 AM
LXer: How to upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS LXer Syndicated Linux News 0 05-05-2014 08:51 PM
Getting ready for ubuntu 12.04 LTS vanjr Linux - Newbie 3 03-01-2012 02:01 PM
No enough space error when trying upgrade ubuntu from 8.04 lts to 10.04 lts flik shen Ubuntu 5 06-15-2010 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration