problems with updating my debian stretch

Kernels & Hardware, configuring network, installing services

Re: problems with updating my debian stretch

Postby L_V » 2020-01-27 22:04

You had
Code: Select all
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free

Now you have:
Code: Select all
#deb http://ftp.debian.org/debian/ stretch main contrib non-free
#deb http://debian.drdteam.org/ stable multivers
# deb-src http://debian.drdteam.org/ stable multivers
# deb-src http://debian.drdteam.org/ stable multivers

Can you explain where I ask you do totally change your sources.list (for a crazy one) ?
Hey man, please, seriously.....
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: problems with updating my debian stretch

Postby rezapanda » 2020-01-27 22:45

this is all a misunderstanding . this is as I mentioned in my first post some new repositories that I added and did apt-get update and got some errors(which i presented in my first post) and didn't do any upgrade with them after that I deleted them ( I didn't do any upgrade with them) . the only important line in my source list was the this one
deb http://debian.drdteam.org/ stable multivers
[/code]
which when i upgraded was active . the others were commented out . I have debian jessie . in the first place I have installed debian jessie , I made a mistake i thought i have stretch but its supposed to be jessie . 4 years ago there were no stretch . problem is when i run the command
cat /etc/debian_version I get 9.11 which is stretch , now I assume that since I am having some problems on my debian , the upgrade which i did based on this source(deb http://debian.drdteam.org/ stable multivers) has tried to upgrade my system to stretch . thats why everything is mixed up . my main question was is it possible to add the correct repositories and do the upgrade again to fix my debian . I hope you understand what has happened .
rezapanda
 
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

Postby L_V » 2020-01-27 23:01

rezapanda wrote:I hope you understand what has happened .

No I don't and don't want and don't care what you or your sister did 4 years ago.
What's this line, with a mistake in multiverse: "deb http://debian.drdteam.org/ stable multivers"
And where did you find this "debian.drdteam.org/" ? Which documentation did you use 4 years ago ?

Try this sources.list / the one you had few hours ago / I can prove it.

Code: Select all
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free

Make your best, but without me. You need a specialist.
And... keep in mind: clean and fresh Buster.
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: problems with updating my debian stretch

Postby L_V » 2020-01-27 23:03

rezapanda wrote:I hope you understand what has happened .

No I don't and don't want and don't care what you or your sister did 4 years ago.
What is this line, with a mistake in multiverse: "deb http://debian.drdteam.org/ stable multivers"
And where did you find this "debian.drdteam.org/" ? Which documentation did you use 4 years ago ?

Try this sources.list / the one you had few hours ago / I can prove it.

Code: Select all
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free

Make your best, but without me. You need a specialist.
And... keep in mind: clean and fresh Buster.
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: problems with updating my debian stretch

Postby rezapanda » 2020-01-27 23:04

:D ok man I am going with buster . and thanks for your time .
rezapanda
 
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

Postby rezapanda » 2020-01-29 18:59

hey man . I installed debian buster . now my /etc/apt/sources.list is :
Code: Select all
# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 xfce-CD Binary-1 20191116-09:57]/ buster main

#deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 xfce-CD Binary-1 20191116-09:57]/ buster main

deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.


I read in a website that I should change the repositories to something like this :
Code: Select all
deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free


what do you suggest ? is getting packages from non-free and contrib sources safe ? for example for installing my wifi driver I was recommended my the installer to get them from the non-free sources . let me know thanks
rezapanda
 
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

Postby L_V » 2020-01-29 19:09

Great.
If I tell you to keep it as it is, I know someone else will tell you to remove either debian-security or buster-updates.
If one has to removed, why Debian adds both is a mystery / I am not so much interested in these discussions.
Minor level discussion.
What you can do is to comment all lines starting by deb-src
Code: Select all
 # deb-src ...

but yes, replace "main" by "main contrib non-free"
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: problems with updating my debian stretch

Postby Head_on_a_Stick » 2020-01-29 20:11

L_V wrote:why Debian adds both is a mystery

FFS are you senile or just simple?

The buster-updates repository contains useful bug-fixes and is distinct from the Debian Security repositories. All three sets should be present in /etc/apt/sources.list

rezapanda wrote:I read in a website that I should change the repositories to something like this

And if that website told you to stick your hand in a fire would you do that? :roll:

Read the Debian wiki or the official documentation listed here: https://www.debian.org/doc/

The interweb is full of crap advice.
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: problems with updating my debian stretch

Postby L_V » 2020-01-29 20:21

Head_on_a_Stick wrote:FFS are you senile or just simple ?
Are you really talking to me ? viewtopic.php?p=713689#p713689
L_V wrote:3 lines should be enough
Code: Select all
deb http://deb.debian.org/debian stretch main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main
deb http://security.debian.org/stretch/updates main contrib non-free
Head_on_a_Stick wrote:Why have you listed the Security repositories twice ?

+ I did not say to remove any repository in the sources.list created by Debian, but say preferably keep it as it is.
Maybe I even remember some comments from ...yourself....
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: problems with updating my debian stretch

Postby rezapanda » 2020-01-29 20:26

Head_on_a_Stick wrote:And if that website told you to stick your hand in a fire would you do that? :roll:


yeah considering your advice from yesterday, thats why i didn't do it and thought I better ask you for advice . the thing is just that debian doc is a sea of information , and I just don't know where to look .
rezapanda
 
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

Postby Head_on_a_Stick » 2020-01-29 20:27

L_V wrote:Are you really talking to me ?

Yes I am you irritating fuckwit.

L_V wrote:3 lines should be enough
Code: Select all
deb http://deb.debian.org/debian stretch main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main
deb http://security.debian.org/stretch/updates main contrib non-free

And where are the stretch-updates repositories in that list?

The last two lines are the two alternative versions of the Debian Security repositories, only one of them is needed.

The sources for stretch should look like this:
Code: Select all
deb http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free # this is the one you keep missing
deb http://deb.debian.org/debian-security/ stretch/updates main # only *one* security line is needed
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: problems with updating my debian stretch

Postby L_V » 2020-01-29 20:31

You should calm down man ... Or take some pills !
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: problems with updating my debian stretch

Postby sunrat » 2020-01-30 05:54

L_V wrote:You should calm down man ... Or take some pills !


Mmm, pills... :D

The Headman is correct though - https://wiki.debian.org/SourcesList#Exa ... urces.list #yeah I know it's buster list, same same but different.
And yes as you said @L_V, OP did have a correct Debian sources in the first post but had extra rubbish sources.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2962
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: problems with updating my debian stretch

Postby L_V » 2020-01-30 21:38

sunrat wrote:Mmm, pills... :D

Yes but specific pills for a head on a stick.
I would normally never recommend any pills, but to treat such aggressivity, it is the first idea I had in mind.
I don't think this vulgarity is acceptable (it depends on which forum).

However, the context: we live in a very aggressive society, with a President who can decide everyday to assassinate anyone on earth he 'doesn't like', and take control of every countries of the planet to get its oil and make "good business". Killing millions of people is not an issue. Business is business, as usual.
Pressure is kept so high on the POTUS that some his multi-billionaires good friends who are paying the election campaign would LOVE to play at WW-III, sheltered in a comfortable bunker, and watch on TV the effect of "marvelous" and so big bombs and drones.
Just a tweet and BOOM ! All dead. (until some change to come).
Well, let's say this is a context of aggressivity, but not an excuse.

Now.... let's come back on the sources.list discussion.
To simplify, I miss the deb-src and "contrib non-free", to clarify.
For a "standard" installation, Debian is creating the sources.list with 3 repositories.
Code: Select all
deb http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb http://deb.debian.org/debian/ buster-updates main

https://wiki.debian.org/SourcesList:
Code: Select all
deb http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian-security/ buster/updates main
deb http://deb.debian.org/debian buster-updates main

If I recommend to keep the list as created by Debian is simply because I consider it is fine (hopefully), and there is no reason to change it.
/!\ As far as I know, "security.debian.org/debian-security" is equivalent to "deb.debian.org/debian-security/"

More info on security at : https://www.debian.org/security/
debian-security-announce: https://lists.debian.org/debian-securit ... reads.html

Concerning stable-updates (which is not stable/updates):
    This path will be used for updates which many users may wish to install on their systems before the next point release is made, such as updates to virus scanners and timezone data.
This is why we often find sources.list without stable-updates which is not a "key" repository.

/!\ To be noticed that buster-backports can right now be added to sources.list (linux-image-5.3.0 available for example).
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: problems with updating my debian stretch

Postby Head_on_a_Stick » 2020-01-31 17:06

L_V wrote:specific pills for a head on a stick

I can't tolerate the side-effects for SSRIs, SNRIs or even good old-fashioned tricyclic antidepressants so I just ride my motorbike inappropriately fast, try to solve problems on forums and hurl abuse at random strangers when I'm feeling down. I haven't had a hospital admission for quite a few years now so it seems to be working :-)

L_V wrote:I don't think this vulgarity is acceptable (it depends on which forum).

It's allowed here, which is the main reason I visit regularly. It's certainly not the problems that keep me coming back because the quality is crap compared to, for example, the Arch forums.

L_V wrote:However, the context: we live in a very aggressive society, [...]

Discussions of politics are *not* allowed here, continuing in that vein will have the thread closed rather quickly. Please stop.

L_V wrote:Concerning stable-updates (which is not stable/updates):
    This path will be used for updates which many users may wish to install on their systems before the next point release is made, such as updates to virus scanners and timezone data.
This is why we often find sources.list without stable-updates which is not a "key" repository.

The Debian installer includes the stable-updates repository in all systems and the GNOME desktop's Software & Updates tool describes them as "recommended updates" so I would certainly consider them "key" and I think most users would welcome the updates.
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Previous

Return to System configuration

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable