update manager error

Asked by john hill

johnhill@johnhill-laptop:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for johnhill:
johnhill@johnhill-laptop:~$ grep proxy /etc/environment
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ echo $http_proxy

johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ echo $ftp_proxy

johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ grep proxy /etc/bash.bashrc
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ grep proxy ~/.bashrc
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo fuser -vvv /var/lib/dpkg/lock
Specified filename /var/lib/dpkg/lock does not exist.
johnhill@johnhill-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ uname -a
Linux johnhill-laptop 2.6.32-49-generic #111-Ubuntu SMP Thu Jun 20 21:28:42 UTC 2013 i686 GNU/Linux
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo rm /var/lib/dpkg/lock
rm: cannot remove `/var/lib/dpkg/lock': No such file or directory
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo rm -rf /var/lib/dpkg/updates/*
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo rm -rf /var/lib/apt/lists
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo rm /var/cache/apt/*.bin
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo mkdir /var/lib/apt/lists
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ sudo mkdir /var/lib/apt/lists/partial
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ LANG=C;sudo apt-get clean
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
johnhill@johnhill-laptop:~$
johnhill@johnhill-laptop:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  language-support-input-ru* libaudio2* libgsm1* libmng1* libphonon4*
  libqt4-dbus* libqt4-designer* libqt4-network* libqt4-script* libqt4-webkit*
  libqt4-xml* libqt4-xmlpatterns* libqtcore4* libqtgui4*
  libschroedinger-1.0-0* linux-headers-2.6.32-45*
  linux-headers-2.6.32-45-generic* sdparm*
0 upgraded, 0 newly installed, 18 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 143MB disk space will be freed.
Do you want to continue [Y/n]?
I was told to do this from the package manger troubleshooting guide.I hope this helps. Thanks for any help

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
michael (yellupcm-gmail) said :
#1

Ubuntu 10.04 is EOL (end of life), meaning no support. Check this site.

https://wiki.ubuntu.com/Releases

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

You can upgrade directly to Precise as it is LTS to LTS upgrade.

If the install is relatively young I suggest you wipe Lucid out and perform a clean install of Precise. It is LTS and supported til April 2017.

Revision history for this message
john hill (johnchhill) said :
#3

Thanks for the replies , I will try these when i have the time.Hopefully ,in the next day or two

Can you help with this problem?

Provide an answer of your own, or ask john hill for more information if necessary.

To post a message you must log in.