No problem, thanks for the update. :)
Search Criteria
Package Details: tkpacman 1.9.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/tkpacman.git (read-only, click to copy) |
---|---|
Package Base: | tkpacman |
Description: | A lightweight GUI for pacman built with Tcl/Tk |
Upstream URL: | https://sourceforge.net/projects/tkpacman |
Keywords: | GUI pacman system |
Licenses: | GPL |
Submitter: | herremaw |
Maintainer: | None |
Last Packager: | herremaw |
Votes: | 54 |
Popularity: | 0.002004 |
First Submitted: | 2013-08-25 14:25 (UTC) |
Last Updated: | 2021-02-08 16:01 (UTC) |
Dependencies (10)
- tcl (tcl-fossilAUR, tcl84AUR)
- tk (tk-fossilAUR)
- kdesu (kdesu-gitAUR) (optional) – if you want to use kdesu instead of su or sudo
- konsole (konsole-gitAUR) (optional) – alternative terminal emulator
- mate-terminal (optional) – alternative terminal emulator
- qterminal (qterminal-gitAUR) (optional) – alternative terminal emulator
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, fudo-gitAUR, sudo-selinuxAUR) (optional) – if you want to use sudo instead of su
- vte3 (vte3-notificationAUR, vte3-gitAUR) (optional) – alternative terminal emulator
- xfce4-terminal (xfce4-terminal-gitAUR, xfce4-terminal-develAUR) (optional) – alternative terminal emulator
- xterm (xterm-alacritty-symlinkAUR, kitty-xterm-symlinksAUR, xterm-gitAUR, xterm-alacritty-smooth-cursor-symlinkAUR) (optional) – alternative terminal emulator
Required by (0)
Sources (1)
Alad commented on 2015-09-28 09:25 (UTC)
herremaw commented on 2015-09-27 11:43 (UTC)
tkpacman was updated to version 1.6.0.
I would like to thank Alad Wenter for helping me to improve tkpacman.
Alad commented on 2015-09-23 01:04 (UTC)
As an aside, you should quote $pkgdir as it can contain spaces. Some of the install commands could also be simplified (install takes multiple arguments, and can create directories in one step via -D).
Alad commented on 2015-09-23 00:52 (UTC)
I've opened a ticket:
https://bugs.archlinux.org/task/46405
herremaw commented on 2015-09-22 17:12 (UTC)
@Alad 2015-09-21 Continuation.
Digging into the "checkupdates" problem a bit further, I have found that "checkupdates" works when LANG=en_US.UTF-8 and for many other languages as well, but not when LANG=nl_NL.UTF-8.
Digging still further, shows that the line
fakeroot pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null
is the cause of the problem. If LANG=nl_NL.UTF-8,
fakeroot pacman -Sy --dbpath "$CHECKUPDATES_DB"
returns:
getopt: ongeldige optie -- 'S'
getopt: ongeldige optie -- 'y'
getopt: onbekende optie '--dbpath'
fakeroot, create a fake root environment.
usage: fakeroot [-l|--lib fakerootlib] [-f|--faked fakedbin]
[-i file] [-s file] [-u|--unknown-is-real]
[-b|--fd-base fd] [-h|--help] [-v|--version]
[--] [command]
It could be considered as a bug in "fakeroot" which becomes visible if LANG=nl_NL.UTF-8, but simply adding "--" to the fakeroot line in checkupdates avoids this problem. So,
fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB"
works even if LANG=nl_NL.UTF-8.
herremaw commented on 2015-09-22 15:12 (UTC)
@Alad 2015-09-21
I am beginning to understand your comments.
I am thinking of replacing the "Resync Database" button with a button that would call "checkupdates" and display the result.
However, at the moment "checkupdates" does not seem to work on my system, neither when run as root, nor when run as normal user.
I will need some more time to understand why "checkupdates" does not seem to work.
Alad commented on 2015-09-21 23:39 (UTC)
Well, if you want to check for new versions, you can get the same effect by using fakeroot with a symlinked db, without leaving the system in an undefined state.
If you just want a "Resync" because you can do an -Sy with pacman, the drawbacks should at least be made clear.
herremaw commented on 2015-09-20 08:22 (UTC)
@Alad 2015-09-20
I don't quite understand your comment.
tkPacman does not run "pacman -Sy" for refreshing the package list. It runs "pacman --sync --search" for refreshing the list of available packages and "pacman --query --search" for refreshing the list of installed packages.
"pacman --sync --refresh" is only run when the user presses the "Resync Database" button.
Do you mean that I should remove the "Resync Database" button to protect the user against "partial updates"?
Alad commented on 2015-09-20 07:30 (UTC)
Please use a temporary directory to refresh the package list (similar to pacman's checkupdates) instead of running pacman -Sy.
https://wiki.archlinux.org/index.php/Pacman#Partial_upgrades_are_unsupported
http://gist.io/5660494
herremaw commented on 2015-07-22 15:00 (UTC)
Using 'sudo' in 'runasroot' option does not work anymore with version 1.8.14.p2-1 of 'sudo'.
Upgrading 'sudo' to version 1.8.14.p2-2 solves this problem.
Pinned Comments
herremaw commented on 2020-12-14 08:45 (UTC)
If you want to use tkPacman with Konsole as virtual terminal, you will have to change the tkPacman option "terminal" from
konsole -nofork -p tabtitle=%t -e %c
to
konsole --title %t -e %c
If I have to update tkPacman for some reason, I will also correct the command template for Konsole.