Monday, May 17, 2010

Where did my favourite package go?

Did you upgrade to Lucid and find that some package you like is no longer available? There are a number of binary packages that were removed in Lucid as a cleanup of the archive, though for the most part the source packages are still in there. Most of these were removed because the source package was no longer buildable—meaning patches could not be applied to fix bugs since the patched source would not compile (unless, of course, the patch fixed that build issue). Some were removed because Python 2.5 was removed. To find out what happened to the package you're looking for, try this:



apt-cache showsrc $PACKAGE

This'll tell you the name of the source package (on the "Package: " line). Then go to http://launchpad.net/ubuntu/+source/SRCPKG/+publishinghistory for a full listing of all versions of the package in Ubuntu. If you click the triangle on the left, it'll unfold revealing changelog info for that published version. For example, Sage Math's publishing history shows that it was deleted for the depends-on-Python2.5 reason.


And there's today's lesson on how to find data in Launchpad.

Thursday, May 13, 2010

Ubuntu Developer Processes presentation from CALUG

Last night I did a presentation on Ubuntu Developer Processes for Columbia (MD) Area Linux User Group. You can find the slides on SlideShare.



EDIT: Ohhh I can embed it! Neat!

Saturday, May 1, 2010

Please learn to follow directions

This is the second time I've seen someone in #ubuntu do this.



When you install sun-java6-jre, it will instruct you to go download something and drop it in /tmp and hit enter (something like that). For some reason I do not understand, some users just hit enter without downloading the file they were supposed to and putting it where they were supposed to. Of course, computers don't like it when users don't follow directions. The result is that apt sits there waiting…and waiting…and waiting. Eventually the user assumes everything is done and shuts down. Or maybe they try to install something else and find the dpkg lock in place and try to forcibly kill it or force shut down. Since Java is half-configured, dpkg ends up in an inconsistent state that lasts across reboots and is a pain to try to sort out.


All because somebody can't follow directions.


EDIT: So someone's said in comments that you only get prompted if you install on the command line. Synaptic just hangs waiting for an answer to a question it hasn't even asked. Yikes!

Friday, April 23, 2010

iPod Touch on Lucid

Plenty of folks have reported so far that their iPod Touches work with Lucid. Well, my brother has one he got for Christmas, and he says it's not working for him. He came up with a (very plausible) hypothesis though. Maybe it has to be used with Windows or OSX once (as some sort of activation mechanism?) before it'll talk to a Linux machine.




So, I'm asking: have any of you have an iPod Touch and used it on Ubuntu 10.04 without first using it on a proprietary OS and had it work?



EDIT: That was quick! Matthew Garrett says that one sync with iTunes is needed before it can be used with Linux.


EDIT2: Paul Sladen adds: I don't think we can generate the initial databases first time

Friday, April 9, 2010

Enabling Networking and Samba sharing in Fedora 11-12

Hi again..
By default networking remain disabled in Fedora 11/12 ( LAN card status down ). Even there  IP Address is properly configured . So here is the procedure.
First of all assign  IP address and DNS properly.

[root@satish~]#setup

now select Network Configration
and assign IP address.

Now edit your   ifcfg-eth0 file

[root@satish~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0

and set ONBOOT=yes   in this file as shown below:

Now save this file by pressing :wq!

Now restart network daemon by following command:

[root@satish~]#/etc/init.d/network/start

Now  open your firewall ( iptable ) for 
Samba ,Samba client and other required services and add eth0 into your trusted interface:


now restart your firewall service by 

[root@satish~]#/etc/init.d/iptables/restart

in this way you can enable networking in your machine and can add linux machine into your Network.

                                                                              .............Satish Malanch

Wednesday, March 31, 2010

Setting up Yum server with repositry shared on Windows machine ( With Samba server)

Hi all,

          In this artical i am going to install Samba server firstly than with help of samba server i will mount the window share on linux machine further with a windows shared repositry we will configure Yum server . So here we goes..

Step I. First of all extract all Linux package on a windows machine on a folder now share that folder. ( In my case the name of windows machine in "myfileserver'' with IP Address "192.168.5.101", and the linux packhages are in " E:\Softwares\malanchreposerver " now I have shared "E:\Softwares "as "satishkrmalanch$" and to access this share only to a user " satish " and password for the user "Geni0$neverbornYbirth"
 Step II : 
Now install samba server and configure it.
now on linux machine
type following command
mount //192.168.5.101/satishkrmalanch$ /winshare





with this command share will be mounted on /winshare


now creat a repo file in my case "malanch.repo"  and give it path in it as mentioned below:






















You can also permantely mount your windows share on linux by making a credential file containing user name and password for windows  share and then by adding a single line in /etc/fstab file:

# vim /etc/hosts

192.168.5.101   myfileserver


Now creat a password credential file:

#vi /etc/cifspw
username=satish
password=Geni0$neverbornYbirth 
 
Secure this file now:

#Chmod 600 /etc/cifspw

Now enter following into your fstab file to make mount permanent:

//myfileserver/satishkrmalanch$  /winshare  cifs exec,credentials=/etc/cifspw 0 0

 Now make samba service active on startup by this command:
#chkconfig smb on


and now you are done. Make your firewall open for smb ,smb client demon on.

and enjoy to install software with yum command now.
                      Regards
                                  : Satish Malanch





Thursday, January 21, 2010

Configuring YUM server for LInux on Windows FTP server

Hi all,
          In this artical i am going to setup YUM ( Yellowdog Update Modified) server on a Windows based FTP server.Here we go;
First of all copy Full DVD  of your linux distribution on a windows ftp server.
In my case i have copied all the contented of Fedora core-11dvd on my windows ftp server (192.168.5.52\fedora11)
The exact link location is ftp://192.168.5.52/fedora11

Now on Linux system follow the following steps
1. Move all the repo file to a backup location in my case /backup/yum.repod

[root@satish.malanch.com tmp ]# mv /etc/yum.repod/*  /backup/yum.repod/
[root@satish.malanch.com tmp ]# cp /backup/yum.repod/fedora.repo  /etc/yum.repod/satishmalanch.repo

Now edit this file with vim edtior:
root@satish.malanch.com tmp ]# vim /etc/yum.repod/satishmalanch.repo



  Edit the file as shown in above figure.
Now run following command:


[root@satish.malanch.com tmp ]# yum clean all 
Now you have configured the yum repositry on a windows based ftp server on network.
You can now install the packages without any dependancy.


...........................  Satish Kr Malanch