make sense, here it is: mhwd-kernel -l && mhwd-kernel -li
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
Currently running: 5.15.60-1-MANJARO (linux515)
The following kernels are installed in your system:
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
and
[manjaro /]# mhwd-kernel -i linux519
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
Error: Please make sure if the given kernel(s) exist(s).
available kernels:
and saw from another post, the output of pacman-mirrors --fasttrack 5 && pacman -Syyu is
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
2.484 Czechia : https://mirror.dkm.cz/manjaro/
1.490 MENA : https://mirror.arvancloud.com/manjaro/
1.536 United_States : https://mirror.math.princeton.edu/pub/manjaro/
2.965 New_Zealand : https://mirror.2degrees.nz/manjaro/
2.247 Switzerland : https://mirror.init7.net/manjaro/
::INFO Writing mirror list
::MENA : https://mirror.arvancloud.com/manjaro/stable
::United_States : https://mirror.math.princeton.edu/pub/manjaro/stable
::Switzerland : https://mirror.init7.net/manjaro/stable
::Czechia : https://mirror.dkm.cz/manjaro/stable
::New_Zealand : https://mirror.2degrees.nz/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
also note that the output of mhwd-kernel -li
Currently running: 5.15.60-1-MANJARO (linux515)
The following kernels are installed in your system:
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
which is supposed to be 5.18 in the partition? I only have 5.15 in live usb
#
# /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 manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst = manjaro-system archlinux-keyring manjaro-keyring
#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
#IgnorePkg =
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#NoProgressBar
# We cannot check disk space from within a chroot environment
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5
# 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 Manjaro Linux
# packagers with `pacman-key --populate archlinux manjaro`.
#
# 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.
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
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]
SigLevel = PackageRequired
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
[pritunl]
Server = https://repo.pritunl.com/stable/pacman
ls: cannot access '/var/lib/pacman/*': No such file or directory
debug: pacman v6.0.1 - libalpm v13.0.1
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: CacheDir: /var/cache/pacman/pkg/
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: HoldPkg: manjaro-system
debug: config: SyncFirst: manjaro-system
debug: config: SyncFirst: archlinux-keyring
debug: config: SyncFirst: manjaro-keyring
debug: config: Architecture: auto
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 82: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 86: including /etc/pacman.d/mirrorlist
debug: config: new section 'multilib'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: new section 'pritunl'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db" is not readable: No such file or directory
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirror.arvancloud.com/manjaro/stable/core/x86_64
debug: adding new server URL to database 'core': https://mirror.math.princeton.edu/pub/manjaro/stable/core/x86_64
debug: adding new server URL to database 'core': https://mirror.init7.net/manjaro/stable/core/x86_64
debug: adding new server URL to database 'core': https://mirror.dkm.cz/manjaro/stable/core/x86_64
debug: adding new server URL to database 'core': https://mirror.2degrees.nz/manjaro/stable/core/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db" is not readable: No such file or directory
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirror.arvancloud.com/manjaro/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://mirror.math.princeton.edu/pub/manjaro/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://mirror.init7.net/manjaro/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://mirror.dkm.cz/manjaro/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://mirror.2degrees.nz/manjaro/stable/extra/x86_64
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db" is not readable: No such file or directory
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://mirror.arvancloud.com/manjaro/stable/community/x86_64
debug: adding new server URL to database 'community': https://mirror.math.princeton.edu/pub/manjaro/stable/community/x86_64
debug: adding new server URL to database 'community': https://mirror.init7.net/manjaro/stable/community/x86_64
debug: adding new server URL to database 'community': https://mirror.dkm.cz/manjaro/stable/community/x86_64
debug: adding new server URL to database 'community': https://mirror.2degrees.nz/manjaro/stable/community/x86_64
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: "/var/lib/pacman/sync/multilib.db" is not readable: No such file or directory
debug: setting usage of 15 for multilib repository
debug: adding new server URL to database 'multilib': https://mirror.arvancloud.com/manjaro/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://mirror.math.princeton.edu/pub/manjaro/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://mirror.init7.net/manjaro/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://mirror.dkm.cz/manjaro/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://mirror.2degrees.nz/manjaro/stable/multilib/x86_64
debug: registering sync database 'pritunl'
debug: database path for tree pritunl set to /var/lib/pacman/sync/pritunl.db
debug: "/var/lib/pacman/sync/pritunl.db" is not readable: No such file or directory
debug: setting usage of 15 for pritunl repository
debug: adding new server URL to database 'pritunl': https://repo.pritunl.com/stable/pacman
:: Synchronizing package databases...
debug: database dir '/var/lib/pacman/sync/' does not exist, creating it
core downloading...
extra downloading...
community downloading...
multilib downloading...
pritunl downloading...
debug: core.db: url is https://mirror.arvancloud.com/manjaro/stable/core/x86_64/core.db
debug: core.db: maxsize 134217728
debug: core.db: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: core.db: curl returned result 0 from transfer
debug: core.db: response code 200
debug: core.db.tar.gz.sig: url is https://mirror.arvancloud.com/manjaro/stable/core/x86_64/core.db.tar.gz.sig
debug: core.db.tar.gz.sig: maxsize 16384
debug: core.db.tar.gz.sig: opened tempfile for download: /var/lib/pacman/sync/core.db.tar.gz.sig.part (wb)
debug: core.db.tar.gz.sig: curl returned result 0 from transfer
debug: core.db.tar.gz.sig: response code 404
debug: core.db.tar.gz.sig: no more servers to retry
debug: extra.db: url is https://mirror.arvancloud.com/manjaro/stable/extra/x86_64/extra.db
debug: extra.db: maxsize 134217728
debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: extra.db: curl returned result 0 from transfer
debug: extra.db: response code 200
debug: extra.db.tar.gz.sig: url is https://mirror.arvancloud.com/manjaro/stable/extra/x86_64/extra.db.tar.gz.sig
debug: extra.db.tar.gz.sig: maxsize 16384
debug: extra.db.tar.gz.sig: opened tempfile for download: /var/lib/pacman/sync/extra.db.tar.gz.sig.part (wb)
debug: extra.db.tar.gz.sig: curl returned result 0 from transfer
debug: extra.db.tar.gz.sig: response code 404
debug: extra.db.tar.gz.sig: no more servers to retry
debug: community.db: url is https://mirror.arvancloud.com/manjaro/stable/community/x86_64/community.db
debug: community.db: maxsize 134217728
debug: community.db: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: community.db: curl returned result 0 from transfer
debug: community.db: response code 200
debug: community.db.tar.gz.sig: url is https://mirror.arvancloud.com/manjaro/stable/community/x86_64/community.db.tar.gz.sig
debug: community.db.tar.gz.sig: maxsize 16384
debug: community.db.tar.gz.sig: opened tempfile for download: /var/lib/pacman/sync/community.db.tar.gz.sig.part (wb)
debug: community.db.tar.gz.sig: curl returned result 0 from transfer
debug: community.db.tar.gz.sig: response code 404
debug: community.db.tar.gz.sig: no more servers to retry
debug: multilib.db: url is https://mirror.arvancloud.com/manjaro/stable/multilib/x86_64/multilib.db
debug: multilib.db: maxsize 134217728
debug: multilib.db: opened tempfile for download: /var/lib/pacman/sync/multilib.db.part (wb)
debug: multilib.db: curl returned result 0 from transfer
debug: multilib.db: response code 200
debug: multilib.db.tar.gz.sig: url is https://mirror.arvancloud.com/manjaro/stable/multilib/x86_64/multilib.db.tar.gz.sig
debug: multilib.db.tar.gz.sig: maxsize 16384
debug: multilib.db.tar.gz.sig: opened tempfile for download: /var/lib/pacman/sync/multilib.db.tar.gz.sig.part (wb)
debug: multilib.db.tar.gz.sig: curl returned result 0 from transfer
debug: multilib.db.tar.gz.sig: response code 404
debug: multilib.db.tar.gz.sig: no more servers to retry
debug: pritunl.db: url is https://repo.pritunl.com/stable/pacman/pritunl.db
debug: pritunl.db: maxsize 134217728
debug: pritunl.db: opened tempfile for download: /var/lib/pacman/sync/pritunl.db.part (wb)
debug: pritunl.db: curl returned result 0 from transfer
debug: pritunl.db: response code 200
debug: pritunl.db.sig: url is https://repo.pritunl.com/stable/pacman/pritunl.db.sig
debug: pritunl.db.sig: maxsize 16384
debug: pritunl.db.sig: opened tempfile for download: /var/lib/pacman/sync/pritunl.db.sig.part (wb)
debug: pritunl.db.sig: curl returned result 0 from transfer
debug: pritunl.db.sig: response code 404
debug: pritunl.db.sig: no more servers to retry
debug: curl_download_internal return code is 0
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/pritunl.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/pritunl.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature
debug: missing optional signature
debug: loading package cache for repository 'local'
debug: added 0 packages to package cache for db 'local'
debug: returning error 33 from alpm_db_get_pkg (../lib/libalpm/db.c: 248) : could not find or read package
debug: returning error 33 from alpm_db_get_pkg (../lib/libalpm/db.c: 248) : could not find or read package
debug: returning error 33 from alpm_db_get_pkg (../lib/libalpm/db.c: 248) : could not find or read package
:: Starting full system upgrade...
debug: checking for package upgrades
there is nothing to do
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
debug: unregistering database 'pritunl'