Artix Linux Forum

Artix Linux => Announcements => Topic started by: artoo on 10 February 2018, 03:29:00

Title: [system] pacman-5.0.2-11 update
Post by: artoo on 10 February 2018, 03:29:00
With the update to  pacman-5.0.2-11, please make sure you update your /etc/pacman.conf.

Your updated pacman.conf should look like this in the repository sections:

Code: [Select]
# The gremlins 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.

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

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

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

#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist

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

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

#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist

#[lib32]
#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

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

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

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

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

#[multilib]
#Include = /etc/pacman.d/mirrorlist-arch
Title: Re: [system] pacman-5.0.2-11 update
Post by: conky60 on 10 February 2018, 12:40:50
Are the "gremlins" the equivalent of "testing"? If I enable "gremlins" and "galaxy-gremlins" am I running Artix testing Like I am now?? ???


Best regards.
Title: Re: [system] pacman-5.0.2-11 update
Post by: artoo on 10 February 2018, 14:41:04
Are the "gremlins" the equivalent of "testing"? If I enable "gremlins" and "galaxy-gremlins" am I running Artix testing Like I am now?? ???


Best regards.


Yes, [gremlins], [galaxy-gremlins] and [lib32-gremlins] are the new equivalents to [testing], [community-testing] and [multilib-testing]  in arch.

We gonna drop the artix *-testing repos.
Title: Re: [system] pacman-5.0.2-11 update
Post by: conky60 on 10 February 2018, 17:34:09
Thank you @artoo....I like the new repo names. ;D


Best regards.
Title: Re: [system] pacman-5.0.2-11 update
Post by: robin0800 on 11 February 2018, 11:33:49
What is the status of "packages" and "packages-galaxy" repo's are they development only?
Title: Re: [system] pacman-5.0.2-11 update
Post by: fungalnet on 11 February 2018, 14:30:34
that's why testing is empty!
Title: Re: [system] pacman-5.0.2-11 update
Post by: robin0800 on 11 February 2018, 14:42:32
I see galaxy, world, system and lib32 all now have a "depreciated repo" tag!
Title: Re: [system] pacman-5.0.2-11 update
Post by: artoo on 11 February 2018, 15:50:33
What is the status of "packages" and "packages-galaxy" repo's are they development only?

Operational.

I see galaxy, world, system and lib32 all now have a "depreciated repo" tag!

Correct. Hence we use the new git repos and along with them new binary gremlins repos.
goblins is not recommended to use, its purely a build related repo for toolchain and such.
Goblins is the artix equivalent to staging in arch linux.
Title: Re: [system] pacman-5.0.2-11 update
Post by: robin0800 on 11 February 2018, 20:09:52
What is the status of "packages" and "packages-galaxy" repo's are they development only?

Operational.

 Well adding the "packages" and "packages-galaxy" repo's to pacman.conf does not work.
Title: Re: [system] pacman-5.0.2-11 update
Post by: artoo on 11 February 2018, 20:58:38
Well adding the "packages" and "packages-galaxy" repo's to pacman.conf does not work.


What are you talking about? These are git repos with pkgbuilds.
Just make sure your pacman.conf is updated.
Title: Re: [system] pacman-5.0.2-11 update
Post by: robin0800 on 11 February 2018, 21:43:34
I added the below to your pacman.conf in post #1 and as i say it does not work, is there something wrong?
Code: [Select]
[packages]
Include = /etc/pacman.d/mirrorlist

[packages-galaxy]
Include = /etc/pacman.d/mirrorlist
Title: Re: [system] pacman-5.0.2-11 update
Post by: SGOrava on 11 February 2018, 22:08:52
I added the below to your pacman.conf in post #1 and as i say it does not work, is there something wrong?
Code: [Select]
[packages]
Include = /etc/pacman.d/mirrorlist

[packages-galaxy]
Include = /etc/pacman.d/mirrorlist

Simple answer:
Yes there is!

