Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unmerge a package with a corrupted ebuild? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
nilbus
n00b
n00b


Joined: 19 Jan 2004
Posts: 28
Location: North Carolina State University

PostPosted: Sun May 08, 2005 2:54 pm    Post subject: unmerge a package with a corrupted ebuild? [SOLVED] Reply with quote

I upgraded dansguardian to the latest version. When it tried to unmerge the old version, it fails because the old ebuild file was truncated somehow.
Code:
/usr/lib/portage/bin/ebuild.sh: /var/db/pkg/www-proxy/dansguardian-2.7.1/dansguardian-2.7.1.ebuild: line 35: unexpected EOF while looking for matching `"'
/usr/lib/portage/bin/ebuild.sh: /var/db/pkg/www-proxy/dansguardian-2.7.1/dansguardian-2.7.1.ebuild: line 41: syntax error: unexpected end of file


The ebuild is no longer in portage since the version is pretty old, so I probably can't replace the ebuild easily, right? How can I remove this version from the list of installed packages, so it doesn't try to unmerge it everytime portage does an autoclean?


Last edited by nilbus on Sun May 08, 2005 8:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43586
Location: 56N 3W

PostPosted: Sun May 08, 2005 3:22 pm    Post subject: Reply with quote

nilbus,

All the ebuilds that ever were are here http://www.gentoo.org/cgi-bin/viewcvs.cgi/
Get what you need to unmerge the old version.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun May 08, 2005 3:23 pm    Post subject: Reply with quote

Fetch the old ebuild from CVS and replace the corrupted ebuild file /var/db/pkg/www-proxy/dansguardian-2.7.1/dansguardian-2.7.1.ebuild with the downloaded file. You'll then be able to unmerge it properly. The direct download link through Gentoo's ViewCVS is this: http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/www-proxy/dansguardian/dansguardian-2.7.1.ebuild

Edit: Crossed posts with NeddySeagoon :).
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
nilbus
n00b
n00b


Joined: 19 Jan 2004
Posts: 28
Location: North Carolina State University

PostPosted: Sun May 08, 2005 8:39 pm    Post subject: Reply with quote

Thanks guys, that's exactly what I needed :)
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4923
Location: Gothenburg, Sweden

PostPosted: Sun May 08, 2005 9:32 pm    Post subject: Reply with quote

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.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum