actionless / pikaur

AUR helper with minimal dependencies. Review PKGBUILDs all in once, next build them all without user interaction.
GNU General Public License v3.0
866 stars 87 forks source link

Package replacement being installed without confirmation #92

Closed actionless closed 6 years ago

actionless commented 6 years ago

https://github.com/actionless/pikaur/issues/81#issuecomment-376665307

cc @AlexWayfer

actionless commented 6 years ago

@AlexWayfer

now it seems to be fine for me:

$ sudo pacman -U /var/cache/pacman/pkg/gnome-tweak-tool-3.26.4-1-any.pkg.tar.xz
loading packages...
warning: gnome-tweak-tool-3.26.4-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)       Old Version  New Version  Net Change

gnome-tweak-tool  3.26.4-1     3.26.4-1       0.00 MiB

Total Installed Size:  1.10 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                       [######################################] 100%
(1/1) checking package integrity                                     [######################################] 100%
(1/1) loading package files                                          [######################################] 100%
(1/1) checking for file conflicts                                    [######################################] 100%
(1/1) checking available disk space                                  [######################################] 100%
:: Processing package changes...
(1/1) reinstalling gnome-tweak-tool                                  [######################################] 100%
:: Running post-transaction hooks...
(1/3) Updating icon theme caches...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Updating the desktop file MIME type cache...

 ퟼  lie  /home/lie/projects/pikaur  master (0/4)  ퟽
$ ./pikaur.py -Su
:: Starting full system upgrade...
:: Starting full AUR upgrade...
Reading local package database...
Reading repository package databases...
Reading AUR packages info...
:: warning: Following packages cannot be found in AUR:
    awesome_config_actionless_meta
    gnome-tweak-tool
    protoplug
    robomongo-bin
    scrot-patched
    urbanterror-data

:: Repository packages will be installed:
 firefox-developer-edition             60.0b6-1            -> 60.0b7-1
 pygobject-devel                       3.28.1-1            -> 3.28.2-1
 python-gobject                        3.28.1-1            -> 3.28.2-1
 python2-gobject                       3.28.1-1            -> 3.28.2-1

:: Proceed with installation? [Y/n]
:: [v]iew package detail   [m]anually select packages
>>
looking for conflicting packages...
:: Starting full system upgrade...
:: Replace gnome-tweak-tool with extra/gnome-tweaks? [Y/n]
----------(here it waits for the answer)
AlexWayfer commented 6 years ago

OK, it's good.

I'm trying…

Oh, it stuck in step before it (I think because of -y flag, but it's my use-case, and it can be another bug):

$ pikaur -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full AUR upgrade...
Reading local package database...
Reading repository package databases...
Reading AUR packages info...

Oh, no, it's done. Execution was lasted about 3 minutes… My internet channel is good.

AlexWayfer commented 6 years ago

Oh, it stuck in step before it (I think because of -y flag, but it's my use-case, and it can be another bug Oh, no, it's done. Execution was lasted about 3 minutes… My internet channel is good.

No. As I can see, my internet connection is bad at this moment, sorry.

I think you can close this issue.

actionless commented 6 years ago

thanks for testing!