Installing Jessie

Help with issues regarding installation of Debian

Installing Jessie

Postby Zach » 2018-01-03 11:53

Hi,

I am trying to install jessie backports, on to my VPS.

I have tried editing and saving the etc/apt/sources.list but I get the
[ Error writing etc/apt/sources.list: No such file or directory ]

this I don't understand as I have tired :
touch etc/apt/sources.list

when I open the sources.list it is empty.

I am logged in as root too, so permissions would not be an issue..
Zach
 
Posts: 2
Joined: 2018-01-03 11:47

Re: Installing Jessie

Postby bw123 » 2018-01-03 12:04

The error is normal:
Code: Select all
$ touch etc/apt/sources.list
touch: cannot touch 'etc/apt/sources.list': No such file or directory


you need to spend a little time understanding basic commands and the file system as a regular user before experimenting as root.

https://duckduckgo.com/html/?q=debian+wiki+cli
User avatar
bw123
 
Posts: 2589
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Installing Jessie

Postby Zach » 2018-01-03 12:08

I am following a guide on how to install jessie its very straight forward but I can't save as sources.list with the repositories..


Error writing etc/apt/sources.list: No such file or directory
Zach
 
Posts: 2
Joined: 2018-01-03 11:47

Re: Installing Jessie

Postby bw123 » 2018-01-03 12:14

try these:
Code: Select all
ls etc
ls /etc


do you see?
User avatar
bw123
 
Posts: 2589
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Installing Jessie

Postby GarryRicketson » 2018-01-03 14:28

Code: Select all
touch etc/apt/sources.list

Is not the correct path , it should be
Code: Select all
touch /etc/apt/sources.list

also you must be root to modify or edit sources.list

I am following a guide on how to install jessie its very straight forward

I wonder what guide this is, if it does not even give the correct path, there
is a good chance it is wrong about other things as well, I have never heard of using 'touch' to edit the file, either.
Usually one uses a editor , ie:
Code: Select all
#nano /etc/apt/sources.list

After the file is opened, edit it as needed.
https://wiki.debian.org/SourcesList
Also it is a good idea to read :
https://wiki.debian.org/DontBreakDebian
Don't blindly follow bad advice

Unfortunately there's a lot of bad advice on the Internet. Tutorials found on blogs, forums and other sites often include instructions that will break your system in subtle ways. Don't simply follow the first advice you find, or the tutorial that seems the easiest. Spend some time reading the documentation and compare the difference between tutorials.
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4588
Joined: 2015-01-20 22:16
Location: Durango, Mexico


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable