aurutils / aurutils

Helper tools for the AUR.
ISC License
954 stars 89 forks source link

Several updates but only shows the difference of one package. #791

Closed simonbcn closed 4 years ago

simonbcn commented 4 years ago
Arch Linux
aur version 3.1.2

I've executed aur sync -u --nover and this is the file list showed: ksnip_20201110-141945

There were 2 packages to upgrade: google-chrome and plex-media-server-plexpass but it only shows the .diff file of google-chrome.

The complete output:

==> Using [aur] repository
==> Retrieving package files
POST git-upload-pack (972 bytes)
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 1 (delta 0), pack-reused 0
Desempaquetando objetos: 100% (4/4), 874 bytes | 874.00 KiB/s, listo.
Desde https://aur.archlinux.org/plex-media-server-plexpass
56de6b5..0219d9a  master     -> origin/master
HEAD está ahora en 0219d9a Update to v1.20.5.3551.
POST git-upload-pack (972 bytes)
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 1 (delta 0), pack-reused 0
Desempaquetando objetos: 100% (4/4), 593 bytes | 593.00 KiB/s, listo.
Desde https://aur.archlinux.org/google-chrome
5cc7e0f..9f05aeb  master     -> origin/master
HEAD está ahora en 9f05aeb google-chrome-stable v86.0.4240.193
Running makepkg --syncdeps --clean
==> Creando el paquete: plex-media-server-plexpass 1.20.5.3551-1 (mar 10 nov 2020 14:20:57)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
-> plexmediaserver.conf.d ha sido encontrado 
-> plexmediaserver.service ha sido encontrado 
-> plexmediaserver.hook ha sido encontrado 
-> plex.sysusers ha sido encontrado 
-> plex.tmpfiles ha sido encontrado 
-> terms.txt ha sido encontrado 
-> Descargando plexmediaserver-1.20.5.3551-95465c7cd.x86_64.rpm...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  106M  100  106M    0     0  24.2M      0  0:00:04  0:00:04 --:--:-- 25.4M
==> Validando los archivos source con sha256sums...
plexmediaserver.conf.d ... Aprobado
plexmediaserver.service ... Aprobado
plexmediaserver.hook ... Aprobado
plex.sysusers ... Aprobado
plex.tmpfiles ... Aprobado
terms.txt ... Aprobado
==> Validando los archivos source_x86_64 con sha256sums...
plexmediaserver-1.20.5.3551-95465c7cd.x86_64.rpm ... Aprobado
==> Extrayendo las fuentes...
-> Extrayendo plexmediaserver-1.20.5.3551-95465c7cd.x86_64.rpm con bsdtar
==> Iniciando prepare()...
==> Entrando en entorno fakeroot...
==> Iniciando package()...
==> Depurando la instalación...
-> Quitando los directorios vacíos...
-> Quitando los archivos libtool...
-> Purgando los archivos innecesarios...
-> Comprimiendo las páginas del manual y de información...
==> Buscando problemas de empaquetado...
==> Creando el paquete «plex-media-server-plexpass»...
-> Generando el archivo .PKGINFO...
-> Generando el archivo .BUILDINFO...
-> Añadiendo el archivo install...
-> Generando el archivo .MTREE...
-> Comprimiendo el paquete...
==> Abandonando el entorno fakeroot.
==> Compilación terminada: plex-media-server-plexpass 1.20.5.3551-1 (mar 10 nov 2020 14:21:09)
==> Limpiando...
==> Extracting aur.db.tar to a temporary location...
==> Extracting aur.files.tar to a temporary location...
==> Adding package 'plex-media-server-plexpass-1.20.5.3551-1-x86_64.pkg.tar.zst'
-> Computing checksums...
-> Removing existing entry 'plex-media-server-plexpass-1.20.4.3517-1'...
-> Creating 'desc' db entry...
-> Creating 'files' db entry...
==> Creating updated database file '/var/cache/pacman/aur/aur.db.tar'
:: Sincronizando las bases de datos de los paquetes...
aur                                                                                              570,5 KiB   557 MiB/s 00:00 [----------------------------------------------------------------------------] 100%
:: Sincronizando las bases de datos de los paquetes...
aur                                                                                              101,0 KiB  0,00   B/s 00:00 [----------------------------------------------------------------------------] 100%
:: Iniciando actualización completa del sistema...
resolviendo dependencias...
buscando conflictos entre paquetes...

