View previous topic :: View next topic |
Author |
Message |
Errtu Apprentice
Joined: 12 Nov 2002 Posts: 155 Location: Brazil
|
Posted: Tue Apr 26, 2005 10:52 am Post subject: unable to unmerge ltsp |
|
|
Hi,
I don't know when this started, but i'm having the following error for quite some time now. It's not critical since this occurs only *after* everything else has been succesfully compiled/emerged. It's just annoying :
Code: |
selected: 4.0
protected: 4.1-r1
omitted: none
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging net-misc/ltsp-4.0...
No package files given... Grabbing a set.
/usr/lib/portage/bin/ebuild.sh: /var/db/pkg/net-misc/ltsp-4.0/ltsp-core-4.0.ebuild: line 97: unexpected EOF while looking for matching ``'
/usr/lib/portage/bin/ebuild.sh: /var/db/pkg/net-misc/ltsp-4.0/ltsp-core-4.0.ebuild: line 171: syntax error: unexpected end of file
!!! ERROR: net-misc/ltsp-core-4.0 failed.
!!! Function , Line 1702, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.
!!! FAILED prerm: 1
|
Anyone who can help is my hero for today! |
|
Back to top |
|
|
nephros Advocate
Joined: 07 Feb 2003 Posts: 2139 Location: Graz, Austria (Europe - no kangaroos.)
|
Posted: Wed Apr 27, 2005 7:20 am Post subject: |
|
|
Could you post your /var/db/pkg/net-misc/ltsp-4.0/ltsp-core-4.0.ebuild for us?
I'd hate to have to hack into your machine to help you _________________ Please put [SOLVED] in your topic if you are a moron. |
|
Back to top |
|
|
Errtu Apprentice
Joined: 12 Nov 2002 Posts: 155 Location: Brazil
|
Posted: Wed Apr 27, 2005 7:28 am Post subject: |
|
|
Here goes:
Code: |
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ltspltsp-core-4.0.ebuild,v 1.6 2004/06/24 23:55:14 agriffis Exp $
IUSE="X debug"
DESCRIPTION="LTSP - Linux Terminal Server Project"
HOMEPAGE="http://www.ltsp.org/"
LTSP_CORE="ltsp-ltsptree-0.09-0-i386.tgz
ltsp-glibc-2.3.2-0-i386.tgz
ltsp-sysvinit-2.84-0-i386.tgz
ltsp-popt-1.0-0-i386.tgz
ltsp-bash-2.05b-0-i386.tgz
ltsp-busybox-0.60.4-0-i386.tgz
ltsp-devfsd-1.3.25-0-i386.tgz
ltsp-getltscfg-0.02-0-i386.tgz
ltsp-libgcc_s-3.2.3-0-i386.tgz
ltsp-haltsys-0.02-0-i386.tgz
ltsp-e2fsprogs-1.29-0-i386.tgz
ltsp-startsess-1.1-0-i386.tgz
ltsp-lp_server-1.1.6-0-i386.tgz
ltsp-ltspinfod-0.1-0-i386.tgz
ltsp-modutils-2.4.22-0-i386.tgz
ltsp-ncurses-5.3-0-i386.tgz
ltsp-open-1.4-0-i386.tgz
ltsp-prep_swap-0.01-0-i386.tgz
ltsp-zlib-1.1.4-0-i386.tgz
ltsp-libpng-1.2.5-0-i386.tgz
ltsp-pci_scan-0.02-0-i386.tgz
ltsp-pam-0.77-0-i386.tgz
ltsp-ssh-3.7.1p2-0-i386.tgz
ltsp-audiofile-0.2.3-0-i386.tgz
ltsp-esd-0.2.32-0-i386.tgz
ltsp-net-tools-1.60-0-i386.tgz
ltsp-xinetd-2.3.12-0-i386.tgz
ltsp-ypbind-1.14-0-i386.tgz
ltsp-tcp_wrappers-7.6-0-i386.tgz
ltsp-portmap-4-0-i386.tgz
ltsp-rdesktop-1.2.0-0-i386.tgz"
LTSP_DEBUG="ltsp-gdb-5.3-0-i386.tgz
ltsp-strace-4.4.94-0-i386.tgz"
LTSP_X="ltsp-x-core-4.3.99.901-0-i386.tgz
ltsp-x-fonts-4.3.99.901-0-i386.tgz
ltsp-x-fonts-100dpi-4.3.99.901-0-i386.tgz
ltsp_x336_3DLabs-3.3.6-0-i386.tgz
ltsp_x336_8514-3.3.6-0-i386.tgz
ltsp_x336_AGX-3.3.6-0-i386.tgz
ltsp_x336_I128-3.3.6-0-i386.tgz
ltsp_x336_Mach32-3.3.6-0-i386.tgz
ltsp_x336_Mach64-3.3.6-0-i386.tgz
ltsp_x336_Mach8-3.3.6-0-i386.tgz
ltsp_x336_Mono-3.3.6-0-i386.tgz
ltsp_x336_P9000-3.3.6-0-i386.tgz
ltsp_x336_S3_S3V-3.3.6-0-i386.tgz
ltsp_x336_SVGA-3.3.6-0-i386.tgz
ltsp_x336_VGA16-3.3.6-0-i386.tgz
ltsp_x336_W32-3.3.6-0-i386.tgz"
LTSP_STUFF="ltspcfg-0.3.tgz
ltsp_kernel-3.0.13-i386.tgz"
for FILE in ${LTSP_CORE} ${LTSP_STUFF}
do
SRC_URI="${SRC_URI} mirror://sourceforge/ltsp/${FILE}"
done
for FILE in ${LTSP_DEBUG} ${LTSP_STUFF}
do
SRC_URI="${SRC_URI} debug? ( mirror://sourceforge/ltsp/${FILE} )"
done
for FILE in ${LTSP_X}
do
SRC_URI="${SRC_URI} X? ( mirror://sourceforge/ltsp/${FILE} )"
done
RDEPEND="X? ( virtual/x11 )
virtual/tftp
sys-apps/xinetd
net-misc/dhcp
net-fs/nfs-utils
net-nds/portmap"
DEPEND="app-arch/tar
virtual/gzip"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
S=${WORKDIR}/ltsp
pkg_setup() {
if `has_version net-misc/ltsp; then
ewarn "Due to a portage bug you have to remove your old ltsp version before upgrading."
die
fi
}
src_unpack() {
# nothing to unpack
mkdir ltsp
cd ltsp
for FILE in ${LTSP_STUFF}
do
tar -xzf ${DISTDIR}/${FILE}
done
}
src_install() {
# now unpack the files
# first the core stuff
dodir /opt/ltsp
echo "Installing core packages..."
for FILE in ${LTSP_CORE}
do
tar -xzf ${DISTDIR}/${FILE} -C ${D}/opt/ltsp 2> /dev/null
done
# debug stuff
if use debug; then
echo "Installing debug packages..."
for FILE in ${LTSP_DEBUG}
do
tar -xzf ${DISTDIR}/${FILE} -C ${D}/opt/ltsp 2> /dev/null
done
fi
# X stuff
if use X; then
echo "Installing X packages..."
for FILE in ${LTSP_X}
do
tar -xzf ${DISTDIR}/${FILE} -C ${D}/opt/ltsp 2> /dev/null
done
fi
# kernel stuff
echo "Installing kernel packages..."
cd ltsp_kernel
find i386 -print | cpio -pmud --quiet ${D}/opt/ltsp 2> /dev/null
insinto /tftpboot/lts
doins vmlinuz-2.4.24-ltsp-1
cd ..
# pxe stuff
insinto /tftpboot/pxe
doins ${FILESDIR}/eb-5.0.9-rtl8139.lzpxe
doins ${FILESDIR}/eb-5.0.9-eepro100.lzpxe
doins ${FILESDIR}/eb-5.0.9-3c905c-tpo.lzpxe
# config stuff
echo "Doing several other stuff..."
dosbin ltspcfg
# several other stuff
mv ${D}/opt/ltsp/i386/etc/lts.conf ${D}/opt/ltsp/i386/etc/lts.conf.example
dodoc COPYING
}
pkg_postinst() {
einfo
einfo "Either use ltspcfg to configure your stuff, or follow the guide at gentoo.org:"
einfo " http://www.gentoo.org/doc/en/ltsp.xml "
einfo
}
|
|
|
Back to top |
|
|
nephros Advocate
Joined: 07 Feb 2003 Posts: 2139 Location: Graz, Austria (Europe - no kangaroos.)
|
Posted: Wed Apr 27, 2005 8:25 am Post subject: |
|
|
Errtu wrote: | Here goes:
Code: | pkg_setup() {
if `has_version net-misc/ltsp; then
ewarn "Due to a portage bug you have to remove your old ltsp version before upgrading."
die
fi
}
|
|
Gotcha!
I think you need to remove the backtick(`) in the if line. If that doesn't work, put another after ltsp instead. If that doesn't work either, just remove the whole pkg_setup() block. _________________ Please put [SOLVED] in your topic if you are a moron. |
|
Back to top |
|
|
Errtu Apprentice
Joined: 12 Nov 2002 Posts: 155 Location: Brazil
|
Posted: Wed Apr 27, 2005 9:06 am Post subject: |
|
|
Putting an extra ' fixed it! Thanks alot! I opened the file in nano and saw that in stead of the ' there was ^A ... which didn't get copy pasted btw |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Sun May 08, 2005 9:50 pm Post subject: |
|
|
Moved from Portage & Programming in favour of the FAQ GF19: Emerge fails to unmerge a package. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
|