Blog

Tweet

Ant, RPM, why do my dashes become underscores?

Just wanted to throw this out and see if anyone else is experiencing this, has experienced this, or knows how to fix this. I only know of one way to reproduce this and it is using Ant to create RPMs. I have my directory structure like the following:

/home/username/folder/sub-folder/foo

When I run Ant in sub-folder, it will break complaining that there is no such file or directory. It is there! For real it is. But after further review, I noticed it wasn’t lying, but it was looking for a different directory. It was looking for the following:

/home/username/folder/sub_folder/foo

That’s right, it is trying to do work in the sub_folder instead of the correct sub-folder. I am going nuts trying to figure this out.

My work around right now is to rename the sub-folder to sub_folder and then everything works out. Any ideas?

Note: This just started happening in Intrepid, worked fine earlier in Intrepid and worked in Hardy.

Posted in Application | Tagged | 5 Comments
Tweet

My Daily WTF

[root@centos-yum-repo ~]# yum whatprovides indexhtml
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: mirrors.liquidweb.com
* updates: mirror.sanctuaryhost.com
* addons: chi-10g-1-mirror.fastsoft.net
* extras: pubmirrors.reflected.net
Excluding Packages in global exclude list
Finished
centos-release-notes.i386 : CentOS release notes files
centos-release-notes.i386 : CentOS release notes files

OK, groovy, now I want to remove centos-release-notes for my slimmed down version being utilized as an appliance, I am rebranding my OS, don’t need the CentOS stuff. So I do:

[root@centos-yum-repo ~]# yum erase centos-release-notes

And this leads to:

Resolving Dependencies
--> Running transaction check
---> Package centos-release-notes.i386 0:5.2-2 set to be erased
--> Processing Dependency: centos-release-notes for package: centos-release
--> Running transaction check
---> Package centos-release.i386 10:5-2.el5.centos set to be erased
--> Processing Dependency: /etc/redhat-release for package: initscripts
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package initscripts.i386 0:8.45.19.1.EL-1.el5.centos set to be erased
--> Processing Dependency: initscripts for package: xorg-x11-xfs
--> Processing Dependency: initscripts >= 5.86-1 for package: kbd
--> Processing Dependency: initscripts >= 6.38 for package: quota
--> Processing Dependency: initscripts >= 5.92 for package: isdn4k-utils

Oh, it goes on, and you see some of this:

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Removing:
 centos-release-notes    i386       5.2-2            installed          49 k
Removing for dependencies:
 Deployment_Guide-en-US  noarch     5.2-11.el5.centos  installed         6.8 M
 GConf2                  i386       2.14.0-9.el5     installed         4.6 M
 MAKEDEV                 i386       3.23-1.2         installed         642 k
 NetworkManager          i386       1:0.6.4-8.el5    installed         1.2 M
 NetworkManager-glib     i386       1:0.6.4-8.el5    installed          18 k
 PyXML                   i386       0.8.4-4          installed         5.2 M

And at the end you see this:

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       0 Package(s)
Remove     367 Package(s)
 
Is this ok [y/N]:

What? If I want to remove the release notes, I have to remove the entire freakin’ system? You pretty much do, so what do we do to get around this? Create a fake package, or use one of our other custom packages, and have it provide indexhtml. Time to go find the strongest drink I can possibly locate. Gasoline should do!

Posted in Personal | Tagged | 14 Comments
Tweet

Kubuntu Intrepid Dual Monitor Blinking

OK, so how many of you are trying out Kubuntu Intrepid with a second monitor which works somewhat, but constantly sits there and blinks on and off? If you answered “ya, mine does that” then this is what you need to do:

  1. Open up System Settings
  2. Go to the Advanced tab
  3. Select Service Manager
  4. Select Detecting RANDR (monitor) changes and stop the service
  5. Uncheck the box next to the previous step in order to prevent this service from starting up at login
  6. Apply everything and close out
  7. Enjoy the non-blinking external or 2nd display

Thanks to those of you who responded to bug #278471 for helping us out!

Posted in Linux | Tagged , , | 23 Comments
  • Subscribe to nixternal.com

     Subscribe in a reader

    Or, subscribe via email:
    Enter your email address:

  • Archives

semidetached
semidetached
semidetached
semidetached