14.04 upgrade won't run

Asked by Matt

matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ ubuntu-support-status

Support status summary of 'matthew-HP-Pavilion-dv6-Notebook-PC':

You have 5 packages (0.2%) supported until November 2015 (18m)
You have 159 packages (5.8%) supported until October 2013 (18m)
You have 3 packages (0.1%) supported until May 2019 (5y)
You have 2133 packages (78.0%) supported until April 2017 (5y)

You have 71 packages (2.6%) that can not/no-longer be downloaded
You have 365 packages (13.3%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
foreign-architecture i386
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ dpkg --print-foreign-architectures
i386
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo grep -R proxy /etc/apt/*
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ grep proxy /etc/environment
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ echo $http_proxy

matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ echo $ftp_proxy

matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ grep proxy /etc/bash.bashrc
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ grep proxy ~/.bashrc
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo fuser -vvv /var/lib/dpkg/lock
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo fuser -vvv /var/cache/apt/archives/lock
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ uname -a
Linux matthew-HP-Pavilion-dv6-Notebook-PC 3.2.0-61-generic #93-Ubuntu SMP Fri May 2 21:31:50 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo rm /var/lib/apt/lists/lock
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo rm /var/cache/apt/archives/lock
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo rm /var/lib/dpkg/lock
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo touch /var/lib/dpkg/lock
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo rm -rf /var/lib/dpkg/updates/*
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo rm -rf /var/lib/apt/lists
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo rm /var/cache/apt/*.bin
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo mkdir /var/lib/apt/lists
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ sudo mkdir /var/lib/apt/lists/partial
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ LANG=C;sudo apt-get clean
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$
matthew@matthew-HP-Pavilion-dv6-Notebook-PC:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-3.2.0-58* linux-headers-3.2.0-58-generic* python-pywapi* python-tz* python-unidecode*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
47 not fully installed or removed.
After this operation, 68.8 MB disk space will be freed.
Do you want to continue [Y/n]

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Theor (theor) said :
#1

What command did you launch to perform the upgrade?
What is the error message?

Do you use some custom PPAs?

Revision history for this message
Matt (davidsheart1) said :
#2

Ok, I used the apt-get upgrade -d command, and it popped the cannot calculate upgrade error... I disabled all of the extra PPA's within software center, so no. Not real sure what the heck is going on, but thinking about just waiting for the 14.04.1 update in July now anyway, unless this gets resolved.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

I see that you started to execute the package manager troubleshooting procedure, but stopped in the middle.

Please complete the missing steps of that procedure, If you stopped because of the question "Do you want to continue [Y/n]", you should press "enter" to say yes.

Completing the package manager troubleshooting procedure might reveal the root cause; one of the symptoms of a problem that most probably prevents the release upgrade is already visible: "47 [packages] not fully installed or removed."

Revision history for this message
Matt (davidsheart1) said :
#4

Manfred, thank you for your help, but I gave up and decided to go the liveusb route.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#5

If you have found your own workaround please mark that question as solved.

Revision history for this message
Matt (davidsheart1) said :
#6

Thanks Manfred Hampl, that solved my question.