Translate

Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)
Image of Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series)
Image of Android Wireless Application Development
Image of Beginning Google Maps API 3

Configure a Host ISO-based Package Repository on a CentOS 7.2 VM

In this post, I show you how to configure a host ISO-based package repository on a CentOS 7.2 VM running on VMware Workstation.

Repair Damaged RPM Database

If you encounter any of the following messages: rpmdb: PANIC: fatal region error detected; run recovery error: db3 error(22) from dbenv->open: Invalid argument error: cannot open Packages index using db3 – Invalid argument (22) error: cannot open Packages database in /var/lib/rpm error: rpmdb: damaged header #1439 retrieved — skipping. or a similar RPM-related error message, it is probable that your RPM database is damaged. RPM uses a database to maintain the package dependency information. This database is normally located at /var/lib/rpm. # cd /var/lib/rpm # ls -al total 86420 drwxr-xr-x. 2 root root 4096 Nov 18 21:09 . drwxr-xr-x. 45

YUM Package Installation Updating and Removal Forensics

In this post, I explore how to use the YUM history database to trace the timeline (installation, updates and removal) of RPM packages on modern RPM-based Linux distributions.

Fedora 19, Simple-Scan and Canon LiDE Scanners

Recently I updated my Fedora 19 system and all appeared to be well until I wanted to quickly scan in a document to send to a colleague. The scanner I used is my old trustly Canon LiDE 30. Simple-scan refused to work because it claimed that no scanners were detected. Using lsusb, I quickly determined that the scanner was detected: # lsusb Bus 002 Device 004: ID 045e:076c Microsoft Corp. Comfort Mouse 4500 Bus 002 Device 003: ID 045e:0734 Microsoft Corp. Wireless Optical Desktop 700 Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device

Fedora FedUp Does Not Sync Distribution

Fedora FedUp is an excellent tool for upgrading your Fedora system. However you should be aware that it does not currently synchronize your system with the Fedora distribution that you upgraded to. To do that, you need to execute the following command after you finish FedUp-ing your system. # yum distro-sync From the yum man page: distribution-synchronization or distro-sync Synchronizes the installed package set with the latest packages available, this is done by either obsoleting, upgrading or downgrading as appropriate. This will “normally” do the same thing as the upgrade command however if you have the package FOO installed at