Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Installing Jessie

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
Zach
Posts: 2
Joined: 2018-01-03 11:47

Installing Jessie

#1 Post by Zach »

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..

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Installing Jessie

#2 Post by bw123 »

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
resigned by AI ChatGPT

Zach
Posts: 2
Joined: 2018-01-03 11:47

Re: Installing Jessie

#3 Post by Zach »

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

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Installing Jessie

#4 Post by bw123 »

try these:

Code: Select all

ls etc
ls /etc
do you see?
resigned by AI ChatGPT

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Installing Jessie

#5 Post by GarryRicketson »

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.

Post Reply