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


Re: Ubuntu boot speed fall in Hardy

2008-05-14 Thread Mackenzie Morgan
On Wed, May 14, 2008 at 6:10 PM, Phillip Susi <[EMAIL PROTECTED]> wrote:

> Mackenzie Morgan wrote:
>
>> On Mon, 2008-05-12 at 02:17 +0200, Vincenzo Ciancia wrote:
>>
>>> Il giorno dom, 11/05/2008 alle 17.32 -0400, Mackenzie Morgan ha scritto:
>>>
 On Sun, 2008-05-11 at 10:40 +0200, Vincenzo Ciancia wrote
  I wish I could configure what it considers "low."

>>> You can: just launch gconf-editor and take a look at
>>> apps/gnome-power-manager/thresholds.
>>>
>>
>> It claims it hibernates when 2 minutes remain.  It lies.
>>
>
> Sounds like you need to replace your worn out battery pack then.  Or just
> increase it to 5 minutes and see if that buys you enough time.
>

It's not really worn out...it's still got 80% max capacity and over 2 hours
of battery life.

-- 
Mackenzie Morgan
Linux User #432169
ACM Member #3445683
http://ubuntulinuxtipstricks.blogspot.com <-my blog of Ubuntu stuff
apt-get moo
-- 
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: Ubuntu boot speed fall in Hardy

2008-05-14 Thread Phillip Susi
Mackenzie Morgan wrote:
> On Mon, 2008-05-12 at 02:17 +0200, Vincenzo Ciancia wrote:
>> Il giorno dom, 11/05/2008 alle 17.32 -0400, Mackenzie Morgan ha scritto:
>>> On Sun, 2008-05-11 at 10:40 +0200, Vincenzo Ciancia wrote
>>>  I wish I could configure what it considers "low."
>> You can: just launch gconf-editor and take a look at
>> apps/gnome-power-manager/thresholds.
> 
> It claims it hibernates when 2 minutes remain.  It lies.  

Sounds like you need to replace your worn out battery pack then.  Or 
just increase it to 5 minutes and see if that buys you enough time.


-- 
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: 1. Unabel to unmount/eject CD/DVD ? (( ``-_-?? ) -- Fernando)

2008-05-14 Thread Milan Bouchet-Valat
Le mercredi 14 mai 2008 à 21:03 +0100, Matthew Paul Thomas a écrit :
> That's a much better explanation than the error message. So you're
> right, it's not a bug: it's two bugs. One is that the error message is
> unhelpful, and the other is that the CD should be ejectable if the only
> programs that were using it aren't running any more.
About the latter, see bug 91239: "Cannot unmount volume: show which 
application(s) still use the drive" [1]. This is a bitesize work that could be 
worth a bounty for somebody motivated.

Cheers

1: http://bugs.launchpad.net/ubuntu/+source/gnome-mount/+bug/81239


-- 
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: 1. Unabel to unmount/eject CD/DVD ? (( ``-_-?? ) -- Fernando)

2008-05-14 Thread Matthew Paul Thomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arvind K wrote on 13/05/08 13:34:
>>
>> Yesterday I was met, with what I think is one of the most stupid bugs
>> I ever found. When I tried to eject a DVDr, either using nautilus
>> tools or the drive eject button, an error popup showed up, telling me
>> that I wasn't root.
>> WTF, now I can't  even eject CDs?
>>
>> I had a look at my user permitions and all looked sound, so what am I
>> doing wrong, or is this a bug? 
> 
> Hi Fernado,
> Its not a bug,the case you mentioned happens when the process using
> your cd-rom isn't killed properly(or isn't killed at all),leaving the
> system thinking that the cd is still in use..
>...

That's a much better explanation than the error message. So you're
right, it's not a bug: it's two bugs. One is that the error message is
unhelpful, and the other is that the CD should be ejectable if the only
programs that were using it aren't running any more.

