Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#1826 - pacman -U with multiple packages and dependencies

Attached to Project: Pacman
Opened by Alexei (kaaos) - Tuesday, 23 November 2004, 11:23 GMT
Last edited by Judd Vinet (judd) - Sunday, 19 December 2004, 00:23 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Hello!
First of all, sorry for my English :(.

The problem:
When i run 'pacman -U package1 package2' and package1 depends on package2, then pacman don't actually install files of package1 on the system. If i upgrade packages in reverse order, then everythig is ok.

Example:
$ pacman -U mplayer-1.0pre5-6.pkg.tar.gz cdparanoia-9.8-4.pkg.tar.gz
loading package data... done.
checking for file conflicts... done.
upgrading cdparanoia... done.
upgrading mplayer... done.

$ pacman -Ql mplayer
....
mplayer /usr/bin/mplayer
....

$ ls /usr/bin/mplayer
ls: /usr/bin/mplayer: No such file or directory


----------
pacman version is 2.9.2
This task depends upon

Closed by  Judd Vinet (judd)
Tuesday, 11 January 2005, 22:33 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Tuesday, 30 November 2004, 22:10 GMT
Hello Alexei,

I'm having trouble reproducing this problem. Can you do me a favour and reproduce it yourself with the --verbose switch and send me the output?

# pacman -R mplayer cdparanoia
# pacman -Uv mplayer-1.0pre5-6.pkg.tar.gz cdparanoia-9.8-4.pkg.tar.gz 2>&1 | tee output.log


Thanks.
Comment by Alexei (kaaos) - Wednesday, 01 December 2004, 11:14 GMT
I have repeated the steps you provided and see NO BUG!!! I tried to get the bug during an hour, but result was the same. But finally i understood the problem: do not remove mplayer and cdparanoia before their upgrade, e.g. when you invoke

# pacman -U mplayer-1.0pre5-6.pkg.tar.gz cdparanoia-9.8-4.pkg.tar.gz

both mplayer and cdparanoia must be already installed in the system. I was testing this on the same packages versions.

Thank you.
Comment by Alexei (kaaos) - Wednesday, 01 December 2004, 11:33 GMT
config: new section 'options'
config: log file: /var/log/pacman.log
config: noupgrade: etc/passwd
But in any case, this is output:

config: noupgrade: etc/group
config: noupgrade: etc/shadow
config: noupgrade: etc/sudoers
config: noupgrade: etc/fstab
config: noupgrade: etc/raidtab
config: noupgrade: etc/ld.so.conf
config: noupgrade: etc/rc.conf
config: noupgrade: etc/rc.local
config: noupgrade: etc/vim/vimrc
config: noupgrade: etc/vim/gvimrc
config: noupgrade: etc/modprobe.conf
config: noupgrade: etc/modules.conf
config: noupgrade: etc/profile
config: noupgrade: etc/lilo.conf
config: noupgrade: boot/grub/menu.lst
config: holdpkg: pacman
config: holdpkg: glibc
config: xfercommand: /usr/bin/wget --passive-ftp -c -O %o %u
config: new section 'current'
config: including /etc/pacman.d/current
config: new section 'current'
config: current: server: http darkstar.ist.utl.pt /archlinux/current/os/i686/
config: new section 'extra'
config: including /etc/pacman.d/extra
config: new section 'extra'
config: extra: server: http darkstar.ist.utl.pt /archlinux/extra/os/i686/
Installation Root: /
Top-level DB Path: /var/lib/pacman
Targets: mplayer-1.0pre5-6.pkg.tar.gz cdparanoia-9.8-4.pkg.tar.gz
loading package data... reading mplayer-1.0pre5-6.pkg.tar.gz... done
reading cdparanoia-9.8-4.pkg.tar.gz... done
done.
checking dependencies...
sorting by dependencies
checking for file conflicts... done.
upgrading cdparanoia... removing old package first...
running "/sbin/ldconfig -r /"
extracting files...
Updating database...done.
done.
upgrading mplayer... removing old package first...
running "/sbin/ldconfig -r /"
extracting files...
Updating database...done.
done.
running "/sbin/ldconfig -r /"
Comment by Alexei (kaaos) - Wednesday, 01 December 2004, 11:35 GMT
Sorry :(. In the previous post fourth line must be first. My copy/paste mistake...

Thanks.
Comment by Judd Vinet (judd) - Sunday, 19 December 2004, 00:22 GMT
Hmm... thanks for the verbose output, but it seems neither of us can reproduce the problem now. :(
Comment by Judd Vinet (judd) - Tuesday, 11 January 2005, 22:33 GMT
With Dale's help, I've reproduced this bug. It will be fixed in 2.9.5.

Loading...