You are not logged in.

#1 2012-10-19 15:58:01

K0DD4Z
Member
Registered: 2012-05-20
Posts: 24

I'm missing makepkg.conf

Well, I accidentally deleted /etc/makepkg.conf, and I don't find a sample anywhere. How do I generate a new one?

Offline

#2 2012-10-19 15:59:27

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

Re: I'm missing makepkg.conf

1. From your backup.
2. Have you tried reinstalling pacman?

Last edited by karol (2012-10-19 16:01:50)

Offline

#3 2012-10-19 16:00:43

K0DD4Z
Member
Registered: 2012-05-20
Posts: 24

Re: I'm missing makepkg.conf

I don't have a backup. But well, I will try to reinstall pacman then.

Offline

#4 2012-10-19 16:01:44

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

Re: I'm missing makepkg.conf

You can also grab https://projects.archlinux.org/svntogit … ges/pacman but I think you have to edit

CARCH="@CARCH@"
CHOST="@CHOST@"

etc. to e.g.

CARCH="i686"
CHOST="i686-pc-linux-gnu"

by hand.

Offline

#5 2012-10-19 18:27:57

msthev
Member
Registered: 2012-04-05
Posts: 177

Re: I'm missing makepkg.conf

$ pkgfile makepkg.conf
core/pacman
$ aunpack /var/cache/pacman/pkg/pacman-4.0.3-3-x86_64.pkg.tar.xz
$ cd pacman-4.0.3-3-x86_64.pkg.tar/etc/
$ ls -l makepkg.conf
-rw-r--r-- 1 msthev users 5035 Jul 10 23:49 makepkg.conf

And then just copy it to the desired location.

Last edited by msthev (2012-10-19 18:29:14)

Offline

#6 2012-10-19 18:54:04

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,919
Website

Re: I'm missing makepkg.conf


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB