Skip to content

To the Window to the Linux . . .

Pinned Linux
22 2 3.3k 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
  • Arch Linux | Reflector

    Linux arch linux pacman reflector updates
    4
    4 Votes
    4 Posts
    2k Views
    I have another update for reflector that I just figured out. You will want to edit the following file and add details to make sure that every time it updates the mirror list, it is grabbing them from your country and I grab 10 and sort them by rate. This will ensure that your mirrorlist isn’t getting populated with links from other countries which can slow down you downloads. sudo nano /etc/xdg/reflector/reflector.conf This is what the file looks like. # Reflector configuration file for the systemd service. # # Empty lines and lines beginning with "#" are ignored. All other lines should # contain valid reflector command-line arguments. The lines are parsed with # Python's shlex modules so standard shell syntax should work. All arguments are # collected into a single argument list. # # See "reflector --help" for details. # Recommended Options # Set the output path where the mirrorlist will be saved (--save). --save /etc/pacman.d/mirrorlist # Select the transfer protocol (--protocol). --protocol https # Select the country (--country). # Consult the list of available countries with "reflector --list-countries" and # select the countries nearest to you or the ones that you trust. For example: --country US # Use only the most recently synchronized mirrors (--latest). --latest 10 # Sort the mirrors by synchronization time (--sort). --sort rate Here are the different flag options that you can change or add to this file. I found this on google by searching arch linux reflector flags. Filtering Options (What to find) --country <CODE/Name>: Selects mirrors from specific countries (e.g., US, France,Germany). Use {Link: reflector --list-countries https://archlinux.org/mirrors/status/}, for a full list. --protocol <http|https>: Filters for HTTP or HTTPS mirrors. --age <hours>: Only includes mirrors synced within the last X hours (e.g., --age 12). --delay <hours>: Limits to mirrors with a reported sync delay of X hours or less (e.g., --delay 0.25 for 15 mins). --latest <N>: Limits results to the top N newest mirrors. Sorting Options (How to order) --sort rate: Sorts by download speed (requires testing, can be slow). --sort age: Sorts by most recently synced. --sort score: Sorts by overall score. --sort country: Sorts by country, useful with multiple countries. Output Options (Where to put it) --save <path>: Writes the filtered/sorted list to a file (e.g., /etc/pacman.d/mirrorlist). --verbose or -v: Shows detailed progress and mirror info.
  • Arch Linux | KDE Plasma Guide

    Moved Guides arch linux kde desktop guide
    3
    1 Votes
    3 Posts
    2k Views
    @phenomlab you are very welcome. I have bookmarks but it is also nice to have this info out there for other people to use as well, and also a place I can go to grab it again if I lose my bookmarks haha
  • Linux on a Stick

    Linux linux usb arch
    29
    16 Votes
    29 Posts
    5k Views
    @DownPW I haven’t tried either of those, I am sure they run fast as well. Linux is so versatile it is awesome!
  • Linux Certification

    Linux linux certs
    4
    2 Votes
    4 Posts
    949 Views
    @Madchatthew You might be sorry you asked This is the mentoring category below. Presently, it’s unused, but we have a dedicated area for it. https://sudonix.org/category/8/mentoring Other services https://sudonix.org/services
  • 2 Votes
    2 Posts
    969 Views
    As an aside to this, there is also the command of tasklist which will provide a list of processes running on your machine, or a remote machine you are looking to query. [image: 1678806102692-000a408c-cc7e-450f-8e5e-bed9a4238a05-image.png] There is also a useful list of switches below, plus the ability to format into a table, or CSV. https://ss64.com/nt/tasklist.html
  • Environment Variables

    Solved Linux
    8
    1
    1 Votes
    8 Posts
    2k Views
    @madchatthew great you got this to work ! Thanks for the update.
  • Need help with ping in linux

    Locked Linux ping ubuntu
    16
    5 Votes
    16 Posts
    3k Views
    Note to everyone else here. This user was formally banned from metabullet.com for abusing the service, and as a result, has been banned here also. Quite why this person thought it was ok to come here under the guise of an account he’d previously used at metabullet.com and hope I wouldn’t notice is beyond me. If you abuse my services once, you won’t get to use them again - period. As a reminder, the policies surrounding this service, and it’s usage can be found here
  • SASL LOGIN authentication failed: generic failure

    Moved Solved Linux
    5
    0 Votes
    5 Posts
    2k Views
    @Ash3T I’m going to mark this post as solved as I’ve not heard from you in a while. Let me know if this isn’t the case and you need more help.