Author Topic: Can't update bash: "warning: database file for 'custom' does not exist"  (Read 3535 times)

0 Members and 1 Guest are viewing this topic.

Offline Kirelejson

  • Jr. Mitglied
  • **
  • Posts: 51
  • Branch: using
  • Desktop: Xfce
  • Skill: Novice
I can't to update bash package.



Octopi writes:

Quote
Installing selected packages...

warning: database file for 'custom' does not exist
error: failed to prepare transaction (could not find database)

Command finished with errors!

What do I wrong?

The content od the file /etc/pacman.d/pacman.conf

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/
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
# We cannot check disk space from within a chroot environment
#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 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]
Include = /etc/pacman.d/mirrorlist

[extra]
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]
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
« Last Edit: 05. October 2014, 07:32:43 by Kirelejson »

Offline schpankme

  • Held Mitglied
  • *****
  • Posts: 1600
  • High Carb / Low Fat / Vegan
  • Branch: Stable
  • Desktop: Qt..i3..OpenRC..Eudev
  • GPU Card: GTX 780 Ti
  • GPU driver: video-nouveau
  • Kernel: 4.4.45-1 x64
  • Skill: Advanced
Update and Sync System
Code: [Select]
sudo pacman-mirrors -g && sudo pacman -Syyuu && sudo pacman -Suu
Code: [Select]
yaourt -Syuua

Offline Kirelejson

  • Jr. Mitglied
  • **
  • Posts: 51
  • Branch: using
  • Desktop: Xfce
  • Skill: Novice
Thank you for help. It not works for me:

