Docker: Having issues installing apt-utils

This is not actually an error and it is safe to ignore it. I have built a large number of container images without ever having apt-utils on any of them and regardless of this warning message, all package installs go through and work normally. Anyway, if you want to have apt-utils – install it. It … Read more

Repository is not signed in docker build

Apparently my root partition was full (maybe I’ve tried too many times to download packages through apt), and running sudo apt clean solved the issue In addition, the following commands should help clean up space: docker system df # which can show disk usage and size of ‘Build Cache’ docker image prune # add -f … Read more

Amazon Linux: “apt-get: command not found”

If you’re using Amazon Linux it’s CentOS-based, which is RedHat-based. RH-based installs use yum not apt-get. Something like yum search httpd should show you the available Apache packages – you likely want yum install httpd24. Note: Amazon Linux 2 has diverged from CentOS since the writing of this answer, but still uses yum.

How to apt-get install in a GitHub Actions workflow?

The docs say: The Linux and macOS virtual machines both run using passwordless sudo. When you need to execute commands or install tools that require more privileges than the current user, you can use sudo without needing to provide a password. So simply doing the following should work: – name: Install xmllint run: sudo apt-get … Read more

What is the difference/usage of homebrew, macports or other package installation tools? [closed]

MacPorts is the way to go. Like @user475443 pointed, MacPorts has many many more packages. With brew you’ll find yourself trapped soon because the formula you need doesn’t exist. MacPorts is a native application: C + TCL. You don’t need Ruby at all. To install Ruby on Mac OS X you might need MacPorts, so … Read more

Install MySQL on Ubuntu without a password prompt

sudo debconf-set-selections <<< ‘mysql-server mysql-server/root_password password your_password’ sudo debconf-set-selections <<< ‘mysql-server mysql-server/root_password_again password your_password’ sudo apt-get -y install mysql-server For specific versions, such as mysql-server-5.6, you’ll need to specify the version in like this: sudo debconf-set-selections <<< ‘mysql-server-5.6 mysql-server/root_password password your_password’ sudo debconf-set-selections <<< ‘mysql-server-5.6 mysql-server/root_password_again password your_password’ sudo apt-get -y install mysql-server-5.6 For mysql-community-server, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)