Paquete (1)                     Versión antigua  Versión nueva  Diferencia neta

aur/plex-media-server-plexpass  1.20.4.3517-1    1.20.5.3551-1         2,00 MiB

Tamaño total de la instalación:  232,16 MiB
Tamaño neto tras actualizar:      2,00 MiB

:: ¿Continuar con la instalación? [S/n] 
(1/1) comprobando las claves del depósito                                                                                     [----------------------------------------------------------------------------] 100%
(1/1) verificando la integridad de los paquetes                                                                               [----------------------------------------------------------------------------] 100%
(1/1) cargando los archivos de los paquetes                                                                                   [----------------------------------------------------------------------------] 100%
(1/1) comprobando conflictos entre archivos                                                                                   [----------------------------------------------------------------------------] 100%
(1/1) comprobando el espacio disponible en el disco                                                                           [----------------------------------------------------------------------------] 100%
:: Procesando los cambios de los paquetes...
(1/1) actualizando plex-media-server-plexpass                                                                                 [----------------------------------------------------------------------------] 100%
:: Ejecutando los «hooks» de posinstalación...
(1/5) Creating system user accounts...
(2/5) Reloading system manager configuration...
(3/5) Creating temporary files...
(4/5) Arming ConditionNeedsUpdate...
(5/5) plexmediaserver.hook
Running makepkg --syncdeps --clean
==> Creando el paquete: google-chrome 86.0.4240.193-1 (mar 10 nov 2020 14:21:12)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
-> Descargando google-chrome-stable_86.0.4240.193-1_amd64.deb...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 67.8M  100 67.8M    0     0  27.9M      0  0:00:02  0:00:02 --:--:-- 27.9M
-> eula_text.html ha sido encontrado 
-> google-chrome-stable.sh ha sido encontrado 
==> Validando los archivos source con sha512sums...
google-chrome-stable_86.0.4240.193-1_amd64.deb ... Aprobado
eula_text.html ... Aprobado
google-chrome-stable.sh ... Aprobado
==> Extrayendo las fuentes...
-> Extrayendo google-chrome-stable_86.0.4240.193-1_amd64.deb con bsdtar
==> Entrando en entorno fakeroot...
==> Iniciando package()...
-> Extracting the data.tar.xz...
-> Moving stuff in place...
-> Fixing Chrome icon resolution...
-> Removing Debian Cron job and duplicate product logos...
==> Depurando la instalación...
-> Quitando los directorios vacíos...
-> Quitando los archivos libtool...
-> Purgando los archivos innecesarios...
-> Quitando los archivos de las bibliotecas estáticas...
-> Comprimiendo las páginas del manual y de información...
==> Buscando problemas de empaquetado...
==> Creando el paquete «google-chrome»...
-> Generando el archivo .PKGINFO...
-> Generando el archivo .BUILDINFO...
-> Añadiendo el archivo install...
-> Generando el archivo .MTREE...
-> Comprimiendo el paquete...
==> Abandonando el entorno fakeroot.
==> Compilación terminada: google-chrome 86.0.4240.193-1 (mar 10 nov 2020 14:21:21)
==> Limpiando...
==> Extracting aur.db.tar to a temporary location...
==> Extracting aur.files.tar to a temporary location...
==> Adding package 'google-chrome-86.0.4240.193-1-x86_64.pkg.tar.zst'
-> Computing checksums...
-> Removing existing entry 'google-chrome-86.0.4240.183-1'...
-> Creating 'desc' db entry...
-> Creating 'files' db entry...
==> Creating updated database file '/var/cache/pacman/aur/aur.db.tar'
:: Sincronizando las bases de datos de los paquetes...
aur                                                                                              570,5 KiB   557 MiB/s 00:00 [----------------------------------------------------------------------------] 100%
:: Sincronizando las bases de datos de los paquetes...
aur                                                                                              101,0 KiB  98,6 MiB/s 00:00 [----------------------------------------------------------------------------] 100%
:: Iniciando actualización completa del sistema...
resolviendo dependencias...
buscando conflictos entre paquetes...

