Ubuntu Server 16.04.3 LTS - issues with update and interfaces [closed]

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I will describe my problem:
1) I installed ubuntu server 16.04.3 LTS on an HP Proliant DL380 G7 server using a bootable USB stick.
2) As soon as the installation is finished, I wanted to update the system with the command: sudo apt-get update but an error appeared to me:
E: Malformed entry 2 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read
-> the contents of the /etc/apt/sources.list file is as follows:
Ubuntu Update Rest
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-update
3) I have an ethernet cable connects from my server to the router.
4) My network interface is a bit weird, I do not understand why it is of this form enp13s0f0 and not eth0 !!!
So if someone has an answer, it will help me a lot because I am blocked :(
16.04 networking apt server ethernet
closed as too broad by vidarlo, user535733, Eric Carvalho, user117103, Zanna Mar 4 at 20:43
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |Â
up vote
0
down vote
favorite
I will describe my problem:
1) I installed ubuntu server 16.04.3 LTS on an HP Proliant DL380 G7 server using a bootable USB stick.
2) As soon as the installation is finished, I wanted to update the system with the command: sudo apt-get update but an error appeared to me:
E: Malformed entry 2 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read
-> the contents of the /etc/apt/sources.list file is as follows:
Ubuntu Update Rest
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-update
3) I have an ethernet cable connects from my server to the router.
4) My network interface is a bit weird, I do not understand why it is of this form enp13s0f0 and not eth0 !!!
So if someone has an answer, it will help me a lot because I am blocked :(
16.04 networking apt server ethernet
closed as too broad by vidarlo, user535733, Eric Carvalho, user117103, Zanna Mar 4 at 20:43
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
re: 4) Please see this question about interface naming
â vidarlo
Feb 28 at 13:26
Please edit your question to add the result of the terminal command:cat /etc/network/interfacesWelcome to Ask Ubuntu.
â chili555
Feb 28 at 14:49
re: 2) Please see askubuntu.com/questions/96967
â user535733
Feb 28 at 17:07
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I will describe my problem:
1) I installed ubuntu server 16.04.3 LTS on an HP Proliant DL380 G7 server using a bootable USB stick.
2) As soon as the installation is finished, I wanted to update the system with the command: sudo apt-get update but an error appeared to me:
E: Malformed entry 2 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read
-> the contents of the /etc/apt/sources.list file is as follows:
Ubuntu Update Rest
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-update
3) I have an ethernet cable connects from my server to the router.
4) My network interface is a bit weird, I do not understand why it is of this form enp13s0f0 and not eth0 !!!
So if someone has an answer, it will help me a lot because I am blocked :(
16.04 networking apt server ethernet
I will describe my problem:
1) I installed ubuntu server 16.04.3 LTS on an HP Proliant DL380 G7 server using a bootable USB stick.
2) As soon as the installation is finished, I wanted to update the system with the command: sudo apt-get update but an error appeared to me:
E: Malformed entry 2 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read
-> the contents of the /etc/apt/sources.list file is as follows:
Ubuntu Update Rest
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-update
3) I have an ethernet cable connects from my server to the router.
4) My network interface is a bit weird, I do not understand why it is of this form enp13s0f0 and not eth0 !!!
So if someone has an answer, it will help me a lot because I am blocked :(
16.04 networking apt server ethernet
16.04 networking apt server ethernet
edited Feb 28 at 14:13
Robert Riedl
2,740623
2,740623
asked Feb 28 at 12:45
Hassine H'maied
62
62
closed as too broad by vidarlo, user535733, Eric Carvalho, user117103, Zanna Mar 4 at 20:43
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by vidarlo, user535733, Eric Carvalho, user117103, Zanna Mar 4 at 20:43
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
re: 4) Please see this question about interface naming
â vidarlo
Feb 28 at 13:26
Please edit your question to add the result of the terminal command:cat /etc/network/interfacesWelcome to Ask Ubuntu.
â chili555
Feb 28 at 14:49
re: 2) Please see askubuntu.com/questions/96967
â user535733
Feb 28 at 17:07
add a comment |Â
1
re: 4) Please see this question about interface naming
â vidarlo
Feb 28 at 13:26
Please edit your question to add the result of the terminal command:cat /etc/network/interfacesWelcome to Ask Ubuntu.
â chili555
Feb 28 at 14:49
re: 2) Please see askubuntu.com/questions/96967
â user535733
Feb 28 at 17:07
1
1
re: 4) Please see this question about interface naming
â vidarlo
Feb 28 at 13:26
re: 4) Please see this question about interface naming
â vidarlo
Feb 28 at 13:26
Please edit your question to add the result of the terminal command:
cat /etc/network/interfaces Welcome to Ask Ubuntu.â chili555
Feb 28 at 14:49
Please edit your question to add the result of the terminal command:
cat /etc/network/interfaces Welcome to Ask Ubuntu.â chili555
Feb 28 at 14:49
re: 2) Please see askubuntu.com/questions/96967
â user535733
Feb 28 at 17:07
re: 2) Please see askubuntu.com/questions/96967
â user535733
Feb 28 at 17:07
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
Your /etc/apt/sources.list seems to have been modified, one trivial thing that is missing is the component, it should at least look like this :
Ubuntu Update Rest
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates main
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-update main
And about your network interface name, eth0 is no more in use, since this name can change from one boot to anoter, see predictable network interface name. But if you really want it to be named eth0, this old behavior can be restored like described here.
Thank you very much @pim for the answer, but the problem persists. the error is as follows : Err: 1 de.archive.ubuntu.com/ubuntu xenial-updates InRelease Temporary failure resolving 'from.archive.ubuntu.com' Err: 2 de.archive.ubuntu.com/ubuntu xenial-update InRelease Temporary failure resolving 'from.archive.ubuntu.com'
â Hassine H'maied
Feb 28 at 13:37
Now either you've got no internet, either there are other problems in your file. I think you don't have the original file anymore?
â pim
Feb 28 at 13:47
Here is my/etc/apt/sources.list: gist.githubusercontent.com/RandomReaper/⦠feel free to try it. If it works, you can still replace the ch.archive... by de.archive....
â pim
Feb 28 at 13:52
No I do not have internet either I am connected with an ethernet cable from the server to the router but the internet does not work. I will try to replace my file /etc/apt/sources.list but the problem is that I can not copy to paste on the screen of my desktop since I am on a laptop and I write to you from my personal computer. I have to write it with my hand?
â Hassine H'maied
Feb 28 at 14:03
If you don't have internet, there is no need trying to install software form it. First of all fix your internet connection.
â pim
Feb 28 at 14:41
 |Â