Code: [Select]
[as@lenovo ~]$ sudo pacman-mirrors -g && sudo pacman -Syyuu && sudo pacman -Suu
[sudo] password for as:
:: Querying servers, this may take some time...
Africa
-> 0.815 http://manjaro.mirror.ac.za/stable/$repo/$arch
-> 0.723 http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
Australia
-> 0.760 http://mirror.ventraip.net.au/Manjaro/stable/$repo/$arch
-> 0.722 http://manjaro.mirror.serversaustralia.com.au/stable/$repo/$arch
-> 1.421 http://manjaro.mirror.uber.com.au/stable/$repo/$arch
Bangladesh
-> 0.808 http://mirrors.ispros.com.bd/manjaro/stable/$repo/$arch
Belgium
-> 0.196 http://ftp.belnet.be/manjaro/stable/$repo/$arch
-> 0.217 http://manjaro.cu.be/stable/$repo/$arch
Brasil
-> 0.535 http://manjaro.fis.unb.br/stable/$repo/$arch
-> 1.539 http://www.las.ic.unicamp.br/pub/manjarolinux/stable/$repo/$arch
Chile
-> 0.824 http://manjaro.dcc.uchile.cl/stable/$repo/$arch
China
-> 1.348 http://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
-> 0.908 http://mirror.bjtu.edu.cn/manjaro/stable/$repo/$arch
-> 0.745 http://ftp.cuhk.edu.hk/pub/Linux/manjaro/stable/$repo/$arch
Colombia
-> 0.713 http://mirror.edatel.net.co/manjaro/stable/$repo/$arch
Costa_Rica
-> 0.713 http://mirrors.ucr.ac.cr/manjaro/stable/$repo/$arch
Denmark
-> 0.151 http://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
France
-> 0.222 http://manjarolinux.polymorf.fr/stable/$repo/$arch
-> 0.156 http://mirror.finn.lu/manjaro/stable/$repo/$arch
Germany
-> 0.137 http://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
-> 0.177 http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
-> 0.157 http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
-> 0.140 http://mirror3.layerjet.com/manjaro/stable/$repo/$arch
-> 0.162 http://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch
-> 0.172 http://mirror.intercolo.net/manjaro/stable/$repo/$arch
Greece
-> 0.243 http://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
India
-> Error!http://manjaro.mirror.net.in/manjaro/stable/$repo/$arch
Indonesia
-> 1.444 http://kambing.ui.ac.id/manjaro/stable/$repo/$arch
-> 0.735 http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
Ireland
-> 0.187 http://ftp.heanet.ie/mirrors/manjaro/stable/$repo/$arch
Italy
-> 0.290 http://manjaro.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
Japan
-> 1.264 http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
-> 0.989 http://ftp.riken.jp/Linux/manjaro/stable/$repo/$arch
Netherlands
-> 0.118 http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
Philippines
-> 1.178 http://mirror.pregi.net/pub/Linux/manjaro/stable/$repo/$arch
Portugal
-> 0.482 http://ftp.dei.uc.pt/pub/linux/manjaro/repos/stable/$repo/$arch
Romania
-> Error!http://mirrors.xservers.ro/manjaro/stable/$repo/$arch
-> 0.326 http://mirrors.serverhost.ro/manjaro/packages/stable/$repo/$arch
-> 0.236 http://ftp.lug.ro/manjaro/stable/$repo/$arch
-> 0.356 http://manjaro.mirrors.linux.ro/repos/stable/$repo/$arch
Russia
-> 0.084 http://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
South_Korea
-> 0.803 http://mirror.premi.st/manjaro/stable/$repo/$arch
Sweden
-> 0.070 http://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
-> 0.146 http://mirror.zetup.net/manjaro/stable/$repo/$arch
Taiwan
-> 1.508 http://free.nchc.org.tw/manjaro/stable/$repo/$arch
-> 1.889 http://free2.nchc.org.tw/manjaro/stable/$repo/$arch
-> 1.382 http://ftp.yzu.edu.tw/Linux/manjaro/stable/$repo/$arch
Turkey
-> 0.193 http://ftp.linux.org.tr/manjaro/stable/$repo/$arch
United_Kingdom
-> 0.133 http://repo.manjaro.org.uk/stable/$repo/$arch
-> ..... http://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/-> 0.252
-> 0.202 http://mirror.catn.com/pub/manjaro/stable/$repo/$arch
-> 0.146 http://manjaro.mirrors.uk2.net/stable/$repo/$arch
United_States
-> 0.312 http://mirror.dacentec.com/manjaro/stable/$repo/$arch
-> 0.753 http://www.gtlib.gatech.edu/pub/manjaro/stable/$repo/$arch
-> 0.547 http://mirror.jmu.edu/manjaro/stable/$repo/$arch
-> 0.442 http://mirror.solarvps.com/manjaro/stable/$repo/$arch
-> 0.302 http://mirror.nexcess.net/manjaro/stable/$repo/$arch
-> Error!http://vm1.sorch.info/manjaro/stable/$repo/$arch
:: Generated and saved '/etc/pacman.d/mirrorlist' mirrorlist.
:: Synchronizing package databases...
 core                     126,7 KiB   213K/s 00:01 [######################] 100%
 extra                   1881,7 KiB   563K/s 00:03 [######################] 100%
 community                  2,5 MiB   562K/s 00:04 [######################] 100%
 multilib                 134,7 KiB   552K/s 00:00 [######################] 100%
error: failed retrieving file 'custom.db' from ftp.lysator.liu.se : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.yandex.ru : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.nluug.nl : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from repo.manjaro.org.uk : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror3.layerjet.com : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.zetup.net : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjaro.mirrors.uk2.net : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirrors.dotsrc.org : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.finn.lu : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.rz.tu-bs.de : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.netzspielplatz.de : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.intercolo.net : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.tu-chemnitz.de : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.heanet.ie : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.belnet.be : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjarolinux.polymorf.fr : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.lug.ro : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from www.mirrorservice.org : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.dacentec.com : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.dei.uc.pt : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjaro.fis.unb.br : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirrors.ucr.ac.cr : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjaro.mirror.serversaustralia.com.au : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.is.co.za : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.premi.st : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirrors.ispros.com.bd : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjaro.dcc.uchile.cl : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.tsukuba.wide.ad.jp : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.yzu.edu.tw : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjaro.mirror.uber.com.au : The requested URL returned error: 404 Not Found
error: failed to update custom (download library error)
:: Starting full system upgrade...
error: failed to prepare transaction (could not find database)
[as@lenovo ~]$ yaourt -Syuua
/usr/lib/yaourt/util.sh: line 166: package-query: command not found
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
error: failed retrieving file 'custom.db' from ftp.lysator.liu.se : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.yandex.ru : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.nluug.nl : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from repo.manjaro.org.uk : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror3.layerjet.com : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.zetup.net : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjaro.mirrors.uk2.net : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirrors.dotsrc.org : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.finn.lu : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.rz.tu-bs.de : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.netzspielplatz.de : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.intercolo.net : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.tu-chemnitz.de : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.heanet.ie : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.belnet.be : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjarolinux.polymorf.fr : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.lug.ro : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from www.mirrorservice.org : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.dacentec.com : The requested URL returned error: 404 Not Found
^Aerror: failed retrieving file 'custom.db' from ftp.dei.uc.pt : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjaro.fis.unb.br : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirrors.ucr.ac.cr : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjaro.mirror.serversaustralia.com.au : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.is.co.za : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirror.premi.st : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from mirrors.ispros.com.bd : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjaro.dcc.uchile.cl : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.tsukuba.wide.ad.jp : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from ftp.yzu.edu.tw : The requested URL returned error: 404 Not Found
error: failed retrieving file 'custom.db' from manjaro.mirror.uber.com.au : The requested URL returned error: 404 Not Found
error: failed to update custom (download library error)
error: failed to prepare transaction (could not find database)
warning: database file for 'custom' does not exist
:: Starting full system upgrade...
error: failed to prepare transaction (could not find database)
/usr/lib/yaourt/util.sh: line 166: package-query: command not found
[as@lenovo ~]$


Offline schpankme

  • Held Mitglied
  • *****
  • Posts: 1600
  • High Carb / Low Fat / Vegan
  • Branch: Stable
  • Desktop: Qt..i3..OpenRC..Eudev
  • GPU Card: GTX 780 Ti
  • GPU driver: video-nouveau
  • Kernel: 4.4.45-1 x64
  • Skill: Advanced

error: failed retrieving file 'custom.db' from ftp.yzu.edu.tw

Your issues shows that there is the [custom] repository.

#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs


Provide the output for the following, plz
Code: [Select]
cat /etc/pacman.conf
« Last Edit: 05. October 2014, 07:46:18 by schpankme »

Offline Kirelejson

  • Jr. Mitglied
  • **
  • Posts: 51
  • Branch: using
  • Desktop: Xfce
  • Skill: Novice
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/
HoldPkg     = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst   = archlinux-keyring manjaro-keyring manjaro-system pacman
#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 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.
#
« Last Edit: 05. October 2014, 12:16:31 by Kirelejson »

Offline schpankme

  • Held Mitglied
  • *****
  • Posts: 1600
  • High Carb / Low Fat / Vegan
  • Branch: Stable
  • Desktop: Qt..i3..OpenRC..Eudev
  • GPU Card: GTX 780 Ti
  • GPU driver: video-nouveau
  • Kernel: 4.4.45-1 x64
  • Skill: Advanced
Your last comment is a partial repeat of "pacman.conf.   
Plz edit your last comment and add the output using " # " insert code.

Lets make sure the pacman.conf is correct, plz provide the following output.
Code: [Select]
sudo mousepad /etc/pacman.conf

Offline Jonathan

  • Held Mitglied
  • *****
  • Posts: 940
  • Branch: testing
  • Desktop: Cinnamon
  • GPU Card: ATI Mobility Radeon HD 4330/4350/4550
  • GPU driver: free
  • Kernel: 3.18.0-1-mainline
  • Skill: Intermediate
Sorry for interfering.

This looks wrong.

The file /etc/pacman.d/pacman.conf should not exist on a standard system!
Do you perhaps use OpenRC ? Which could explain the difference.

And the contents of your /etc/pacman.conf that you posted are messed up - most entries there are listed more than 10 times if your output is correct, while not one single repository is actually listed.

Here is what my /etc/pacman.conf looks like for reference.

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/
HoldPkg     = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst = manjaro-system pacman
#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 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.
#

[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

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced

The file /etc/pacman.d/pacman.conf should not exist on a standard system!
Do you perhaps use OpenRC ? Which could explain the difference.



Nothing to do with openrc. which uses default locations.

He needs to comment out his custom repo which obviously hasn't a repo db, ie its empty and unused.

Offline Kirelejson

  • Jr. Mitglied
  • **
  • Posts: 51
  • Branch: using
  • Desktop: Xfce
  • Skill: Novice
Quote
Your last comment is a partial repeat of "pacman.conf.   
Plz edit your last comment and add the output using " # " insert code.

Lets make sure the pacman.conf is correct, plz provide the following output.

Thank you for your help and for your patience.

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/
HoldPkg     = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst   = archlinux-keyring manjaro-keyring manjaro-system pacman
#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 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.
#


Offline Jeannie

  • Held Mitglied
  • *****
  • Posts: 1546
  • Skill: Novice
Thank you for your help and for your patience.

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/
HoldPkg     = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst   = archlinux-keyring manjaro-keyring manjaro-system pacman
#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 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 important part is missing in your posted pacman-conf. Please provide the complete contents.
J.

Hitten by the door in the back when I left Manjaro.

Offline Jonathan

  • Held Mitglied
  • *****
  • Posts: 940
  • Branch: testing
  • Desktop: Cinnamon
  • GPU Card: ATI Mobility Radeon HD 4330/4350/4550
  • GPU driver: free
  • Kernel: 3.18.0-1-mainline
  • Skill: Intermediate
Your /etc/pacman.conf is missing the crutial section where the repos are defined.
Are you sure you posted all of what is in there?

Somehow, your file (pacman.conf) has ended up in /etc/pacman.d/pacman.conf
See first post.
Copy it back to /etc, replacing the incomplete file that is currently there.

That is my analysis from what has been posted so far.

Offline Kirelejson

  • Jr. Mitglied
  • **
  • Posts: 51
  • Branch: using
  • Desktop: Xfce
  • Skill: Novice
Thanks for help. Can you give me a template for  file pacman.conf?
I try to edit this file and now it is in this state:

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/
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
# We cannot check disk space from within a chroot environment
#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 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]
Include = /etc/pacman.d/mirrorlist

[extra]
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]
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

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Thanks for help. Can you give me a template for  file pacman.conf?


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/                                                           
HoldPkg     = pacman glibc manjaro-system                                                     
# If upgrades are available for these packages they will be asked for first
SyncFirst   = manjaro-system pacman
#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 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.
#

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

[extra]
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]
# Include = /etc/pacman.d/mirrorlist

Offline Kirelejson

  • Jr. Mitglied
  • **
  • Posts: 51
  • Branch: using
  • Desktop: Xfce
  • Skill: Novice
Now content of file /etc/pacman.d/pacman.conf in my computer is:

Code: [Select]
LogFile     = /var/log/pacman.log                                                           
#GPGDir      = /etc/pacman.d/gnupg/                                                           
HoldPkg     = pacman glibc manjaro-system                                                     
# If upgrades are available for these packages they will be asked for first
SyncFirst   = manjaro-system pacman
#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 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.
#

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

[extra]
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]
# Include = /etc/pacman.d/mirrorlist

But, regretfully, the problem remains:

« Last Edit: 05. October 2014, 14:45:06 by Kirelejson »

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Now content of file /etc/pacman.d/pacman.conf in my computer is:

Code: [Select]
LogFile     = /var/log/pacman.log                                                           
#GPGDir      = /etc/pacman.d/gnupg/                                                           
HoldPkg     = pacman glibc manjaro-system                                                     
# If upgrades are available for these packages they will be asked for first
SyncFirst   = manjaro-system pacman
#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 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.
#

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

[extra]
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]
# Include = /etc/pacman.d/mirrorlist

But, regretfully, the problem remains:



Code: [Select]
sudo pacman -Scc
will clear pacman cache.