Os-release issue

[don@don-pc ~]$ yay archlabs
26 archlabs_repo/archlabs-wallpapers 1.5.2-1 (13.1 MiB 18.8 MiB) [archlabs] (Installed)
    ArchLabs wallpapers
25 archlabs_repo/archlabs-themes 1.5.3-1 (365.4 KiB 11.1 MiB) [archlabs] (Installed)
    Custom themes for use in ArchLabs
24 archlabs_repo/archlabs-skippy-xd 1.0-2 (53.4 KiB 145.0 KiB) (Installed)
    A full-screen task-switcher for X11, similar to Apple's Expose.
23 archlabs_repo/archlabs-skel-xfce4 1.8.6-1 (10.9 KiB 51.0 KiB) (Installed)
    Xfce4 configuration files for ArchLabs
22 archlabs_repo/archlabs-skel-openbox 1.0.3-1 (14.7 KiB 73.0 KiB) (Installed)
    Openbox configuration files for ArchLabs
21 archlabs_repo/archlabs-skel-i3-gaps 1.0-1 (9.8 KiB 30.0 KiB) 
    i3 configuration files for ArchLabs
20 archlabs_repo/archlabs-skel-fluxbox 1.0-1 (11.1 KiB 42.0 KiB) 
    fluxbox configuration files for ArchLabs
19 archlabs_repo/archlabs-skel-bspwm 1.0-1 (9.0 KiB 28.0 KiB) 
    Bspwm configuration files for ArchLabs
18 archlabs_repo/archlabs-skel-base 1.0.4-1 (87.0 KiB 3.8 MiB) [archlabs] (Installed)
    Base user configuration files for ArchLabs
17 archlabs_repo/archlabs-scripts 1.1-1 (15.6 KiB 36.0 KiB) [archlabs] (Installed)
    Helper scripts for use in ArchLabs
16 archlabs_repo/archlabs-screenlock 2.10.3-1 (51.0 KiB 154.0 KiB) (Installed)
    An improved screenlocker based upon XCB and PAM with color configuration support
15 archlabs_repo/archlabs-polybar 3.3.0-2 (683.1 KiB 2.9 MiB) (Installed)
    A fast and easy-to-use status bar
14 archlabs_repo/archlabs-pipemenus 2.6.35-1 (23.3 KiB 79.0 KiB) (Installed)
    Pipemenus and zenity scripts used in ArchLabs
13 archlabs_repo/archlabs-paranoid 1.2-2 (14.3 KiB 83.0 KiB) (Installed)
    GTK+3 configuration tool for compton
12 archlabs_repo/archlabs-oblogout 0.2.6-2 (364.7 KiB 640.0 KiB) (Installed)
    ArchLabs logout script for more than just openbox
11 archlabs_repo/archlabs-obkey 1.0-2 (21.0 KiB 109.0 KiB) (Installed)
    ArchLabs Openbox Keybind Editor
10 archlabs_repo/archlabs-networkmanager-dmenu 58.2-2 (16.6 KiB 63.0 KiB) [archlabs] (Installed)
    Control NetworkManager via dmenu
9 archlabs_repo/archlabs-ksuperkey 0.4-3 (12.9 KiB 34.0 KiB) [archlabs] (Installed)
    Allows you to open an application launcher using the Super key
8 archlabs_repo/archlabs-kickshaw 0.6.4-3 (74.8 KiB 209.0 KiB) (Installed)
    A menu editor for freedesktop standard menus
7 archlabs_repo/archlabs-keyring 2018.12.13-1 (13.8 KiB 28.0 KiB) [archlabs] (Installed)
    ArchLabs keyring
6 archlabs_repo/archlabs-installer 2.0.6-1 (45.5 KiB 171.0 KiB) 
    CLI based installer for ArchLabs Linux
5 archlabs_repo/archlabs-icons 1.2-2 (9.5 MiB 39.2 MiB) [archlabs] (Installed)
    A Combination of Paper and Papirus Icons for use in ArchLabs
4 archlabs_repo/archlabs-fonts 1.2-1 (1.4 MiB 4.2 MiB) [archlabs] (Installed)
    Icon Patched Fonts for ArchLabs
3 archlabs_repo/archlabs-dARK 1.0-2 (134.2 KiB 820.0 KiB) [archlabs] (Installed)
    ArchLabs GTK, Openbox and oblogout Themes
2 archlabs_repo/archlabs-common 1.3.7-2 (12.7 KiB 44.0 KiB) [archlabs] (Installed)
    Common and help files for archlabs-pipemenus
1 archlabs_repo/al-bunsenlabs-themes 1.0-1 (644.6 KiB 68.0 MiB) [archlabs] 
    BunsenLabs themes for ArchLabs
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 

These are the packages installed after the edit to remove user-skel, I just haggled, and today I installed opnbox-skel and xfce4-skel.
boh

Looks like everything s there.

yes,I just have to understand how to start this:
archlabs-scripts

1 Like

Yep , but I can t help you on this matter sadly. I know these need to be edited somehow, but how,

1 Like

Also, what s the output of this command;

/etc/pacman.d/mirrorlist

why?

# With:       reflector --verbose --score 100 --fastest 25 --sort rate --save /$
# When:       2019-01-10 09:53:40 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2019-01-10 09:52:57 UTC
# Last Check: 2019-01-10 09:30:23 UTC

Server = http://arch.tamcore.eu/$repo/os/$arch
Server = http://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch
Server = http://pkg.adfinis-sygroup.ch/archlinux/$repo/os/$arch
Server = http://mirror.united-gameserver.de/archlinux/$repo/os/$arch
Server = http://mirrors.niyawe.de/archlinux/$repo/os/$arch
Server = http://ftp.fau.de/archlinux/$repo/os/$arch
Server = http://ftp.nluug.nl/os/Linux/distr/archlinux/$repo/os/$arch
Server = http://mirror.dkm.cz/archlinux/$repo/os/$arch
Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch
1 Like

Guess I know why you don t see ArchLab as installed & see Arch Linux instead, you need some cleanup in the repo @ector . Ad # in front of some ArchLinux repos, looks like ArchLab repo isn t there, it might be the reason why we see Arch Linux on inxi -S output.

Put this in there :

[archlabs_repo]
Server = https://bitbucket.org/archlabslinux/archlabs_repo/raw/master/$arch
Server = https://sourceforge.net/project/archlabs-repo/files/archlabs_repo/$arch

Then:

pacman -Scc
pacman -Syyu

& see what it does.

Edit:Also have a look at this thread:

Edit 2: Hope this can be of any help

1 Like

Oh, just saw also that you re on an Arch Linux install, guess that you might want to stay on Arch Linux with ArchLab repos or install AL scripts while staying on Arch !

I’m sorry, but those are in pacman .conf

edit
see.

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg   = linux     lightdm
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =
#NoExtract   = usr/lib/modules/*/kernel/crypto/speck.ko.xz
# Misc options
#UseSyslog
Color
ILoveCandy
#TotalDownload
#CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs


# [archlabs_unstable]
# Server = https://bitbucket.org/archlabslinux/archlabs_unstable/raw/master/$arch

[archlabs_repo]
Server = https://bitbucket.org/archlabslinux/archlabs_repo/raw/master/$arch
Server = https://sourceforge.net/project/archlabs-repo/files/archlabs_repo/$arch

Ok , thx, wonder why we don t see your AL s output as stated above , everything looks good here.

Do you have either of these files, that’s where distro info is kept

/etc/lsb-release
/etc/os-release

lsb-release is also a package though you shouldn’t need it.

Here’s the AL versions of those files currently:

  • lsb-release
    LSB_VERSION=1.4
    DISTRIB_ID=ArchLabs
    DISTRIB_RELEASE=2019.1.20
    DISTRIB_CODENAME=ArchLabs
    DISTRIB_DESCRIPTION="ArchLabs Linux"
    
  • os-release
    NAME="ArchLabs"
    ID=ArchLabs
    ID_LIKE="arch"
    VERSION_ID=2019.1.20
    PRETTY_NAME="ArchLabs Linux"
    ANSI_COLOR="0;36"
    HOME_URL="https://archlabslinux.com"
    SUPPORT_URL="https://forum.archlabslinux.com/"
    BUG_REPORT_URL="https://bitbucket.org/archlabslinux"
    

If you just copy paste them over whatever yours are, that should work fine.

Hello, natemaia
I made the changes but the terminal still remains with arch as distro, for your knowledge in / etc / os-release I do not have a file but a link to / usr / lib / release I also change that file to change the settings of the term?
Thank for help
CheersArchLabs_2019-02-16-32_1600x900

Checked on my AL install yesterday, came to the same results oddly enough @ector .

Yes if /etc/os-release is symlinked to /usr/lib/os-release then you should remove the symlink and replace it with the file as posted above, I wouldn’t mess with /usr/lib

Also, tell me if you have lsb-release installed?

pacman -Q lsb-release

If that is neofetch then it uses the following order to find the distro:

 lsb-release -> os-release -> kernel

so if you have lsb-release installed it will uses that and never check the others.

...
            elif type -p lsb_release >/dev/null; then
                case "$distro_shorthand" in
                    "on")   lsb_flags="-sir" ;;
                    "tiny") lsb_flags="-si" ;;
                    *)      lsb_flags="-sd" ;;
                esac
                distro="$(lsb_release "$lsb_flags")"
...
            elif [[ -f "/etc/os-release" || \
                    -f "/usr/lib/os-release" || \
                    -f "/etc/openwrt_release" ]]; then
                files=("/etc/os-release" "/usr/lib/os-release" "/etc/openwrt_release")

                # Source the os-release file
                for file in "${files[@]}"; do
                    source "$file" && break
                done

                # Format the distro name.
                case "$distro_shorthand" in
                    "on")   distro="${NAME:-${DISTRIB_ID}} ${VERSION_ID:-${DISTRIB_RELEASE}}" ;;
                    "tiny") distro="${NAME:-${DISTRIB_ID:-${TAILS_PRODUCT_NAME}}}" ;;
                    "off")  distro="${PRETTY_NAME:-${DISTRIB_DESCRIPTION}} ${UBUNTU_CODENAME}" ;;
                esac
2 Likes

Also of note, the *-skel-* packages are pointless unless you are creating a new user or migrating the configs from /etc/skel to your home directory.

They don’t have any effect on the files that show version and distro info, those files are baked right into the iso and not changed by us after, so I’m not sure how your /etc/os-release got linked to the one in /usr/lib

1 Like

yes have installed lsb-rlease ,I have to remove it and can I remove achlas-skel-base?

You can remove it if you like (same with skel packages), it isn’t needed.

can check lsb_release -sir to see what would be used (I think)

2 Likes

Gee, I m all screwed up now, wonder why the skel packages aren t needed, they were part of the newer updates/upgrades it seems, unless I missed something somehow.

i remove las-relaese terminal is ok,I have not removed the link so much it works, I leave it or remove the link?
thank for helpArchLabs_2019-02-16-43_1600x900

3 Likes

Oh glad it worked on your side @ector