Os-release issue


#21

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


#22

Also, what s the output of this command;

/etc/pacman.d/mirrorlist


#23

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

#24

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


#25

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 !


#26

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

#27

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


#28

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.


#29

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


#30

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


#31

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

#32

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


#33

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


#34

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)


#35

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.


#36

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


#37

Oh glad it worked on your side @ector


#38

Ok cool stuff, I marked you’re post there as the solution.

Cheers


#39

I removed them without problems with
sudo pacman -Rsn archlabs-skel openbox
etc etc
But I only had the default archlabs-skel-base with the old iso


#40

Oh ok , thx for the comeback @ector