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

 

 

 

upgrade

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
linuly
Posts: 12
Joined: 2018-07-17 06:50

upgrade

#1 Post by linuly »

hi,
when i upgrade a system after apt-get update what is the best apt-get upgrade or apt-get dist-upgrade?

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: upgrade

#2 Post by Wheelerof4te »

On Stable: apt upgrade
On Sid: apt dist-upgrade

linuly
Posts: 12
Joined: 2018-07-17 06:50

Re: upgrade

#3 Post by linuly »

hi,
i installed debian 9 from an iso found on internet.
in my case worked apt-get dist-upgrade and apt-get upgrade did not work.
is this because that iso is not from official debian site?
tnx

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 706
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 129 times
Been thanked: 60 times

Re: upgrade

#4 Post by cds60601 »

linuly wrote:hi,
i installed debian 9 from an iso found on internet.
in my case worked apt-get dist-upgrade and apt-get upgrade did not work.
is this because that iso is not from official debian site?
tnx
For giggles, please display what shows from this:

Code: Select all

cat /etc/debian_version
Cheers
Chris
Supercalifragilisticexpialidocious

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: upgrade

#5 Post by stevepusser »

linuly wrote:hi,
i installed debian 9 from an iso found on internet.
in my case worked apt-get dist-upgrade and apt-get upgrade did not work.
is this because that iso is not from official debian site?
tnx
Wouldn't you think that installing a Debian ISO from a non-Debian source is an unnecessary security risk? How much do you trust this unamed site?
MX Linux packager and developer

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 706
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 129 times
Been thanked: 60 times

Re: upgrade

#6 Post by cds60601 »

stevepusser wrote:
linuly wrote:hi,
i installed debian 9 from an iso found on internet.
in my case worked apt-get dist-upgrade and apt-get upgrade did not work.
is this because that iso is not from official debian site?
tnx
Wouldn't you think that installing a Debian ISO from a non-Debian source is an unnecessary security risk? How much do you trust this unamed site?
+1
Supercalifragilisticexpialidocious

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: upgrade

#7 Post by arzgi »

Before replying, please note.

In linuly's (ly frome here on) first thread

http://forums.debian.net/viewtopic.php? ... 29#p677029
ly asked for example how to install apache2 using apt-get.

ly's secon thread
http://forums.debian.net/viewtopic.php? ... 00#p677100
was initially about 'installing new packages', assuming meaning security updates. Soon ly turns it 'how to install package tcpcump?' At this point I was confused what's this guy about, and suggested reading some Debian manuals. ly replied knowing better than all the answer, only wanted 'other angle'. And for my suggestion, ly asks (or orders) to be polite when replying.

I guess the meaning of this thread 'was to get reactions to false story',

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 706
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 129 times
Been thanked: 60 times

Re: upgrade

#8 Post by cds60601 »

arzgi wrote:Before replying, please note.

In linuly's (ly frome here on) first thread

http://forums.debian.net/viewtopic.php? ... 29#p677029
ly asked for example how to install apache2 using apt-get.

ly's secon thread
http://forums.debian.net/viewtopic.php? ... 00#p677100
was initially about 'installing new packages', assuming meaning security updates. Soon ly turns it 'how to install package tcpcump?' At this point I was confused what's this guy about, and suggested reading some Debian manuals. ly replied knowing better than all the answer, only wanted 'other angle'. And for my suggestion, ly asks (or orders) to be polite when replying.

I guess the meaning of this thread 'was to get reactions to false story',
Could be - I ended up replying to another thread and got confused as to what the asking was etc and replied to a wrong thread...
In the other thread, I just apologized to the forum folks for allowing myself to get confused between the multi threads that were posted.

But to be fair to you arzgi, I found nothing wrong with your reply eiher. Did the best you (or anyone) could with the minimal information provided. In the end (and I state this gingerly simply because I am guilty of not articulating my thoughts at times also) the fault ultimately lies on the op for not stating exactly what they are looking for or to do.

Cheers
Chris.
Supercalifragilisticexpialidocious

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

Re: upgrade

#9 Post by GarryRicketson »

Perhaps a better choice of words :

Code: Select all

what is the difference between apt-get upgrade or apt-get dist-upgrade? 
Copy / paste as keywords, into favourite search engine.
what is the best apt-get upgrade or apt-get dist-upgrade?
It would depend on what you are trying to accomplish, neither is better then the other,
each has a purpose, since the OP neglects to tell us that, in this thread, no accurate answer can be given, so that is why I suggest reading up on the differences, instead of looking for which one is better.
This seemed to be the best, easiest explanation to understand, it is clear.
From: https://www.linuxquestions.org/question ... de-219920/
Well, if you want to do a distro-upgrade, use dist-upgrade. For instance, moving from Debian -stable to Debian -testing. Dist-upgrade is a special upgrade that is used if you are fetching packages from a new location, which is specified in /etc/apt/sources.list

If you want to simply upgrade the packages you have installed for your current distro, use 'apt-get upgrade'.

I hope that clears up your confusion.
is this because that iso is not from official debian site?
Again, without telling us specifically what ISO it is, and where it comes from, no one can really say, but yes, some off beat, modified Debian ISO, could be the cause of all sorts of problems, and might not work as expected, the best thing to do would be to ask at the support site for that ISO, are you sure it is even really Debian ?
cds60601 wrote:
linuly wrote:hi,
i installed debian 9 from an iso found on internet.
in my case worked apt-get dist-upgrade and apt-get upgrade did not work.
is this because that iso is not from official debian site?
tnx
For giggles, please display what shows from this:

Code: Select all

cat /etc/debian_version
Cheers
Chris
The OP may have "dist-upgrade" to "testing" (buster), but without any details , Who knows for sure ?
I will go ask my Parrots, they are better then even a crystal ball, at this sort of thing :mrgreen:

linuly
Posts: 12
Joined: 2018-07-17 06:50

Re: upgrade

#10 Post by linuly »

argzi i wish you never bother me as you are uneducated and low skills.

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: upgrade

#11 Post by arzgi »

linuly wrote:argzi i wish you never bother me as you are uneducated and low skills.
Thanks for sharing this. I would also ask you to stop using Debian user forum members as test dolls.

Was that enough polite?

Post Reply