Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3250

Beginners Questions • Concise Upgrade Commands

$
0
0
I am *BSD user, but since years I use here and there debian because it seems to be the simpler Linux.
Perhaps the place for this question belongs to "Beginners Questions":

How to upgrade Debian with few, commands, without risking much?

Well, the first command is "apt update" or "apt-get update". Anyone of these two? Both completely equivalent?
Are the DBs for apt and apt-get the same one?

Is "apt full-upgrade" the same as "apt-get dist-upgrade"?

I suppose that "apt-get --purge autoclean" and "apt-get clean" are that last commands, but what in between?

Is there a way to update first the base system and later the packages? I think that reduces the risk of ending with a broken system.

For upgrading to a newer mayor version I have to actualize "/etc/apt/sources.list", should I upgrade the older version first?

And how is it if I have in "/etc/apt/sources.list" the text bellow in this mail?

Can someone tell me please concise instructions?

I googled, people give a lot of commands, I suspect many people are not even aware of what
the commands do. And the existence of apt and apt-get is a little confusing. I tend to prefer
apt-get, because I think I used debian before the existence of apt.

Thanks
Rod.


""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
# cat /etc/apt/sources.list
deb http://deb.debian.org/debian stable main contrib non-free
deb-src http://deb.debian.org/debian stable main contrib non-free

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

deb http://security.debian.org/debian-security stable-security main contrib non-free
deb-src http://security.debian.org/debian-security stable-security main contrib non-free
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Statistics: Posted by hruodr — 2024-06-28 13:22 — Replies 4 — Views 98



Viewing all articles
Browse latest Browse all 3250

Trending Articles