0 Comments
Step 1
# pacman -Qqen > pkglist.txt # pacman --force -S $(< pkglist.txt) Step 2 # pacman -Qqdn > pkglist_deps.txt # pacman --force --asdeps -S $(< pkglist_deps.txt) Related resources: HowTo: Pacman - Lookup for corruption in any of your already installed packages on Arch Linux1/8/2019 Corruption of installed packages can happen when Arch Linux system update crashes along with Pacman. So, try any one of the below options to troubleshoot the issue:
Option 1 # pacman -Qk Reference: Arch Linux Wiki >> Pacman/Restore local database Option 2 # pacman -Qkk 1>/dev/null Reference: Arch Linux forums: Topic >> Problems after Pacman crash Fix the missing Linux kernel's "desc" file (i.e. for e.g. /var/lib/pacman/local/linux-4.11.7-1/desc) required by Pacman. Note! This can happen, when full system update of Arch-Linux crashes.
Step 1: Delete the following directory: "/var/lib/pacman/local/linux-4.11.7-1" Step 2: Now, recreate database entry for the above mentioned Linux kernel package using the Pacman cached version. Alternatively if this Linux kernel package is missing, then download it from official Arch-Linux online sources. # pacman -U --dbonly /var/cache/pacman/pkg/linux-4.11.7-1-x86_64.pkg.tar.xz Step 3: Now, rerun full system update with the below command: # pacman -Syu Related resource: Here's a guide that helps you to setup chroot environment on Manjaro Linux live-cd. Hence, one can hack into an existing installation of Manjaro linux using live-cd via chroot.
In-order to use this chroot environment, you need "mhwd-chroot" package installed on your live-cd enviroment. Follow the below steps to install "mhwd-chroot" on your live-cd boot: Step 1: Download fresh package databases from the server $ sudo pacman -Sy Step 2: Install mhwd-chroot package $ sudo pacman -S mhwd-chroot Step 3: Now, chroot into your already installed Manjaro Linux using "mhwd-chroot" $ sudo mhwd-chroot Related resource: Below two steps, shows you the most widely used commands, which update-&-install packages on Archlinux distribution within the comfort of your terminal. Step1: Updating all packages installed on the Arch Linux The following Pacman command will update packages from the main repository: $ sudo pacman --sync --refresh --sysupgrade OR $ sudo pacman -Syu Step2: Upgrading all packages installed from the AUR The following Yaourt command will upgrade all packages downloaded from the AUR repository: $ yaourt --sync --refresh --sysupgrade --aur OR $ yaourt -Syua |
AuthorCategories
All
Archives
January 2019
|