You are not logged in.

#1 2011-01-31 15:41:00

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

pacman 3.4.3-1 randomly ignoring "y" or "n" choice when using '-Syu'

So there isn't much I have to say except this in the thread title and that it drops me back to the prompt when I answer with either "y" or "n".

Basically, it looks like this:

Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
kwarning: kernel26: ignoring package upgrade (2.6.36.2-1 => 2.6.37-5)
warning: kernel26-headers: ignoring package upgrade (2.6.36.2-1 => 2.6.37-5)
warning: udev: ignoring package upgrade (164-3 => 165-1)
resolving dependencies...
looking for inter-conflicts...

Targets (2): git-1.7.4-1  postgresql-libs-9.0.3-1

Total Download Size:    2.36 MB
Total Installed Size:   13.83 MB

Proceed with installation? [Y/n] y
~/>

Note the last line (my prompt). it basically ignores to download the updated packages and gives me back the prompt. Nothing unusual in tty1.
This doesn't happen everytime, if I try to -Syu again, it'll probably get the updates and install. So it's completely random.

Any ideas?

Offline

#2 2011-01-31 16:14:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pacman 3.4.3-1 randomly ignoring "y" or "n" choice when using '-Syu'

Any debug info?

Offline

#3 2011-01-31 19:17:39

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: pacman 3.4.3-1 randomly ignoring "y" or "n" choice when using '-Syu'

I'll be using 'pacman -Syu --debug' and see if I'll get some more 'glitches'.

Offline

#4 2011-01-31 21:39:12

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: pacman 3.4.3-1 randomly ignoring "y" or "n" choice when using '-Syu'

kwarning: kernel26: ignoring package upgrade (2.6.36.2-1 => 2.6.37-5)

You have a stray character in the output, which means you pressed a button before getting to pacman's prompt. Readline is holding that in the buffer, and sends it to pacman along with the y you sent. pacman doesn't know what to do with a response of 'ky' so it aborts.

working as intended, as far as i can tell.

Last edited by falconindy (2011-01-31 21:39:40)

Offline

#5 2011-01-31 22:34:51

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: pacman 3.4.3-1 randomly ignoring "y" or "n" choice when using '-Syu'

Might be that, yes. But it happened twice today, so I'm not sure if it's the coincidence. I'll keep testing.

Offline

Board footer

Powered by FluxBB