Ubuntu software center Install button is not highlighted

Asked by jitender

there are lots of list of unbuntu software center but its install button is disabled. so i am unable to install any software via software center plz help me somebody.I am new to ubuntu.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
jitender (jitender-city) said :
#1

I am re installed software center via terminal and updated all packages tried lots of things but unable to enable it.

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

What is the output of:

sudo apt-get update

Thanks

Revision history for this message
jitender (jitender-city) said :
#3

it is successfully updated

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

OK and the output of:

sudo apt-get -f install

Thanks

Revision history for this message
jitender (jitender-city) said :
#5

one hour before it was enabled ...but now after restarted it is agains disabled showing

Revision history for this message
jitender (jitender-city) said :
#6

and recommendation will appear when next online.....showing but last time when it was showing enabeled its recommendations were seeing

Revision history for this message
jitender (jitender-city) said :
#7

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-image-4.2.0-16-generic linux-image-extra-4.2.0-16-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

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

OK run:

sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade

What is the output please?

Revision history for this message
jitender (jitender-city) said :
#9

sudo apt-get update

Hit http://archive.canonical.com wily InRelease
Hit http://ppa.launchpad.net wily InRelease
Hit http://archive.ubuntu.com wily InRelease
Hit http://archive.canonical.com wily/partner Sources
Get:1 http://archive.ubuntu.com wily-updates InRelease [65.9 kB]
Hit http://archive.canonical.com wily/partner amd64 Packages
Hit http://ppa.launchpad.net wily/main amd64 Packages
Hit http://archive.canonical.com wily/partner i386 Packages
Hit http://ppa.launchpad.net wily/main i386 Packages
Hit http://archive.canonical.com wily/partner Translation-en
Hit http://ppa.launchpad.net wily/main Translation-en
Hit http://ppa.launchpad.net wily/main Sources
Hit http://archive.ubuntu.com wily-backports InRelease
Get:2 http://archive.ubuntu.com wily-security InRelease [65.9 kB]
Get:3 http://archive.ubuntu.com wily-proposed InRelease [65.9 kB]
Hit http://archive.ubuntu.com wily/main Sources
Hit http://archive.ubuntu.com wily/restricted Sources
Hit http://archive.ubuntu.com wily/universe Sources
Hit http://archive.ubuntu.com wily/multiverse Sources
Hit http://archive.ubuntu.com wily/main amd64 Packages
Hit http://archive.ubuntu.com wily/restricted amd64 Packages
Hit http://archive.ubuntu.com wily/universe amd64 Packages
Hit http://archive.ubuntu.com wily/multiverse amd64 Packages
Hit http://archive.ubuntu.com wily/main i386 Packages
Hit http://archive.ubuntu.com wily/restricted i386 Packages
Hit http://archive.ubuntu.com wily/universe i386 Packages
Hit http://archive.ubuntu.com wily/multiverse i386 Packages
Hit http://archive.ubuntu.com wily/main Translation-en
Hit http://archive.ubuntu.com wily/multiverse Translation-en
Hit http://archive.ubuntu.com wily/restricted Translation-en
Hit http://archive.ubuntu.com wily/universe Translation-en
Get:4 http://archive.ubuntu.com wily-updates/universe Sources [23.9 kB]
Get:5 http://archive.ubuntu.com wily-updates/restricted Sources [3,741 B]
Get:6 http://archive.ubuntu.com wily-updates/multiverse Sources [3,203 B]
Get:7 http://archive.ubuntu.com wily-updates/main Sources [76.0 kB]
Get:8 http://archive.ubuntu.com wily-updates/main amd64 Packages [212 kB]
Get:9 http://archive.ubuntu.com wily-updates/restricted amd64 Packages [13.3 kB]
Get:10 http://archive.ubuntu.com wily-updates/universe amd64 Packages [95.2 kB]
Get:11 http://archive.ubuntu.com wily-updates/multiverse amd64 Packages [6,253 B]
Get:12 http://archive.ubuntu.com wily-updates/main i386 Packages [208 kB]
Get:13 http://archive.ubuntu.com wily-updates/restricted i386 Packages [13.4 kB]
Get:14 http://archive.ubuntu.com wily-updates/universe i386 Packages [92.5 kB]
Get:15 http://archive.ubuntu.com wily-updates/multiverse i386 Packages [6,677 B]
Hit http://archive.ubuntu.com wily-updates/main Translation-en
Hit http://archive.ubuntu.com wily-updates/multiverse Translation-en
Hit http://archive.ubuntu.com wily-updates/restricted Translation-en
Hit http://archive.ubuntu.com wily-updates/universe Translation-en
Hit http://archive.ubuntu.com wily-backports/main Sources
Hit http://archive.ubuntu.com wily-backports/restricted Sources
Hit http://archive.ubuntu.com wily-backports/universe Sources
Hit http://archive.ubuntu.com wily-backports/multiverse Sources
Hit http://archive.ubuntu.com wily-backports/main amd64 Packages
Hit http://archive.ubuntu.com wily-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com wily-backports/universe amd64 Packages
Hit http://archive.ubuntu.com wily-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com wily-backports/main i386 Packages
Hit http://archive.ubuntu.com wily-backports/restricted i386 Packages
Hit http://archive.ubuntu.com wily-backports/universe i386 Packages
Hit http://archive.ubuntu.com wily-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com wily-backports/main Translation-en
Hit http://archive.ubuntu.com wily-backports/multiverse Translation-en
Hit http://archive.ubuntu.com wily-backports/restricted Translation-en
Hit http://archive.ubuntu.com wily-backports/universe Translation-en
Get:16 http://archive.ubuntu.com wily-security/universe Sources [11.8 kB]
Get:17 http://archive.ubuntu.com wily-security/restricted Sources [2,854 B]
Get:18 http://archive.ubuntu.com wily-security/multiverse Sources [2,782 B]
Get:19 http://archive.ubuntu.com wily-security/main Sources [46.6 kB]
Get:20 http://archive.ubuntu.com wily-security/main amd64 Packages [148 kB]
Get:21 http://archive.ubuntu.com wily-security/restricted amd64 Packages [10.9 kB]
Get:22 http://archive.ubuntu.com wily-security/universe amd64 Packages [52.0 kB]
Get:23 http://archive.ubuntu.com wily-security/multiverse amd64 Packages [6,253 B]
Get:24 http://archive.ubuntu.com wily-security/main i386 Packages [145 kB]
Get:25 http://archive.ubuntu.com wily-security/restricted i386 Packages [10.8 kB]
Get:26 http://archive.ubuntu.com wily-security/universe i386 Packages [52.1 kB]
Get:27 http://archive.ubuntu.com wily-security/multiverse i386 Packages [6,430 B]
Hit http://archive.ubuntu.com wily-security/main Translation-en
Hit http://archive.ubuntu.com wily-security/multiverse Translation-en
Hit http://archive.ubuntu.com wily-security/restricted Translation-en
Hit http://archive.ubuntu.com wily-security/universe Translation-en
Get:28 http://archive.ubuntu.com wily-proposed/universe Sources [3,550 B]
Get:29 http://archive.ubuntu.com wily-proposed/restricted Sources [28 B]
Get:30 http://archive.ubuntu.com wily-proposed/multiverse Sources [28 B]
Get:31 http://archive.ubuntu.com wily-proposed/main Sources [12.6 kB]
Get:32 http://archive.ubuntu.com wily-proposed/universe amd64 Packages [4,453 B]
Get:33 http://archive.ubuntu.com wily-proposed/restricted amd64 Packages [28 B]
Get:34 http://archive.ubuntu.com wily-proposed/multiverse amd64 Packages [28 B]
Get:35 http://archive.ubuntu.com wily-proposed/main amd64 Packages [27.3 kB]
Get:36 http://archive.ubuntu.com wily-proposed/universe i386 Packages [4,454 B]
Get:37 http://archive.ubuntu.com wily-proposed/restricted i386 Packages [28 B]
Get:38 http://archive.ubuntu.com wily-proposed/multiverse i386 Packages [28 B]
Get:39 http://archive.ubuntu.com wily-proposed/main i386 Packages [26.6 kB]
Hit http://archive.ubuntu.com wily-proposed/main Translation-en
Hit http://archive.ubuntu.com wily-proposed/multiverse Translation-en
Hit http://archive.ubuntu.com wily-proposed/restricted Translation-en
Hit http://archive.ubuntu.com wily-proposed/universe Translation-en
Fetched 1,527 kB in 42s (36.2 kB/s)
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Revision history for this message
jitender (jitender-city) said :
#10