Paquete (1)        Versión antigua  Versión nueva   Diferencia neta

aur/google-chrome  86.0.4240.183-1  86.0.4240.193-1         0,07 MiB

Tamaño total de la instalación:  228,04 MiB
Tamaño neto tras actualizar:      0,07 MiB

:: ¿Continuar con la instalación? [S/n]
(1/1) comprobando las claves del depósito                                                                                     [----------------------------------------------------------------------------] 100%
(1/1) verificando la integridad de los paquetes                                                                               [----------------------------------------------------------------------------] 100%
(1/1) cargando los archivos de los paquetes                                                                                   [----------------------------------------------------------------------------] 100%
(1/1) comprobando conflictos entre archivos                                                                                   [----------------------------------------------------------------------------] 100%
(1/1) comprobando el espacio disponible en el disco                                                                           [----------------------------------------------------------------------------] 100%
:: Procesando los cambios de los paquetes...
(1/1) actualizando google-chrome                                                                                              [----------------------------------------------------------------------------] 100%
==> NOTE: Custom flags should be put directly in: ~/.config/chrome-flags.conf
==> NOTE: The launcher is called: 'google-chrome-stable'
:: Ejecutando los «hooks» de posinstalación...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
AladW commented 4 years ago

I have no information to use from here. Please do as instructed on the issue template and add an AUR_DEBUG=1 log.

AladW commented 4 years ago

On second thought, I never mentioned how to populate the "seen" commits when updating from aurutils 2.3. If a package has no such commit (in XDG_DATA_HOME/aurutils/view/<package>) then no diff would be displayed, even if git pulled in new changes.

simonbcn commented 4 years ago

I have no information to use from here. Please do as instructed on the issue template and add an AUR_DEBUG=1 log.

I had already updated so I could not run it again with AUR_DEBUG=1. From now on I will run it with that flag until I can get an output.

On second thought, I never mentioned how to populate the "seen" commits when updating from aurutils 2.3. If a package has no such commit (in XDG_DATA_HOME/aurutils/view/<package>) then no diff would be displayed, even if git pulled in new changes.

This is the content of that folder. There are files for both packages:

$ ls -l .local/share/aurutils/view
total 3
-rw-r--r-- 1 juan juan 41 nov  9 20:49 advcp
-rw-r--r-- 1 juan juan 41 nov  9 20:41 aurutils
-rw-r--r-- 1 juan juan 41 nov  9 20:24 fclones-git
-rw-r--r-- 1 juan juan 41 nov 10 14:20 google-chrome
-rw-r--r-- 1 juan juan 41 nov 10 14:20 plex-media-server-plexpass
simonbcn commented 4 years ago

In the template of a new error put this command: AUR_DEBUG=1 aur <name> <arguments> >aurutils.log but it does not work, I have to add & symbol: AUR_DEBUG=1 aur sync -u --nover &>/tmp/aurupgrade.log

AladW commented 4 years ago

Yes, after the aur-sync run above there would be a file for plex-media-server; most likely, there was none before you ran the command.

On 11/11/2020 21:25, Simón wrote:

I have no information to use from here. Please do as instructed on
the issue template and add an |AUR_DEBUG=1| log.

I had already updated so I could not run it again with |AUR_DEBUG=1|. From now on I will run it with that flag until I can get an output.

On second thought, I never mentioned how to populate the "seen"
commits when updating from aurutils 2.3. If a package has no such
commit (in |XDG_DATA_HOME/aurutils/view/<package>|) then no diff
would be displayed, even if |git| pulled in new changes.

This is the content of that folder. There are files for both packages:

