You are not logged in.
Just mirroring the information here, so fewer people miss it.
Hello,
We are mere hours away from pacman 3 moving to current.However, we have a slight issue. Now this is not fatal, it is more of an inconvenience. The current pacman package, when it finds an upgrade of itself, only tries to install 'pacman'. pacman 3.0 has 2 new dependencies which will not be installed, and pacman will error out when upgrading, telling you that these dependencies are missing.
It's rather easy to solve, but is inconvenient. Just run the following before a full system upgrade:
pacman -Sy pacmanI apologize for the trouble, but there's no easy way to fix this in a short amount of time.
I will let this post simmer just a bit before moving pacman out, but it will end up in current real soon.
As an additional note, the two dependencies needed (libdownload and libarchive) are in current already, so you can preempt this by installing them now.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
i've just installed these depencies and now i am waiting to upgrade. Thanks lot.
In a world without walls,who need windows?
Offline
Thanks for the heads up cactus.
Offline
Yeah thanks cactus, I completely forgot to post it here too
Offline
I just thought you should know that the story on the front page has a pretty big typo in it:
It's rather easy to solve, but is inconvenient. Just run the following before a full system upgrade:
pacman -Sy pacman
Last edited by luciferin (2007-05-10 03:06:19)
Offline
luciferin: the main site was modified to reflect a simpler upgrade path. Apparently when you install pacman manually like that, it pulls in the deps. If you try to use -Syu, the upgrade option causes the problem reflected in the announcement.
You can alternatively use the method posted earlier.. both work. The adjusted method is just simpler.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Ah, thank you for clarifying cactus. I was confused by the differences.
Offline
Finally.
Congratulations to you guys, you finally got the release
Ability is nothing without opportunity.
Offline
I guess the obvious question is "What's the workaround for those who don't follow these instructions or aren't aware of this?"
Offline
is it my idea or there is no mention of the 2 packages needed in this announcement:
http://www.archlinux.org/news/320/
it says: "As an additional note, the two dependencies listed above are in current already, so you can preempt this by installing them now." but I don't see them
by pacman -Sy pacman they might get installed even now that pacman isn't in current yet, I already have pacman from testing so I can't give much feedback about it... but I thought I should ask just in case that they weren't forgotten on purpose from the announcement
forgive my bad english
Offline
I also cannot see what the two dependencies are they are talking about there.
Offline
Those are libdownload and libarchive. Someone should update the news.
Offline
I also cannot see what the two dependencies are they are talking about there.
Original news entry contained
pacman -S libdownload libarchive
to run before -Su
but was then edited to more correct
pacman -Sy pacman
and that sentence at the end was overlooked.
to live is to die
Offline
Fixed now.
to live is to die
Offline
I don't see why the install script couldn't be used to fix this
Offline
the install script is never executed.
Offline
for the install script to be executed pacman needs to install the pkg first. since that cant be done, an install script wouldnt work. from what i can understand
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
for the install script to be executed pacman needs to install the pkg first. since that cant be done, an install script wouldnt work. from what i can understand
True. It was discussed a bit, there are a few hackish solutions, but this is just the most straightforward:
Offline
HI,
I was using Pacman 3 from Testing and when I found this thread I tried installing the one from current. Now when I try a -Suy I get;
pacman -Suy
config: line 7: all directives must belong to a section
config: line 7: all directives must belong to a section
config: line 8: all directives must belong to a section
:: Synchronizing package databases...
failed to synchronize current
failed to synchronize extra
failed to synchronize community
Targets: cryptsetup-1.0.5-1 device-mapper-1.02.19-1 exim-4.67-1 vim-7.0.243-1
gvim-7.0.243-1 inputproto-1.4.2-1 libmysqlclient-5.0.41-1
libxcomposite-0.3.2-1 lvm2-2.02.25-1 man-pages-2.46-1
mysql-clients-5.0.41-1 mysql-5.0.41-1 nano-2.0.6-1 psmisc-22.5-1
wireless_tools-29pre21-1 wpa_supplicant-0.5.7-3
xf86-input-acecad-1.2.0-1 xf86-input-joystick-1.2.1-1
xf86-input-keyboard-1.1.1-1 xf86-input-mouse-1.2.1-1
xf86-input-vmmouse-12.4.1-1 xf86-video-i128-1.2.1-1
xf86-video-nv-2.0.2-1 xf86-video-rendition-4.1.3-1
xf86-video-s3-0.5.0-1 xf86-video-siliconmotion-1.5.1-1
xf86-video-tseng-1.1.1-1 xf86-video-vesa-1.3.0-1
xf86-video-vmware-10.15.0-1 xf86-video-voodoo-1.1.1-1
Total Package Size: 31.2 MB
Proceed with upgrade? [Y/n]
:: Retrieving packages from current...
error: failed to retrieve some files from current
What do I need to do to fix this??
Thanks
Jim
Offline
Check your config file, line 7 and 8 - can you post it?
The error here is a configuration one - as such, your pacman does not detect any mirrors for those repos and can't do anything
Offline
Hi Phrakture,
Assuming you mean pacman.conf, here you go;
#
# /etc/pacman.conf
#
# See the pacman manpage for option directives
#
# GENERAL OPTIONS
#
[options]
LogFile = /var/log/pacman.log
NoUpgrade = etc/passwd etc/group etc/shadow etc/sudoers
NoUpgrade = etc/fstab etc/raidtab etc/ld.so.conf
NoUpgrade = etc/rc.conf etc/rc.local
NoUpgrade = etc/modprobe.conf etc/modules.conf
NoUpgrade = etc/lilo.conf boot/grub/menu.lst
#HoldPkg = pacman glibc
IgnorePkg = automake
#XferCommand = /usr/bin
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
#
#[testing]
#Server = ftp://ftp.archlinux.org/testing/os/i686
[current]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/current
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community
#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
Offline
Phrakture,
I think I solved the problem - the symptom if not the cause. When I did a pacman -Qi pacman I got pacman-2.9.8-4 so I went into the pacman cache and did a pacman -U for pacman 3. Tha worked and now all the 'error' messages have gone and everything is working. I hhave no clue what happened to the version 3 I got from testing.
Jim
Last edited by MillTek (2007-05-10 21:21:41)
Offline
I guess the obvious question is "What's the workaround for those who don't follow these instructions or aren't aware of this?"
They'll find that they can't update any packages via -Syu and they'll come looking for an answer.
I am a gated community.
Offline
It's here.
I was skimming the man page and this cracked me up
-e, --dependsonly
Install all dependencies of a package, but not the specified package itself. This is pretty useless and we're
not sure why it even exists.
Offline
it would allow you to fix missing dependencies
Offline