[Testing Update] 2019-03-14 - Kernels, Plasma, Deepin, Pamac, Python, Ruby

Thanks, my aur in pamac was reset to off which means it would not tell me when my google-chrome was due to be upgraded.

I feel dirty just reading that.

2 Likes

All was OK besides pamac settings reset. I have some AUR packages (about 5 to 10) and downgrade was on before.

Not a big deal, but annoying.

Pamac v7.3.5-1 should restore the old config just fine.

2 Likes

All three of my machines upgraded fine in tty, XFCE, KDE, Gnome. I don't use GUIs for package/system maintenance so I cannot speak on the pamac stuff. Thanks!

Thanks for the info. I'll test this and report as soon as pamac 7.3.5 will be officially available.

vm xfce - ok

yes pamac config got reset to default.
Pls tell me why I need to save old config of pamac and how config reset will affect on my aur programs? All I see now is that I need to go to setting and set all as it were before.

Asking that to knew what to do with my main system when it comes to "stable" update.

Thnx in advance, I'm newB)y.

Do you mean this?

https://bugs.archlinux.org/task/61974?project=1&string=glib2&order=dateopened&sort=desc

1 Like

Same issue here

This config reset will deactivate your access to AUR. Nothing more, but annoying if you want to manage some AUR packages.

You'll have to activate once again AUR option. This is all.

3 Likes

First system upgraded on KDE has gone completely smoothly.

Sorry, do not remember asking your opinion. Since you gave it, what is your preference, firefox or chromium? Don't worry, I will keep my opinion to myself.

There is the tool pacdiff for that.
IMHO everybody should run pacdiff after an update that produces pacnew/pacsave files.

Pacman Pamac should probably have the option to run pacdiff after every update and if there is something to do, present the differences with a nice Diffprog like Meld...
I don't think it will ever be possible to automatize this "work" for rolling releases, so make it at least as simple to use as possible.

2 Likes

Sorry, do not recall reading the forum rule stating that one needed to seek permission of a poster before either replying to or commenting on their post. Must have been in that dreaded fine print.

Vivaldi.

Well where's the fun in that?

4 Likes

Thank you. This is exactly it. Good thing it's known.

Finally fixed with gnome-control-center 3.30.3+4+g26287234b-1
Just update your system. :slight_smile:

2 Likes

Real fix will be available with Gnome 3.32.x-y :smiley:

1 Like

Hey,

next time ... if you like a more magic method for diffing these files.
Try to combine sudoedit with a fancy visual merge tool ... meld for example.
Such an elementary functionality is unfortunately missing in pamac.

:mage:

Fish solution
function pacnew --description 'Merge new *.pacnew configuration files with their originals'

	echo "Locating .pacnew and .pacsave files ..."

	set cfgfiles (find /etc -regextype posix-extended -regex ".+\.pac(new|save)" 2> /dev/null)

	# Check if any .pacnew or .pacsave configurations are found
	if test -z "$cfgfiles"
		echo "No configurations to update"
		return 0
	end

	for config in $cfgfiles
		echo "Found: $config"
		set -lx SUDO_EDITOR "meld $config"
		# Let user securely edit original configuration
		sudoedit (string replace -r ".pac(new|save)" "" $config)
		wait
		# Remove file?
		while true
		  read -P 'Delete file ? (Y/n): ' value
		  switch $value
				case y Y
					sudo rm "$config"; and echo "Deleted: $config"
					break
				case n N
					# do nothing
					break
				case '*'
					echo 'Answer (Y)es or (n)o.'
			end
		end
	end
end
Bash solution
#!/bin/bash
# Merge new *.pacnew configuration files with their originals

echo "Locating .pacnew and .pacsave files ... this may take a while"

cfgfiles=$(find /etc -regextype posix-extended -regex ".+\.pac(new|save)" 2> /dev/null)

# Check if any .pacnew or .pacsave configurations are found
if [[ -z "${cfgfiles}" ]]; then
  echo "No configurations to update"
fi

for config in ${cfgfiles}; do
	echo "Found: $config"
	export SUDO_EDITOR="meld $config"
  # Let user securely edit original configuration
  sudoedit ${config%\.*}
  wait
  # Remove file?
  while true; do
    read -p "Delete file ? (Y/n): " Yn
    case ${Yn} in
      [Yy]* ) sudo rm "$config" && \
              echo "Deleted: \""${config}"\"."
              break                         ;;
      [Nn]* ) break                         ;;
      *     ) echo "Answer (Y)es or (n)o." ;;
    esac
  done
done
3 Likes

It already exists.

DIFFPROG=meld pacdiff
3 Likes

Thanks for the hint! I will try it next time :slightly_smiling_face:

1 Like

Forum kindly sponsored by