|$ ls -l .local/share/aurutils/view total 3 -rw-r--r-- 1 juan juan 41 nov 9 20:49 advcp -rw-r--r-- 1 juan juan 41 nov 9 20:41 aurutils -rw-r--r-- 1 juan juan 41 nov 9 20:24 fclones-git -rw-r--r-- 1 juan juan 41 nov 10 14:20 google-chrome -rw-r--r-- 1 juan juan 41 nov 10 14:20 plex-media-server-plexpass |

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AladW/aurutils/issues/791#issuecomment-725643172, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKASJHO6D3FXXKVZW6Y2OLSPLXLDANCNFSM4TQVF2CQ.

AladW commented 4 years ago

I'll update that, thanks.

Also it might help to compare the directory contents you've posted to whatever packages your local repository contains. (There may be some more packages in there without seen commits in XDG_DATA_HOME/aurutils/view).

You can use aur sync -o --rebuild-all to have a seen commit for every package, or run a script like the following:

!/bin/bash

cd "${AURDEST:-~/.cache/aurutils/sync}" aur repo --table | cut -f3 | sort -u | while IFS= read -r pkgbase; do   if [[ ! -d $pkgbase ]]; then     git clone "https://aur.archlinux.org/$pkgbase.git" "$pkgbase"   elif [[ -d $pkgbase/.git ]]; then     env -C "$pkgbase" git rev-parse HEAD > "${XDG_DATA_HOME:-~/.local/share}/aurutils/view/$pkgbase"   else     printf >&2 'directory %s is not a git repository\n' "$pkgbase"   fi done

On 11/11/2020 21:31, Simón wrote:

In the template of a new error put this command: |AUR_DEBUG=1 aur

>aurutils.log| but it does not work, I have to add |&| symbol: |AUR_DEBUG=1 aur sync -u --nover &>/tmp/aurupgrade.log| — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or unsubscribe .
simonbcn commented 4 years ago

I have executed aur sync -o --rebuild-all:

