Artix Linux Forum

Artix Linux => Package management => Topic started by: keos on 29 June 2019, 16:22:49

Title: Update problems. [solved]
Post by: keos on 29 June 2019, 16:22:49
Code: [Select]
kaos:[root]:/home/keos# LANG=C pacman -Syyu
:: Synchronizing package databases...
 system                   218.8 KiB   391K/s 00:01 [----------------------] 100%
 world                    775.1 KiB  2.16M/s 00:00 [----------------------] 100%
 galaxy                   601.5 KiB  4.78M/s 00:00 [----------------------] 100%
 lib32                     15.2 KiB   241K/s 00:00 [----------------------] 100%
 extra                     12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: could not open file /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=700153&auth_version=5&key=b4429e0f40e4cd9837c17e98f1b6be964a229634&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fextra%2Fos%2Fx86_64%2Fextra.db.sig.part: File name too long
 community                 12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: could not open file /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=700154&auth_version=5&key=539b4c200129e63178333d5da9396f48ea2e47e6&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fcommunity%2Fos%2Fx86_64%2Fcommunity.db.sig.part: File name too long
 multilib                  12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: could not open file /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=700154&auth_version=5&key=539b4c200129e63178333d5da9396f48ea2e47e6&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fmultilib%2Fos%2Fx86_64%2Fmultilib.db.sig.part: File name too long
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: failed to prepare transaction (invalid or corrupted database)
kaos:[root]:/home/keos#

