I guess I can delete yay and delete pamac-aur, but then I don’t know where I am.
Just did this, I can reinstall both of these and see what happens.
O.K. reinstalled both and this seems to be fixed now, everything works.
I guess I can delete yay and delete pamac-aur, but then I don’t know where I am.
Just did this, I can reinstall both of these and see what happens.
O.K. reinstalled both and this seems to be fixed now, everything works.
After the yay reinstall, and using it, everything seems fine except, do I need yay-debug?
[mark@mark-optiplex9020 yay]$ yay
:: Synchronizing package databases…
endeavouros is up to date
core is up to date
extra is up to date
multilib is up to date
:: Searching AUR for updates…
→ motivewave: ignoring package upgrade (6.8.3-1 => 6.9.4-1)
:: Searching databases for updates…
→ Missing AUR Debug Packages: yay-debug
→ Orphan (unmaintained) AUR Packages: scikits-base
→ Flagged Out Of Date AUR Packages: scikits-base
there is nothing to do
I’ve had this before when I’ve been tinkering - to resolve it I edited the Options line in /etc/makepkg.conf
It will look something like:
OPTIONS=(blah blah blah blah debug blah blah)
Change debug to !debug
It will stop yay from installing debug packages alongside the ones you actually want, because they’re unnecessary unless you actually plan on doing some debugging ![]()
Yep, made the changes, I guess this comments it out with the ‘!’.
!DEBUG_CFLAGS=“-g”
!DEBUG_CXXFLAGS=“$DEBUG_CFLAGS”
On running yay again, the message is still there, but I guess it goes away on the next update.
You’ve changed the wrong place, those aren’t the parts that need to be amended.
You specifically need the OPTIONS line, located midway down the section with the heading commented as GLOBAL PACKAGE OPTIONS and formatted as per my previous example ![]()
The changes will be confirmed after a reboot at which point yay will stop looking for debug packages.
You mean this line:
#-- debug: Add debugging flags as specified in DEBUG_* variables
Can’t find any line that begins with OPTIONS.
I see it now.
#########################################################################
# GLOBAL PACKAGE OPTIONS
# These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !a>
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
#-- docs: Save doc directories specified by DOC_DIRS
#-- libtool: Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs: Leave empty directories in packages
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge: Remove files specified by PURGE_TARGETS
#-- debug: Add debugging flags as specified in DEBUG_* variables
#-- lto: Add compile flags for building with link time optimization
#-- autodeps: Automatically add depends/provides
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge debug lto)
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
It’s right there in your paste, I’ve bolded it for you here ![]()
Didn’t see it myself until I pasted it here.
Eyesight, since my implants, have some problems on small screens or small type.
No problem! Just make sure you amend the correct place - specifically the line that starts with OPTIONS, not the one in the line that starts with “Makepkg defaults” as that is purely an example ![]()
All fixed, but after a reboot, still getting same message.
#MAKEFLAGS="-j2"
#-- Debugging flags
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
# A negated environment option will do the opposite of the comments below.
#
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
#-- check: Run the check() function if present in the PKGBUILD
#-- sign: Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg
#########################################################################
# GLOBAL PACKAGE OPTIONS
# These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !autodeps)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
#-- docs: Save doc directories specified by DOC_DIRS
you will need to uninstall the already created debugging packages…
The options line isn’t present in this section you’ve pasted so I’m not sure what you’re trying to show - again, you need to make amendments to the line in the section just below the part you’ve pasted that specifically begins with OPTIONS, not the “Makepkg defaults:” section - this is just an included example and is commented out accordingly, so does nothing.
And as @joekamprad has said, existing debug packages will need to be removed with yay -R
I see it on my screen…
Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !autodeps)
copied from above.
I see what you’re saying. Just a second…
![]()
[christopher67@EndeavourOS ~]$ sudo pacman -Rs pamac-aur-git
checking dependencies...
Package (4) Old Version Net Change
appstream-glib 0.8.3-2 -3.68 MiB
archlinux-appstream-data 20240914-1 -20.04 MiB
libpamac-git 11.6.4.r2.g1421283-1 -3.74 MiB
pamac-aur-git 11.7.1.r1.g61b7570-1 -0.74 MiB
Total Removed Size: 28.20 MiB
:: Do you want to remove these packages? [Y/n] Y
:: Processing package changes...
(1/4) removing pamac-aur-git [--------------------------------------------------------------------------------------------------] 100%
(2/4) removing libpamac-git [--------------------------------------------------------------------------------------------------] 100%
warning: /etc/pamac.conf saved as /etc/pamac.conf.pacsave
(3/4) removing archlinux-appstream-data [--------------------------------------------------------------------------------------------------] 100%
(4/4) removing appstream-glib [--------------------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/7) Reloading system manager configuration...
(2/7) Arming ConditionNeedsUpdate...
(3/7) Updating the MIME type database...
(4/7) Updating the appstream cache...
✔ Metadata cache was updated successfully.
(5/7) Reloading system bus configuration...
(6/7) Updating icon theme caches...
(7/7) Updating the desktop file MIME type cache...
[christopher67@EndeavourOS ~]$ yay -Syu pamac-aur
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
[christopher67@EndeavourOS ~]$
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge: Remove files specified by PURGE_TARGETS
#-- debug: Add debugging flags as specified in DEBUG_* variables
#-- lto: Add compile flags for building with link time optimization
#-- autodeps: Automatically add depends/provides
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip’ for details.
STRIP_BINARIES=“–strip-all”
Somehow i broke yay lol
Yep, that’s the line - now once you’ve rebooted, yay will no longer install new debug packages alongside the ones you actually intend to install.
Existing debug packages just need to be removed with the usual yay -R command, and will not come back.
Yes, that worked, it’s gone.
One thing I’m recognizing is that yay recovered much faster in this episode than the paru wrapper based on Rust.
Rust is the hot new thing, but seems to be really dependent on a very few people with high skill sets to work with.
I’m lost here. . . what is everyone doing to let the maintainers do their work? I see a lot of anxiety over what’s happened with Pacman 7 update. Are we becoming too worrisome? Give everything a few days and problems will be corrected. . .
Rich;)