aur sync -o --rebuild-all
==> Using [aur] repository
==> Retrieving package files
Desde https://aur.archlinux.org/sphinxbase
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/kcolorpicker
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/pocketsphinx
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/ruby-clocale
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/ruby-filesize
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/python-ffmpeg
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/python-srt
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/python-webrtcvad
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/python-pysubs2
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/kimageannotator
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/wikiman
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/virtualbox-ext-oracle
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/ttf-twemoji-color
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/ttf-ms-fonts
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/subtitlecomposer
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/smartdns-git
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/sbkeys
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/ruby-colorls
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/python-subsync
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/python-discogs-client
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/powerline-console-fonts-git
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/plex-media-server-plexpass
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/plasma5-applets-eventcalendar
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/phantomjs
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/pacman-mirrorup
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/otf-nerd-fonts-monacob-mono
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/ookla-speedtest-bin
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/navi
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/mediainfo-gui-qt
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/masterpdfeditor
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/makemkv
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/libgmpris
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/lfs
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/ksnip
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/kindd
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/jdownloader2
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/imgur.sh
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/hastebin
= [actualizado]     master     -> origin/master
Desde https://aur.archlinux.org/gsfonts-emojiless
= [actualizado]     master     -> origin/master
POST git-upload-pack (972 bytes)
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 1 (delta 0), pack-reused 0
Desempaquetando objetos: 100% (4/4), 588 bytes | 588.00 KiB/s, listo.
Desde https://aur.archlinux.org/google-chrome
9f05aeb..b015811  master     -> origin/master
HEAD está ahora en b015811 google-chrome-stable v86.0.4240.198
Desde https://aur.archlinux.org/glabels-qt-git
= [actualizado]     master     -> origin/master
HEAD está ahora en 90e7aaa Update to latest Git version
Desde https://aur.archlinux.org/find-the-command
= [actualizado]     master     -> origin/master
HEAD está ahora en d019b51 Merge branch 'master' of ssh://aur.archlinux.org/find-the-command
Desde https://aur.archlinux.org/fclones-git
= [actualizado]     master     -> origin/master
HEAD está ahora en fbc48b7 Added LICENCE
Desde https://aur.archlinux.org/dupeguru
= [actualizado]     master     -> origin/master
HEAD está ahora en 77b6190 fix hsaudiotag3k version matching for post-release
Desde https://aur.archlinux.org/cht.sh-git
= [actualizado]     master     -> origin/master
HEAD está ahora en 1509a99 upgpkg: cht.sh-git r586.c4c3a62-2
Desde https://aur.archlinux.org/cheat-bin
= [actualizado]     master     -> origin/master
HEAD está ahora en 813ce00 4.1.0-1
Desde https://aur.archlinux.org/aurutils
= [actualizado]     master     -> origin/master
HEAD está ahora en a03e794 upgpkg: aurutils 3.1.2-1
Desde https://aur.archlinux.org/arch-sign-modules
= [actualizado]     master     -> origin/master
HEAD está ahora en 4131b36 add kernel compilation time
Desde https://aur.archlinux.org/anti-ad-smartdns-git
= [actualizado]     master     -> origin/master
HEAD está ahora en 2217879 initial commit
Desde https://aur.archlinux.org/advcp
= [actualizado]     master     -> origin/master
HEAD está ahora en 60f37f4 advcp: update pkgrel
Desde https://aur.archlinux.org/adduser-deb
= [actualizado]     master     -> origin/master
HEAD está ahora en f7fbb30 Add adduser-deb again...
/home/juan/.cache/aurutils/sync/sphinxbase
/home/juan/.cache/aurutils/sync/kcolorpicker
/home/juan/.cache/aurutils/sync/pocketsphinx
/home/juan/.cache/aurutils/sync/ruby-clocale
/home/juan/.cache/aurutils/sync/ruby-filesize
/home/juan/.cache/aurutils/sync/python-ffmpeg
/home/juan/.cache/aurutils/sync/python-srt
/home/juan/.cache/aurutils/sync/python-webrtcvad
/home/juan/.cache/aurutils/sync/python-pysubs2
/home/juan/.cache/aurutils/sync/kimageannotator
/home/juan/.cache/aurutils/sync/wikiman
/home/juan/.cache/aurutils/sync/virtualbox-ext-oracle
/home/juan/.cache/aurutils/sync/ttf-twemoji-color
/home/juan/.cache/aurutils/sync/ttf-ms-fonts
/home/juan/.cache/aurutils/sync/subtitlecomposer
/home/juan/.cache/aurutils/sync/smartdns-git
/home/juan/.cache/aurutils/sync/sbkeys
/home/juan/.cache/aurutils/sync/ruby-colorls
/home/juan/.cache/aurutils/sync/python-subsync
/home/juan/.cache/aurutils/sync/python-discogs-client
/home/juan/.cache/aurutils/sync/powerline-console-fonts-git
/home/juan/.cache/aurutils/sync/plex-media-server-plexpass
/home/juan/.cache/aurutils/sync/plasma5-applets-eventcalendar
/home/juan/.cache/aurutils/sync/phantomjs
/home/juan/.cache/aurutils/sync/pacman-mirrorup
/home/juan/.cache/aurutils/sync/otf-nerd-fonts-monacob-mono
/home/juan/.cache/aurutils/sync/ookla-speedtest-bin
/home/juan/.cache/aurutils/sync/navi
/home/juan/.cache/aurutils/sync/mediainfo-gui-qt
/home/juan/.cache/aurutils/sync/masterpdfeditor
/home/juan/.cache/aurutils/sync/makemkv
/home/juan/.cache/aurutils/sync/libgmpris
/home/juan/.cache/aurutils/sync/lfs
/home/juan/.cache/aurutils/sync/ksnip
/home/juan/.cache/aurutils/sync/kindd
/home/juan/.cache/aurutils/sync/jdownloader2
/home/juan/.cache/aurutils/sync/imgur.sh
/home/juan/.cache/aurutils/sync/hastebin
/home/juan/.cache/aurutils/sync/gsfonts-emojiless
/home/juan/.cache/aurutils/sync/google-chrome
/home/juan/.cache/aurutils/sync/glabels-qt-git
/home/juan/.cache/aurutils/sync/find-the-command
/home/juan/.cache/aurutils/sync/fclones-git
/home/juan/.cache/aurutils/sync/dupeguru
/home/juan/.cache/aurutils/sync/cht.sh-git
/home/juan/.cache/aurutils/sync/cheat-bin
/home/juan/.cache/aurutils/sync/aurutils
/home/juan/.cache/aurutils/sync/arch-sign-modules
/home/juan/.cache/aurutils/sync/anti-ad-smartdns-git
/home/juan/.cache/aurutils/sync/advcp
/home/juan/.cache/aurutils/sync/adduser-deb

