You are not logged in.

#1 2008-01-28 06:23:26

Archerbee
Member
Registered: 2007-10-17
Posts: 75
Website

Repository problem?

$ sudo pacman -Syu
:: Synchronizing package databases...
 core                      23.1K   44.4K/s 00:00:01 [#####################] 100%
 extra                    303.7K   58.4K/s 00:00:05 [#####################] 100%
 community                334.1K   72.8K/s 00:00:05 [#####################] 100%
error: failed retrieving file 'custom.db.tar.gz' from disk : No such file or directory
error: failed to synchronize custom: No such file or directory

Something gone wrong with my repo?Can you help?:rolleyes:

Last edited by Archerbee (2008-01-28 06:24:21)

Offline

#2 2008-01-28 06:43:04

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: Repository problem?

Have you add something to your /etc/pacman.conf? It seems, that you add a [custom] repo with wrong settings.

Offline

#3 2008-01-28 06:55:54

Archerbee
Member
Registered: 2007-10-17
Posts: 75
Website

Re: Repository problem?

The settings in /etc/pacman.conf that i added are...

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
[custom]
Server = file:///mnt/temp/arch-local/x86/packages

Last edited by Archerbee (2008-01-28 06:57:03)

Offline

#4 2008-01-28 06:59:48

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: Repository problem?

Have you create a real repo in the directory or have you just copy some packages in there?

EDIT: Have you create it like mentioned here at position 1: http://wiki.archlinux.org/index.php/Cus … nd_gensync

Last edited by ise (2008-01-28 07:04:35)

Offline

#5 2008-01-28 07:36:03

Archerbee
Member
Registered: 2007-10-17
Posts: 75
Website

Re: Repository problem?

As i far as i can understand,i should have a repo.db.tar.gz or a custom.db.tar.gz file,but i have none! hmm
No,i haven't created a real repo...I've just copied some package there! roll

Last edited by Archerbee (2008-01-28 07:36:36)

Offline

#6 2008-01-28 07:40:55

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Repository problem?

Then create one with repo-add like explained on the wiki. You should call it custom.db.tar.gz,
since the section you have in your pacman.conf is called custom.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2008-01-28 07:52:35

Archerbee
Member
Registered: 2007-10-17
Posts: 75
Website

Re: Repository problem?

Alright!Think i got it...When i install a package,i add it to the custom.db.tar.gz with repo-add so to be up to date with pacman!Right? big_smile

Thanks a lot guys! big_smile

Offline

#8 2008-01-28 07:59:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Repository problem?

More like this: when you build a package, you add it to your custom repo with repo-add so that pacman can install it.

Offline

Board footer

Powered by FluxBB