You are not logged in.
Does this every time even after installing the extra repository.
$ sudo makepkg install --asroot
==> Making package: google-talkplugin 3.6.1.0-1 (Sat Sep 22 15:05:08 EDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found google-talkplugin-3.6.1.0-i386.rpm
==> Validating source files with sha1sums...
google-talkplugin-3.6.1.0-i386.rpm ... Passed
==> Extracting Sources...
-> Extracting google-talkplugin-3.6.1.0-i386.rpm with bsdtar
==> Removing existing pkg/ directory...
==> Starting package()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
/usr/bin/makepkg: line 1230: /etc/makepkg.conf/google-talkplugin-3.6.1.0-1-i686.pkg.tar.xz: Not a directory
bsdtar: Write errorLast edited by Invie (2012-09-23 03:56:52)
Just living is not enough... one must have sunshine, freedom, and a little flower. ~Hans Christian Andersen
Offline
--asroot
Allow makepkg to run as root. This is for security
purposes as it is normally dangerous to do so. This will
also disable use of fakeroot and sudo.Any reason for using '--asroot'? I've just installed it with 'makepkg -si', but works with 'sudo makepkg install --asroot' too.
Does this every time even after installing the extra repository.
I don't understand this part.
Edit: The error talks about /usr/bin/makepkg, line 1230. Not sure what could be wrong with it, but post the output of
sed -n 1230,1260p /usr/bin/makepkgLast edited by karol (2012-09-22 19:25:57)
Offline
Ah, the "extra" repository was this one:
[archstuff]
# AUR's most voted packages
Server = http://archstuff.vs169092.vserver.de/$arch
-- To pacman.conf.
I ran it as root because I hadn't exactly read the manual, as well as the fact that it printed a line: "Cannot install file, not enough permissions! Type --asroot to run as root!" or something along these lines.
$ sed -n 1230,1260p /usr/bin/makepkg
create_package() {
if [[ ! -d $pkgdir ]]; then
error "$(gettext "Missing %s directory.")" "pkg/"
plain "$(gettext "Aborting...")"
exit 1 # $E_MISSING_PKGDIR
fi
check_package
cd "$pkgdir"
msg "$(gettext "Creating package...")"
local nameofpkg
if [[ -z $1 ]]; then
nameofpkg="$pkgname"
else
nameofpkg="$1"
fi
if [[ $arch = "any" ]]; then
PKGARCH="any"
else
PKGARCH=$CARCH
fi
write_pkginfo $nameofpkg > .PKGINFO
local comp_files=".PKGINFO"
# check for changelog/install files
for i in 'changelog/.CHANGELOG' 'install/.INSTALL'; doJust living is not enough... one must have sunshine, freedom, and a little flower. ~Hans Christian Andersen
Offline
What's the output of
grep ^PKGDEST /etc/makepkg.confOffline
Here.
grep ^PKGDEST /etc/makepkg.conf
PKGDEST=/etc/makepkg.confJust living is not enough... one must have sunshine, freedom, and a little flower. ~Hans Christian Andersen
Offline
Ah, that's what I thought.
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packagesThat should be a directory and /etc/makepkg.conf is a file.
Offline
Moving to Newbie subforum.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
It worked! Thanks~!
Just living is not enough... one must have sunshine, freedom, and a little flower. ~Hans Christian Andersen
Offline
Please mark your thread solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline