Installing software from software center

Asked by davidzaq1

Hello,

I am having problems installing programs from the software center on Ubuntu 16.04.

When I go to the software center and click on a program , I click on install, the program acts like it wants to install but then it stops. This happens with several programs.

Please let me know if there is a way to fix this or what might be wrong.

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
davidzaq1
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Reboot and log back in. Then open a terminal and run:

sudo apt-get update; lsb_release -a

What is the output please?

Revision history for this message
davidzaq1 (david3a9x) said :
#2

Hello,

Here is the output:

$ sudo apt-get update; lsb_release -a
[sudo] password for stanw:
Hit:1 http://ppa.launchpad.net/openrct2/nightly/ubuntu xenial InRelease
Hit:2 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu xenial InRelease
Hit:4 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:6 http://archive.canonical.com/ubuntu xenial InRelease
Ign:7 http://download.videolan.org/pub/debian/stable InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:9 http://download.videolan.org/pub/debian/stable Release
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Fetched 306 kB in 18s (16.8 kB/s)
Reading package lists... Done
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/openrct2-ubuntu-nightly-xenial.list:2 and /etc/apt/sources.list.d/openrct2-ubuntu-nightly-xenial.list:3
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/openrct2-ubuntu-nightly-xenial.list:2 and /etc/apt/sources.list.d/openrct2-ubuntu-nightly-xenial.list:3
No LSB modules are available.

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

You seem to have misconfigured your package management system.

What is the output of the command

cat -n /etc/apt/sources.list.d/openrct2-ubuntu-nightly-xenial.list

Revision history for this message
davidzaq1 (david3a9x) said :
#4

Hello,

Ok, here is the output of the above command:

$ cat -n /etc/apt/sources.list.d/openrct2-ubuntu-nightly-xenial.list 1 deb http://ppa.launchpad.net/openrct2/nightly/ubuntu xenial main
     2 deb-src http://ppa.launchpad.net/openrct2/nightly/ubuntu xenial main
     3 deb-src http://ppa.launchpad.net/openrct2/nightly/ubuntu xenial main

Thank you,

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

There are two identical lines in that file. You have to delete the third line, such that here is only one starting with "deb" and one starting with "deb-src".

Revision history for this message
davidzaq1 (david3a9x) said :
#6

Ok thank you.