cannot update after trying to install new software

Asked by beth macdougall

itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ ubuntu-support-status
Support status summary of 'itshare-HP-Compaq-dc5750-Small-Form-Factor':

You have 3 packages (0.1%) supported until April 2020 (5y)
You have 49 packages (2.3%) supported until October 2013 (18m)
You have 20 packages (0.9%) supported until October 2016 (18m)
You have 1734 packages (81.8%) supported until April 2017 (5y)

You have 4 packages (0.2%) that can not/no longer be downloaded
You have 311 packages (14.7%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ dpkg --print-foreign-architectures

itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for itshare:
Sorry, try again.
[sudo] password for itshare:
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ dpkg --print-foreign-architectures

itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo grep -R proxy /etc/apt/*
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ grep proxy /etc/environment
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ echo $http_proxy

itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ echo $ftp_proxy

itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ grep proxy /etc/bash.bashrc
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ grep proxy ~/.bashrc
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo fuser -vvv /var/lib/dpkg/lock
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo fuser -vvv /var/cache/apt/archives/lock
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ uname -asudo rm /var/lib/apt/lists/lock
uname: invalid option -- 'u'
Try `uname --help' for more information.
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo rm /var/cache/apt/archives/lock
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo rm /var/lib/dpkg/lockitshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mkdir /var/lib/apt/lists/partial

LANG=C;sudo apt-get clean

LANG=C;sudo apt-get autoclean

LANG=C;sudo apt-get --purge autoremove

LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000

sudo dpkg --configure -a

sudo dpkg --clear-avail

LANG=C;sudo apt-get -f install

LANG=C;sudo apt-get --fix-missing install

LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
beth macdougall
Solved:
Last query:
Last reply:
Revision history for this message
beth macdougall (bethmcllln269) said :
#1

this is what i got from performing number step 5 from
https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
Now what do i do do i say yes to this

On Sun, May 24, 2015 at 10:51 AM, beth macdougall <
<email address hidden>> wrote:

> New question #267308 on Ubuntu:
> https://answers.launchpad.net/ubuntu/+question/267308
>
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> ubuntu-support-status
> Support status summary of 'itshare-HP-Compaq-dc5750-Small-Form-Factor':
>
> You have 3 packages (0.1%) supported until April 2020 (5y)
> You have 49 packages (2.3%) supported until October 2013 (18m)
> You have 20 packages (0.9%) supported until October 2016 (18m)
> You have 1734 packages (81.8%) supported until April 2017 (5y)
>
> You have 4 packages (0.2%) that can not/no longer be downloaded
> You have 311 packages (14.7%) that are unsupported
>
>
> Run with --show-unsupported, --show-supported or --show-all to see more
> details
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ cat
> /etc/dpkg/dpkg.cfg.d/multiarch
> cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ dpkg
> --print-foreign-architectures
>
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo grep -R proxy
> /etc/apt/*
> [sudo] password for itshare:
> Sorry, try again.
> [sudo] password for itshare:
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ dpkg
> --print-foreign-architectures
>
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo grep -R proxy
> /etc/apt/*
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ grep proxy
> /etc/environment
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ echo $http_proxy
>
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ echo $ftp_proxy
>
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ grep proxy
> /etc/bash.bashrc
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ grep proxy ~/.bashrc
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ cat
> /etc/apt/apt.conf
> cat: /etc/apt/apt.conf: No such file or directory
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo fuser -vvv
> /var/lib/dpkg/lock
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo fuser -vvv
> /var/cache/apt/archives/lock
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=12.04
> DISTRIB_CODENAME=precise
> DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ uname -asudo rm
> /var/lib/apt/lists/lock
> uname: invalid option -- 'u'
> Try `uname --help' for more information.
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo rm
> /var/cache/apt/archives/lock
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo rm
> /var/lib/dpkg/lockitshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$
> itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$ sudo cp -arf
> /var/lib/dpkg /var/lib/dpkg.backup
> sudo mkdir /var/lib/apt/lists/partial
>
> LANG=C;sudo apt-get clean
>
> LANG=C;sudo apt-get autoclean
>
> LANG=C;sudo apt-get --purge autoremove
>
> LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
>
> sudo dpkg --configure -a
>
> sudo dpkg --clear-avail
>
> LANG=C;sudo apt-get -f install
>
> LANG=C;sudo apt-get --fix-missing install
>
> LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get
> dist-upgrade
>
> find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"'
> _ '{}' \;
>
>
> --
> You received this question notification because you asked the question.
>

--
Stop overpaying for penny auction bids...
Win brand new, brand name auction items with bids as low as 29 cents each!
*http://www.tripleclicks.com/10772410/
<http://www.tripleclicks.com/10772410/>*

twiitter @bethmcl01

Revision history for this message
beth macdougall (bethmcllln269) said :
#2

now for more info from the terminal i get and i said yes 17 not fully installed or removed.
After this operation, 158 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 780773 files and directories currently installed.)
Removing linux-headers-3.2.0-49-generic-pae ...
Removing linux-headers-3.2.0-57-generic-pae ...
Removing linux-headers-3.2.0-60-generic-pae ...
Removing linux-headers-3.2.0-60 ...
Removing linux-headers-3.2.0-72-generic-pae ...
Removing linux-headers-3.2.0-72 ...
Setting up libapt-inst1.4 (0.8.16~exp12ubuntu10.23) ...
Setting up libx11-data (2:1.4.99.1-0ubuntu2.3) ...
Setting up libx11-6 (2:1.4.99.1-0ubuntu2.3) ...
Setting up libxext6 (2:1.3.0-3ubuntu0.2) ...
Setting up libxfixes3 (1:5.0-4ubuntu4.4) ...
Setting up libxi6 (2:1.7.1.901-1ubuntu1~precise3) ...
Setting up libxrender1 (1:0.9.6-2ubuntu0.2) ...
Setting up libxrandr2 (2:1.3.2-2ubuntu0.3) ...
Setting up google-chrome-stable (42.0.2311.90-1) ...
Setting up libx11-xcb1 (2:1.4.99.1-0ubuntu2.3) ...
Setting up libxp6 (1:1.0.1-2ubuntu0.12.04.2) ...
Setting up libxv1 (2:1.0.6-2ubuntu0.2) ...
Setting up libxfont1 (1:1.4.4-1ubuntu0.3) ...
Setting up mysql-client-core-5.5 (5.5.43-0ubuntu0.12.04.1) ...
Setting up mysql-common (5.5.43-0ubuntu0.12.04.1) ...
Setting up mysql-server-core-5.5 (5.5.43-0ubuntu0.12.04.1) ...
Setting up xserver-xorg-video-vmware (1:12.0.1-1ubuntu1.2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for menu ...
itshare@itshare-HP-Compaq-dc5750-Small-Form-Factor:~$

Revision history for this message
beth macdougall (bethmcllln269) said :
#3

i have run the terminal and the problem is now fixed