show 4 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Your /etc/apt/sources.list seems to have been modified, one trivial thing that is missing is the component, it should at least look like this :
Ubuntu Update Rest
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates main
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-update main
And about your network interface name, eth0 is no more in use, since this name can change from one boot to anoter, see predictable network interface name. But if you really want it to be named eth0, this old behavior can be restored like described here.
Thank you very much @pim for the answer, but the problem persists. the error is as follows : Err: 1 de.archive.ubuntu.com/ubuntu xenial-updates InRelease Temporary failure resolving 'from.archive.ubuntu.com' Err: 2 de.archive.ubuntu.com/ubuntu xenial-update InRelease Temporary failure resolving 'from.archive.ubuntu.com'
â Hassine H'maied
Feb 28 at 13:37
Now either you've got no internet, either there are other problems in your file. I think you don't have the original file anymore?
â pim
Feb 28 at 13:47
Here is my/etc/apt/sources.list: gist.githubusercontent.com/RandomReaper/⦠feel free to try it. If it works, you can still replace the ch.archive... by de.archive....
â pim
Feb 28 at 13:52
No I do not have internet either I am connected with an ethernet cable from the server to the router but the internet does not work. I will try to replace my file /etc/apt/sources.list but the problem is that I can not copy to paste on the screen of my desktop since I am on a laptop and I write to you from my personal computer. I have to write it with my hand?
â Hassine H'maied
Feb 28 at 14:03
If you don't have internet, there is no need trying to install software form it. First of all fix your internet connection.
â pim
Feb 28 at 14:41
 |Â