Title: Re: Update problems
Post by: nous on 29 June 2019, 17:20:28
That's from the Arch mirrorlist, the chosen mirror is borked. Change to another.
Title: Re: Update problems
Post by: Schpankme on 29 June 2019, 17:22:46
Remove /sync packages
sudo rm -f /var/lib/pacman/sync/*

Synchronizing package databases
sudo pacman -Sy

Update package databases
sudo pacman -Syu
Title: Re: Update problems
Post by: keos on 29 June 2019, 17:34:40
This is what i got at

Code: [Select]
 GNU nano 4.3               /etc/pacman.d/mirrorlist                           
##
## Artix Linux repository mirrorlist
## Generated on 2019-03-14
##

# Artix mirrors

Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = http://ftp.ntua.gr/pub/linux/artix-linux/$repo/os/$arch
Server = https://artix.wheaton.edu/repos/$repo/os/$arch
Server = https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch
Server = https://ftp.cc.uoc.gr/mirrors/linux/artixlinux/$repo/os/$arch
Server = https://artix.unixpeople.org/repos/$repo/os/$arch
Server = https://artix.rw-net.de/repos/$repo/os/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/artixlinux/$repo/os/$arch
Server = http://www.nylxs.com/mirror/repos/$repo/os/$arch
Server = https://ftp.sh.cvut.cz/artix-linux/$repo/os/$arch

^G Ver ayuda ^O Guardar   ^W Buscar    ^K Cortar txt^J Justificar^C Posición
^X Salir     ^R Leer fich.^\ Reemplazar^U Pegar txt ^T Ortografía^_ Ir a líne
Title: Re: Update problems
Post by: keos on 29 June 2019, 17:42:23
Code: [Select]
kaos:[keos]:~% LANG=C sudo rm -f /var/lib/pacman/sync/*
kaos:[keos]:~% LANG=C sudo pacman -Sy
:: Synchronizing package databases...
 system                   218.8 KiB   289K/s 00:01 [----------------------] 100%
 world                    775.7 KiB  2.30M/s 00:00 [----------------------] 100%
 galaxy                   601.5 KiB  4.63M/s 00:00 [----------------------] 100%
 lib32                     15.2 KiB  0.00B/s 00:00 [----------------------] 100%
 extra                     12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: could not open file /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=705911&auth_version=5&key=e9d1e053080126d2ad3e7bcb63c2ee2a1060a1f9&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fextra%2Fos%2Fx86_64%2Fextra.db.sig.part: File name too long
 community                 12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: could not open file /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=705911&auth_version=5&key=e9d1e053080126d2ad3e7bcb63c2ee2a1060a1f9&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fcommunity%2Fos%2Fx86_64%2Fcommunity.db.sig.part: File name too long
 multilib                  12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: could not open file /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=705912&auth_version=5&key=2cde1d6305b7336657fa0100972ec2ad1cf20676&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fmultilib%2Fos%2Fx86_64%2Fmultilib.db.sig.part: File name too long
kaos:[keos]:~%
Title: Re: Update problems
Post by: keos on 29 June 2019, 19:16:05
I found now in the pamac-manager, at these repos: extra, community and multilib there is nothing:

(https://i.postimg.cc/jwBKkJwp/Captura-de-pantalla-2019-06-29-13-04-19.png) (https://postimg.cc/jwBKkJwp)

The same for community ...

And in trying to update from pamac-manager, i got this message:

"Failed to prepare transaction"

"invalid or corrupted database"
Title: Re: Update problems
Post by: SGOrava on 29 June 2019, 20:03:09
Hello,
please check if the archlinux-mirrorlist package is installed.

Than check arch-mirrorlist:
Code: [Select]
/etc/pacman.d/mirrorlist-arch

Check the pacman.conf (preferably post it here).
extra, community, multilib chould point to mirrorlist-arch file

Did you play with pacman configuration or mirrors ?
If so, please remove the changes.
Title: Re: Update problems
Post by: keos on 30 June 2019, 15:48:16
Code: [Select]
  GNU nano 4.3            /etc/pacman.d/mirrorlist-arch                         
##
## Arch Linux repository mirrorlist
## Generated on 2018-10-21
##

## Worldwide
#Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch
Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch

## Australia
#Server = https://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch
#Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch
#Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
#Server = http://archlinux.melbourneitmirror.net/$repo/os/$arch
#Server = http://ftp.swin.edu.au/archlinux/$repo/os/$arch

                             [ 538 líneas leídas ]
^G Ver ayuda ^O Guardar   ^W Buscar    ^K Cortar txt^J Justificar^C Posición
^X Salir     ^R Leer fich.^\ Reemplazar^U Pegar txt ^T Ortografía^_ Ir a línea

I just installed the system two days ago ... no plays ...

I'm not able to copy from the terminal the whole page in pacman.conf
Title: Re: Update problems
Post by: keos on 30 June 2019, 16:04:00
May be you want to see this

Code: [Select]
# ARCHLINUX
#

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

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

#[community-testing]
#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

^G Ver ayuda ^O Guardar   ^W Buscar    ^K Cortar txt^J Justificar^C Posición
^X Salir     ^R Leer fich.^\ Reemplazar^U Pegar txt ^T Ortografía^_ Ir a línea


Code: [Select]
#[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,

^G Ver ayuda ^O Guardar   ^W Buscar    ^K Cortar txt^J Justificar^C Posición
^X Salir     ^R Leer fich.^\ Reemplazar^U Pegar txt ^T Ortografía^_ Ir a línea


## United States
#Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch
#Server = http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch
#Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch
#Server = http://ca.us.mirror.archlinux-br.org/$repo/os/$arch
#Server = http://il.us.mirror.archlinux-br.org/$repo/os/$arch
#Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch
#Server = https://archlinux.surlyjake.com/archlinux/$repo/os/$arch
#Server = http://arlm.tyzoid.com/$repo/os/$arch
#Server = https://arlm.tyzoid.com/$repo/os/$arch
#Server = http://mirror.as65535.net/archlinux/$repo/os/$arch
#Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
#Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch
#Server = http://centos.mbni.med.umich.edu/archlinux/$repo/os/$arch
#Server = http://arch.mirror.constant.com/$repo/os/$arch
#Server = https://arch.mirror.constant.com/$repo/os/$arch
#Server = http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch
#Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch
#Server = http://ca.us.mirror.archlinux-br.org/$repo/os/$arch
#Server = http://il.us.mirror.archlinux-br.org/$repo/os/$arch
#Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch
#Server = https://archlinux.surlyjake.com/archlinux/$repo/os/$arch
#Server = http://arlm.tyzoid.com/$repo/os/$arch
#Server = https://arlm.tyzoid.com/$repo/os/$arch
#Server = http://mirror.as65535.net/archlinux/$repo/os/$arch
#Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
#Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch
#Server = http://centos.mbni.med.umich.edu/archlinux/$repo/os/$arch
#Server = http://arch.mirror.constant.com/$repo/os/$arch
#Server = https://arch.mirror.constant.com/$repo/os/$arch
#Server = http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch
#Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/$arch
#Server = http://distro.ibiblio.org/archlinux/$repo/os/$arch
 
It is to long and i probably missing something here, any way all of them with the # ...
Title: Re: Update problems
Post by: keos on 30 June 2019, 16:53:43
Code: [Select]
 GNU nano 4.3                       /etc/pacman.d/mirrorlist                                   
##

# Artix mirrors

Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = http://ftp.ntua.gr/pub/linux/artix-linux/$repo/os/$arch
Server = https://artix.wheaton.edu/repos/$repo/os/$arch
Server = https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch
Server = https://ftp.cc.uoc.gr/mirrors/linux/artixlinux/$repo/os/$arch
Server = https://artix.unixpeople.org/repos/$repo/os/$arch
Server = https://artix.rw-net.de/repos/$repo/os/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/artixlinux/$repo/os/$arch
Server = http://www.nylxs.com/mirror/repos/$repo/os/$arch
Server = https://ftp.sh.cvut.cz/artix-linux/$repo/os/$arch
Server = https://mirrors.nettek.us/artix-linux/$repo/os/$arch
Server = http://mirror1.artixlinux.org/repos/$repo/os/$arch

Title: Re: Update problems
Post by: Seventh on 30 June 2019, 17:08:34
You need to remove the hash # from whatever mirror location is closest to you, IE; if in USA, remove the # from the start of the lines.
Then
Code: [Select]
sudo pacman -Syu


Your pacman.conf should look something like mine, i dont use testing or gremlins or multilib.

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
ILoveCandy

# 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 Artix Linux
# packagers with `pacman-key --populate archlinux artix`.

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

#
# ARCHLINUX
#

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

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

#[community-testing]
#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: Update problems
Post by: keos on 30 June 2019, 17:26:34
After remove all the # from all the mirrors in usa:

Code: [Select]
[kaos:[root]:/home/keos# LANG=C pacman -Sy
:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 lib32 is up to date
 extra is up to date
 community is up to date
 multilib is up to date
kaos:[root]:/home/keos# LANG=C pacman-Syu
bash: pacman-Syu: orden no encontrada
kaos:[root]:/home/keos# LANG=C pacman -Syu
:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 lib32 is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
kaos:[root]:/home/keos# LANG=C pacman -Syyu
:: Synchronizing package databases...
 system                   218.8 KiB   281K/s 00:01 [----------------------] 100%
 world                    775.7 KiB  2.30M/s 00:00 [----------------------] 100%
 galaxy                   602.3 KiB  3.32M/s 00:00 [----------------------] 100%
 lib32                     15.2 KiB  4.95M/s 00:00 [----------------------] 100%
error: failed retrieving file 'extra.db' from mirror.rackspace.com : The requested URL returned error: 503
error: failed retrieving file 'extra.db' from mirrors.dotsrc.org : The requested URL returned error: 503
error: failed retrieving file 'extra.db' from ftp.ntua.gr : The requested URL returned error: 503
error: failed retrieving file 'extra.db' from mirrors.acm.wpi.edu : The requested URL returned error: 503
error: failed retrieving file 'extra.db' from mirrors.advancedhosters.com : The requested URL returned error: 503
error: failed retrieving file 'extra.db' from mirrors.aggregate.org : The requested URL returned error: 503
error: failed retrieving file 'extra.db' from ca.us.mirror.archlinux-br.org : The requested URL returned error: 503
error: failed retrieving file 'extra.db' from il.us.mirror.archlinux-br.org : The requested URL returned error: 503
error: failed retrieving file 'extra.db' from archlinux.surlyjake.com : The requested URL returned error: 503
 extra                   1636.3 KiB  1558K/s 00:01 [----------------------] 100%
error: failed retrieving file 'community.db' from mirror.rackspace.com : The requested URL returned error: 503
error: failed retrieving file 'community.db' from mirrors.dotsrc.org : The requested URL returned error: 503
error: failed retrieving file 'community.db' from ftp.ntua.gr : The requested URL returned error: 503
error: failed retrieving file 'community.db' from mirrors.acm.wpi.edu : The requested URL returned error: 503
error: failed retrieving file 'community.db' from mirrors.advancedhosters.com : The requested URL returned error: 503
error: failed retrieving file 'community.db' from mirrors.aggregate.org : The requested URL returned error: 503
error: failed retrieving file 'community.db' from ca.us.mirror.archlinux-br.org : The requested URL returned error: 503
error: failed retrieving file 'community.db' from il.us.mirror.archlinux-br.org : The requested URL returned error: 503
error: failed retrieving file 'community.db' from archlinux.surlyjake.com : The requested URL returned error: 503
 community                  4.8 MiB  2.63M/s 00:02 [----------------------] 100%
error: failed retrieving file 'multilib.db' from mirror.rackspace.com : The requested URL returned error: 503
error: failed retrieving file 'multilib.db' from mirrors.dotsrc.org : The requested URL returned error: 503
error: failed retrieving file 'multilib.db' from ftp.ntua.gr : The requested URL returned error: 503
error: failed retrieving file 'multilib.db' from mirrors.acm.wpi.edu : The requested URL returned error: 503
error: failed retrieving file 'multilib.db' from mirrors.advancedhosters.com : The requested URL returned error: 503
error: failed retrieving file 'multilib.db' from mirrors.aggregate.org : The requested URL returned error: 503
error: failed retrieving file 'multilib.db' from ca.us.mirror.archlinux-br.org : The requested URL returned error: 503
error: failed retrieving file 'multilib.db' from il.us.mirror.archlinux-br.org : The requested URL returned error: 503
error: failed retrieving file 'multilib.db' from archlinux.surlyjake.com : The requested URL returned error: 503
 multilib                 171.2 KiB   990K/s 00:00 [----------------------] 100%
:: Starting full system upgrade...
 there is nothing to do
kaos:[root]:/home/keos#/code]
Title: Re: Update problems
Post by: Seventh on 30 June 2019, 17:59:10
Post your output of

Code: [Select]
 cat /etc/pacman.conf

Post  output of

Code: [Select]
ls /etc/pacman.d/ 
Title: Re: Update problems
Post by: keos on 30 June 2019, 18:09:56
Code: [Select]
kaos:[root]:/home/keos# cat /etc/pacman.conf
#
# /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   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
UseSyslog
#UseDelta
TotalDownload
#CheckSpace
VerbosePkgLists
ILoveCandy

# 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 Artix Linux
# packagers with `pacman-key --populate artix`.

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

#
# ARCHLINUX
#

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

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

#[community-testing]
#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
kaos:[root]:/home/keos#


kaos:[root]:/home/keos# ls /etc/pacman.d/
gnupg  mirrorlist  mirrorlist-arch
kaos:[root]:/home/keos#




Title: Re: Update problems
Post by: Seventh on 30 June 2019, 18:32:09
use pacman -Syu not Syuu
Title: Re: Update problems
Post by: keos on 30 June 2019, 18:46:39
Code: [Select]
[/kaos:[root]:/home/keos# LANG=C pacman -Syu
:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 lib32 is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
kaos:[root]:/home/keos#

code]

Why i can't use pacman -Syyu now in arch?
Title: Re: Update problems
Post by: Seventh on 30 June 2019, 19:04:44
pacman -Syu updates your databases if the repositories haven’t been checked recently, and upgrades any new package versions.

pacman -Syyu forces updates of your databases for all repositories (even if it was just updated recently) and upgrades any new package versions.

pacman -Syuu upgrades packages and also downgrades packages (if you happen to have a newer version than in the repository). Normally this should not be used. Only if you’re trying to fix a specific issue due to a new package being removed from the repository.

This is what we know from reading documentation around:

    -y checks the repositories hashes on the available mirrors, comparing them to the local system. If there is a difference, downloads and updates the package list from the available mirrors.
    -yy doesn’t check anything. Just downloads and updates the package list for all repositories from the available mirrors.

On the surface, there doesn’t seem to be much point to this. Why not just, you know, always use -yy? And in fact, you can. It’s perfectly alright.

    -y checks the repositories hashes on the available mirrors, comparing them to the local system. If there is a difference, downloads and updates the package list from the available mirrors. Use it when you haven’t made any changes to your repository or mirror list.
    -yy doesn’t check anything. Just downloads and updates the package list for all repositories from the available mirrors. Use it when you changed your repository or mirror lists.

source: https://forum.manjaro.org/t/syu-vs-syuu-vs-syyu/26486/6
Title: Re: Update problems. [solved]
Post by: keos on 30 June 2019, 19:17:39
Well, i don't understand much ... in Manjaro i'm able to do this, it looks to me that maybe different distros has different philosophies ;)


 Thanks!
Title: Re: Update problems. [solved]
Post by: mandog on 30 June 2019, 19:27:08
Well, i don't understand much ... in Manjaro i'm able to do this, it looks to me that maybe different distros has different philosophies ;)


 Thanks!
Did you try a simple sudo pacman  -Syyu by any chance with no additional garbage 1st
Title: Re: Update problems. [solved]
Post by: keos on 30 June 2019, 19:49:13
Code: [Select]
kaos:[root]:/home/keos# LANG=C pacman -Syyu
:: Synchronizing package databases...
 system                   218.8 KiB   396K/s 00:01 [----------------------] 100%
 world                    775.7 KiB  2.21M/s 00:00 [----------------------] 100%
 galaxy                   602.3 KiB  5.16M/s 00:00 [----------------------] 100%
 lib32                     15.2 KiB  0.00B/s 00:00 [----------------------] 100%
 extra                     12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: could not open file /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=799963&auth_version=5&key=347bfa16bd7d5296de497f9787ae0eea74be4673&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fextra%2Fos%2Fx86_64%2Fextra.db.sig.part: File name too long
 community                 12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: could not open file /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=799963&auth_version=5&key=347bfa16bd7d5296de497f9787ae0eea74be4673&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fcommunity%2Fos%2Fx86_64%2Fcommunity.db.sig.part: File name too long
 multilib                  12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: could not open file /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=799964&auth_version=5&key=a1aae277324acc1a4b9ff29fc1e943712aeaca4e&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fmultilib%2Fos%2Fx86_64%2Fmultilib.db.sig.part: File name too long
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
 there is nothing to do
kaos:[root]:/home/keos#

kaos:[keos]:~% sudo pacman  -Syyu
[sudo] password for keos:
:: Sincronizando las bases de datos de los paquetes...
 system                   218.8 KiB   260K/s 00:01 [----------------------] 100%
 world                    775.7 KiB  2.01M/s 00:00 [----------------------] 100%
 galaxy                   602.3 KiB  4.42M/s 00:00 [----------------------] 100%
 lib32                     15.2 KiB  4.95M/s 00:00 [----------------------] 100%
 extra                     12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: no se pudo abrir el archivo /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=800040&auth_version=5&key=ac0d978f284d3371d5c1380e211f30b5836e46bb&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fextra%2Fos%2Fx86_64%2Fextra.db.sig.part: Nombre de fichero demasiado largo
 community                 12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: no se pudo abrir el archivo /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=800040&auth_version=5&key=ac0d978f284d3371d5c1380e211f30b5836e46bb&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fcommunity%2Fos%2Fx86_64%2Fcommunity.db.sig.part: Nombre de fichero demasiado largo
 multilib                  12.7 KiB  0.00B/s 00:00 [----------------------] 100%
error: no se pudo abrir el archivo /var/lib/pacman/sync/?mac=0C%3A8D%3ADB%3A6E%3AAB%3A0D&real_ip=10.200.12.152&client_ip=10.84.187.218&client_mac=2C:D0:5A:35:D6:92&vap=0&a=972a67c48192728a34979d9a35164c1295401b71&b=800040&auth_version=5&key=ac0d978f284d3371d5c1380e211f30b5836e46bb&acl_ver=P4628682V2&continue_url=http%3A%2F%2Fmirror.rackspace.com%2Farchlinux%2Fmultilib%2Fos%2Fx86_64%2Fmultilib.db.sig.part: Nombre de fichero demasiado largo
:: Iniciando actualización completa del sistema...
error: no se pudo abrir el archivo /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: no se pudo abrir el archivo /var/lib/pacman/sync/community.db: Unrecognized archive format
error: no se pudo abrir el archivo /var/lib/pacman/sync/multilib.db: Unrecognized archive format
...el sistema ya está actualizado.
kaos:[keos]:~%

Title: Re: Update problems. [solved]
Post by: keos on 01 July 2019, 14:15:13
The problem is back again, there is something wrong with this installation, i'm having many problems too with applications...

Code: [Select]
kaos:[root]:/home/keos# LANG=C pacman -Syu 
:: Synchronizing package databases...
error: failed to update system (unable to lock database)
error: failed to update world (unable to lock database)
error: failed to update galaxy (unable to lock database)
error: failed to update lib32 (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
kaos:[root]:/home/keos# LANG=C pacman -Syyu
:: Synchronizing package databases...
error: failed to update system (unable to lock database)
error: failed to update world (unable to lock database)
error: failed to update galaxy (unable to lock database)
error: failed to update lib32 (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
kaos:[root]:/home/keos# pacman -Syu
:: Sincronizando las bases de datos de los paquetes...
error: no se pudo actualizar system (no se pudo bloquear la base de datos)
error: no se pudo actualizar world (no se pudo bloquear la base de datos)
error: no se pudo actualizar galaxy (no se pudo bloquear la base de datos)
error: no se pudo actualizar lib32 (no se pudo bloquear la base de datos)
error: no se pudo actualizar extra (no se pudo bloquear la base de datos)
error: no se pudo actualizar community (no se pudo bloquear la base de datos)
error: no se pudo actualizar multilib (no se pudo bloquear la base de datos)
error: no se pudo sincronizar ninguna base de datos
kaos:[root]:/home/keos# pacman -Syyu
:: Sincronizando las bases de datos de los paquetes...
error: no se pudo actualizar system (no se pudo bloquear la base de datos)
error: no se pudo actualizar world (no se pudo bloquear la base de datos)
error: no se pudo actualizar galaxy (no se pudo bloquear la base de datos)
error: no se pudo actualizar lib32 (no se pudo bloquear la base de datos)
error: no se pudo actualizar extra (no se pudo bloquear la base de datos)
error: no se pudo actualizar community (no se pudo bloquear la base de datos)
error: no se pudo actualizar multilib (no se pudo bloquear la base de datos)
error: no se pudo sincronizar ninguna base de datos
kaos:[root]:/home/keos#

After turn off the PC for some time and start the system again i was able to do the update, probably an unstable system, let's wait and see ...

Title: Re: Update problems. [solved]
Post by: mandog on 01 July 2019, 23:27:43
No if using pamac, octopi, that happens turn of the update notifier or better still remover as it plays havac with octopi, pamac, and pacman

Please stop the Manjaro does this and that it does the same they both draw from Arch. using Arch packages  Pamac octopi are manjaro packages
Title: Re: Update problems. [solved]
Post by: nous on 02 July 2019, 12:01:49
Code: [Select]
kaos:[root]:/home/keos# LANG=C pacman -Syu 
:: Synchronizing package databases...
error: failed to update system (unable to lock database)

Code: [Select]
sudo rm -f /var/lib/pacman/db.lck