I suppose now the view folder has all files to show the diffs:

$ ls .local/share/aurutils/view
adduser-deb           cht.sh-git        gsfonts-emojiless  kindd            mediainfo-gui-qt             plasma5-applets-eventcalendar  python-pysubs2    ruby-filesize     ttf-twemoji-color
advcp                 dupeguru          hastebin           ksnip            navi                         plex-media-server-plexpass     python-srt        sbkeys            virtualbox-ext-oracle
anti-ad-smartdns-git  fclones-git       imgur.sh           lfs              ookla-speedtest-bin          pocketsphinx                   python-subsync    smartdns-git      wikiman
arch-sign-modules     find-the-command  jdownloader2       libgmpris        otf-nerd-fonts-monacob-mono  powerline-console-fonts-git    python-webrtcvad  sphinxbase
aurutils              glabels-qt-git    kcolorpicker       makemkv          pacman-mirrorup              python-discogs-client          ruby-clocale      subtitlecomposer
cheat-bin             google-chrome     kimageannotator    masterpdfeditor  phantomjs                    python-ffmpeg                  ruby-colorls      ttf-ms-fonts
simonbcn commented 4 years ago

If I remove a package from my system and from my local repo:

repo-remove /var/cache/pacman/aur/aur.db.tar $@
sudo pacman -Rnsc $@
sudo paccache -r

The file remains in ~/.local/share/aurutils/view. Shouldn't it also be deleted? I think that this should be managed directly by aurutils with a single command that allows to remove all traces of an uninstalled AUR package from the system.

AladW commented 4 years ago

No. One of the main points of a local repository is that you can have packages in there that are not installed to the system.

On 12/11/2020 11:02, Simón wrote:

If I remove a package from my system and from my local repo:

|repo-remove /var/cache/pacman/aur/aur.db.tar $@ sudo pacman -Rnsc $@ sudo paccache -r |

The file remains in |~/.local/share/aurutils/view|. Shouldn't it also be deleted? I think that this should be managed directly by |aurutils| with a single command that allows to remove all traces of an uninstalled AUR package from the system.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AladW/aurutils/issues/791#issuecomment-725975591, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKASJGYJYTVQTROE4PIQL3SPOXDJANCNFSM4TQVF2CQ.

AladW commented 4 years ago

Updated my blog entry, I'll add something to man aur-sync later.

simonbcn commented 4 years ago

No. One of the main points of a local repository is that you can have packages in there that are not installed to the system.

But if I delete it from local repository, does it make sense for that file to remain there (~/.local/share/aurutils/view)? I don't see the point of maintaining an uninstalled package by updating to the repository. I think that on the one hand I can simply uninstall a package with pacman -R but I should also be able to erase all trace of an AUR package on my system.

maximbaz commented 4 years ago

But if I delete it from local repository, does it make sense for that file to remain there (~/.local/share/aurutils/view)?

Yes, the point is that if you decide to reinstall the package, you will get a diff to review of only the new stuff comparing to what you have reviewed last time. It also opens up various other possibilities, maybe you rsync that folder between several computers, so that you don't re-review exact same diffs again and again.

but I should also be able to erase all trace of an AUR package on my system.

You are able to erase that information if you don't need it, just remove that file 😉 Besides, this file does not belong to the AUR package, it's aurutils' own cache.