You are not logged in.

#1 2012-09-22 19:08:10

Invie
Member
From: Carnage, Destruction USA
Registered: 2012-09-08
Posts: 70

[SOLVED]Trying to install googletalk plugin and keep getting an error!

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 error

Last 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

#2 2012-09-22 19:15:18

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

Re: [SOLVED]Trying to install googletalk plugin and keep getting an error!

       --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.

Invie wrote:

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/makepkg

Last edited by karol (2012-09-22 19:25:57)

Offline

#3 2012-09-22 19:42:57

Invie
Member
From: Carnage, Destruction USA
Registered: 2012-09-08
Posts: 70

Re: [SOLVED]Trying to install googletalk plugin and keep getting an error!

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'; do

Just living is not enough... one must have sunshine, freedom, and a little flower.  ~Hans Christian Andersen

Offline

#4 2012-09-22 19:43:57

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

Re: [SOLVED]Trying to install googletalk plugin and keep getting an error!

What's the output of

grep ^PKGDEST /etc/makepkg.conf

Offline

#5 2012-09-22 19:48:20

Invie
Member
From: Carnage, Destruction USA
Registered: 2012-09-08
Posts: 70

Re: [SOLVED]Trying to install googletalk plugin and keep getting an error!

Here.

grep ^PKGDEST /etc/makepkg.conf
PKGDEST=/etc/makepkg.conf

Just living is not enough... one must have sunshine, freedom, and a little flower.  ~Hans Christian Andersen

Offline

#6 2012-09-22 19:50:39

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

Re: [SOLVED]Trying to install googletalk plugin and keep getting an error!

Ah, that's what I thought.

#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages

That should be a directory and /etc/makepkg.conf is a file.

Offline

#7 2012-09-22 20:06:32

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: [SOLVED]Trying to install googletalk plugin and keep getting an error!

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

#8 2012-09-22 20:31:24

Invie
Member
From: Carnage, Destruction USA
Registered: 2012-09-08
Posts: 70

Re: [SOLVED]Trying to install googletalk plugin and keep getting an error!

It worked! Thanks~!


Just living is not enough... one must have sunshine, freedom, and a little flower.  ~Hans Christian Andersen

Offline

#9 2012-09-22 21:04:33

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

Re: [SOLVED]Trying to install googletalk plugin and keep getting an error!

Please mark your thread solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

Board footer

Powered by FluxBB