Downloading from Repositories - No Release File

Asked by Timothy Cale

I am trying to download code from a repository (ngsolve.org - as dellineated below). I get the messaage
below. The response below was in response to apt-get update, but I get the same response with a request
to download the desired code.

When I looked into "apt-secure" and "apt-key", I did not get an answer to how I should proceed. For example,
if I need to get/add a key, where do I get that key? If I should tell the code distributor something; what is that?

Thanks,
Tim

The message referenced above:

Reading package lists... Done
W: The repository 'http://ngsolve.org/files/unbuntu xenial_amd64/ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://ngsolve.org/files/unbuntu/xenial_amd64/Packages 404 Category not found
E: Some index files failed to download. They have been ignored, or old ones used instead.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu netgen Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the full output of the commands (to be executed in a terminal window):

uname -a
lsb_release -crid
sudo apt-get update
grep ngsolve /etc/apt/sources.list /etc/apt/sources.list.d/*.list

Can you provide a link to the instructions that you used for adding the ngsolve server?

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2

You get that warning, because unbuntu in http://ngsolve.org/files/unbuntu does not exist.

However, https://ngsolve.org/files/ubuntu/ - ubuntu instead of uNbuntu - does exist

Your sources.list file is probably incorrectly referring to unbuntu instead of ubuntu.

Try these Terminal commands instead:

sudo add-apt-repository ppa:ngsolve/ngsolve

sudo apt-get update

sudo apt-get install ngsolve

Please also send us the output of the commands in post #1 (requested by Manfred).

Revision history for this message
Timothy Cale (timothy-cale) said :
#3

Manfred:

Thank you for responding to my question. I answer your second question first.

Tim

1. The link to the instructions is:

https://ngsolve.org/downloads <https://ngsolve.org/downloads>

I was using the instructions for ubuntu 64-bit (15.10 and newer).

2. I copied the following from a terminal on my Ubuntu 16.04 VM (fusion), and pasted it into my Apple mail. I think I followed your
request. I do notice that the output refers to both ubuntu and unbuntu . . .

tscale@tscale-mbp-ubuntu:~$ uname -a
Linux tscale-mbp-ubuntu 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
tscale@tscale-mbp-ubuntu:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
tscale@tscale-mbp-ubuntu:~$ sudo apt-get update
[sudo] password for tscale:
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Ign:4 https://ngsolve.org/files/unbuntu xenial_amd64/ InRelease
Ign:6 https://ngsolve.org/files/ubuntu xenial_amd64/ InRelease
Hit:8 http://ngsolve.org/files/ubuntu xenial_amd64/ Release
Ign:7 https://ngsolve.org/files/unbuntu xenial_amd64/ Release
Ign:9 https://ngsolve.org/files/ubuntu xenial_amd64/ Release.gpg
Ign:10 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:13 https://ngsolve.org/files/ubuntu xenial_amd64/ Packages.diff/Index
Ign:14 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:10 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:14 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:10 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:14 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:10 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:14 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:10 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:14 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Err:10 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
  404 Category not found
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:14 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Fetched 306 kB in 15s (20.1 kB/s)
Reading package lists... Done
W: The repository 'http://ngsolve.org/files/unbuntu xenial_amd64/ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ngsolve.org/files/ubuntu xenial_amd64/ Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://ngsolve.org/files/unbuntu/xenial_amd64/Packages 404 Category not found
E: Some index files failed to download. They have been ignored, or old ones used instead.
tscale@tscale-mbp-ubuntu:~$ grep ngsolve /etc/apt/sources.list.d/*.list
tscale@tscale-mbp-ubuntu:~$

> On Jul 7, 2017, at 1:35 AM, Manfred Hampl <email address hidden> wrote:
>
> Your question #646726 on netgen in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/netgen/+question/646726
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> For diagnostic purposes please provide the full output of the commands
> (to be executed in a terminal window):
>
> uname -a
> lsb_release -crid
> sudo apt-get update
> grep ngsolve /etc/apt/sources.list /etc/apt/sources.list.d/*.list
>
> Can you provide a link to the instructions that you used for adding the
> ngsolve server?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/netgen/+question/646726
>
> You received this question notification because you asked the question.

Revision history for this message
Timothy Cale (timothy-cale) said :
#4

Mark:

Thank you for responding to my question.

I answered Manfred’s email a few minutes ago; including the information he requested.

Upon trying your set of terminal commands, I get (what I see as) essentially the same response to
agt-get update. (After apt-add-repository ppa:ngsolve/ngsolve,)

As I don’t know if you have access to my email response to Manfred, I attach a copy/paste of the
terminal, Yes, there is a suspicious mix of ubuntu and unbuntu in the outputs . . .

_________________

tscale@tscale-mbp-ubuntu:~$ sudo apt-add-repository ppa:ngsolve/ngsolve

 More info: https://launchpad.net/~ngsolve/+archive/ubuntu/ngsolve
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp38we4dwi/secring.gpg' created
gpg: keyring `/tmp/tmp38we4dwi/pubring.gpg' created
gpg: requesting key D58F7155 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp38we4dwi/trustdb.gpg: trustdb created
gpg: key D58F7155: public key "Launchpad PPA for NGSolve" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
tscale@tscale-mbp-ubuntu:~$ sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:7 http://ppa.launchpad.net/ngsolve/ngsolve/ubuntu xenial InRelease [18.1 kB]
Ign:4 https://ngsolve.org/files/unbuntu xenial_amd64/ InRelease
Ign:6 https://ngsolve.org/files/ubuntu xenial_amd64/ InRelease
Hit:9 http://ngsolve.org/files/ubuntu xenial_amd64/ Release
Ign:8 https://ngsolve.org/files/unbuntu xenial_amd64/ Release
Ign:10 https://ngsolve.org/files/ubuntu xenial_amd64/ Release.gpg
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Get:15 http://ppa.launchpad.net/ngsolve/ngsolve/ubuntu xenial/main amd64 Packages [524 B]
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Get:17 http://ppa.launchpad.net/ngsolve/ngsolve/ubuntu xenial/main Translation-en [168 B]
Ign:14 https://ngsolve.org/files/ubuntu xenial_amd64/ Packages.diff/Index
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:18 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:18 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:18 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:18 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:18 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Err:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
  404 Category not found
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:18 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Fetched 325 kB in 15s (21.3 kB/s)
Reading package lists... Done
W: The repository 'http://ngsolve.org/files/unbuntu xenial_amd64/ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ngsolve.org/files/ubuntu xenial_amd64/ Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://ngsolve.org/files/unbuntu/xenial_amd64/Packages 404 Category not found
E: Some index files failed to download. They have been ignored, or old ones used instead.
tscale@tscale-mbp-ubuntu:~$

> On Jul 7, 2017, at 7:53 AM, Mark Rijckenberg <email address hidden> wrote:
>
> Your question #646726 on netgen in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/netgen/+question/646726
>
> Mark Rijckenberg requested more information:
> You get that warning, because unbuntu in
> http://ngsolve.org/files/unbuntu does not exist.
>
> However, https://ngsolve.org/files/ubuntu/ - ubuntu instead of
> uNbuntu - does exist
>
> Your sources.list file is probably incorrectly referring to unbuntu
> instead of ubuntu.
>
> Try these Terminal commands instead:
>
> sudo add-apt-repository ppa:ngsolve/ngsolve
>
> sudo apt-get update
>
> sudo apt-get install ngsolve
>
> Please also send us the output of the commands in post #1 (requested by
> Manfred).
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/netgen/+question/646726
>
> You received this question notification because you asked the question.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

Timothy:

We need the FULL Terminal output itself, not your interpretation of the output.

Please execute the right commands instead of chopped up versions of the right commands.

For example:

Manfred asked you to run this:

grep ngsolve /etc/apt/sources.list /etc/apt/sources.list.d/*.list

But you ran this instead:

 grep ngsolve /etc/apt/sources.list.d/*.list

We can only help, if you follow the instructions correctly and send us ALL the output.

I also do not see the output for the last command I gave you (sudo apt-get install ngsolve)

Revision history for this message
Timothy Cale (timothy-cale) said :
#6

Mark:

I apologize for missing part of Manfred’s final requested command.

I assume you mean, by full terminal output, that I should cut/paste the terminal. If another approach is desired, please let me know.

The copy/paste of two terminal interactions (same terminal window) are attached below:

First is the sequence of commands requested by Manfred.
Second is the command that you requested.

Thank you,
Tim
______

tscale@tscale-mbp-ubuntu:~$ uname -a
Linux tscale-mbp-ubuntu 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
tscale@tscale-mbp-ubuntu:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
tscale@tscale-mbp-ubuntu:~$ sudo apt-get update
[sudo] password for tscale:
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:4 http://ppa.launchpad.net/ngsolve/ngsolve/ubuntu xenial InRelease [18.1 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Ign:5 https://ngsolve.org/files/unbuntu xenial_amd64/ InRelease
Ign:7 https://ngsolve.org/files/ubuntu xenial_amd64/ InRelease
Hit:9 http://ngsolve.org/files/ubuntu xenial_amd64/ Release
Ign:8 https://ngsolve.org/files/unbuntu xenial_amd64/ Release
Ign:10 https://ngsolve.org/files/ubuntu xenial_amd64/ Release.gpg
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:14 https://ngsolve.org/files/ubuntu xenial_amd64/ Packages.diff/Index
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Ign:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Err:11 https://ngsolve.org/files/unbuntu xenial_amd64/ Packages
  404 Category not found
Ign:12 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en_US
Ign:13 https://ngsolve.org/files/unbuntu xenial_amd64/ Translation-en
Ign:15 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en_US
Ign:16 https://ngsolve.org/files/ubuntu xenial_amd64/ Translation-en
Fetched 325 kB in 13s (23.3 kB/s)
Reading package lists... Done
W: The repository 'http://ngsolve.org/files/unbuntu xenial_amd64/ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ngsolve.org/files/ubuntu xenial_amd64/ Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://ngsolve.org/files/unbuntu/xenial_amd64/Packages 404 Category not found
E: Some index files failed to download. They have been ignored, or old ones used instead.
tscale@tscale-mbp-ubuntu:~$ grep ngsolve /etc/apt/sources.list /etc/apt/sources.list.d/*.list
/etc/apt/sources.list:deb http://ngsolve.org/files/unbuntu xenial_amd64/
/etc/apt/sources.list:# deb-src http://ngsolve.org/files/unbuntu xenial_amd64/
/etc/apt/sources.list:deb http://ngsolve.org/files/ubuntu xenial_amd64/
/etc/apt/sources.list:# deb-src http://ngsolve.org/files/ubuntu xenial_amd64/
/etc/apt/sources.list.d/ngsolve-ubuntu-ngsolve-xenial.list:deb http://ppa.launchpad.net/ngsolve/ngsolve/ubuntu xenial main
/etc/apt/sources.list.d/ngsolve-ubuntu-ngsolve-xenial.list:# deb-src http://ppa.launchpad.net/ngsolve/ngsolve/ubuntu xenial main
tscale@tscale-mbp-ubuntu:~$

tscale@tscale-mbp-ubuntu:~$
tscale@tscale-mbp-ubuntu:~$ sudo apt-get install ngsolve
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libfreeimage-dev liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-ocaf-lite-dev liboce-visualization-dev
The following NEW packages will be installed:
  libfreeimage-dev liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-ocaf-lite-dev liboce-visualization-dev ngsolve
0 upgraded, 7 newly installed, 0 to remove and 8 not upgraded.
Need to get 66.2 MB of archives.
After this operation, 231 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  ngsolve
Install these packages without verification? [y/N] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 liboce-foundation-dev amd64 0.17.1-1ubuntu0.1 [794 kB]
Get:2 http://ngsolve.org/files/ubuntu xenial_amd64/ ngsolve 6.2.1706-4-ga52d2f4 [62.5 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 liboce-modeling-dev amd64 0.17.1-1ubuntu0.1 [1,955 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 liboce-ocaf-lite-dev amd64 0.17.1-1ubuntu0.1 [277 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libfreeimage-dev amd64 3.17.0+ds1-2 [18.6 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 liboce-visualization-dev amd64 0.17.1-1ubuntu0.1 [485 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 liboce-ocaf-dev amd64 0.17.1-1ubuntu0.1 [110 kB]
Fetched 66.2 MB in 31s (2,118 kB/s)
Selecting previously unselected package liboce-foundation-dev:amd64.
(Reading database ... 342877 files and directories currently installed.)
Preparing to unpack .../liboce-foundation-dev_0.17.1-1ubuntu0.1_amd64.deb ...
Unpacking liboce-foundation-dev:amd64 (0.17.1-1ubuntu0.1) ...
Selecting previously unselected package liboce-modeling-dev:amd64.
Preparing to unpack .../liboce-modeling-dev_0.17.1-1ubuntu0.1_amd64.deb ...
Unpacking liboce-modeling-dev:amd64 (0.17.1-1ubuntu0.1) ...
Selecting previously unselected package liboce-ocaf-lite-dev:amd64.
Preparing to unpack .../liboce-ocaf-lite-dev_0.17.1-1ubuntu0.1_amd64.deb ...
Unpacking liboce-ocaf-lite-dev:amd64 (0.17.1-1ubuntu0.1) ...
Selecting previously unselected package libfreeimage-dev.
Preparing to unpack .../libfreeimage-dev_3.17.0+ds1-2_amd64.deb ...
Unpacking libfreeimage-dev (3.17.0+ds1-2) ...
Selecting previously unselected package liboce-visualization-dev:amd64.
Preparing to unpack .../liboce-visualization-dev_0.17.1-1ubuntu0.1_amd64.deb ...
Unpacking liboce-visualization-dev:amd64 (0.17.1-1ubuntu0.1) ...
Selecting previously unselected package liboce-ocaf-dev:amd64.
Preparing to unpack .../liboce-ocaf-dev_0.17.1-1ubuntu0.1_amd64.deb ...
Unpacking liboce-ocaf-dev:amd64 (0.17.1-1ubuntu0.1) ...
Selecting previously unselected package ngsolve.
Preparing to unpack .../ngsolve_6.2.1706-4-ga52d2f4_amd64.deb ...
Unpacking ngsolve (6.2.1706-4-ga52d2f4) ...
dpkg: error processing archive /var/cache/apt/archives/ngsolve_6.2.1706-4-ga52d2f4_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/netgen', which is also in package netgen 4.9.13.dfsg-8build2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/ngsolve_6.2.1706-4-ga52d2f4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
tscale@tscale-mbp-ubuntu:~$

> On Jul 7, 2017, at 11:34 PM, Mark Rijckenberg <email address hidden> wrote:
>
> Your question #646726 on netgen in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/netgen/+question/646726
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested more information:
> Timothy:
>
> We need the FULL Terminal output itself, not your interpretation of the
> output.
>
> Please execute the right commands instead of chopped up versions of the
> right commands.
>
> For example:
>
> Manfred asked you to run this:
>
> grep ngsolve /etc/apt/sources.list /etc/apt/sources.list.d/*.list
>
> But you ran this instead:
>
> grep ngsolve /etc/apt/sources.list.d/*.list
>
> We can only help, if you follow the instructions correctly and send us
> ALL the output.
>
> I also do not see the output for the last command I gave you (sudo apt-
> get install ngsolve)
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/netgen/+question/646726
>
> You received this question notification because you asked the question.

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#7

Your Terminal output shows 2 different issues:

Issue 1) /etc/apt/sources.list:deb http://ngsolve.org/files/unbuntu xenial_amd64/
/etc/apt/sources.list:# deb-src http://ngsolve.org/files/unbuntu xenial_amd64/

Please run following Terminal command:

sudo gedit /etc/apt/sources.list

Using the gedit text editor, scroll down and REMOVE any line containing unbuntu

Save the change in gedit.

Issue 2)

dpkg: error processing archive /var/cache/apt/archives/ngsolve_6.2.1706-4-ga52d2f4_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/netgen', which is also in package netgen 4.9.13.dfsg-8build2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

So I assume that you previously installed netgen from a different source and netgen is in conflict with the ngsolve package you are trying to install.

So now you need to choose which one you want to keep: either ngsolve or netgen

The netgen version 4.9.13.dfsg-8build2 is one year older than the ngsolve version (6.2.1706-4-ga52d2f4)

So I assume you FIRST need to uninstall netgen using this Terminal command:

sudo apt-get purge netgen

Then install ngsolve (last updated 1 hour ago by the PPA package maintainer!) with these Terminal commands:

sudo apt-get update

sudo apt-get install ngsolve

Revision history for this message
Timothy Cale (timothy-cale) said :
#8

Mark:

It worked! I will go to the url indicated, and indicate that the problem is solved.

Thank you (and Manfred),
Tim

> On Jul 8, 2017, at 9:53 AM, Mark Rijckenberg <email address hidden> wrote:
>
> Your question #646726 on netgen in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/netgen/+question/646726
>
> Status: Open => Answered
>
> Mark Rijckenberg proposed the following answer:
> Your Terminal output shows 2 different issues:
>
> Issue 1) /etc/apt/sources.list:deb http://ngsolve.org/files/unbuntu xenial_amd64/
> /etc/apt/sources.list:# deb-src http://ngsolve.org/files/unbuntu xenial_amd64/
>
> Please run following Terminal command:
>
> sudo gedit /etc/apt/sources.list
>
> Using the gedit text editor, scroll down and REMOVE any line containing
> unbuntu
>
> Save the change in gedit.
>
> Issue 2)
>
> dpkg: error processing archive /var/cache/apt/archives/ngsolve_6.2.1706-4-ga52d2f4_amd64.deb (--unpack):
> trying to overwrite '/usr/bin/netgen', which is also in package netgen 4.9.13.dfsg-8build2
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
>
> So I assume that you previously installed netgen from a different source
> and netgen is in conflict with the ngsolve package you are trying to
> install.
>
> So now you need to choose which one you want to keep: either ngsolve or
> netgen
>
> The netgen version 4.9.13.dfsg-8build2 is one year older than the
> ngsolve version (6.2.1706-4-ga52d2f4)
>
> So I assume you FIRST need to uninstall netgen using this Terminal
> command:
>
> sudo apt-get purge netgen
>
> Then install ngsolve (last updated 1 hour ago by the PPA package
> maintainer!) with these Terminal commands:
>
> sudo apt-get update
>
> sudo apt-get install ngsolve
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/netgen/+question/646726/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/netgen/+question/646726
>
> You received this question notification because you asked the question.

Revision history for this message
Timothy Cale (timothy-cale) said :
#9

Thank you guys! This solved the problem.

There were a few warning messages about package authentication, but the ngsolve.org site indicates that there would be.

Revision history for this message
frederic peugny (frederic-peugny) said :
#10

Hello
I have a similar problem but my Ubuntu version is older. precise
I am wondering to do an upgrade to Ubuntu 14 (it is a new PC but I run Ubuntu as qemu VM with little size)
Anyway.

uname -a OUTPUT
Linux pcdelldefred 3.2.0-126-generic #169-Ubuntu SMP Fri Mar 31 14:16:01 UTC 2017 i686 i686 i386 GNU/Linux

sudo add-apt-repository ppa:ngsolve>ngsolve OUTPUT
 More info: https://launchpad.net/~ngsolve/+archive/ubuntu/ngsolve
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp2EMS56/secring.gpg' created
gpg: keyring `/tmp/tmp2EMS56/pubring.gpg' created
gpg: requesting key D58F7155 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2EMS56/trustdb.gpg: trustdb created
gpg: key D58F7155: public key "Launchpad PPA for NGSolve" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

sudo apt-get update OUTPUT
Ign http://ppa.launchpad.net precise Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://fr.archive.ubuntu.com precise Release.gpg
Hit http://fr.archive.ubuntu.com precise-updates Release.gpg
Hit http://fr.archive.ubuntu.com precise-backports Release.gpg
Hit http://extras.ubuntu.com precise Release
Hit http://fr.archive.ubuntu.com precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://fr.archive.ubuntu.com precise-updates Release
Hit http://extras.ubuntu.com precise/main Sources
Hit http://fr.archive.ubuntu.com precise-backports Release
Hit http://fr.archive.ubuntu.com precise/main Sources
Hit http://fr.archive.ubuntu.com precise/restricted Sources
Hit http://fr.archive.ubuntu.com precise/universe Sources
Hit http://fr.archive.ubuntu.com precise/multiverse Sources
Hit http://fr.archive.ubuntu.com precise/main i386 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://fr.archive.ubuntu.com precise/restricted i386 Packages
Hit http://fr.archive.ubuntu.com precise/universe i386 Packages
Hit http://fr.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://fr.archive.ubuntu.com precise/main TranslationIndex
Ign http://ppa.launchpad.net precise Release
Hit http://fr.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://fr.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://fr.archive.ubuntu.com precise/universe TranslationIndex
Hit http://fr.archive.ubuntu.com precise-updates/main Sources
Hit http://fr.archive.ubuntu.com precise-updates/restricted Sources
Hit http://fr.archive.ubuntu.com precise-updates/universe Sources
Hit http://fr.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://fr.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://fr.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://fr.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://fr.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates Release.gpg
Hit http://fr.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://fr.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://fr.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://fr.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://ppa.launchpad.net precise Release
Hit http://security.ubuntu.com precise-security Release
Hit http://fr.archive.ubuntu.com precise-backports/main Sources
Hit http://fr.archive.ubuntu.com precise-backports/restricted Sources
Hit http://fr.archive.ubuntu.com precise-backports/universe Sources
Hit http://fr.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://fr.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://fr.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://fr.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://fr.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://fr.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://fr.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://fr.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://fr.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://fr.archive.ubuntu.com precise/main Translation-en
Hit http://fr.archive.ubuntu.com precise/multiverse Translation-en
Hit http://fr.archive.ubuntu.com precise/restricted Translation-en
Hit http://fr.archive.ubuntu.com precise/universe Translation-en
Hit http://fr.archive.ubuntu.com precise-updates/main Translation-en
Hit http://fr.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://fr.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://fr.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://fr.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://fr.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://fr.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://fr.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Ign http://extras.ubuntu.com precise/main Translation-en_US
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Ign http://extras.ubuntu.com precise/main Translation-en
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Translation-en
Err http://ppa.launchpad.net precise/main Sources
  404 Not Found
Err http://ppa.launchpad.net precise/main i386 Packages
  404 Not Found
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
W: Failed to fetch http://ppa.launchpad.net/ngsolve/ngsolve/ubuntu/dists/precise/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ngsolve/ngsolve/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

sudo apt-get install ngsolve OUTPUT
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package ngsolve

sudo cat /etc/apt/sources.lists
 # deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ precise universe
deb http://fr.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
# deb http://cz.archive.ubuntu.com/ubuntu wily main #frederic. found in forums askubuntu.com cant install python-dev

I appreciate your help

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

@frederic peugny:
Please do not piggyback on somebody else's question, but create a question document of your own. There is no possibility to track the status of your problem in a document from somebody else that has already been marked as 'solved'.

Look at https://launchpad.net/~ngsolve/+archive/ubuntu/ngsolve and you will see that the ppa which you have added does not contain any software for Ubuntu precise, but only for Ubuntu xenial and newer.

Remark: Ubuntu precise is already in End-of-life status, and the only support that is still provided is the paid extended security maintenance option for selected server packages. And even this will end in a few weeks' time.

I recommend that you upgrade to a supported release of Ubuntu. This will most probably also allow installing ngsolve without further problems.

And if I talk about a supported release of Ubuntu, I do not refer to 14.04 (trusty), because this release will also go into "end of life" status within the coming month.