Felipe's Blog

Your go-to source for Linux/Unix-like – tech – engineering.

Archive for the ‘Pacman’ tag

Fix issue ‘Initiate a full system upgrade. Nothing to do’ on Arch Linux.

without comments

I have experienced recently this, unable to update the whole system:

:: Synchronizing package databases... 
core is up to date extra is up to date 
community is up to date 
multilib is up to date 
archlinuxfr is up to date 
:: Starting full system upgrade... 
there is nothing to do

The main reason for this issue is that the duplicate list is outdated. If you encounter the same problem, your duplicate list may also be outdated.

It’s an online replica list generator that can be employed to generate the latest replica list for Arch Linux.

Once you locate the replica list, you can manually replace the outdated replica list with the newly created one. If you prefer an automated approach, you can use a utility called reflector. It is used to find the latest replica list for your Arch Linux and automatically update the replica list

To fix it? Simple:

sudo pacman -S reflector rsync curl

Use the following commands to back up your existing mirrorlist and update the mirror list:

# Back up the existing mirrorlist 
$ sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak 
# Update the mirrorlist using reflector command 
$ sudo reflector --verbose -l 50 -p http --sort rate --save /etc/pacman.d/mirrorlist

The above command filters the 50 most recently synchronized HTTP servers, sorts them by download speed, and automatically updates the mirrorlist. For more detailed information about Reflector, refer to our previously attached guide.

After updating the mirrorlist, try updating your Arch Linux system using either of the following commands:

# Update the system 
$ sudo pacman -Syu

or

# Force update the system 
$ sudo pacman -Syyu

Written by Felipe

October 3rd, 2023 at 4:46 am

Posted in Arch,Linux

Tagged with , ,

Server Icon, on the Mac

without comments

In a previous post, I talked about the configuration of Samba, using a cool icon for the Mac. Just to make it very simple, here it is, all the configuration we need (For Arch or Debian, in Debian we just use apt get or in CentOS dnf -y, or in Arch – pacman, as it is explained here:

min protocol = SMB2
vfs objects = catia fruit streams_xattr
fruit:aapl = yes
fruit:metadata = stream
fruit:model = Macintosh
fruit:posix_rename = yes 
fruit:veto_appledouble = no
fruit:wipe_intentionally_left_blank_rfork = yes 
fruit:delete_empty_adfiles = yes

to really make it work first, we need to install the package avahi, put it to run as a service, and then start the demon. After that we restart Samba.

sudo pacman -S install avahi
systemctl enable --now avahi-daemon.service
systemctl start avahi-daemon

Let’s restart Samba:

systemctl restart smb
systemctl restart nmb

Written by Felipe

April 25th, 2023 at 10:40 pm

Posted in General,Linux,Mac

Tagged with , , ,

Install and Use yay on Arch Linux

without comments

A AUR helper like yay lets you download and install packages from the Arch User Repository.

Pacman is a powerful package manager that comes default on Arch-based distributions, but lacks the functionality of uploading packages to the Arch User Repository .
The AUR is a community managed repository providing thousands of third party packages in the form of scripts also known as PKGBUILD.

To install packages using these PKGBUILDs, need an AUR helper like yay.
yay is not pre-installed on Arch Linux nor is it available in official Arch repositories.
So how do you install yay to download packages from on your Arch desktop?
Let’s find out.

Installing, yay on Arch Linux

The yay package is only available in the Arch User Repository.
Note that you can manually install packages from the AUR without using an AUR helper, but as its says, an “AUR helper” assists you in the process which allows you install more packages easily with minimal user interaction.

sudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Then Check the version:

yay --version

Then you can install any sort of package:

yay -S google-chrome

Written by Felipe

April 25th, 2023 at 4:59 pm

Posted in Arch,General,Linux

Tagged with , , ,