Cheers
- --
Matthew Paul Thomas
http://mpt.net.nz/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIK0WB6PUxNfU6ecoRAkd1AKCngtdpVA45wzg7GnCUpBOKAHKGgACglPUF
xJQ+0SLxrGe9bQC5GgfYeB4=
=1oZG
-END PGP 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: Ubiquity - setting a separate /home by default

2008-05-14 Thread Colin Watson
On Wed, May 14, 2008 at 04:47:46PM +0200, David Prieto wrote:
> Hi again,
> 
> > I should also point out (because I gave out misinformation on IRC in a
> > moment of inattention) that this only works when you're using the manual
> > partitioner and select a partition to mount as /, or equivalent. If you
> > use the automatic partitioner and select "use entire disk", then that's
> > equivalent to wiping the whole drive and starting again.
> 
> I really would like to discuss this. I think this would make sense in
> some cases, like having several distros coexisting in the same disk for
> example. But what if there is just ONE partition, with Ubuntu on it? In
> that case, why shouldn't /home be kept?
> 
> My original proposal was intended for total newbies, the kind of people
> who would be afraid of the manual partitioner. I think your solution
> should especially help that kind of people, and that keeping /home if
> there is only one partition would be the right way to do so.

I tend to agree. Unfortunately it doesn't fit very easily into how the
automatic partitioner is designed right now, but please do open a bug
report for this (against the partman-auto package in Ubuntu).

> That aside, I opened a thread about the issue at ubuntuforums. The
> members seem a bit uneasy about it, saying that it might bring problems.
> I think it would be good if you guys came over and shed some light on
> it.
> 
> http://ubuntuforums.org/showthread.php?t=793772 this is the link.

I'd prefer if development discussions stayed here; what with OpenSSL and
everything I have very little time for forums threads right now.

-- 
Colin Watson   [EMAIL PROTECTED]

-- 
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: Ubiquity - setting a separate /home by default

2008-05-14 Thread Colin Watson
On Wed, May 14, 2008 at 01:05:00PM +0100, Colin Watson wrote:
> On Wed, May 14, 2008 at 09:57:58AM +0200, David Prieto wrote:
> > Hi Colin,
> > > I presume that you did not instruct the installer to format the old
> > > /home partition? (If you did, then why?)
> > 
> > Actually yes, and I never realised how dumb it was until I read your
> > message. I just was used to formatting before installing, so I guess I
> > never gave it any thought.
> 
> Ah, OK. (I think this problem goes away once people stop being educated
> to explicitly format partitions that they want to keep.)

I should also point out (because I gave out misinformation on IRC in a
moment of inattention) that this only works when you're using the manual
partitioner and select a partition to mount as /, or equivalent. If you
use the automatic partitioner and select "use entire disk", then that's
equivalent to wiping the whole drive and starting again.

-- 
Colin Watson   [EMAIL PROTECTED]

-- 
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: Ubiquity - setting a separate /home by default

2008-05-14 Thread Colin Watson
On Wed, May 14, 2008 at 09:57:58AM +0200, David Prieto wrote:
> Hi Colin,
> > I presume that you did not instruct the installer to format the old
> > /home partition? (If you did, then why?)
> 
> Actually yes, and I never realised how dumb it was until I read your
> message. I just was used to formatting before installing, so I guess I
> never gave it any thought.

Ah, OK. (I think this problem goes away once people stop being educated
to explicitly format partitions that they want to keep.)

> So, what is supposed to happen if you do NOT check the format box? Is
> everything but your /home destroyed, or is anything else kept? Probably
> a dumb question, but I've never done it so I can't know.

https://wiki.ubuntu.com/UbiquityPreserveHome lists the items that are
removed. Essentially, it's everything that's owned by the packaging
system and that would be likely to create bizarre conflicts if bits of
it were from an old installation and bits of it were from a new one.
/home, /srv, /root, /usr/local, /var/local, and in general any
unrecognised parts of the file system are retained.

