=^.^=

Portage Errors: xz: command not found

karma

If your system is far out of date you may encounter this error:

/usr/lib/portage/bin/ebuild.sh: line 370: xz: command not found
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors

This is due to the switch from lzma-utils to xz-utils last year as covered in this post: Portage Errors: app-arch/lzma-utils is blocking app-arch/xz-utils. As covered earlier it is safe to remove lzma-utils then emerge xz-utils because it ships in a traditional (gzip) tarball:

# emerge --unmerge lzma-utils
# emerge xz-utils

Apache2 Errors: Cannot load mod_perl.so into server: libperl.so.1

karma

Apache will produce this error if you recently updated your implementation of PERL but did not update or recompile mod_perl:

apache2: Syntax error on line 126 of /etc/apache2/httpd.conf: Syntax error on line 2 of /etc/apache2/modules.d/75_mod_perl.conf: Cannot load /usr/lib/apache2/modules/mod_perl.so into server: libperl.so.1: cannot open shared object file: No such file or directory

While you can easily re-emerge mod_perl it is instead recommended to run perl-cleaner to catch any other inconsistencies:

# perl-cleaner all

Portage Errors: cannot find the library /usr/lib/libapr-1.la

karma

If whilst compiling apache-tools one encounters:

libtool: link: cannot find the library `/usr/lib/libapr-1.la' or unhandled argument `/usr/lib/libapr-1.la'
make[1]: *** [htpasswd] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-admin/apache-tools-2.2.21/work/httpd-2.2.21/support'
make: *** [all-recursive] Error 1
 * ERROR: app-admin/apache-tools-2.2.21 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =app-admin/apache-tools-2.2.21',
 * the complete build log and the output of 'emerge -pqv =app-admin/apache-tools-2.2.21'.
 * The complete build log is located at '/var/tmp/portage/app-admin/apache-tools-2.2.21/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/apache-tools-2.2.21/temp/environment'.
 * S: '/var/tmp/portage/app-admin/apache-tools-2.2.21/work/httpd-2.2.21'

Your version of libapr is out of date. Update it:

# emerge --update apr apr-util --ask

Or append --deep when updating apache or apache-tools.

Portage Errors: app-admin/logrotate is blocking sys-apps/portage

karma

If you haven't kept your system up to date you may run into the following when attempting to update portage:

[ebuild     U ] sys-libs/libsepol-2.1.0 [2.0.32]
[ebuild     U ] sys-libs/libselinux-2.1.0 [2.0.71] USE="(python%*)"
[ebuild     U ] sys-apps/portage-2.1.10.11 [2.1.7.16] USE="(ipc%*) less%* (python2%*)"
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[blocks B     ] <app-admin/logrotate-3.8.0 ("<app-admin/logrotate-3.8.0" is blocking sys-apps/portage-2.1.10.11)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'sys-apps/portage-2.1.10.11', 'merge') pulled in by
    portage

  ('installed', '/', 'app-admin/logrotate-3.7.8', 'nomerge') pulled in by
    app-admin/logrotate required by world

Simply update logrotate before proceeding:

# emerge --update logrotate; emerge --update portage

Fun with Vapour Part Four: Straw Air Pressure Cartridge Modification

karma

Only a little over a day has passed since I switched from cigarettes to my new Joye 510 L and I have already made my first modification. It seems that by thinning out the filler in most cartridges and inserting a small straw to allow trapped air at the back to escape you can greatly increase their capacity (rather, how much juice they are able to take without being removed) and the wicking mechanism which results in much creamier puffs.

Credit is due to opusMorian who started this thread: Cart Mod for better refilling and created this diagram:

The weapon of choice seems to be the brown double-barrel (sliced in half) plastic stir sticks of the sort you might expect to find at Tim Horton's. Unfortunately, it's too cold out for a Timmies run this late so I cut up some thin drinking straws, sliced them down the middle and rolled them as tightly as I could.

Gripping the roll in a hemostat I applied heat by way of a regular butane lighter waved back and forward about an inch from the tube.

A little gentle massaging and you should end up with a relatively even tube; whether the side seals or not is unimportant as long as the tube is thin and retains its shape. Drop the straw into your empty cartridge reservoir.

Cut right across the top to bring it down to about a millimetre above the cartridge lip, remove the straw then cut it down a further 3 or 4mm.

Put a diagonal cut in each end of the tube going opposite directions on the same side, such that the tube resembles a rhombus when looked at from the side.

The bottom cut allows air to flow through the tube from the back of the reservoir and the top cut keeps as much plastic away from the tip of the atomizer as possible. The cuts must face inward when the straw is situated against a wall of the reservoir. Cut one of the long edges off of the removed filler (or roll your own out of new material with consideration for the reduced volume) and use a pin or similar tool to stuff it back into the reservoir, leaving 1-2mm of fill protruding past the end of the cartridge. Cut off this extra fill then use your finger to push any frayed ends in and evenly spread the remaining fill over the straw.

You should now find the apparent capacity of your cartridge much higher and the hits much more consistent.