Don't seem to be able to update anymore?

I’m using the ‘Cinnamon’ version on an old desktop with kernel 6.1
I’m trying to update ‘Android-apktool-bin’ using the terminal, but getting 404 errors and access denied issue? (see below)

[jp@jpmanjarohome ~]$ pamac update --aur
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: jean-pierre (jp)
Password: 
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Error: failed retrieving file 'community.db' from mirror.aarnet.edu.au : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from mirrors.cicku.me : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from gsl-syd.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from mirrors.manjaro.org : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from manjaro.kurdy.org : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from ftp.riken.jp : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from mirror.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from irltoolkit.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from mirror.phoepsilonix.love : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from codingflyboy.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from ridgewireless.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from mirror.archlinux.tw : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from ziply.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from opencolo.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from mnvoip.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from mirror.xeonbd.com : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from southfront.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from repo.ialab.dsu.edu : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from coresite.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from forksystems.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from nocix.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from cofractal-ewr.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from volico.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from ohioix.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from nnenix.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from ipng.mm.fcix.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from mirror.vinehost.net : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from mirrors.xtom.jp : The requested URL returned error: 404
Error: failed retrieving file 'community.db' from mirrors.gigenet.com : The requested URL returned error: 404
Refreshing AUR...                                                                                                                                                                                                                             
cp: cannot access '/var/lib/pacman/sync/download-fwTZy9': Permission denied                                                                                                                                                                   
Nothing to do.
Transaction successfully finished.
[jp@jpmanjarohome ~]$ 

What am I missing?

This.

The community repo is dropped long ago.

You have some pacnew files in /etc.

1 Like

And you probably need --force-refresh flag too. But first remove that dounload-xxxx folder.

1 Like

@6x12

The direct link for the benefit of passers-by;

2 Likes

Sorry about the late reply - I got distracted and then forgot to reply
After following ‘Teo’ advice to remove the dounload-xxxx folder and following ‘@6x12’ link instructing to remove all ‘Orphans’ the update completed successfully so this post is solved,
but i’m still unclear about ‘AUR’ repo?
Does the AUR repo still exist? and do I still need to use the –aur flag to update the AUR pakages? or are they included (in the extra-repo) in the general update using the gui Pamac? thanks

Yes, of course, but as you should know by now, the AUR isn’t actually a repo — it doesn’t contain any packages, only PKGBUILD scripts — and it’s not run or owned by Manjaro.

Manjaro offers access to the AUR, but that’s as far as it goes.

If you have the AUR enabled in pamac, then you do not need to add that extra option. pamac will then update everything.

Adding the option in this case would tell pamac to only update the AUR, which is useful if you’ve updated your system packages with pacman first — which is recommended anyway.

2 Likes

Thanks I have unticked the AUR option in the gui version of Pamac Just running the gui version of Pamac when prompted that there are updates is the usual way I update my system, maybe in the future I will update using Pacman in the terminal and then (if needed) pamac in the terminal for AUR packages, as you said that’s the preferred way.

Perhaps of interest to you… :point_down:

Thanks for the link. In the past, I only ever used tty (as instructed in this forum) when I could not login after an update broke my system. I need to see my notes to remember how to tty into the system.

Well, what you need to understand first and foremost is that UNIX is a multi-user platform with concurrent multi-user access.

When GNU/Linux boots, a number of character-mode virtual consoles is set up — the ttys — and (optionally) one of those will be reserved for a graphical user interface, whether running on top of the X Window System (X11) or whether running on top of Wayland.

In other words, the character-mode login consoles are already there and active, together with your GUI. You can switch to any of the ttys at any time by pressing Ctrl+Alt+Functionkey 1 to 12.

Note: You do not need to press and hold the Ctrl key when you’re already in a character-mode environment — it is only required when switching from the GUI to a character-mode tty, because the Alt+Functionkey 1 to 12 combinations without Ctrl may have been assigned to certain GUI-specific functions.

I’m not sure how it is in Cinnamon, but I suspect that your GUI will be running at tty4 or tty7. tty12 is normally reserved for the system logger and is then output-only.

So, commonly, you would press Ctrl+Alt+F3 to switch to a tty (tty3), and then you can log in there with your own credentials. Logging out of a character-mode virtual console is as simple as hitting Ctrl+D or typing “exit” at the command prompt.

You can also switch back to the GUI at any point in time, but it’s important to remember that this will not log you out of the character-mode tty, any more than that switching from the GUI to a tty would log you out of the GUI. Remember: it’s a concurrent multi-user operating system, and so multiple user accounts can be logged into multiple sessions all at the same time.

As it so happened, I can not install the latest updates using the gui pamac - I’m getting an error message.

could not satisfy dependencies:
- removing lib32-libcap breaks dependency 'lib32-libcap' required bi lib32-systemd

So that may be a good time to try to install via TTY, but according to what you wrote simply switching to TTY from within the GUI will not close files that maybe in use and prevent the upgrade?

Could you confirm (or correct) that my steps is correct.
Re-start PC
At the ‘Grub’ screen interrupt the auto loging and go to the command promt
Press F3 ?
or do I have to edit "Grub’ by adding a 3 at the end?
Then when in TTY just enter 'pacman Syu
Thanks

PS: how do format function keys in boxes as you do?

If you have autologin enabled, then you cannot “interrupt” it. After you log in, you must explicitly log out again — it may be called “Leave” in your system menu.

Then, press Ctrl+Alt+F3, not just F3.

That would be even better, yes, because then your display manager will not be running.

You will find that (and more) in the following tutorial; enjoy:

Regards.

1 Like
<kbd>name-of-key</kbd>

:wink:

2 Likes

I have seen this reported by people who still have a now defunct repo in their /etc/pacman.conf
The “community” repo.

Check that file and remove the repo - the first topic, the pinned one:

Manjaro Linux Forum

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.