You are not logged in.
Hi, I have problems with some packages to init it. For example, when I execute screenfetch, then I get the following error: screenfetch/usr/bin/screenfetch:338: parse error near `('
And when I want to downgrade a package...
sudo downgrade wpa_supplicant
downgrade[sudo] password for carlos:
/usr/bin/downgrade:146: bad math expression: operand expected at `"1" '
Available packages:
1) wpa_supplicant-1:2.6-1-x86_64.pkg.tar.xz (remote)
2) wpa_supplicant-1:2.6-1-x86_64.pkg.tar.xz (local)
3) wpa_supplicant-1:2.5-3-x86_64.pkg.tar.xz (remote)
4) wpa_supplicant-1:2.5-2-x86_64.pkg.tar.xz (remote)
5) wpa_supplicant-1:2.5-1-x86_64.pkg.tar.xz (remote)
6) wpa_supplicant-1:2.3-1-x86_64.pkg.tar.xz (remote)
7) wpa_supplicant-2.4-1-x86_64.pkg.tar.xz (remote)
8) wpa_supplicant-2.3-1-x86_64.pkg.tar.xz (remote)
9) wpa_supplicant-2.2-2-x86_64.pkg.tar.xz (remote)
10) wpa_supplicant-2.1-3-x86_64.pkg.tar.xz (remote)
11) wpa_supplicant-2.1-2-x86_64.pkg.tar.xz (remote)
12) wpa_supplicant-2.1-1-x86_64.pkg.tar.xz (remote)
13) wpa_supplicant-2.0-4-x86_64.pkg.tar.xz (remote)
select a package by number:
I am using zsh with the default configuration
Mod note: Changed topic title from "Error with some packages" -- WorMzy
Last edited by WorMzy (2016-10-24 21:20:39)
Offline
Please change your title to actually describe your problem. e.g. "bash scripts giving parse/math errors".
https://wiki.archlinux.org/index.php/Co … ow_to_post
Please also post the output of
pacman -Qkk bash coreutils
stat /usr/bin/env /usr/bin/bash
type env bash
Last edited by WorMzy (2016-10-24 15:46:07)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Okay, it's clear now!
I had done a symbolic link from zsh to bash, so bash was not detected.
Offline
Great. Please also add "solved" to the topic title when you edit it.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline