[pacman-dev] bug during package upgrade?
Hi! Here's Tobias' pacman.log. Notice that klibc-kbd is not installed at all, though the newest mkinitcpio depends on it. The line [2008-03-21 19:57] installed klibc-kbd (1.15.20080312-4) at the bottom is from manual installation. ---------- Forwarded message ---------- From: Tobias Powalowski <t.powa@gmx.de> Date: 22 бер. 2008 00:14 Subject: big upgrade To: Roman Kyrylych <roman.kyrylych@gmail.com> -- Roman Kyrylych (Роман Кирилич)
On Sat, Mar 22, 2008 at 3:56 AM, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
Hi!
Here's Tobias' pacman.log. Notice that klibc-kbd is not installed at all, though the newest mkinitcpio depends on it.
The line [2008-03-21 19:57] installed klibc-kbd (1.15.20080312-4) at the bottom is from manual installation.
Needed: * pacman version (I'm guessing pre-3.1? Or am I way off) * pacman -Qip mkinitcpio-0.5.18pre2-1 output (I wonder if the deps were wrong here) -Dan
2008/3/22, Dan McGee <dpmcgee@gmail.com>:
On Sat, Mar 22, 2008 at 3:56 AM, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
Hi!
Here's Tobias' pacman.log. Notice that klibc-kbd is not installed at all, though the newest mkinitcpio depends on it.
The line [2008-03-21 19:57] installed klibc-kbd (1.15.20080312-4) at the bottom is from manual installation.
Needed: * pacman version (I'm guessing pre-3.1? Or am I way off) * pacman -Qip mkinitcpio-0.5.18pre2-1 output (I wonder if the deps were wrong here)
pacman 3.1.3 mkinitcpio-0.5.18pre2-1 had klibc-kbd as a dependency -- Roman Kyrylych (Роман Кирилич)
On Sat, Mar 22, 2008 at 2:03 PM, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
2008/3/22, Dan McGee <dpmcgee@gmail.com>:
On Sat, Mar 22, 2008 at 3:56 AM, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
Hi!
Here's Tobias' pacman.log. Notice that klibc-kbd is not installed at all, though the newest mkinitcpio depends on it.
The line [2008-03-21 19:57] installed klibc-kbd (1.15.20080312-4) at the bottom is from manual installation.
Needed: * pacman version (I'm guessing pre-3.1? Or am I way off) * pacman -Qip mkinitcpio-0.5.18pre2-1 output (I wonder if the deps were wrong here)
pacman 3.1.3 mkinitcpio-0.5.18pre2-1 had klibc-kbd as a dependency
The output of pacman -Qip would have been great then... $ pacman -Qip /var/cache/pacman/pkg/mkinitcpio-0.5.18pre2-1-i686.pkg.tar.gz Filename : mkinitcpio-0.5.18pre2-1-i686.pkg.tar.gz Name : mkinitcpio Version : 0.5.18pre2-1 URL : http://www.archlinux.org/ Licenses : GPL Groups : base Provides : None Depends On : klibc>=1.5-5 klibc-extras>=2.4 klibc-udev>=116-3 gen-init-cpio klibc-module-init-tools coreutils bash klibc-kbd Optional Deps : None Conflicts With : None Replaces : mkinitrd mkinitramfs Compressed Size: 16.04 K Installed Size : 88.11 K Packager : Thomas Baechler <thomas@archlinux.org> Architecture : i686 Build Date : Sun 16 Mar 2008 01:54:50 PM CDT Install Script : No Description : Advanced, modular initramfs image creation utility -Dan
2008/3/22, Dan McGee <dpmcgee@gmail.com>:
On Sat, Mar 22, 2008 at 2:03 PM, Roman Kyrylych
<roman.kyrylych@gmail.com> wrote:
2008/3/22, Dan McGee <dpmcgee@gmail.com>:
On Sat, Mar 22, 2008 at 3:56 AM, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
Hi!
Here's Tobias' pacman.log. Notice that klibc-kbd is not installed at all, though the newest mkinitcpio depends on it.
The line [2008-03-21 19:57] installed klibc-kbd (1.15.20080312-4) at the bottom is from manual installation.
Needed: * pacman version (I'm guessing pre-3.1? Or am I way off) * pacman -Qip mkinitcpio-0.5.18pre2-1 output (I wonder if the deps were wrong here)
pacman 3.1.3 mkinitcpio-0.5.18pre2-1 had klibc-kbd as a dependency
The output of pacman -Qip would have been great then...
$ pacman -Qip /var/cache/pacman/pkg/mkinitcpio-0.5.18pre2-1-i686.pkg.tar.gz Filename : mkinitcpio-0.5.18pre2-1-i686.pkg.tar.gz Name : mkinitcpio Version : 0.5.18pre2-1 URL : http://www.archlinux.org/ Licenses : GPL Groups : base Provides : None Depends On : klibc>=1.5-5 klibc-extras>=2.4 klibc-udev>=116-3 gen-init-cpio klibc-module-init-tools coreutils bash klibc-kbd Optional Deps : None Conflicts With : None Replaces : mkinitrd mkinitramfs Compressed Size: 16.04 K Installed Size : 88.11 K Packager : Thomas Baechler <thomas@archlinux.org> Architecture : i686 Build Date : Sun 16 Mar 2008 01:54:50 PM CDT Install Script : No Description : Advanced, modular initramfs image creation utility
Same on Tobias' machine. He's unable to reproduce it now after upgrade and is busy with ISO packaging, but I will try to reproduce the issue in virtualbox tomorrow. -- Roman Kyrylych (Роман Кирилич)
On Sat, Mar 22, 2008 at 2:31 PM, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
2008/3/22, Dan McGee <dpmcgee@gmail.com>:
On Sat, Mar 22, 2008 at 2:03 PM, Roman Kyrylych
<roman.kyrylych@gmail.com> wrote:
2008/3/22, Dan McGee <dpmcgee@gmail.com>:
On Sat, Mar 22, 2008 at 3:56 AM, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
Hi!
Here's Tobias' pacman.log. Notice that klibc-kbd is not installed at all, though the newest mkinitcpio depends on it.
The line [2008-03-21 19:57] installed klibc-kbd (1.15.20080312-4) at the bottom is from manual installation.
Needed: * pacman version (I'm guessing pre-3.1? Or am I way off) * pacman -Qip mkinitcpio-0.5.18pre2-1 output (I wonder if the deps were wrong here)
pacman 3.1.3 mkinitcpio-0.5.18pre2-1 had klibc-kbd as a dependency
The output of pacman -Qip would have been great then...
$ pacman -Qip /var/cache/pacman/pkg/mkinitcpio-0.5.18pre2-1-i686.pkg.tar.gz Filename : mkinitcpio-0.5.18pre2-1-i686.pkg.tar.gz Name : mkinitcpio Version : 0.5.18pre2-1 URL : http://www.archlinux.org/ Licenses : GPL Groups : base Provides : None Depends On : klibc>=1.5-5 klibc-extras>=2.4 klibc-udev>=116-3 gen-init-cpio klibc-module-init-tools coreutils bash klibc-kbd Optional Deps : None Conflicts With : None Replaces : mkinitrd mkinitramfs Compressed Size: 16.04 K Installed Size : 88.11 K Packager : Thomas Baechler <thomas@archlinux.org> Architecture : i686 Build Date : Sun 16 Mar 2008 01:54:50 PM CDT Install Script : No Description : Advanced, modular initramfs image creation utility
Same on Tobias' machine. He's unable to reproduce it now after upgrade and is busy with ISO packaging, but I will try to reproduce the issue in virtualbox tomorrow.
Try to reproduce it with a pactest, perhaps- that way we will actually be able to fix it if there is a problem. -Dan
Dan McGee a écrit :
Try to reproduce it with a pactest, perhaps- that way we will actually be able to fix it if there is a problem.
I started writing one yesterday, I am totally unable to reproduce this, and also to understand what could be wrong in the code. klibc-kbd is pulled, and the order is correct. But maybe the pactest is too basic and needs to be extended to show the issue?
Idézés Roman Kyrylych <roman.kyrylych@gmail.com>:
Hi!
Here's Tobias' pacman.log. Notice that klibc-kbd is not installed at all, though the newest mkinitcpio depends on it.
The line [2008-03-21 19:57] installed klibc-kbd (1.15.20080312-4) at the bottom is from manual installation.
Hm. I can imagine only one case here: Didn't he accidentally use the -d switch? It's strange that the packages are upgraded in alphabetical order instead of topo sort... ---------------------------------------------------- SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu This mail sent through IMP: http://horde.org/imp/
Nagy Gabor a écrit :
Idézés Roman Kyrylych <roman.kyrylych@gmail.com>:
Hi!
Here's Tobias' pacman.log. Notice that klibc-kbd is not installed at all, though the newest mkinitcpio depends on it.
The line [2008-03-21 19:57] installed klibc-kbd (1.15.20080312-4) at the bottom is from manual installation.
Hm. I can imagine only one case here: Didn't he accidentally use the -d switch? It's strange that the packages are upgraded in alphabetical order instead of topo sort...
lol, of course, it looks so obvious after you said it, yet I didn't think about that at all. Thanks :) With -d, the packages are not sorted, and new dep like klibc-kbd are not pulled. What a stupid option. Maybe pacman should print a warning when it's being used, to prevent accidental use, and also to make everyone aware that it's not safe at all.
2008/3/24, Xavier <shiningxc@gmail.com>:
Nagy Gabor a écrit :
Idézés Roman Kyrylych <roman.kyrylych@gmail.com>:
Hi!
Here's Tobias' pacman.log. Notice that klibc-kbd is not installed at all, though the newest mkinitcpio depends on it.
The line [2008-03-21 19:57] installed klibc-kbd (1.15.20080312-4) at the bottom is from manual installation.
Hm. I can imagine only one case here: Didn't he accidentally use the -d switch? It's strange that the packages are upgraded in alphabetical order instead of topo sort...
lol, of course, it looks so obvious after you said it, yet I didn't think about that at all. Thanks :) With -d, the packages are not sorted, and new dep like klibc-kbd are not pulled. What a stupid option. Maybe pacman should print a warning when it's being used, to prevent accidental use, and also to make everyone aware that it's not safe at all.
Yep, it looks like -d was accidentaly used. I was unable to reproduce the issue. -- Roman Kyrylych (Роман Кирилич)
participants (4)
-
Dan McGee
-
Nagy Gabor
-
Roman Kyrylych
-
Xavier