Debian 8 jessie repo error

On a Debian 8 server, when running apt update, got following error W: Failed to fetch http://mirror.com/debian/dists/jessie/main/source/Sources 404 Not Found [IP: 185.194.238.133 80] W: Failed to fetch http://mirror.com/debian/dists/jessie/non-free/source/Sources 404 Not Found [IP: 185.194.238.133 80] W: Failed to fetch http://mirror.com/debian/dists/jessie/contrib/source/Sources 404 Not Found [IP: 185.194.238.133 80] W: Failed to fetch http://mirror.com/debian/dists/jessie/main/binary-amd64/Packages 404 Not Found [IP: 185.194.238.133 … Read more

apt show

apt show command shows information about a package. root@ok-vm:~# apt show apache2 Package: apache2 Version: 2.4.18-2ubuntu3.5 Priority: optional Section: web Origin: Ubuntu Maintainer: Ubuntu Developers Original-Maintainer: Debian Apache Maintainers Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 501 kB Provides: httpd, httpd-cgi Pre-Depends: dpkg (>= 1.17.14) Depends: lsb-base, procps, perl, mime-support, apache2-bin (= 2.4.18-2ubuntu3.5), apache2-utils (>= 2.4), apache2-data (= 2.4.18-2ubuntu3.5) … Read more

subprocess installed post-installation script returned error

When installing software on Ubuntu, i get following error. It is likely that 4.5.2-armada375 belongs to a chroot’s host Building only for 4.9.58-armada375 Building initial module for 4.9.58-armada375 Error! Bad return status for module build on kernel: 4.9.58-armada375 (armv7l) Consult /var/lib/dkms/spl/0.6.5.6/build/make.log for more information. dpkg: error processing package spl-dkms (–configure): subprocess installed post-installation script returned … Read more

add-apt-repository

add-apt-repository command can be used to add repository in ubuntu. To install, run apt-get install software-properties-common python-software-properties Example apt-key adv –recv-keys –keyserver hkp://keyserver.ubuntu.com:80 0xB4112585D386EB94 add-apt-repository https://dl.hhvm.com/ubuntu

apt

List all Dependencies for a package. If you don’t want to upgrade a package, you can use apt-mark command to hold it, the package won’t be upgraded If you want to remove the hold and allow the package to be upgraded, use Errors This website allow you to generate /etc/apt/sources.list file for Ubuntu/Debian. https://repogen.simplylinux.ch This … Read more