Skip to content

To the Window to the Linux . . .

Pinned Linux
22 2 4.9k 1
  • So I have an update on this. I just found out just now that although you can manually go through each AUR install you have and git pull the latest updates and then use makepkg -s -i to create a new install and then install the package, and that perhaps I was to hasty in pushing not to install the yay package just to have one less piece of software installed.

    I just updated my computer to the latest Linux version using sudo pacman -Syu and my computer wouldn’t start back up to the graphical interface. So I pressed ctl+alt+F3 to get into a terminal. I downgraded, sudo pacman -U file:///var/cache/pacman/pkg/package-old_version.pkg.tar.zst back down to the previous version, hoping that would work, and it didn’t work. Still froze at the same spot. So went back into the terminal and connected to the wireless network using sudo nmcli device connect "interface name" then entered the password and connected back to the internet.

    Then I decided to install yay because I was getting a error when it was trying to compile the nvidia driver to the new version of Linux and it wasn’t working. So I installed yay using git clone https://aur.archlinux.org/yay.git. Then I went into the folder and used the makepkg -s -i to compile and install.

    Here is where all the magic happened that I didn’t realize should be happening. So I typed yay -Syu - note that you don’t use sudo with yay, since the AUR packages aren’t officially build by the official Linux peeps and you shouldn’t be using sudo privledges to install their packages - and there were several things that needed to be updated, including the compiling program and some other things and a couple of other packages to make everything work. I found that the video graphics driver I need to use for this computer needed to be upgraded for it to work with the new version of Linux.

    So now my upgrade process goes like this. And yes, I do them in this order.
    yay -Syu - This ensures the latest and all packages are installed from the AUR
    sudo pacman -Syu - This installs all of the official Arch Linux packages for the system to work.

    So I hope others can learn from my mistakes and misgivings.

    @Madchatthew ouch. Sounds nasty. Did you get to the bottom of why it happened?

  • @Madchatthew ouch. Sounds nasty. Did you get to the bottom of why it happened?

    @phenomlab said:

    @Madchatthew ouch. Sounds nasty. Did you get to the bottom of why it happened?

    I believe it is due to not everything getting upgraded because i wasn’t checking on the different packages I had installed from the AUR. Then when I ran yay it was like, hey would you like to update all of these things that you haven’t updated in months, perhaps years or ever for that matter and I was like yes please 🤣

    If you don’t have yay there are no notifications that you need more updates than what you realize. Chrome was staying updated because it would give me a notification, but there was the nvidia package that needed to be upgraded as well and I had never upgraded it. I didn’t realize it and should have. Then some of those packages use cmake and that needed to be updated as well. So using yay is beneficial to make sure you get all the updates you need.


Related Topics