Re: Problem with yum etc after installing Ubuntu 7.10.....

2008-05-15 Thread ffm

Peter Teoh wrote:

On Thu, May 15, 2008 at 1:14 PM, Christopher Halse Rogers
<[EMAIL PROTECTED]> wrote:
 On

the other hand, I'm don't think that installing programs through yum
is a good idea on an Ubuntu system.  I may be wrong here, though.  Why
do we even have that package? :)



First thank you to everyone here...I am new in this Ubuntu.   Firstly
i have two requirements:

a.   I need git to do linux kernel development.


"sudo apt-get install git-core"

b.   I need flash for my firefox.   So I downloaded the rpm file.

"sudo apt-get install flashplugin-nonfree"

-FFM



signature.asc
Description: OpenPGP digital signature
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Problem with yum etc after installing Ubuntu 7.10.....

2008-05-15 Thread Forest Bond
Hi,

On Thu, May 15, 2008 at 01:01:14PM +0800, Peter Teoh wrote:
> a.  install ubuntu
> b.  apt-get install yum*
> c.  apt-get install git
> 
> Next I tried "git", I got "command not found", but reattempted to
> "apt-get install git" will give me:

Try:

  apt-cache show git
  dpkg -L git
  apt-cache search git

This might have made you aware that you need package git-core, not package git.
Also, I don't know about you, but when I type git, I get:

  $ git
  The program 'git' is currently not installed.  You can install it by typing:
  sudo apt-get install git-core
  bash: git: command not found

> I tried to yum install some other stuff, I got the following:
> 
> There was a problem importing one of the Python modules
> required to run yum. The error leading to this problem was:
> 
>   No module named cElementTree
> 
> Please install a package which provides this module, or
> verify that the module is installed correctly.

Well, you need package python-celementtree.  It sounds like there's a bug in the
yum package, as it should obviously have a dependency on this package, and
doesn't.

So:
 
  apt-get install python-celementtree

And:

  https://bugs.launchpad.net/ubuntu/+source/yum/+filebug

Anyway, why on Earth are you installing yum?  I think you'll find that APT is
generally a better choice on Debian/Ubuntu.

> It's possible that the above module doesn't match the
> current version of Python, which is:
> 2.5.1 (r251:54863, Oct  5 2007, 13:36:32)

Which is not an issue on Debian/Ubuntu, as we have two competing systems that
solve this problem (python-support, pycentral).

> Can someone help?

Hope this helps, however, in the future you probably ought to take support
requests to ubuntu-users.

-Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org


signature.asc
Description: Digital signature
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Problem with yum etc after installing Ubuntu 7.10.....

2008-05-15 Thread Peter Teoh
On Thu, May 15, 2008 at 1:14 PM, Christopher Halse Rogers
<[EMAIL PROTECTED]> wrote:
 On
> the other hand, I'm don't think that installing programs through yum
> is a good idea on an Ubuntu system.  I may be wrong here, though.  Why
> do we even have that package? :)
>

First thank you to everyone here...I am new in this Ubuntu.   Firstly
i have two requirements:

a.   I need git to do linux kernel development.
b.   I need flash for my firefox.   So I downloaded the rpm file.

So in Fedora Core, normally I will do "yum install xxx.rpm" where
xxx.rpm is the downloaded flash rpm file from adobe, and yum
automatically will do a recursive download of all dependent packages
and install it at the same time.   "rpm" cannot do that.

Sorry for all these...for flash I think I found the answer in:

http://ubuntuguide.org/wiki/Ubuntu:Gutsy

and for the kernel I found it here:

https://wiki.ubuntu.com/KernelGitGuide

Ok...problem solvedthank you for the guide on git-core everyone ...etc!


-- 
Regards,
Peter Teoh

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Problem with yum etc after installing Ubuntu 7.10.....

2008-05-14 Thread Scott Kitterman
On Thu, 15 May 2008 13:01:14 +0800 "Peter Teoh" <[EMAIL PROTECTED]> 
wrote:
>a.  install ubuntu
>b.  apt-get install yum*
>c.  apt-get install git
>
>Next I tried "git", I got "command not found", but reattempted to
>"apt-get install git" will give me:
>
>[EMAIL PROTECTED]:/tmp# apt-get install git
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>git is already the newest version.
>0 upgraded, 0 newly installed, 0 to remove and 211 not upgraded.
>
>I tried to yum install some other stuff, I got the following:
>
>There was a problem importing one of the Python modules
>required to run yum. The error leading to this problem was:
>
>  No module named cElementTree
>
>Please install a package which provides this module, or
>verify that the module is installed correctly.
>
>It's possible that the above module doesn't match the
>current version of Python, which is:
>2.5.1 (r251:54863, Oct  5 2007, 13:36:32)
>[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
>
>If you cannot solve this problem yourself, please send this
>message to <[EMAIL PROTECTED]>.
>
>Can someone help?
>

Yum needs to be updated to work with Python 2.5.  Python 2.5 includes 
celementtree.  We have a separate celementtree package in the archive for 
use with Python 2.4.

I'm not sure why you'd bother with Yum in a Debian derived distribution, 
but if you run Yum with Python 2.4:

: python2.4 /path/binaryname

I'd guess it would work through that problem if celementtree is installed.

Scott K

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Problem with yum etc after installing Ubuntu 7.10.....

2008-05-14 Thread Christopher Halse Rogers
On 5/15/08, Peter Teoh <[EMAIL PROTECTED]> wrote:
> a.  install ubuntu
>  b.  apt-get install yum*
>  c.  apt-get install git

This probably hasn't installed the program you thought it would.  It
turns out that before Linus developed the distributed VCS called 'git'
there was already a project called the 'GNU interactive tools', or
'git'.  This is what the 'git' package contains.  You actually wanted
to install the 'git-core' package, which contains the dvcs.

>
>  Next I tried "git", I got "command not found", but reattempted to
>  "apt-get install git" will give me:
>
>  [EMAIL PROTECTED]:/tmp# apt-get install git
>  Reading package lists... Done
>  Building dependency tree
>  Reading state information... Done
>  git is already the newest version.
>  0 upgraded, 0 newly installed, 0 to remove and 211 not upgraded.
>
>  I tried to yum install some other stuff, I got the following:
>
>  There was a problem importing one of the Python modules
>  required to run yum. The error leading to this problem was:
>
>   No module named cElementTree
This seems like the package misses a dependency.  That should be
documented in a bug filed against the package on launchpad.net.  On
the other hand, I'm don't think that installing programs through yum
is a good idea on an Ubuntu system.  I may be wrong here, though.  Why
do we even have that package? :)

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Problem with yum etc after installing Ubuntu 7.10.....

2008-05-14 Thread Sebastian Breier
Am Donnerstag, den 15.05.2008, 13:01 +0800 schrieb Peter Teoh:
> 0 upgraded, 0 newly installed, 0 to remove and 211 not upgraded.

No idea if that helps, but usually, if a package install is problematic
and you have 211 not upgraded packages, you should "sudo apt-get
dist-upgrade" first to make sure you have the newest version of
dependent packages and dependencies in general. Try the "-s" switch to
simulate the upgrade first, because upgrading 211 packages might be
huge. ;)

I hope it works after that.


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Problem with yum etc after installing Ubuntu 7.10.....

2008-05-14 Thread A. Walton
On Thu, May 15, 2008 at 1:01 AM, Peter Teoh <[EMAIL PROTECTED]> wrote:
> a.  install ubuntu
> b.  apt-get install yum*
> c.  apt-get install git
>
> Next I tried "git", I got "command not found", but reattempted to
> "apt-get install git" will give me:

The Ubuntu/Debian package for git, the revision control system, is
git-core, due to the "GNU Interactive Tools" claiming the package name
"git" first. Per the rest, I've got nothing. Hope this helps though.

-A.Walton

> [EMAIL PROTECTED]:/tmp# apt-get install git
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> git is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 211 not upgraded.
>
> I tried to yum install some other stuff, I got the following:
>
> There was a problem importing one of the Python modules
> required to run yum. The error leading to this problem was:
>
>  No module named cElementTree
>
> Please install a package which provides this module, or
> verify that the module is installed correctly.
>
> It's possible that the above module doesn't match the
> current version of Python, which is:
> 2.5.1 (r251:54863, Oct  5 2007, 13:36:32)
> [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
>
> If you cannot solve this problem yourself, please send this
> message to <[EMAIL PROTECTED]>.
>
> Can someone help?
>
> --
> Regards,
> Peter Teoh
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Problem with yum etc after installing Ubuntu 7.10.....

2008-05-14 Thread Peter Teoh
a.  install ubuntu
b.  apt-get install yum*
c.  apt-get install git

Next I tried "git", I got "command not found", but reattempted to
"apt-get install git" will give me:

[EMAIL PROTECTED]:/tmp# apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 211 not upgraded.

I tried to yum install some other stuff, I got the following:

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

  No module named cElementTree

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.5.1 (r251:54863, Oct  5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]

If you cannot solve this problem yourself, please send this
message to <[EMAIL PROTECTED]>.

Can someone help?

-- 
Regards,
Peter Teoh

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss