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

 

 

 

problems with updating my debian stretch

Linux Kernel, Network, and Services configuration.
Message
Author
L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: problems with updating my debian stretch

#21 Post by L_V »

rezapanda wrote:let me give you a summary of what happened . 2 days ago I wanted to upgrade a package so I ran apt-get upgrade the-package-name
This is a mistake. You don't need to upgrade a system, to update a package.
You just need to ... update the database.

Now, if your brother is OK for Buster: no hesitation => go for Buster.

rezapanda
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

#22 Post by rezapanda »

do you think its possible to fix the existing debian ?

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: problems with updating my debian stretch

#23 Post by L_V »

Yes it should be feasible. Nothing alarming to me.
But if you want jessie and stretch at the same time, it is difficult for me.
You are going to loose time with old installation mixtures.
You need something fresh.

rezapanda
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

#24 Post by rezapanda »

Code: Select all

cd /etc/apt/sources.list.d/
rm  canonical_partner.list additional-repositories.list mono-xamarin.list alexlarsson-flatpak-jessie.list saiarcot895-flightgear-jessie.list 
rm atareao-updf-jessie.list webupd8team-atom-jessie.list strukturag-libde265-jessie.list hanipouspilot-rtlwifi-jessie.list
rm oibaf-graphics-drivers-jessie.list nilarimogard-webupd8-jessie.list colingille-freshlight-jessie.list

apt update
apt install -f


can you please explain to me what this fix which you suggested earlier would do ?

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: problems with updating my debian stretch

#25 Post by L_V »

You already have "upgraded" to Stretch.
Then no need of any jessie packages which should be cleaned/removed if no Stretch update.

You cannot upgrade your old mixtures to Buster: don't try it.
You need something clean and fresh.

rezapanda
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

#26 Post by rezapanda »

ok I see what you mean . I guess its better to go with buster . at the time of the upgrade this line was in sources.list :

Code: Select all

#deb http://debian.drdteam.org/ stable multivers
it has used this source I guess as a source for upgrade , is this where it got the stretch packages ?

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: problems with updating my debian stretch

#27 Post by L_V »

What what ???
I am lost with what you did. A line starting with # is just... a comment.
Again:

Code: Select all

find /etc/apt -name '*.list' -print -exec grep '^deb ' {} \;

rezapanda
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

#28 Post by rezapanda »

no this is commented after the upgrade which i did 2 days ago . I commented it later to add new repositories .

here is the output of your command :

Code: Select all

/etc/apt/sources.list.d/estmob-sendanywhere.list
deb http://update.send-anywhere.com/linux/debian/ stable main
/etc/apt/sources.list.d/google-chrome.list
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/skype-stable.list
deb [arch=amd64] https://repo.skype.com/deb stable main
/etc/apt/sources.list.d/google.list
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: problems with updating my debian stretch

#29 Post by L_V »

Is it your brother who recommend to empty the sources.list ? Bad idea.

Code: Select all

cat /etc/apt/sources.list

rezapanda
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

#30 Post by rezapanda »

no my brother is not involved in what i am doing with this debian :) he just reminded me that I have debian jessie not stretch . that's all he said or did about my debian . he is not responsible at all .

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
this is how it looks now which i have commented the entries . at the time of upgrade which ruined up my debian only line 2 had no comment , that was the only thing active .

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: problems with updating my debian stretch

#31 Post by L_V »

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

rezapanda
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

#32 Post by rezapanda »

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 .

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: problems with updating my debian stretch

#33 Post by L_V »

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: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: problems with updating my debian stretch

#34 Post by L_V »

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.

rezapanda
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

#35 Post by rezapanda »

: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

#36 Post by rezapanda »

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

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: problems with updating my debian stretch

#37 Post by L_V »

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"

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: problems with updating my debian stretch

#38 Post by Head_on_a_Stick »

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

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: problems with updating my debian stretch

#39 Post by L_V »

Head_on_a_Stick wrote:FFS are you senile or just simple ?
Are you really talking to me ? http://forums.debian.net/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....

rezapanda
Posts: 19
Joined: 2020-01-26 23:45

Re: problems with updating my debian stretch

#40 Post by rezapanda »

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 .

Post Reply