Tanya apt-get upgrade vs apt-get dist upgrade

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
Rendi_7936
Posts: 229
Joined: 19 Jan 2013, 15:02
Location: Malang, Indonesia
Contact:

Tanya apt-get upgrade vs apt-get dist upgrade

Postby Rendi_7936 » 25 Aug 2013, 05:01

Ass. Wr. Wb.
Nanya sebentar, gan
Apa bedanya apt-get upgrade dengan apt-get dist upgrade?

Ane bingung aja, apt-get upgrade kan mengupgrade semua paket tanpa terkecuali (setahu saya) tapi kok kadang2 kita butuh nih apt-get dist upgrade untuk upgrade paket tertentu misal paket kernel, upgrade xfce 4.08 ke xfce 4.10.

Seharusnya kan dengan apt-get upgrade, semua paket yang bisa di upgrade, tentu langsung bisa di upgrade. tanpa harus pake apt-get dist upgrade

Mohon penjelasannya mastah :D
User avatar
husnia
Posts: 846
Joined: 26 Jan 2011, 15:31
Location: Malang-Tuban, East Java
Contact:

Re: Tanya apt-get upgrade vs apt-get dist upgrade

Postby husnia » 25 Aug 2013, 08:54

coba jawab ah...

apt-get upgrade : meng-upgrade semua paket yg terinstal tanpa meng-upgrade versi OS
*kalo pake 12.04 OSnya bakal tetep 12.04 tp versi2 aplikasinya (libreoffice,mozilla,dll) dapat pembaruan

apt-get dist upgrade : meng-upgrade versi OS
*kalo smisalnya sekarang pake 12.04 ntar habis direstart ubuntunya jadi 12.10

Tampilkan
#ini jawaban ngasal kok. kalo bener alhamdulillah, kalo salah...namanya juga asal njeplak :D
User avatar
Rendi_7936
Posts: 229
Joined: 19 Jan 2013, 15:02
Location: Malang, Indonesia
Contact:

Re: Tanya apt-get upgrade vs apt-get dist upgrade

Postby Rendi_7936 » 25 Aug 2013, 10:18

Tapi, kok pas saya mau upgrade xfce 4.08 ke 4.10 kok pake apt-get dist upgrade (lihat tutor di internet)?

Padahal kan boleh dikatakan paket2 xfce 4.08 bisa di upgrade (tanpa perlu dist upgrade) menjadi versi 4.10

Apakah DE termasuk dalam paket OS (untuk penggunaan apt-get dist upgrade)

sebelumnya terima kasih buat penjelasannya, jadi lebih mengerti perbedaan nya
User avatar
husnia
Posts: 846
Joined: 26 Jan 2011, 15:31
Location: Malang-Tuban, East Java
Contact:

Re: Tanya apt-get upgrade vs apt-get dist upgrade

Postby husnia » 25 Aug 2013, 11:24

#ralat
ternyata jawaban saya SALAH :grin:
dist-upgrade tidak mengupgrade versi OS :grin:

ini jawaban dari askubuntu.com :D

*upgrade
upgrade is used to install the newest versions of all packages
currently installed on the system from the sources enumerated in
/etc/apt/sources.list. Packages currently installed with new
versions available are retrieved and upgraded; under no
circumstances are currently installed packages removed, or packages
not already installed retrieved and installed. New versions of
currently installed packages that cannot be upgraded without
changing the install status of another package will be left at
their current version. An update must be performed first so that
apt-get knows that new versions of packages are available.

*dist-upgrade
dist-upgrade in addition to performing the function of upgrade,
also intelligently handles changing dependencies with new versions
of packages; apt-get has a "smart" conflict resolution system, and
it will attempt to upgrade the most important packages at the
expense of less important ones if necessary. So, dist-upgrade
command may remove some packages. The /etc/apt/sources.list file
contains a list of locations from which to retrieve desired package
files. See also apt_preferences(5) for a mechanism for overriding
the general settings for individual packages.
User avatar
Rendi_7936
Posts: 229
Joined: 19 Jan 2013, 15:02
Location: Malang, Indonesia
Contact:

Re: Tanya apt-get upgrade vs apt-get dist upgrade

Postby Rendi_7936 » 25 Aug 2013, 14:08

Ok, thanks gan
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: Tanya apt-get upgrade vs apt-get dist upgrade

Postby q_p » 25 Aug 2013, 17:06

Rendi_7936 wrote:Ok, thanks gan

Solved

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 12 guests