Kau bisa bersembunyi dari kesalahanmu, tapi tidak dari penyesalanmu. Kau bisa bermain dengan dramamu, tapi tidak dengan karmamu.

  • About

    Seorang Teknisi Jaringan yang pernah berkecimpung di Internet Service Provider (ISP) dan akhirnya memutuskan diri untuk menjadi freelancer yang berdomisili di Solo, Surakarta Hadiningrat.

  • Services

    Melayani jasa pasang Internet berbasis Wireless maupun Fiber Optic, Jasa Pasang Tower/Pipa, Pointing Wireless, Setting Router, CCTV, Hotspot, Proxy, Web Server, Network Managed dan Monitoring

  • Contact

    Berbagai saran, kritikan, keluhan dan masukan akan sangat berarti bagi saya. Anda dapat menghubungi/whatsapp saya di nomor:08564-212-8686 atau melalui BBM:2128686

    Thursday, October 6, 2016


    Pernah kepikiran nggak sobat, saat kita apt-get upgrade menambahkan pengecualian pada package tertentu ?
    jadi misal gini nih :
    root@zpanel:/home/rahox# apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be upgraded:
      base-files bind9 bind9-host bind9utils cpio dnsutils dpkg dpkg-dev git git-man grub-common grub-pc grub-pc-bin grub2-common
      isc-dhcp-client isc-dhcp-common krb5-locales libbind9-80 libc-bin libc-dev-bin libc6 libc6-dev libdns88 libdpkg-perl
      libfreetype6 libgcrypt11 libgd2-xpm libgnutls26 libgssapi-krb5-2 libisc84 libisccc80 libisccfg82 libk5crypto3 libkrb5-3
      libkrb5support0 libldap-2.4-2 liblwres80 libmysqlclient18 libpng12-0 libpq5 libruby1.9.1 libssh2-1 libssl1.0.0 libxapian22
      libxml2 linux-libc-dev locales multiarch-support mysql-client-5.5 mysql-common mysql-server mysql-server-5.5
      mysql-server-core-5.5 openssh-client openssh-server openssl perl perl-base perl-modules ruby1.9.1 ruby1.9.1-dev sudo tzdata
      unzip
    64 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 69.1 MB of archives.
    After this operation, 1,268 kB of additional disk space will be used.
    Do you want to continue [Y/n]

    Nah yang saya tandai warna merah itu kepengen dikecualikan atau pengen tidak ikut ter-upgrade saat melakukan apt-get upgrade.
    Baiklah, caranya kita mark apt dulu package mana yang hendak kita hold atau kita kecualikan. Langsung aja ketik begini :
    root@zpanel:/home/rahox# apt-mark hold openssh-client openssh-server
    openssh-client set on hold.
    openssh-server set on hold.

    Nah abis itu dipastikan saat apt-get upgrade ngga ada lagi package openssh-server yang akan diupgrade. Hasilnya gini sob :

    root@zpanel:/home/rahox# apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages have been kept back:
      openssh-client openssh-server
    The following packages will be upgraded:
      base-files bind9 bind9-host bind9utils cpio dnsutils dpkg dpkg-dev git git-man grub-common grub-pc grub-pc-bin grub2-common
      isc-dhcp-client isc-dhcp-common krb5-locales libbind9-80 libc-bin libc-dev-bin libc6 libc6-dev libdns88 libdpkg-perl
      libfreetype6 libgcrypt11 libgd2-xpm libgnutls26 libgssapi-krb5-2 libisc84 libisccc80 libisccfg82 libk5crypto3 libkrb5-3
      libkrb5support0 libldap-2.4-2 liblwres80 libmysqlclient18 libpng12-0 libpq5 libruby1.9.1 libssh2-1 libssl1.0.0 libxapian22
      libxml2 linux-libc-dev locales multiarch-support mysql-client-5.5 mysql-common mysql-server mysql-server-5.5
      mysql-server-core-5.5 openssl perl perl-base perl-modules ruby1.9.1 ruby1.9.1-dev sudo tzdata unzip
    62 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    Need to get 67.8 MB of archives.
    After this operation, 1,107 kB of additional disk space will be used.
    Do you want to continue [Y/n]
    Untuk menghapus mark tinggal unhold aja

    root@zpanel:/home/rahox# apt-mark unhold openssh-client openssh-server
    Canceled hold on openssh-client.
    Canceled hold on openssh-server.
    Semoga bermanfaat.

    0 comments:

    Post a Comment