Comments (15)
I meant that "Proceed with installation? [Y/n]" should not be asked, as no packets have to be upgraded
from pikaur.
no, it's just indeed not implemented (yet) :-)
from pikaur.
But shouldn't there be a message like "Already up-to-date.", since no packets need an upgrade?
from pikaur.
that happens only if you choose m
, i will implement that in the next week or so
from pikaur.
weird, i've tried and seems to be fine, could you update to the latest version and try again?
$ ./pikaur.py -Syu --ignore pokemon-revolution-online-bin
:: Synchronizing package databases...
core is up to date
extra 1595.1 KiB 15.4M/s 00:00 [------------------------------------------] 100%
community 4.1 MiB 43.2M/s 00:00 [------------------------------------------] 100%
multilib is up to date
heftig is up to date
:: Starting full system upgrade...
Reading repository package databases.......................................................................................
:: Starting full AUR upgrade...
Reading local package database.............................................................................................
:: warning: Following packages can not be found in AUR:
awesome_config_actionless_meta
protoplug
scrot-patched
urbanterror-data
:: Already up-to-date.
from pikaur.
I tried with the newest version and problem persists, but I don't know how to debug it
from pikaur.
- double-check what version is at least 0.5+12
- to debug it you can print out the condition used to determine if prompt should be shown or not:
diff --git a/pikaur/main.py b/pikaur/main.py
index ae38688..a729243 100644
--- a/pikaur/main.py
+++ b/pikaur/main.py
@@ -89,6 +89,7 @@ def cli_upgrade_packages(args):
] + [
u.Name for u in aur_updates
]
+ print(all_upgradeable_package_names)
if all_upgradeable_package_names:
cli_install_packages(
args=args,
from pikaur.
I found the culprit. If packages are on the NoUpgrade list of pacman, than the check (line 92) does not ignore them.
In my case it is linux-lts which should be ignored by the check.
If I do 'pikaur -Syu --ignore linux-lts' it works as expected.
from pikaur.
https://www.archlinux.org/pacman/pacman.conf.5.html
NoUpgrade = file …
All files listed with a NoUpgrade directive will never be touched during a package install/upgrade, and the new files will be installed with a .pacnew extension. These files refer to files in the package archive, so do not include the leading slash (the RootDir) when specifying them. Shell-style glob patterns are allowed. It is possible to invert matches by prepending a file with an exclamation mark. Inverted files will result in previously blacklisted files being whitelisted again. Subsequent matches will override previous ones. A leading literal exclamation mark or backslash needs to be escaped.
from pikaur.
Is it possible to add the following?
diff --git a/pikaur/meta_package.py b/pikaur/meta_package.py
index d912d86..f201f16 100644
--- a/pikaur/meta_package.py
+++ b/pikaur/meta_package.py
@@ -33,7 +33,9 @@ def find_repo_updates():
repo_packages_updates = []
repo_pkgs_info = PackageDB.get_repo_dict()
for update in packages_updates_lines:
- pkg_name, current_version, _, new_version, *_ = update.split()
+ pkg_name, current_version, _, new_version, ignored, *_ = update.split()
+ if (ignored == "[ignored]"):
+ continue
pkg_info = repo_pkgs_info[pkg_name]
repo_packages_updates.append(
PackageUpdate(
This ignores packages that are ignored by pacman
from pikaur.
i think it will raise ValueError: not enough values to unpack
in a lot of cases
but i am still not able to reproduce your setup and problem, mb you could elaborate more on that part?
from pikaur.
This is how one can probably reproduce this:
- Find a packet from pacman that can be upgraded
- Specify it in "IgnorePkg" of pacman.conf (Made a mistake before, it is not "NoUpgrade")
- run "pikaur -Syu"
from pikaur.
could you try with this patch?
diff --git a/pikaur/install_cli.py b/pikaur/install_cli.py
index f7e09b1..0d52e69 100644
--- a/pikaur/install_cli.py
+++ b/pikaur/install_cli.py
@@ -90,7 +90,9 @@ class InstallPackagesCLI():
self.args = args
packages = packages or args.positional
+ print(packages)
exclude_ignored_packages(packages, args)
+ print(packages)
self.find_packages(packages)
if not args.noconfirm:
and show the output
from pikaur.
./pikaur.py -Syu
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
blackarch is up to date
:: Starting full system upgrade...
Reading repository package databases............................................................
:: Starting full AUR upgrade...
Reading local package database..................................................................
['linux-lts']
[]
resolving dependencies...
:: Proceed with installation? [Y/n]
:: [v]iew package detail [m]anually select packages
from pikaur.
thank you for your patience while debugging!
from pikaur.
Related Issues (20)
- python update breaks pikaur HOT 8
- new version Pikaur v1.20 asks for root for operations that didn't ask before HOT 1
- pikaur build fails due to missing python module "build" HOT 1
- `pikaur -P` to warn if running from within the pikaur build directory
- remember that I checked files when build fails
- Request: Option to add git safe.directory exception HOT 1
- pikaur 1.21 is broken on Manjaro aarch64 HOT 1
- XDG variables / config-settings confusion HOT 2
- After the latest update in Manjaro-rpi4, Pikaur stopped working HOT 1
- zsh completion not working HOT 2
- systemd version check error
- rc version of systemd breaks pikaur
- Systemd check dynamic version code breaks with rc release HOT 2
- Change warning for base-devel if doas is used instead of sudo HOT 5
- pikaur failed to build duckstation-git HOT 13
- Unhelpful error message HOT 5
- "Read damn arch-wiki before borking your computer"
- How to disable warning HOT 2
- you guys are dicks HOT 3
- Error message "Read damn arch-wiki before borking your computer" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pikaur.