~$ sudo apt-get autoremove

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Revision history for this message
jitender (jitender-city) said :
#11

sudo apt-get upgrade

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

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

If you have software centre or Synaptic open then this will cause this issue. Only one system can access the packages at any one time.

If none are running and updates are not installing then run:

 sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

And kill the process accessing the lock file. The system should then update OK

Revision history for this message
jitender (jitender-city) said :
#13

i have restarte pc and run all above commands....
 sudo apt-get upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following package was automatically installed and is no longer required:
  linux-image-4.2.0-16-generic
Use 'apt-get autoremove' to remove it.
Done
The following packages have been kept back:
  tuxpaint-config
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Revision history for this message
jitender (jitender-city) said :
#14

$ sudo apt-get update

Hit http://archive.ubuntu.com wily InRelease
Hit http://ppa.launchpad.net wily InRelease
Hit http://archive.ubuntu.com wily-updates InRelease
Hit http://archive.canonical.com wily InRelease
Hit http://archive.ubuntu.com wily-backports InRelease
Hit http://archive.ubuntu.com wily-security InRelease
Hit http://archive.canonical.com wily/partner Sources
Hit http://ppa.launchpad.net wily/main amd64 Packages
Hit http://archive.ubuntu.com wily-proposed InRelease
Hit http://archive.canonical.com wily/partner amd64 Packages
Hit http://ppa.launchpad.net wily/main i386 Packages
Hit http://archive.ubuntu.com wily/main Sources
Hit http://archive.canonical.com wily/partner i386 Packages
Hit http://ppa.launchpad.net wily/main Translation-en
Hit http://archive.ubuntu.com wily/restricted Sources
Hit http://archive.canonical.com wily/partner Translation-en
Hit http://ppa.launchpad.net wily/main Sources
Hit http://archive.ubuntu.com wily/universe Sources
Hit http://archive.ubuntu.com wily/multiverse Sources
Hit http://archive.ubuntu.com wily/main amd64 Packages
Hit http://archive.ubuntu.com wily/restricted amd64 Packages
Hit http://archive.ubuntu.com wily/universe amd64 Packages
Hit http://archive.ubuntu.com wily/multiverse amd64 Packages
Hit http://archive.ubuntu.com wily/main i386 Packages
Hit http://archive.ubuntu.com wily/restricted i386 Packages
Hit http://archive.ubuntu.com wily/universe i386 Packages
Hit http://archive.ubuntu.com wily/multiverse i386 Packages
Hit http://archive.ubuntu.com wily/main Translation-en
Hit http://archive.ubuntu.com wily/multiverse Translation-en
Hit http://archive.ubuntu.com wily/restricted Translation-en
Hit http://archive.ubuntu.com wily/universe Translation-en
Hit http://archive.ubuntu.com wily-updates/universe Sources
Hit http://archive.ubuntu.com wily-updates/restricted Sources
Hit http://archive.ubuntu.com wily-updates/multiverse Sources
Hit http://archive.ubuntu.com wily-updates/main Sources
Hit http://archive.ubuntu.com wily-updates/main amd64 Packages
Hit http://archive.ubuntu.com wily-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com wily-updates/universe amd64 Packages
Hit http://archive.ubuntu.com wily-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com wily-updates/main i386 Packages
Hit http://archive.ubuntu.com wily-updates/restricted i386 Packages
Hit http://archive.ubuntu.com wily-updates/universe i386 Packages
Hit http://archive.ubuntu.com wily-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com wily-updates/main Translation-en
Hit http://archive.ubuntu.com wily-updates/multiverse Translation-en
Hit http://archive.ubuntu.com wily-updates/restricted Translation-en
Hit http://archive.ubuntu.com wily-updates/universe Translation-en
Hit http://archive.ubuntu.com wily-backports/main Sources
Hit http://archive.ubuntu.com wily-backports/restricted Sources
Hit http://archive.ubuntu.com wily-backports/universe Sources
Hit http://archive.ubuntu.com wily-backports/multiverse Sources
Hit http://archive.ubuntu.com wily-backports/main amd64 Packages
Hit http://archive.ubuntu.com wily-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com wily-backports/universe amd64 Packages
Hit http://archive.ubuntu.com wily-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com wily-backports/main i386 Packages
Hit http://archive.ubuntu.com wily-backports/restricted i386 Packages
Hit http://archive.ubuntu.com wily-backports/universe i386 Packages
Hit http://archive.ubuntu.com wily-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com wily-backports/main Translation-en
Hit http://archive.ubuntu.com wily-backports/multiverse Translation-en
Hit http://archive.ubuntu.com wily-backports/restricted Translation-en
Hit http://archive.ubuntu.com wily-backports/universe Translation-en
Hit http://archive.ubuntu.com wily-security/universe Sources
Hit http://archive.ubuntu.com wily-security/restricted Sources
Hit http://archive.ubuntu.com wily-security/multiverse Sources
Hit http://archive.ubuntu.com wily-security/main Sources
Hit http://archive.ubuntu.com wily-security/main amd64 Packages
Hit http://archive.ubuntu.com wily-security/restricted amd64 Packages
Hit http://archive.ubuntu.com wily-security/universe amd64 Packages
Hit http://archive.ubuntu.com wily-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com wily-security/main i386 Packages
Hit http://archive.ubuntu.com wily-security/restricted i386 Packages
Hit http://archive.ubuntu.com wily-security/universe i386 Packages
Hit http://archive.ubuntu.com wily-security/multiverse i386 Packages
Hit http://archive.ubuntu.com wily-security/main Translation-en
Hit http://archive.ubuntu.com wily-security/multiverse Translation-en
Hit http://archive.ubuntu.com wily-security/restricted Translation-en
Hit http://archive.ubuntu.com wily-security/universe Translation-en
Hit http://archive.ubuntu.com wily-proposed/universe Sources
Hit http://archive.ubuntu.com wily-proposed/restricted Sources
Hit http://archive.ubuntu.com wily-proposed/multiverse Sources
Hit http://archive.ubuntu.com wily-proposed/main Sources
Hit http://archive.ubuntu.com wily-proposed/universe amd64 Packages
Hit http://archive.ubuntu.com wily-proposed/restricted amd64 Packages
Hit http://archive.ubuntu.com wily-proposed/multiverse amd64 Packages
Hit http://archive.ubuntu.com wily-proposed/main amd64 Packages
Hit http://archive.ubuntu.com wily-proposed/universe i386 Packages
Hit http://archive.ubuntu.com wily-proposed/restricted i386 Packages
Hit http://archive.ubuntu.com wily-proposed/multiverse i386 Packages
Hit http://archive.ubuntu.com wily-proposed/main i386 Packages
Hit http://archive.ubuntu.com wily-proposed/main Translation-en
Hit http://archive.ubuntu.com wily-proposed/multiverse Translation-en
Hit http://archive.ubuntu.com wily-proposed/restricted Translation-en
Hit http://archive.ubuntu.com wily-proposed/universe Translation-en
Reading package lists... Done

Can you help with this problem?

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

To post a message you must log in.