• Why no updates recently


    @patlefort said in Why no updates recently:

    tmpfs

    but if this is stored under /tmp pacman should know that wts if files are stored under tmp they are temporary and should not be recommend to exist…

  • @patlefort

    Do you have some service running that is deleting /tmp from time to time?
    As Joe referred, everything there is only temporary.

  • journalctl reveal these errors:

    Apr 27 14:41:42 ordi-pat org.manjaro.pamac.user[1300]: Failed to initialize alpm library (unexpected error)
    Apr 27 14:41:42 ordi-pat org.manjaro.pamac.user[1300]: SpawnError: Failed to execute child process “mkdir” (No such file or director
    

    Which I’m pretty sure is in file “src/alpm_config.vala”, line 144:

    Process.spawn_command_line_sync ("mkdir -p %s/sync".printf (tmp_dbpath));
    

    Everytime I tried to check for updates in pamac, the error occur. Somehow this command is failing to create the directory.

  • @manuel Not that I’m aware of. Also everyone has access to /tmp:

    drwxrwxrwt  13 root root  320 Apr 27 14:58 tmp
    
  • Very strange problem. Have you had long gaps (e.g. a month or more) between system updates on your non-VM install? If not, I’m about out of ideas.

  • /tmp will be cleaned upon reboots.
    /var/tmp preserved across reboots.

    i do not have this SpawnError but also file not found from pamac onto bolded text
    ’/var/lib/pacman/sync/*.files’ but i get updates…

  • I found the problem: I had set the PATH in /etc/environment to ~/.local/bin and apparently that doesn’t work in some cases. So it wasn’t finding the mkdir command. Adding things to PATH for all users is not simple at all.

  • I’ve had this problem for some time. If I do not remember to check for updates, my system gets woefully out of date. Pamac used to give me notifications just about every day. I haven’t made any changes to /etc/environment (although my system may have). In fact, this is all that is in that file:

    #
    # This file is parsed by pam_env module
    #
    # Syntax: simple "KEY=VAL" pairs on separate lines
    #
    # >>> BEGIN ADDED BY CNCHI INSTALLER
    BROWSER=/usr/bin/chromium
    EDITOR=/usr/bin/nano
    # <<< END ADDED BY CNCHI INSTALLER
    

    Is there some other setting I can check? I currently have the latest version of pamac installed.

  • @walth
    Have you commanded

    sudo pacman -Syyuu
    

    recently? That might help.

  • @manuel said in Why no updates recently:

    @walth
    Have you commanded

    sudo pacman -Syyuu
    

    recently? That might help.

    I did that the last time I read through this topic, and it made not difference that I could see. I can certainly try it again, though.

  • The latest pamac is 6.3.1-1.

  • The things you could check are:

    • /etc/pacman.conf
    • /etc/pacman.d/antergos-mirrorlist
    • /etc/pacman.d/mirrorlist

    for starters.

  • @manuel said in Why no updates recently:

    The things you could check are:

    • /etc/pacman.conf
    • /etc/pacman.d/antergos-mirrorlist
    • /etc/pacman.d/mirrorlist

    for starters.

    I’m not sure what I’m looking for. I do have version 6.3.1-1 of pamac, for whatever that is worth.

  • @WaltH may you will need to update mirrorlists

  • @joekamprad said in Why no updates recently:

    @WaltH may you will need to update mirrorlists

    Which command does that? I’ve run

    sudo pacman -Syyu
    
    

    and

    sudo pacman -Syu
    
  • you can try these;

    sudo pacman -S archlinux-keyring antergos-keyring antergos-mirrorlist pacman-mirrorlist

  • I’ll give that a try. Thanks.

  • i was a bit shortworded ;)
    I want to say rank the mirrors:

    sudo cp /etc/pacman.d/antergos-mirrorlist /etc/pacman.d/antergos-mirrorlist.bak
    sudo rankmirrors -n 0 /etc/pacman.d/antergos-mirrorlist > /tmp/antergos-mirrorlist
    sudo cp /tmp/antergos-mirrorlist /etc/pacman.d/antergos-mirrorlist
    
    sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
    sudo rankmirrors -n 0 /etc/pacman.d/mirrorlist > /tmp/mirrorlist
    sudo cp /tmp/mirrorlist /etc/pacman.d/mirrorlist
    
  • @joekamprad said in Why no updates recently:

    sudo cp /tmp/mirrorlist /etc/pacman.d/mirrorlist

    I’ll try this then. Does my system need a reboot after that before the update notices begin to appear again (if they do)?

  • Never mind. As soon as I posted my reply, I received a notice of an update.

updates61 recently2 Posts 40Views 1918
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.