show 4 more comments
up vote
1
down vote
Your /etc/apt/sources.list seems to have been modified, one trivial thing that is missing is the component, it should at least look like this :
Ubuntu Update Rest
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates main
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-update main
And about your network interface name, eth0 is no more in use, since this name can change from one boot to anoter, see predictable network interface name. But if you really want it to be named eth0, this old behavior can be restored like described here.
Thank you very much @pim for the answer, but the problem persists. the error is as follows : Err: 1 de.archive.ubuntu.com/ubuntu xenial-updates InRelease Temporary failure resolving 'from.archive.ubuntu.com' Err: 2 de.archive.ubuntu.com/ubuntu xenial-update InRelease Temporary failure resolving 'from.archive.ubuntu.com'
â Hassine H'maied
Feb 28 at 13:37
Now either you've got no internet, either there are other problems in your file. I think you don't have the original file anymore?
â pim
Feb 28 at 13:47
Here is my/etc/apt/sources.list: gist.githubusercontent.com/RandomReaper/⦠feel free to try it. If it works, you can still replace the ch.archive... by de.archive....
â pim
Feb 28 at 13:52
No I do not have internet either I am connected with an ethernet cable from the server to the router but the internet does not work. I will try to replace my file /etc/apt/sources.list but the problem is that I can not copy to paste on the screen of my desktop since I am on a laptop and I write to you from my personal computer. I have to write it with my hand?
â Hassine H'maied
Feb 28 at 14:03
If you don't have internet, there is no need trying to install software form it. First of all fix your internet connection.
â pim
Feb 28 at 14:41
 |Â
show 4 more comments
up vote
1
down vote
up vote
1
down vote
Your /etc/apt/sources.list seems to have been modified, one trivial thing that is missing is the component, it should at least look like this :
Ubuntu Update Rest
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates main
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-update main
And about your network interface name, eth0 is no more in use, since this name can change from one boot to anoter, see predictable network interface name. But if you really want it to be named eth0, this old behavior can be restored like described here.
Your /etc/apt/sources.list seems to have been modified, one trivial thing that is missing is the component, it should at least look like this :
Ubuntu Update Rest
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates main
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-update main
And about your network interface name, eth0 is no more in use, since this name can change from one boot to anoter, see predictable network interface name. But if you really want it to be named eth0, this old behavior can be restored like described here.
answered Feb 28 at 13:10
pim
1,730822
1,730822
Thank you very much @pim for the answer, but the problem persists. the error is as follows : Err: 1 de.archive.ubuntu.com/ubuntu xenial-updates InRelease Temporary failure resolving 'from.archive.ubuntu.com' Err: 2 de.archive.ubuntu.com/ubuntu xenial-update InRelease Temporary failure resolving 'from.archive.ubuntu.com'
â Hassine H'maied
Feb 28 at 13:37
Now either you've got no internet, either there are other problems in your file. I think you don't have the original file anymore?
â pim
Feb 28 at 13:47
Here is my/etc/apt/sources.list: gist.githubusercontent.com/RandomReaper/⦠feel free to try it. If it works, you can still replace the ch.archive... by de.archive....
â pim
Feb 28 at 13:52
No I do not have internet either I am connected with an ethernet cable from the server to the router but the internet does not work. I will try to replace my file /etc/apt/sources.list but the problem is that I can not copy to paste on the screen of my desktop since I am on a laptop and I write to you from my personal computer. I have to write it with my hand?
â Hassine H'maied
Feb 28 at 14:03
If you don't have internet, there is no need trying to install software form it. First of all fix your internet connection.
â pim
Feb 28 at 14:41
 |Â
