Error detecting current distribution: Unknown Linux Distribution

I ran topgrade twice in a row to see if “Error detecting current distribution: Unknown Linux Distribution” was just a one off, and looks like it’s not. I had has just run it not even an hour earlier without issue. Anyone have any idea what migh be causing this? thanks

Garuda Linux 5.8.3-zen1-1-zen x86_64

 08:30:29  alienprober@TheMothership  ~ 
$ topgrade
Error detecting current distribution: Unknown Linux Distribution

―― 08:30:36 - Flatpak User Packages ――――――――――――――――――――――――――――――――――――――――――――
Looking for updates…
Nothing to do.
Looking for updates…
Nothing to do.

―― 08:30:37 - snap ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[sudo] password for alienprober:                      
All snaps up to date.

―― 08:30:45 - Firmware upgrades ――――――――――――――――――――――――――――――――――――――――――――――――
Firmware metadata last refresh: 4 hours ago. Use --force to refresh again.
• ST3000DM001-1E6166 has no available firmware updates
• Samsung SSD 850 EVO 120GB has no available firmware updates
• System Firmware has no available firmware updates
• Unifying Receiver has no available firmware updates
• Viper M.2 VPN100 has no available firmware updates
• WDC WD10EARS-00Y5B1 has no available firmware updates
• WL3000GSA6454 has no available firmware updates
No updatable devices

―― 08:30:45 - Summary ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Flatpak: OK
snap: OK
Firmware upgrades: OK

 08:30:45  alienprober@TheMothership  ~  9s 
$ topgrade
Error detecting current distribution: Unknown Linux Distribution

―― 08:31:16 - Flatpak User Packages ――――――――――――――――――――――――――――――――――――――――――――
Looking for updates…
Nothing to do.
Looking for updates…
Nothing to do.

―― 08:31:16 - snap ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
All snaps up to date.

―― 08:31:16 - Firmware upgrades ――――――――――――――――――――――――――――――――――――――――――――――――
Firmware metadata last refresh: 4 hours ago. Use --force to refresh again.
• ST3000DM001-1E6166 has no available firmware updates
• Samsung SSD 850 EVO 120GB has no available firmware updates
• System Firmware has no available firmware updates
• Unifying Receiver has no available firmware updates
• Viper M.2 VPN100 has no available firmware updates
• WDC WD10EARS-00Y5B1 has no available firmware updates
• WL3000GSA6454 has no available firmware updates
No updatable devices

―― 08:31:16 - Summary ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Flatpak: OK
snap: OK
Firmware upgrades: OK

 08:31:17  alienprober@TheMothership  ~ 
$

I have not used topgrade so i do not know

I suggest you make an issue on its git repo

1 Like

He has.

3 Likes

OK as @SGS I did create a issue report on their githib. I just tried a reboot and another run of Topgrade and still the same thing. Uninstalled and replaced the build version and same thing.

I’m assuming sgse is you? If so thanks

1 Like

:man_shrugging:

It won’t help if you reinstall it 1,000 times.
I think it has nothing to with Garuda, it works before on Garuda? Update from topgrade?
Wait what topgrade will post on issue.

1 Like

Yea you’re probably right it’s a update from them I didn’t notice. As for reinstalling plenty of times that’s all something needs. This just happens to not be one of those times. I’m impressed how fast he got to my issue report.

@SGS a little help please. Git cloning and installing always confuses me. Can you please walk me through the steps in need to finish installing Topgrade from git? I got as far as the below. Thanks

$ wget https://github.com/r-darwish/topgrade.git
--2020-08-28 08:10:42--  https://github.com/r-darwish/topgrade.git
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving github.com (github.com)... 192.30.255.112
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/r-darwish/topgrade [following]
--2020-08-28 08:10:42--  https://github.com/r-darwish/topgrade
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘topgrade.git’

topgrade.git                [ <=>                          ] 145.09K   954KB/s    in 0.2s    

2020-08-28 08:10:43 (954 KB/s) - ‘topgrade.git’ saved [148572]


 08:10:43  alienprober@TheMothership  ~/topgrade  🦀 1.46.0   master ✘ ✭ 
$ cd topgrade.git       
cd: not a directory: topgrade.git

 08:13:30  ✘  alienprober@TheMothership  ~/topgrade  🦀 1.46.0   master ✘ ✭ 
$ cd topgrade    
cd: no such file or directory: topgrade

 08:13:53  ✘  alienprober@TheMothership  ~/topgrade  🦀 1.46.0   master ✘ ✭ 
$

You have to use “git clone” instead of wget if you want to get the actual content of the repo, then you can cd in the folder which just got created

3 Likes

How about an actual tut? Almost everything I’ve searched for is worthless.

https://docs.github.com/en/enterprise/2.13/user/articles/cloning-a-repository

4 Likes

OMMFG I got that part. It the actually commands AFTER cloning that I need.

git clone https://aur.archlinux.org/topgrade.git
cd topgrade
makepkg -si
4 Likes

Beginning to think it’s something with their repository. It’s downloaded using “get clone https://github.com/r-darwish/topgrade.git”, I’ve cd’d to projrcts/topgrade, used the makepak -si command and get the below.

==> ERROR: PKGBUILD does not exist.

git clone https://aur.archlinux.org/topgrade.git

2 Likes

Might as well use the “official” chaotic aur package for that i guess, its in the repo :slight_smile:

2 Likes

I’d love to use what’s in the repos but straight from the developer the current version to work with with Garuda isn’t posted there. He said I need to install this way if I wanted the Garuda compatible version he just released.

Well then you’re going to have to make your own pkgbuild, I guess.

You can find templates for pkgbuilds in /usr/share/pacman/.

I wish you luck.

3 Likes

No I’m going to have to ask him to fix his files, cause I just varified it is there files. Thanks everyone for trying to help. It is truly appreciated.

1 Like

if only there was a place, a very special place, one where a collection of PKGBUILD’s could be kept readily available for anyone willing to look for them. ideally a place like this should have a very simple name, something like Arch User Repository and we could even go as far as calling it the “AUR”. man, a place like that would just be great. :innocent:

3 Likes