Complicated answer:
In this case you misunderstood.
There are 2 kinds of repositories for Artix.
1. Repositories which are used to distribute prebuilt packages to users (you can access them via pacman)
Which are: gremlins, system, world, galaxy-gremlins, galaxy, lib32-gremlins, lib32. (these are used by pacman)
These repositories mirror structure which is using Archlinux
- https://github.com/artix-linux/system/issues/70#issuecomment-362077590
-  http://mirror1.artixlinux.org/repos/

2. Git repositories which are used to store PKGBUILD from which are the packages built
Which are: packages and packages-galaxy. (these are used by developers)
- https://github.com/artix-linux/packages
- https://github.com/artix-linux/packages-galaxy


Title: Re: [system] pacman-5.0.2-11 update
Post by: kb41 on 15 February 2018, 14:59:48
 >:(  I 'm a little upset with myself as I didn't see this thread until today. I was wondering why I was getting 404 errors for the testing and world-testing. RIF reading is fundamental . Anyway I updated the pacman.conf so I should see those errors anymore.
edit: After updaying pacman.conf this is the error I'm getting
:: Synchronizing package databases...
error: failed to update gremlins (no servers configured for repository)
 system                   173.5 KiB   259K/s 00:01 [######################] 100%
 world                    497.0 KiB   565K/s 00:01 [######################] 100%
error: failed to update galaxy-gremlins (no servers configured for repository)
 galaxy                   102.1 KiB   851K/s 00:00 [######################] 100%
 extra                   1595.3 KiB   877K/s 00:02 [######################] 100%
 community                  4.1 MiB  1983K/s 00:02 [######################] 100%
:: Starting full system upgrade...
error: failed to prepare transaction (could not find database)
Title: Re: [system] pacman-5.0.2-11 update
Post by: SGOrava on 15 February 2018, 16:23:33
:: Synchronizing package databases...
error: failed to update gremlins (no servers configured for repository)
error: failed to update galaxy-gremlins (no servers configured for repository)
:: Starting full system upgrade...
error: failed to prepare transaction (could not find database)

It should be error on your side, so show your pacman.conf and we might be able to help you.
Title: Re: [system] pacman-5.0.2-11 update
Post by: kb41 on 15 February 2018, 16:30:42
Code: [Select]
#
# /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 -C - -f %u > %o
#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   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#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 Cromnix
# packagers with `pacman-key --populate archlinux cromnix`.

#
# 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.

# The gremlins 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.

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

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

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

[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist

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

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

#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist

#[lib32]
#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

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

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

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

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

#[multilib]
#Include = /etc/pacman.d/mirrorlist-arch[code]
Title: Re: [system] pacman-5.0.2-11 update
Post by: fungalnet on 15 February 2018, 16:31:02
SGOrava seems right.
The error message indicates that you have left the lines under [gremlins] which define the mirrorlist commented, so even though your mirrorlist on other repositories is valid for gremlins there is no definition of the location of the mirrorlist.
You must have uncommented the tag and not the mirrorlist below it.
Title: Re: [system] pacman-5.0.2-11 update
Post by: fungalnet on 15 February 2018, 16:33:25
you were typing while I was typing, so we are live.

Please re-edit your message and contain your pacman.conf in
Code: [Select]
code
brackets
Title: Re: [system] pacman-5.0.2-11 update
Post by: SGOrava on 15 February 2018, 16:52:34
I also recommend you to activate option "VerbosePkgLists" to see from which repository will package be downloaded.

Here is hopefully working pacman.conf for you (only fixed).
Code: [Select]
#
# /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 -C - -f %u > %o
#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   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#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 Cromnix
# packagers with `pacman-key --populate archlinux cromnix`.

#
# 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.

# The gremlins 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.

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

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

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

[galaxy-gremlins]
Include = /etc/pacman.d/mirrorlist

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

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

#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist

#[lib32]
#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

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

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

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

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

#[multilib]
#Include = /etc/pacman.d/mirrorlist-arch
Title: Re: [system] pacman-5.0.2-11 update
Post by: kb41 on 15 February 2018, 17:09:40
Again reading is fundamental! I didn't uncomment those lines. I was updating pacman.conf while working on others things thanks for all of the help
Edit: I was able to update without a hitch. Lesson learned READ, READ, READ! Thanks again!
Title: Re: [system] pacman-5.0.2-11 update
Post by: ALT-RIGHT_TRAP on 16 February 2018, 00:50:21
I didn't get a mirrorlist.pacnew file & the mirrors on the list broke, so I can't update or install packages, is there a new mirrorlist I'm missing or something?
Title: Re: [system] pacman-5.0.2-11 update
Post by: SGOrava on 16 February 2018, 15:42:47
I didn't get a mirrorlist.pacnew file & the mirrors on the list broke, so I can't update or install packages, is there a new mirrorlist I'm missing or something?

Here is the current mirrorlist:
Code: [Select]
##
## Artix Linux repository mirrorlist
## Generated on 2017-10-21
##

# Artix mirrors

Server = http://mirror1.artixlinux.org/repos/$repo/os/$arch
Server = http://artix.wheaton.edu/repos/$repo/os/$arch/
Server = http://mirror.strits.dk/artix-linux/repos/$repo/os/$arch
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://www.uex.dk/public/artix/$repo/os/$arch

Also Artix *-testing repositories were renamed so check the first post in this thread.

If you seriously want help show your pacman.conf and mirrorlist (mark them in forum editor as code) and precise error messages otherwise nobody will be able to help you.
Title: Re: [system] pacman-5.0.2-11 update
Post by: ALT-RIGHT_TRAP on 16 February 2018, 18:45:30
Here is the current mirrorlist:
Code: [Select]
##
## Artix Linux repository mirrorlist
## Generated on 2017-10-21
##

# Artix mirrors

Server = http://mirror1.artixlinux.org/repos/$repo/os/$arch
Server = http://artix.wheaton.edu/repos/$repo/os/$arch/
Server = http://mirror.strits.dk/artix-linux/repos/$repo/os/$arch
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://www.uex.dk/public/artix/$repo/os/$arch

Also Artix *-testing repositories were renamed so check the first post in this thread.

If you seriously want help show your pacman.conf and mirrorlist (mark them in forum editor as code) and precise error messages otherwise nobody will be able to help you.
Ey thanks man, thought repos were broken since updates weren't working, turns out I mistyped them.
Title: Re: [system] pacman-5.0.2-11 update
Post by: mrbrklyn on 19 February 2018, 02:13:19
Does this look right?

http://www3.mrbrklyn.com/nylxs/mirror/repos/

[DIR] galaxy-goblins/         2018-01-24 12:51    -  
[DIR] galaxy-gremlins/        2018-01-24 12:51    -  
[DIR] galaxy/                 2017-08-23 17:03    -  
[DIR] goblins/                2018-01-24 12:50    -  
[DIR] gremlins/               2018-01-24 12:50    -  
[DIR] lib32-goblins/          2018-01-24 12:51    -  
[DIR] lib32-gremlins/         2018-01-24 12:51    -  
[DIR] lib32/                  2017-09-14 12:47    -  
[DIR] system/                 2017-08-23 16:39    -  
[DIR] world/                  2017-08-23 15:47    -  


Because I've been using this:

Code: [Select]
[options]
HoldPkg      = pacman glibc manjaro-system
Architecture = auto
CheckSpace
SigLevel    = Required DatabaseOptional
[system]
Server = http://www3.mrbrklyn.com/nylxs/mirror/repos/$repo/os/$arch
Include = /etc/pacman.d/mirrorlist
[world]
Server = http://www3.mrbrklyn.com/nylxs/mirror/repos/$repo/os/$arch
Include = /etc/pacman.d/mirrorlist
[galaxy]
Server = http://www3.mrbrklyn.com/nylxs/mirror/repos/$repo/os/$arch
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist-arch

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

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


at least on my workstation
Title: Re: [system] pacman-5.0.2-11 update
Post by: mrbrklyn on 19 February 2018, 02:29:20
>:(  I 'm a little upset with myself as I didn't see this thread until today. I was wondering why I was getting 404 errors for the testing and world-testing. RIF reading is fundamental . Anyway I updated the pacman.conf so I should see those errors anymore.
edit: After updaying pacman.conf this is the error I'm getting
:: Synchronizing package databases...
error: failed to update gremlins (no servers configured for repository)
 system                   173.5 KiB   259K/s 00:01 [######################] 100%
 world                    497.0 KiB   565K/s 00:01 [######################] 100%
error: failed to update galaxy-gremlins (no servers configured for repository)
 galaxy                   102.1 KiB   851K/s 00:00 [######################] 100%
 extra                   1595.3 KiB   877K/s 00:02 [######################] 100%
 community                  4.1 MiB  1983K/s 00:02 [######################] 100%
:: Starting full system upgrade...
error: failed to prepare transaction (could not find database)



I just got a similar error on my server :(

Code: [Select]
:: Synchronizing package databases...
error: failed retrieving file 'system-testing.db' from mirror1.artixlinux.org : The requested URL returned error: 404
error: failed retrieving file 'system-testing.db' from artix.wheaton.edu : The requested URL returned error: 404
error: failed retrieving file 'system-testing.db' from mirror.strits.dk : The requested URL returned error: 404
error: failed retrieving file 'system-testing.db' from mirrors.dotsrc.org : The requested URL returned error: 404


I wonder how I missed this.
Title: Re: [system] pacman-5.0.2-11 update
Post by: artoo on 19 February 2018, 10:59:50
Does this look right?

http://www3.mrbrklyn.com/nylxs/mirror/repos/

[DIR] galaxy-goblins/         2018-01-24 12:51    -  
[DIR] galaxy-gremlins/        2018-01-24 12:51    -  
[DIR] galaxy/                 2017-08-23 17:03    -  
[DIR] goblins/                2018-01-24 12:50    -  
[DIR] gremlins/               2018-01-24 12:50    -  
[DIR] lib32-goblins/          2018-01-24 12:51    -  
[DIR] lib32-gremlins/         2018-01-24 12:51    -  
[DIR] lib32/                  2017-09-14 12:47    -  
[DIR] system/                 2017-08-23 16:39    -  
[DIR] world/                  2017-08-23 15:47    -  


Because I've been using this:

Code: [Select]
[options]
HoldPkg      = pacman glibc manjaro-system
Architecture = auto
CheckSpace
SigLevel    = Required DatabaseOptional
[system]
Server = http://www3.mrbrklyn.com/nylxs/mirror/repos/$repo/os/$arch
Include = /etc/pacman.d/mirrorlist
[world]
Server = http://www3.mrbrklyn.com/nylxs/mirror/repos/$repo/os/$arch
Include = /etc/pacman.d/mirrorlist
[galaxy]
Server = http://www3.mrbrklyn.com/nylxs/mirror/repos/$repo/os/$arch
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist-arch

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

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


at least on my workstation


Nope, wrong order, you don't need goblins repos at all.
Plese look at the OP for how it should be ranked.
Title: Re: [system] pacman-5.0.2-11 update
Post by: mrbrklyn on 19 February 2018, 18:22:38
the repos are just a local mirror i put up with rsync.  They are not in my config file.  I gues I was asking if the mirror was correct, and I think it is.
Title: Re: [system] pacman-5.0.2-11 update
Post by: carlosalvatore on 04 March 2018, 02:58:43
With the update to  pacman-5.0.2-11, please make sure you update your /etc/pacman.conf.

Your updated pacman.conf should look like this in the repository sections:

Code: [Select]
# The gremlins 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.

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

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

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

#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist

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

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

#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist

#[lib32]
#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

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

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

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

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

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


I've fixed this in the Wiki.

Regards.