Masalah debconf di Ubuntu

Permasalahan:
setiap kali menjalankan ‘apt’, muncul pesan error

debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (you may need to install the Debconf::Log module) (@INC contains: /usr/local/perl-5.36.0/lib/site_perl/5.36.0/x86_64-linux /usr/local/perl-5.36.0/lib/site_perl/5.36.0 /usr/local/perl-5.36.0/lib/5.36.0/x86_64-linux /usr/local/perl-5.36.0/lib/5.36.0) at (eval 1) line 4.

Kemungkinan tampilan kesalahan lain yang serupa

Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version (6.14.4+ds-1ubuntu2).
The following packages were automatically installed and are no longer required:
  libgnat-10 libgnat-8 libgnat-9 libgnat-util10 libgnatvsn8 libgnatvsn9
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (you may need to install the Debconf::Log module) (@INC contains: /usr/local/perl-5.36.0/lib/site_perl/5.36.0/x86_64-linux-thread-multi /usr/local/perl-5.36.0/lib/site_perl/5.36.0 /usr/local/perl-5.36.0/lib/5.36.0/x86_64-linux-thread-multi /usr/local/perl-5.36.0/lib/5.36.0) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Sedang menata tzdata (2023c-0ubuntu0.20.04.0) ...
Can't locate Debconf/Db.pm in @INC (you may need to install the Debconf::Db module) (@INC contains: /usr/local/perl-5.36.0/lib/site_perl/5.36.0/x86_64-linux-thread-multi /usr/local/perl-5.36.0/lib/site_perl/5.36.0 /usr/local/perl-5.36.0/lib/5.36.0/x86_64-linux-thread-multi /usr/local/perl-5.36.0/lib/5.36.0) at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing package tzdata (--configure):
 installed tzdata package post-installation script subprocess returned error exit status 2
Sedang menata pkg-config (0.29.1-0ubuntu4) ...
Can't locate Dpkg/Arch.pm in @INC (you may need to install the Dpkg::Arch module) (@INC contains: /usr/local/perl-5.36.0/lib/site_perl/5.36.0/x86_64-linux-thread-multi /usr/local/perl-5.36.0/lib/site_perl/5.36.0 /usr/local/perl-5.36.0/lib/5.36.0/x86_64-linux-thread-multi /usr/local/perl-5.36.0/lib/5.36.0) at /usr/share/pkg-config-dpkghook line 14.
BEGIN failed--compilation aborted at /usr/share/pkg-config-dpkghook line 14.
dpkg: error processing package pkg-config (--configure):
 installed pkg-config package post-installation script subprocess returned error exit status 2
Ada kesalahan saat memproses:
 tzdata
 pkg-config

Penyebab: ada masalah di file-file debconf, sehingga apt tidak dapat berfungsi baik

Solusi: install ulang perl-base dengan perintah berikut:

sudo apt reinstall perl-base

Referensi: https://unix.stackexchange.com/questions/690048/debconf-broken-cant-update-install-or-fix-any-package-anymore

Pengukuran Energi Prosesor AMD

Pengukuran penggunaan energi pada prosesor AMD dapat menggunakan software uProf
https://www.amd.com/en/developer/uprof.html

Software uProf untuk Linux: https://download.amd.com/developer/eula/uprof/amduprof_4.0-341_amd64.deb

Prosedur Instalasi:

apt install bcc
dpkg -i amduprof_4.0-341_amd64.deb

AMD Ryzen 9 5950X
AMD Ryzen 9 5950X

Optimized C compiler untuk AMD: AOCC (AMD Optimizing C/C++ and Fortran Compilers)

AOCC archive

  • https://developer.amd.com/aocc-archive-section/
  • https://www.amd.com/en/developer/aocc.html

Referensi

 

Compiler C/C++ untuk prosesor AMD

Pilihan compiler untuk prosesor AMD

  • gcc
  • clang
  • AOCC
  • Intel Compiler
  • PGI Compiler

Referensi

  • Performance exploration of various C/C++ compilers for AMD EPYC processors in numerical modeling of solidification https://icis.pcz.pl/~lszustak/sonata13/JCR_2022_9_ADES_Compilers.pdf
  • https://www.sciencedirect.com/science/article/abs/pii/S0965997821001071

Kornia: an Open Source Differentiable Computer Vision Library for PyTorch

This work presents Kornia – an open source computer
vision library which consists of a set of differentiable rou-
tines and modules to solve generic computer vision prob-
lems. The package uses PyTorch as its main backend both
for efficiency and to take advantage of the reverse-mode
auto-differentiation to define and compute the gradient of
complex functions. Inspired by OpenCV, Kornia is com-
posed of a set of modules containing operators that can be
inserted inside neural networks to train models to perform
image transformations, camera calibration, epipolar geom-
etry, and low level image processing techniques, such as
filtering and edge detection that operate directly on high
dimensional tensor representations. Examples of classical
vision problems implemented using our framework are pro-
vided including a benchmark comparing to existing vision
libraries.

Referensi

  • https://arxiv.org/pdf/1910.02190.pdf
  • https://github.com/kornia/kornia
  • https://twitter.com/kornia_foss

PC Mainboard Schematics: Gigabyte

Gigabyte Motherboards:

Gigabyte GA-EG31M-S2

https://www.gigabyte.com/Motherboard/GA-EG31M-S2-rev-20

Gigabyte GA-EP31 DS3L

https://www.gigabyte.com/Motherboard/GA-EP31-DS3L-rev-10

GA-G33M-DS2R

https://www.gigabyte.com/Motherboard/GA-G33M-DS2R-rev-1x

GA-G31M-S3L

https://www.gigabyte.com/Motherboard/GA-G31-S3L-rev-1x

GA-G31M-S2L

https://www.gigabyte.com/id/Motherboard/GA-G31M-S2L-rev-10

GA-G31M-ES2L

https://www.gigabyte.com/id/Motherboard/GA-G31M-ES2L-rev-23/sp

Referensi