show 4 more comments
Thank you very much @pim for the answer, but the problem persists. the error is as follows : Err: 1 de.archive.ubuntu.com/ubuntu xenial-updates InRelease Temporary failure resolving 'from.archive.ubuntu.com' Err: 2 de.archive.ubuntu.com/ubuntu xenial-update InRelease Temporary failure resolving 'from.archive.ubuntu.com'
â Hassine H'maied
Feb 28 at 13:37
Now either you've got no internet, either there are other problems in your file. I think you don't have the original file anymore?
â pim
Feb 28 at 13:47
Here is my/etc/apt/sources.list: gist.githubusercontent.com/RandomReaper/⦠feel free to try it. If it works, you can still replace the ch.archive... by de.archive....
â pim
Feb 28 at 13:52
No I do not have internet either I am connected with an ethernet cable from the server to the router but the internet does not work. I will try to replace my file /etc/apt/sources.list but the problem is that I can not copy to paste on the screen of my desktop since I am on a laptop and I write to you from my personal computer. I have to write it with my hand?
â Hassine H'maied
Feb 28 at 14:03
If you don't have internet, there is no need trying to install software form it. First of all fix your internet connection.
â pim
Feb 28 at 14:41
Thank you very much @pim for the answer, but the problem persists. the error is as follows : Err: 1 de.archive.ubuntu.com/ubuntu xenial-updates InRelease Temporary failure resolving 'from.archive.ubuntu.com' Err: 2 de.archive.ubuntu.com/ubuntu xenial-update InRelease Temporary failure resolving 'from.archive.ubuntu.com'
â Hassine H'maied
Feb 28 at 13:37
Thank you very much @pim for the answer, but the problem persists. the error is as follows : Err: 1 de.archive.ubuntu.com/ubuntu xenial-updates InRelease Temporary failure resolving 'from.archive.ubuntu.com' Err: 2 de.archive.ubuntu.com/ubuntu xenial-update InRelease Temporary failure resolving 'from.archive.ubuntu.com'
â Hassine H'maied
Feb 28 at 13:37
Now either you've got no internet, either there are other problems in your file. I think you don't have the original file anymore?
â pim
Feb 28 at 13:47
Now either you've got no internet, either there are other problems in your file. I think you don't have the original file anymore?
â pim
Feb 28 at 13:47
Here is my
/etc/apt/sources.list: gist.githubusercontent.com/RandomReaper/⦠feel free to try it. If it works, you can still replace the ch.archive... by de.archive....â pim
Feb 28 at 13:52
Here is my
/etc/apt/sources.list: gist.githubusercontent.com/RandomReaper/⦠feel free to try it. If it works, you can still replace the ch.archive... by de.archive....â pim
Feb 28 at 13:52
No I do not have internet either I am connected with an ethernet cable from the server to the router but the internet does not work. I will try to replace my file /etc/apt/sources.list but the problem is that I can not copy to paste on the screen of my desktop since I am on a laptop and I write to you from my personal computer. I have to write it with my hand?
â Hassine H'maied
Feb 28 at 14:03
No I do not have internet either I am connected with an ethernet cable from the server to the router but the internet does not work. I will try to replace my file /etc/apt/sources.list but the problem is that I can not copy to paste on the screen of my desktop since I am on a laptop and I write to you from my personal computer. I have to write it with my hand?
â Hassine H'maied
Feb 28 at 14:03
If you don't have internet, there is no need trying to install software form it. First of all fix your internet connection.
â pim
Feb 28 at 14:41
If you don't have internet, there is no need trying to install software form it. First of all fix your internet connection.
â pim
Feb 28 at 14:41
 |Â
show 4 more comments
1
re: 4) Please see this question about interface naming
â vidarlo
Feb 28 at 13:26
Please edit your question to add the result of the terminal command:
cat /etc/network/interfacesWelcome to Ask Ubuntu.â chili555
Feb 28 at 14:49
re: 2) Please see askubuntu.com/questions/96967
â user535733
Feb 28 at 17:07