think Pearl borked after update [solved]

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
pottzie
Cam Whore
Posts: 91
Joined: Fri May 24, 2013 3:51 am

think Pearl borked after update [solved]

Unread post by pottzie » Wed Sep 04, 2013 3:31 am

Just re-installed Trollinger, and after getting it working, I'm getting a message that says

/usr/lib/ruby/vendor_ruby/gettext/mo.rb:46: undefined method `force_encoding' for "\225\004\022\336":String (NoMethodError)
from /usr/lib/ruby/vendor_ruby/gettext/text_domain.rb:16:in `require'
from /usr/lib/ruby/vendor_ruby/gettext/text_domain.rb:16
from /usr/lib/ruby/vendor_ruby/gettext/text_domain_manager.rb:14:in `require'
from /usr/lib/ruby/vendor_ruby/gettext/text_domain_manager.rb:14
from /usr/lib/ruby/vendor_ruby/gettext.rb:19:in `require'
from /usr/lib/ruby/vendor_ruby/gettext.rb:19
from /usr/sbin/apt-listbugs:274:in `require'
from /usr/sbin/apt-listbugs:274
Last edited by pottzie on Wed Sep 04, 2013 7:49 pm, edited 1 time in total.

User avatar
gurtid
Uninstaller
Posts: 239
Joined: Thu Oct 18, 2012 7:53 am

Re: think Pearl borked after update

Unread post by gurtid » Wed Sep 04, 2013 5:21 am

ah yes! You should have either held the packages or cancelled the dist-upgrade . . . reinstall me thinks unless the experts suggest otherwise - in which case do otherwise.

P.S. I couldn't fix it but then I'm a knobend.
The Beaver Destroys Forests

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: think Pearl borked after update

Unread post by machinebacon » Wed Sep 04, 2013 9:51 am

An idea:

Code: Select all

sudo apt-get update
sudo apt-get autoremove --purge ruby* apt-listbugs
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get install perl apt-listbugs
By all means check the output of what is going to be removed and post it here. Might have to do with perl/ruby, but removing perl would be dangerous, so we just kick ruby, and check what else is going to be removed.
..gnutella..

pottzie
Cam Whore
Posts: 91
Joined: Fri May 24, 2013 3:51 am

Re: think Pearl borked after update

Unread post by pottzie » Wed Sep 04, 2013 12:25 pm

Nah, it's all just some stupid stuff.

The following packages will be REMOVED:
apt-listbugs* aufs-tools* gstreamer0.10-plugins-bad* libaudio2* libcdaudio1*
libfftw3-3* libfftw3-double3* libfftw3-single3* libflite1* libfm-gtk-bin*
libgme0* libgmlib0* libgmtk0* libgmtk0-data* libgnome-bluetooth10*
libgstreamer-plugins-bad0.10-0* libidl0* libkate1* libmateconf*
libmatecorba* libmatenotify* libmhash2* libmimic0* libmms0* libnss3-1d*
libofa0* libopenal-data* libopenal1* libraptor2-0* librasqal3* librdf0*
libruby1.9.1* libslv2-9* libsoundtouch0* libspandsp2* libwildmidi-config*
libwildmidi1* libxtables9* libyajl2* libyaml-0-2* libzbar0* libzvbi-common*
libzvbi0* python-gnupginterface* python-pycurl* python-software-properties*
ruby-debian* ruby-gettext* ruby-httpclient* ruby-locale* ruby-text*
ruby-xmlparser* ruby1.8* ruby1.9.1* xulrunner-10.0*

User avatar
vic
Godot
Posts: 2117
Joined: Wed Oct 17, 2012 10:11 am
Location: /bin

Re: think Pearl borked after update

Unread post by vic » Wed Sep 04, 2013 1:15 pm

If this is your complete message?;

Code: Select all

/usr/lib/ruby/vendor_ruby/gettext/mo.rb:46: undefined method `force_encoding' for "\225\004\022\336":String (NoMethodError)
	from /usr/lib/ruby/vendor_ruby/gettext/text_domain.rb:16:in `require'
	from /usr/lib/ruby/vendor_ruby/gettext/text_domain.rb:16
	from /usr/lib/ruby/vendor_ruby/gettext/text_domain_manager.rb:14:in `require'
	from /usr/lib/ruby/vendor_ruby/gettext/text_domain_manager.rb:14
	from /usr/lib/ruby/vendor_ruby/gettext.rb:19:in `require'
	from /usr/lib/ruby/vendor_ruby/gettext.rb:19
	from /usr/sbin/apt-listbugs:274:in `require'
	from /usr/sbin/apt-listbugs:274
E: Sub-process /usr/sbin/apt-listbugs apt || exit 10 returned an error code (10)
E: Failure running script /usr/sbin/apt-listbugs apt || exit 10
The solution is to comment out this line

Code: Select all

DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs apt || exit 10";};


in /etc/apt/apt.conf.d/10apt-listbugs

Save and do a dist-upgrade. Worked for me.

pottzie
Cam Whore
Posts: 91
Joined: Fri May 24, 2013 3:51 am

Re: think Pearl borked after update

Unread post by pottzie » Wed Sep 04, 2013 7:48 pm

That worked, dist-upgrade went OK.

When I got the error mesage, I entered it inti Google, and this is what turned up:
http://us.generation-nt.com/answer/bug- ... 22992.html


I'll mark this solved. Thanks, Vic, everyone.

Post Reply