Posts

Showing posts from May, 2018

How to fix VirtualBox error when you try to import an ova file

If you download an ova file to import it to Virtualbox, maybe you will see the following message: Failed to import appliance filename.ova. Seeking within the archive failed (VERR_TAR_UNEXPECTED_EOS). Result Code: VBOX_E_IPRT_ERROR (0x80BB0005) Component: ApplianceWrap Interface: IAppliance {8398f026-4add-4474-5bc3-2f9f2140b23e} If you do it the same throught VBoxManage you will get: # VBoxManage import filename.ova  Progress state: VBOX_E_IPRT_ERROR VBoxManage: error: Appliance import failed VBoxManage: error: Seeking within the archive failed (VERR_TAR_UNEXPECTED_EOS) VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component ApplianceWrap, interface IAppliance VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 877 of file VBoxManageAppliance.cpp To fix it, you must extract ova content and compress again as follows: tar xvf filename.ova tar cvf newfilename.ova filename.ovf filename.vmdk Also, you can i

How to convert from LaTeX to HTML file

If you have a .tex file and you want to convert it to a .html file you can use LaTeXML. # git clone https://github.com/brucemiller/LaTeXML.git # sudo apt-get install libimage-size-perl libimage-magick-perl # cd LaTeXML # perl Makefile.PL Warning: prerequisite Parse::RecDescent 0 not found. Warning: prerequisite Text::Unidecode 0 not found. Warning: prerequisite Image::Size 0 not found. Warning: prerequisite XML::LibXSLT 1.58 not found. To install these perl dependencies, you must use the following commands: # sudo cpan z Parse::RecDescent # sudo cpan z Text::Unidecode # sudo cpan z Image::Size # sudo cpan z XML::LibXSLT looking for -lxslt... no libxslt not found Try setting LIBS and INC values on the command line Or get libxslt and libxml2 from   http://www.libxml.org/ If you install via RPMs, make sure you also install the -devel RPMs, as this is where the headers (.h files) are. No 'Makefile' created  SHLOMIF/XML-LibXSLT-1.96.tar.gz   /usr/bin/perl

How to fix Low disk space on "boot"

A common issue is when /boot partition is full. You receive the following message: "Low disk space on "boot". The volume "boot" has only 0 bytes disk space remaining" To fix it, you must delete old kernels. First, you must list all of them and I recomend remove the oldest and keep the last two newest (if you have problems with the last, you can use the other). To list all of them, use this command: # dpkg -l linux-image-\* | grep ^ii | awk '{print $2}' linux-image-4.13.0-36-generic linux-image-4.13.0-37-generic linux-image-4.13.0-38-generic linux-image-4.13.0-39-generic linux-image-4.13.0-41-generic Now, you must purge the oldest kernels with the following command: # sudo apt-get purge linux-image-4.13.0-{36,37,38}-generic You need to change the values according to the values you have. Finally, update grub # sudo update-grub Enjoy it!