+ -
当前位置:首页 → 问答吧 → 為什麼安裝AUR上面的軟體要問密碼?

為什麼安裝AUR上面的軟體要問密碼?

时间:2010-03-24

来源:互联网

下面的意思不是很理解,好像是說跟權限有關的,可是我就是用root呀!根據提示,要到/var/tmp/aurbuild/build/pdfsam去修復問題,該怎麼做呀?

(aurbuild是我裝aur倉庫的工具,使用yaourt也是一樣的結果,都要問密碼,請教是我系統哪裡錯了。)

代码:
[~]# aurbuild -ns --auto -o "-s" pdfsam
==> Checking Buildtime Dependencies... 

 - java-environment: missing [M]
        Not found in database.
 - apache-ant: ok [M]
 - libarchive: ok [M]
==> Checking Runtime Dependencies... 

 - java-runtime: missing [D]
        Not found in database.
==> Making package: pdfsam 2.1.0e-1 any (三 3月 24 18:10:50 CST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Installing missing dependencies...

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

 #1) Respect the privacy of others.
 #2) Think before you type.
 #3) With great power comes great responsibility.

密碼:

Sorry, try again.
密碼:
sudo: 1 incorrect password attempt
==> ERROR: Pacman failed to install missing dependencies.
aurbuild: could not build pdfsam with makepkg.
Build directory retained at /var/tmp/aurbuild/build/pdfsam
You can visit the directory, fix the problem, and run makepkg.
下面是/etc/makepkg.conf
代码:
#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
 'rsync::/usr/bin/rsync -z %u %o'
 'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/curl

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="i686"
CHOST="i686-pc-linux-gnu"

#-- Exclusive: will only run on -march=i686 
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
#預設值,如果打出來的包要分享給別人,要用這個,又或者直接分享PKGBUILD檔案
#CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
#CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"

#Athlon XP/Thunderbird XP/Duron Palomino/Duron 1800/Sempron 2400+系列
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(fakeroot !distcc color !ccache !xdelta)
# A negated environment option will do the opposite of the comments below.
#
#-- fakeroot: Allow building packages as a non-root user
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
#-- xdelta: Generate delta patch from previous to current package
#
BUILDENV=(fakeroot !distcc color !ccache !xdelta)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""

#########################################################################
# GLOBAL PACKAGE OPTIONS
# These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(strip docs libtool emptydirs zipman)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
#-- docs: Save doc and info directories
#-- libtool: Leave libtool (.la) files in packages
#-- emptydirs: Leave empty directories in packages
#-- zipman: Compress manpages with gzip
#-- purge: Remove files specified by PURGE_TARGETS
#
OPTIONS=(strip docs libtool emptydirs zipman purge)

#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Info and doc directories to remove (if option set correctly above)
DOC_DIRS=(usr/{,share/}{info,doc,gtk-doc} opt/*/{info,doc,gtk-doc})
#-- Directories to be searched for the strip option (if option set correctly above)
STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <[email protected]>"

SRCDEST=/var/cache/makepkg
PKGDEST=/root/resys/system


#########################################################################
# BUILDSCRIPT/EXTENSION DEFAULTS
#########################################################################
#
# WARNING: Do NOT modify these variables unless you know what you are
# doing.
#
BUILDSCRIPT='PKGBUILD'
PKGEXT='.pkg.tar.gz'
SRCEXT='.src.tar.gz'
DB_COMPRESSION='gz'
DB_CHECKSUMS=(md5)

# vim: set ft=sh ts=2 sw=2 et:

作者: jiuny0209   发布时间: 2010-03-24

要密码的是要安装依赖java-runtime。

你用pacman安装包不要密码吗?

作者: jqxl0205   发布时间: 2010-03-24

引用:
作者: jqxl0205
要密码的是要安装依赖java-runtime。

你用pacman安装包不要密码吗?
不用阿!都直接裝阿!
而且,我根本沒設密碼,直接按ENTER居然提示密碼錯誤。

作者: jiuny0209   发布时间: 2010-03-25

而且,明明我Java runtime已經裝上了,前一陣子倉庫好像整個掛掉過一次,現在搞得倉庫都亂掉了,很有錯誤。

作者: jiuny0209   发布时间: 2010-03-25

引用:
作者: jiuny0209
而且,明明我Java runtime已經裝上了,前一陣子倉庫好像整個掛掉過一次,現在搞得倉庫都亂掉了,很有錯誤。
建议把系统中有的包重新安装一次,如果不想这么麻烦的话那就只装出问题的那些吧。。

作者: hurricanek   发布时间: 2010-03-25

你root用户的密码呢。输入试试看。。为何要用root,怎么还有人用root

作者: jarryson   发布时间: 2010-03-25