You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2012-01-17 01:36:35

ArchVortex
Retired AB Overlord
From: Jakarta, Indonesia
Registered: 2011-04-01
Posts: 1,449

Updating to Pacman 4.0

You need to allow package PGP signatures and keys to be accumulated now. Go to /etc/pacman.conf.pacnew  and uncomment the line with SigLevel = Optional TrustAll and comment out SigLevel = never. Your conf file should look like below:


#
# /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
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacmanf
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

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

#NoExtract   =

# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists

# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel = Optional TrustedOnly
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
#SigLevel = never

GUI's?? We don't need no stinkin' GUI's!!!

Offline

#2 2012-01-17 02:21:37

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,746

Re: Updating to Pacman 4.0

Might be worth noting that Virtualbox does not like pacman 4. I use SigLevel = Never

But your mileage may vary

Offline

#3 2012-01-17 04:51:33

ArchVortex
Retired AB Overlord
From: Jakarta, Indonesia
Registered: 2011-04-01
Posts: 1,449

Re: Updating to Pacman 4.0

Or try Mastis' approach at this post http://bbs.archbang.org/viewtopic.php?pid=9866#p9866


GUI's?? We don't need no stinkin' GUI's!!!

Offline

#4 2012-01-17 14:18:31

oliver
Administrator
Registered: 2010-11-04
Posts: 1,516

Re: Updating to Pacman 4.0

Mr Green wrote:

Might be worth noting that Virtualbox does not like pacman 4. I use SigLevel = Never

But your mileage may vary

The fix for virtualbox (or your headless server) would be to install rng-tools from AUR and then edit /etc/conf.d/rngd (change the TIMEOUT value from 0 to 10)

Start up rngd with:

# rngd -f -r /dev/urandom

Then, in another window, run:

# pacman --init

and then you should be good to edit pacman.conf with the appropriate siglevel

Caveat emptor etc etc... make backups etc etc


Welly, welly, welly, welly, welly, welly, well. To what do I owe the extreme pleasure of this surprising visit?

Offline

#5 2012-01-19 09:26:38

ArchVortex
Retired AB Overlord
From: Jakarta, Indonesia
Registered: 2011-04-01
Posts: 1,449

Re: Updating to Pacman 4.0

From Ionut Biru ibiru@archlinux.org to Arch General - Reminder   

10:06 PM (16 minutes ago)

Hi,

now that we have pacman 4 in core, I noticed that some users cannot
install packages maintained by some packagers that didn't acquire at
least 3 master signatures.

Also you won't be able to push any new packages into repos because the
key is untrusted so is in your best interest to became trusted.

Please check your number and reply to all master emails as instructed
ASAP. Your key needs to be signed by all 5 master keys.


GUI's?? We don't need no stinkin' GUI's!!!

Offline

Board footer

Powered by FluxBB