Cheers,

-- 
Colin Watson   [EMAIL PROTECTED]

-- 
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: Some fundamental usability issues

2008-05-14 Thread Matthew Paul Thomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

chombee wrote on 08/05/08 02:24:
>...
> But there is so much fundamentally wrong usability cruft going on here.
> This sort of incident should not be possible.

Others have discussed the backup and restore issue, so I'll address the
lower-level points:

> * The user should never have to press Save. There should not be any save
> buttons anywhere on the computer. Saving is something the computer can
> do automatically all the time, the user never needs to know. Save
> buttons were introduced back when saving a file to disk required the
> computer to freeze for several seconds. They are no longer needed, and
> haven't been for some time! The GTK text editor Scribes is one program
> that handles all your saving for you. Any others?

Tomboy. Rhythmbox, and most other music organizers. F-Spot, and most
other photo organizers. Microsoft OneNote.

> * This whole business of highlighting some text then pressing a button,
> whether it's paste or just a normal key, and having the highlighted text
> replaced, should be thrown out. This seems to be how it works in every
> text editor, but I think it's rarely what the user wants to do, and in
> the rare cases where you do want to do that you can stand one extra key
> press: highlight, delete, then paste or type in the replacement. **The
> user's content is sacred** and it should never be deleted unless the
> user explicitly selects it and presses delete.

Previously on this issue:


Jef Raskin, who designed the typing-replaces-selection action, later
concluded that it was a mistake
:

In today's world we just select the old text and type away.
This method was not a good idea, in fact it can be disastrous.
It is easy to select text, forget it is selected (and the
selection might be off-screen), and then start typing. With the
nearly universally-available SELECT ALL command, it is easy to
lose whole documents this way. Nearly all users I've
interviewed have inadvertently lost text due to this design
error. While it requires [an] additional keystroke, the design
should have been (designers take note);

To replace text: select old text, tap DELETE, type new text.

There would be a couple of problems with changing this now. One is that
a non-trivial fraction (my wild guess would be 20 percent) of current
computer users are used to the typing-replaces-selection behavior. (The
rest don't realize it exists, except when they trigger it by accident.)
And because it is such a low-level behavior, relearning it would be
quite irritating.

The other is that dialogs often contain text fields with default values.
You can tab to a field, all its text is selected automatically, and if
you want a different value you can just start typing. If
typing-replaces-selection was dropped, some of these default values
might no longer be appropriate, because the cost of deleting the value
would have become greater than the benefit of providing it.

One smaller step would be to leave typing replacing selection, but to
make Ctrl+A the keyboard equivalent for Select Paragraph, rather than
Select All. Then it would still do what people wanted most of the time,
but the dataloss from typing Ctrl+A instead of Shift+A would usually be
much less severe.

> * The whole paradigm of embedding semi-functional text editors in web
> browsers. I mean semi-functional when compared to the system's
> stand-alone text editor application. For how many years have people been
> typing out emails into web browsers, pressing Send, getting a server
> error, and losing their work? There must be a better way. The web
> browser should just integrate with the system's text editor so that text
> is not lost when the browser or some Internet server messes up.
>...

The "It's All Text" Firefox extension does this.
 But adding the
complexity of a new window, with a completely different interface,
*just* for avoiding dataloss is a high price to pay. (To be fair, that's
not the only reason people use It's All Text -- it also lets them use
Emacs/Vi keyboard commands.) And you still need to remember to save
explicitly!

I think it would be better for browsers to behave the way good mail
clients do: while you're typing a message, they regularly and silently
save the message into the Drafts folder, so you can retrieve it later
even if an accident happens. Ideally browsers would save *the entire
page*, including text, selections in other form controls, scroll
position, and everything else, so you could get it back easily if you
closed it by mistake.

Cheers
- --
Matthew Paul Thomas
http://mpt.net.nz/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIKsRB6