I know, how to merge pacnew
files, but I do not know right syntax for pam.d
configuration regarding SDDM. I am at this state:
Do you know, what to merge where and what is the meaning of leading -
at almost every new line?
I know, how to merge pacnew
files, but I do not know right syntax for pam.d
configuration regarding SDDM. I am at this state:
Do you know, what to merge where and what is the meaning of leading -
at almost every new line?
The update did only work by using cli:
sudo pacman -Syu
When trying to update by GUI, the app reported a failure.
As such the update through cli went without any trouble; the system is stable. Nothing to report.
I never said that at all, perhaps youâre confusing me with another poster. I understand and know how to manage pacnew files.
I was simply pointing out that in the real world very many Manjaro users will never have done anything about pacnew files because theyâre simply not aware of them (as numerous threads and posts in recent days have shown), and their system continues to run fine for years regardless because breaking changes in pacnew files are rare.
And also that telling people to run pacdiff -s
is perhaps not the most user-friendly introduction to the topic given thatâs itâs default difftool isnât even installed on a standard Manjaro system. Sure, pacdiff -o
is a good one to know.
This distro puts front and centre a GUI package management and update tool which doesnât notify users about additional actions required when pacnew files are installed, or even mention them at all in itâs user manual. And then you wonder why they donât know about them?
You canât have it both ways. Instruct users on how to update their system properly from the start or donât be surprised when it turns out later that they have no idea what a pacnew file is.
I dont wonder that much.
After these years, I am no longer surprised at the lack of RTFM.
And I have no intention of trying to defend pamac. I dont use it.
And this update is a great example - pamac itself was broken.
So using that fancy gui wouldnt work.
I added the note in this announcement because until then there was ZERO communication, including about the repo change. Being on Unstable we have already dealt with it more than a month ago.
I thought it was a nice thing to note since no one at the team did so. If not ⌠I suppose someone can remove it.
I dont try both ways. I suggest pacman, use pacman, discourage pamac, and chafe at those who try to push a narrative that it is the only suggested package manager.
Maybe you are trying to reach someone else?
I dont know what you are trying to show with the wiki links ⌠theres more of them ⌠including one that explicitly talks about pacnews and how to manage them ⌠then linking back to the archwiki for further explanation. As has already been noted here multiple times.
Look - I really dont get whatever pitchfork mentality is happening here where there seems to be a few folks who want to target ⌠me? ⌠for ⌠suggesting the proper tool for required user intervention?
Whatever it is ⌠have fun with it. I already expressed my evaporating energy for entertaining these âdiscussionsâ and such effervescent repetition.
So once again ⌠cheers.
Perhaps. There is a disconnect between the way Manjaro promotes itself as a user-friendly Arch and then when people come here for help after using a tool like Pamac they get told they shouldnât have been using that and they should know all this stuff that Pamac has hidden from them. I agree with the idea of self-help but if youâre not told how to do things correctly in the first place thenâŚ
I would probably agree that the way Official Manjaro Twitter presents things ⌠and what veterans/volunteers/previous-team-members have to say can often be different.
(you can also see this in the wiki too)
Should mkinitcpio -P
be run with or without priviledged (sudo or as root) rights?
my dear,
unfortunately i am one of those people who dont have a clue.
i was outdoors all day to somehow manage the damages after yesterdays heavy rainfalls, and tomorrow i should also be out on the fields againâŚ
after reading more than 300 posts i somehow managed to update my system with:
sudo pacman-mirrors --geoip
sudo pacman -Syyu
pamac update --force-refresh
then i tried:
sudo pacman -Syu "pacman>=6.0.2.11"
but pacman
was already updated to 6.0.2.11, so i guess there is nothing to do?
then i needed to install vim
because it was not pre-installed on my standard Manjaro-MATE installation.
then i tried:
pacdiff -s
it asked to â(M)erge
â but responeded âunable to find a base packageâ.
so i choose â(V)iew
â and vim showed the content of two local files:
var/tmp/grubVVyqwtFI.pacnew
var/tmp/grub.jUMq91qU
i have no idea what to do here. the last time i used vim was 20 years ago⌠so i quit the terminal.
finally i also tried to remove the unused repositiories
with:
sudo pacman -Sc
but âcommunity
â seems to still be on my system.
Please, if you could give any step-by-step advice what needs to be done,
or can i just dump the steps regarding âpacdiff
â and unused repositories
?
Please use a more comfortable comparison tool then⌠ex: meld
;
DIFFPROG=meld pacdiff -s
Its usually a good idea to have these environment variables set, such as in /etc/environment
⌠which would make the preceding environment variable unnecessary.
In case anyone does want to implement such things - so as to use sudoedit
and other nice stuffâŚ
I will put here my examples for reference ⌠use whatever tools or paths work for you;
EDITOR=/usr/bin/micro
SUDO_EDITOR=/usr/bin/micro
VISUAL=/usr/bin/kate
DIFFPROG=/usr/bin/meld
I held off for a few days and noted all the issues talked about here, I was a little nervous about the update. I run nothing from AUR am on kernel 5.15, xfce and updated using sudo pacman -Syyu
all went well and I can report no problems.
OK the autofill on the Pamac gui doesnât work as before, but you only have to hit return after typing in a few characters and you find what you want. The graphics on my DELL Workstation are fine.
Note that pamac
was silently replaced with a new version rebased on gtk4.
The previous pamac
can be recovered by installed pamac-gtk3
.
PS.
I have also updated the guide post with more verbose pacdiff instructions included, namely the env var things and some explanation.
With Pamac we have now 11.0.1 26 based on gtk4 and 10.5.3 10 based on gtk3
Currently, In the 1st post, the link for pamac-gtk3 gets a 404.
Current: https ://gitlab.manjaro.org/applications/pamac/-/releases/10.5.3
Works..: https ://gitlab.manjaro.org/applications/pamac/-/releases/v10.5.3
With superuser rights. It writes to the /boot
directory, which regular users do not have write access to.
It means that PAM will not attempt to load the pertinent module if it doesnât exist in the system, for instance in the case where a GNOME-specific module would otherwise be loaded on a system with Plasma instead of GNOME.
Or otherwise put, itâs a kind of âdonât nag about this if itâs not installedâ thing.
I had installed this lib sudo pacman -Syu lib32-libnm
- its mentioned on the main thread for steam.
The update went fine!!
2 smaller issues though:
(And Iâm trying to analyze whatâs wrong with my subvolumes, off topic.)
my dear, i need help because i am a total NOOB:
i never ever had used pacman and updating in terminal before.
i managed to update my system with:
sudo pacman-mirrors --geoip
sudo pacman -Syyu
pamac update --force-refresh
then i tried to follow the steps of Manjaro-Team-member philm
in his post number 2:
sudo pacman -Syu "pacman>=6.0.2.11"
but pacman was already updated to 6.0.2.11 so my first question is:
i do not have to do anything more on this?
in terminal i tried the command pacdiff -s
but this opened 2 local files with settings for GRUB !???
var/tmp/grubVVyqwtFI.pacnew
var/tmp/grub.jUMq91qU
i assume these are totally wrong files? - so i did not change anything in them.
i continued to remove the unused repositories with:
sudo pacman -Sc
[NO] for not deleting the cache-files
[YES] for removing unused repositories
Is that correct? or do i need to delete the cache-files too?
Finally i had the idea to manually open the pacman.conf
and pacman.conf.pacnew
- files in the texteditor, and here are my main questions because i have no idea what i am doing:
the main differences are
pacman.conf:
CacheDir = /var/cache/pacman/pkg/
#UseDelta = 0.7 --- this line is not in pacnew
#Color
#ParallelDownloads = 5
# REPOSITORIES
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
pacman.conf.pacnew:
#CacheDir = /var/cache/pacman/pkg/ --- is now commented out for some reason?
Color --- was commented out in pacman
ParallelDownloads = 4 --- was commented out in pacman and figure was 5
ILoveCandy --- is a totally new line?
# REPOSITORIES
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
---- Here in [core/extra/multilib] the lines with âSigLevel = PackageRequiredâ are not included anymore ??? - Are they needed?
Is this alright?
do i need to change anything in these two conf-files with my texteditor?
i do not even know if i have to copy lines from pacman.conf to .pacnew, or from .pacnew to pacman.conf
do they have to have the exact same values?
many thanks for your help!
To sum up: You can safely overwrite. The only important change it the community repo, and you want that. Just type pacdiff in terminal and when it comes to pacman.conf hit overwrite with the new one (i donât know if you have other pacnew files, cannot comment on that)
Do we need to do the steps that philm lists under " The community repository has been merged into extra and is now empty"
in the second post? If mostly everything runs fine?
Can one only do sudo pacman -Sc and be fine after the update?
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove all other packages from cache? [Y/n] n
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] n