Closed mhjessen closed 4 months ago
I can confirm that there seems to be something wrong with the package in the PPA:
# add-apt-repository ppa:zhangsongcui3371/fastfetch
# apt update
# apt install fastfetch
# whereis fastfetch
fastfetch: /usr/bin/fastfetch
# fastfetch -v
fastfetch 2.9.2 (x86_64)
# apt list --installed | grep fastfetch
(...)
fastfetch/jammy,now 2.10.2 amd64 [installed]
^^^^^^
I am not seeing the same issue on Debian where I just grabbed the deb-file followed by apt install ./file.deb
, it matches the version stated by the release here on github:
$ fastfetch -v
fastfetch 2.11.3 (x86_64)
So as a workaround I'd suggest not using the PPA and instead run apt
on the deb file directly, but to fix the issue perhaps a ping to @CarterLi is warranted since he seems to handle the PPA.
Currently I have no access to the machine that I used to handle the PPA. I will check it tomorrow.
Thanks for the recommendation @lgrn! I downloaded the 2.11.3 .deb, checked the SHA256 hash, and installed it without issue. That gave me an excuse to experiment with a few more modules. ;) As for the version information. It's all aligned now. Sorry about closing this. I can't find a way to just add a comment.
$ fastfetch -v fastfetch 2.11.3 (x86_64)
$ dpkg -s fastfetch Package: fastfetch Status: install ok installed Priority: optional Section: devel Installed-Size: 20929 Maintainer: Linus Dierheimer Linus@Dierheimer.de Architecture: amd64 Version: 2.11.3 Depends: libc6 Description: Fast neofetch-like system information tool fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way. It is written mostly in C to achieve much better performance. Homepage: https://github.com/fastfetch-cli/fastfetch
$ apt-cache policy fastfetch fastfetch: Installed: 2.11.3 Candidate: 2.11.3 Version table: *** 2.11.3 100 100 /var/lib/dpkg/status 2.10.2 500 500 https://ppa.launchpadcontent.net/zhangsongcui3371/fastfetch/ubuntu jammy/main amd64 Packages
Source code for version 2.10.2 on launchpad (https://launchpad.net/~zhangsongcui3371/+archive/ubuntu/fastfetch/+sourcefiles/fastfetch/2.10.2/fastfetch_2.10.2.tar.gz) is actually source code for 2.9.2 (https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/2.9.2.tar.gz). Diff between those sources shows this:
diff --git a/fastfetch-2.9.2/.gitattributes b/fastfetch-2.9.2/.gitattributes
new file mode 100644
index 0000000..2a442b7
--- /dev/null
+++ b/fastfetch-2.9.2/.gitattributes
@@ -0,0 +1,2 @@
+*.h linguist-language=c
+*.c linguist-language=c
diff --git a/fastfetch-2.9.2/.gitignore b/fastfetch-2.9.2/.gitignore
new file mode 100644
index 0000000..9af64d1
--- /dev/null
+++ b/fastfetch-2.9.2/.gitignore
@@ -0,0 +1,10 @@
+build/
+.vs/
+.vscode/
+.cache/
+.kdev4/
+.DS_Store
+cscope.*
+tags
+fastfetch.kdev4
+*.user
diff --git a/fastfetch/README.md b/fastfetch-2.9.2/README.md
index cc40b2e..ea6199e 100644
--- a/fastfetch/README.md
+++ b/fastfetch-2.9.2/README.md
@@ -27,11 +27,11 @@ There are [screenshots on different platforms](https://github.com/fastfetch-cli/
### Linux
-Some distros packaged an outdated fastfetch version. Older version is not supported, please always ensure that the latest version is used.
+Some distros packaged a outdated fastfetch version. Older version is not supported, please always ensure that the latest version is used.
* Ubuntu: [`ppa:zhangsongcui3371/fastfetch`](https://launchpad.net/~zhangsongcui3371/+archive/ubuntu/fastfetch) (for Ubuntu 22.04 or above)
* Debian / Ubuntu: Download `fastfetch-<version>-Linux.deb` from [Github release page](https://github.com/fastfetch-cli/fastfetch/releases/latest) and `dpkg -i fastfetch-<version>-Linux.deb` (for Ubuntu 22.04 or above and Debian 12 or above).
-* Arch Linux: `sudo pacman -S fastfetch`
+* Arch Linux: `sudo pacman -S fastfetch`. You can also find fastfetch [on the AUR](https://aur.archlinux.org/packages/fastfetch-git).
* Fedora: `sudo dnf install fastfetch`
* Gentoo: `sudo emerge --ask app-misc/fastfetch`
* Alpine: `apk add --upgrade fastfetch`
@@ -41,9 +41,7 @@ Some distros packaged an outdated fastfetch version. Older version is not suppor
Replace sudo with doas depending on what you use.
-[See also if fastfetch has been packaged for your favorite Linux distro](#Packaging).
-
-If fastfetch is not packaged for your distro or an outdated version is packaged, [linuxbrew](https://brew.sh/) is a good alternate: `brew install fastfetch`
+[See also if fastfetch has been packaged for your favorite Linux distro](#Packaging)
### macOS
diff --git a/fastfetch/debian/changelog b/fastfetch-2.9.2/debian/changelog
index 9bbe82d..6c56075 100644
--- a/fastfetch/debian/changelog
+++ b/fastfetch-2.9.2/debian/changelog
@@ -1,27 +1,3 @@
-fastfetch (2.10.2) jammy; urgency=medium
-
- * Update to 2.10.2
-
- -- Carter Li <zhangsongcui@live.cn> Tue, 23 Apr 2024 15:18:23 +0800
-
-fastfetch (2.10.1) jammy; urgency=medium
-
- * Update to 2.10.1
-
- -- Carter Li <zhangsongcui@live.cn> Tue, 23 Apr 2024 09:55:02 +0800
-
-fastfetch (2.9.2) jammy; urgency=medium
-
- * Update to 2.9.2
-
- -- Carter Li <zhangsongcui@live.cn> Tue, 16 Apr 2024 16:32:40 +0800
-
-fastfetch (2.9.1) jammy; urgency=medium
-
- * Update to 2.9.1
-
- -- Carter Li <zhangsongcui@live.cn> Mon, 08 Apr 2024 09:34:30 +0800
-
fastfetch (2.8.10) jammy; urgency=medium
* Update to 2.8.10
diff --git a/fastfetch-2.9.2/debian/files b/fastfetch-2.9.2/debian/files
new file mode 100644
index 0000000..655eaef
--- /dev/null
+++ b/fastfetch-2.9.2/debian/files
@@ -0,0 +1 @@
+fastfetch_2.8.10_source.buildinfo universe/utils optional
Fastfetch 2.11.3 has been uploaded to PPA
General description of bug:
Often helpful information:
Screenshot:
![image](https://github.com/fastfetch-cli/fastfetch/assets/2256606/371f5e3c-d1ca-4074-942f-0008451ec98e) The content of the configuration file you use (if any): N/A ``` //paste here ``` Output of `fastfetch -c ci.jsonc --format json`:Output of
fastfetch --list-features
:If fastfatch crashed or freezed
N/A
Paste the stacktrace here. You may get it with:
If you are able to identify which module crashed, the strace can be helpful too
If you cannot do the instructions above, please upload the core dump file:
If fastfetch is slow
N/A
Use
time fastfetch --stat
to show time usage for each module.If my image logo didn't show / work
N/A
--logo-width {WIDTH} --logo-height {HEIGHT}
?If fastfetch behaves incorrectly on shell starting
N/A
fastfetch
is the single line of.zshrc
or~/.config/fish/config.fish
): N/Asleep 1
before runningfastfetch
work? N/A