You are not logged in.

#1 2011-07-10 23:07:08

carebearboy
Member
Registered: 2011-07-03
Posts: 56

[SOLVED] Pacman AUR - error: failed retrieving file 'custom.db' ...

I'm trying to update my AUR packages and I'm getting this message:



 manpage for home]# pacman -Syu
:: 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 disk : No such file or directory
error: failed to update custom (No such file or directory)
:: Starting full system upgrade...
 there is nothing to do
[root@myhost home]# 
#
# /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
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - -f %u > %o
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#CheckSpace

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName

#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

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

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

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

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

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

# If you want to run 32 bit applications on your x86_64 system,

# enable the multilib repositories as required here.

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

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

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
[custom]
Server = file:///Home/builds


I've read the arch wiki on AUR and have used it with no probs on my last install. I'm thinking maybe I'm entering the directory information incorrectly. Currently my builds directory is in the home folder and is called 'builds'

Last edited by carebearboy (2011-07-11 00:39:39)

Offline

#2 2011-07-10 23:11:22

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] Pacman AUR - error: failed retrieving file 'custom.db' ...

Server = file:///Home/builds

should it be home instead of Home ?

Offline

#3 2011-07-10 23:20:46

carebearboy
Member
Registered: 2011-07-03
Posts: 56

Re: [SOLVED] Pacman AUR - error: failed retrieving file 'custom.db' ...

Snowman wrote:

Server = file:///Home/builds

should it be home instead of Home ?

I changed it to "home" and have the same error. I find when I comment out the bottom two lines in the /etc/pacman.conf file then there is no error, but then there is no access to AUR files.

I checked the net and there is only one other person that had this problem it seems. Is there anything I can reinstall that might help? This seems like a hopeless situation. hmm

Last edited by carebearboy (2011-07-10 23:39:49)

Offline

#4 2011-07-10 23:39:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Pacman AUR - error: failed retrieving file 'custom.db' ...

Have you created custom.db database? You need a database for your repo, not just the packages.

Offline

#5 2011-07-10 23:44:21

carebearboy
Member
Registered: 2011-07-03
Posts: 56

Re: [SOLVED] Pacman AUR - error: failed retrieving file 'custom.db' ...

karol wrote:

Have you created custom.db database? You need a database for your repo, not just the packages.

I don't think I saw that in the arch wiki. Where can I get i information on how to do this?

Thanks for the quick response btw.

Offline

#6 2011-07-10 23:46:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Pacman AUR - error: failed retrieving file 'custom.db' ...

carebearboy wrote:
karol wrote:

Have you created custom.db database? You need a database for your repo, not just the packages.

I don't think I saw that in the arch wiki. Where can I get i information on how to do this?

Thanks for the quick response btw.

https://wiki.archlinux.org/index.php/Cu … repository


I'm not quite sure what the local repo has to do with AUR though. You don't need to create a local repo to install packages from AUR.

Last edited by karol (2011-07-10 23:48:44)

Offline

#7 2011-07-11 00:08:57

carebearboy
Member
Registered: 2011-07-03
Posts: 56

Re: [SOLVED] Pacman AUR - error: failed retrieving file 'custom.db' ...

karol wrote:
carebearboy wrote:
karol wrote:

Have you created custom.db database? You need a database for your repo, not just the packages.

I don't think I saw that in the arch wiki. Where can I get i information on how to do this?

Thanks for the quick response btw.

https://wiki.archlinux.org/index.php/Cu … repository


I'm not quite sure what the local repo has to do with AUR though. You don't need to create a local repo to install packages from AUR.

I hadn't done this step before...

My goal is to install 'yaourt' so I can easily install packages from the AUR, but I cannot install yaourt (and its dependancy package-query) with this error. Both yaourt and package-query are compiled and ready to go. Just this error stops me from uploading them into the repo and installing.

Last edited by carebearboy (2011-07-11 00:23:38)

Offline

#8 2011-07-11 00:31:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Pacman AUR - error: failed retrieving file 'custom.db' ...

I'm not sure if I'm getting this right: you want to install yaourt, right? Why don't you use 'pacman -U <filename>' to install the yaourt package?
I've compiled a package from AUR and I install it like this:

[karol@black bigpkg]$ sudo pacman -U bigpkg-0.3.0-1-any.pkg.tar 
resolving dependencies...
looking for inter-conflicts...

Targets (1): bigpkg-0.3.0-1 [0,01 MB]

Total Download Size:    0,00 MB
Total Installed Size:   0,02 MB

Proceed with installation? [Y/n] 
(1/1) checking package integrity                           [################################] 100%
(1/1) checking for file conflicts                          [################################] 100%
(1/1) upgrading bigpkg                                     [################################] 100%
[karol@black bigpkg]$ 

Last edited by karol (2011-07-11 00:33:12)

Offline

#9 2011-07-11 00:38:46

carebearboy
Member
Registered: 2011-07-03
Posts: 56

Re: [SOLVED] Pacman AUR - error: failed retrieving file 'custom.db' ...

karol wrote:

I'm not sure if I'm getting this right: you want to install yaourt, right? Why don't you use 'pacman -U <filename>' to install the yaourt package?
I've compiled a package from AUR and I install it like this:

[karol@black bigpkg]$ sudo pacman -U bigpkg-0.3.0-1-any.pkg.tar 
resolving dependencies...
looking for inter-conflicts...

Targets (1): bigpkg-0.3.0-1 [0,01 MB]

Total Download Size:    0,00 MB
Total Installed Size:   0,02 MB

Proceed with installation? [Y/n] 
(1/1) checking package integrity                           [################################] 100%
(1/1) checking for file conflicts                          [################################] 100%
(1/1) upgrading bigpkg                                     [################################] 100%
[karol@black bigpkg]$ 

I just found that out. I feel so embarrased * blushes *. Yaourt is now installed fine and I can sleep tonight, lol.

Again, thanks for putting up with me.

Offline

#10 2011-07-11 14:45:40

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: [SOLVED] Pacman AUR - error: failed retrieving file 'custom.db' ...

You shouldn't be uncommenting things you don't fully understand in the file; the only reason to uncomment '[custom]' is if you actually have a local repository. Installing stuff from the AUR doesn't mean you have one. Please read the comments around that section.

Offline

Board footer

Powered by FluxBB