You are not logged in.

#1 2007-05-09 23:13:24

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Pacman 3: Ready To Move

Just mirroring the information here, so fewer people miss it.

Phrakture wrote:

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 pacman

I 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.

Arch Front Page News Posting


"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

#2 2007-05-09 23:17:42

Titus
Member
From: Izmir
Registered: 2006-05-11
Posts: 120
Website

Re: Pacman 3: Ready To Move

i've just installed these depencies and now i am waiting to upgrade. Thanks lot.


In a world without walls,who need windows?

Offline

#3 2007-05-09 23:32:07

Echo
Member
From: Ohio, United States
Registered: 2006-05-16
Posts: 239

Re: Pacman 3: Ready To Move

Thanks for the heads up cactus.

Offline

#4 2007-05-10 01:20:11

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Pacman 3: Ready To Move

Yeah thanks cactus, I completely forgot to post it here too

Offline

#5 2007-05-10 03:05:54

luciferin
Member
Registered: 2007-05-10
Posts: 144

Re: Pacman 3: Ready To Move

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

#6 2007-05-10 03:18:12

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Pacman 3: Ready To Move

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

#7 2007-05-10 03:24:38

luciferin
Member
Registered: 2007-05-10
Posts: 144

Re: Pacman 3: Ready To Move

Ah, thank you for clarifying cactus.  I was confused by the differences.

Offline

#8 2007-05-10 07:36:25

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Pacman 3: Ready To Move

Finally.
Congratulations to you guys, you finally got the release wink


Ability is nothing without opportunity.

Offline

#9 2007-05-10 12:08:46

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Pacman 3: Ready To Move

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

#10 2007-05-10 12:23:36

mandos
Member
From: Greece
Registered: 2006-01-23
Posts: 101
Website

Re: Pacman 3: Ready To Move

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 smile

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

#11 2007-05-10 12:39:58

sH
Member
From: Braunschweig, Germany
Registered: 2007-05-02
Posts: 145

Re: Pacman 3: Ready To Move

I also cannot see what the two dependencies are they are talking about there.

Offline

#12 2007-05-10 12:52:22

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: Pacman 3: Ready To Move

Those are libdownload and libarchive. Someone should update the news.

Offline

#13 2007-05-10 12:55:00

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Pacman 3: Ready To Move

sH wrote:

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

#14 2007-05-10 13:38:16

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Pacman 3: Ready To Move

Fixed now.


to live is to die

Offline

#15 2007-05-10 15:35:35

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Pacman 3: Ready To Move

I don't see why the install script couldn't be used to fix this wink

Offline

#16 2007-05-10 15:36:43

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Pacman 3: Ready To Move

the install script is never executed.

Offline

#17 2007-05-10 16:36:01

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Pacman 3: Ready To Move

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

#18 2007-05-10 17:10:48

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Pacman 3: Ready To Move

dolby wrote:

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:

http://archlinux.org/pipermail/arch-dev … 00610.html

Offline

#19 2007-05-10 18:24:02

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Pacman 3: Ready To Move

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

#20 2007-05-10 18:40:13

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Pacman 3: Ready To Move

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

#21 2007-05-10 19:21:51

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Pacman 3: Ready To Move

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

#22 2007-05-10 20:56:48

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Pacman 3: Ready To Move

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

#23 2007-05-10 21:06:09

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Pacman 3: Ready To Move

Cotton wrote:

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

#24 2007-05-11 05:34:59

KerowynM
Member
Registered: 2006-06-04
Posts: 78

Re: Pacman 3: Ready To Move

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.

tongue

Offline

#25 2007-05-11 06:21:06

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Pacman 3: Ready To Move

it would allow you to fix missing dependencies wink

Offline

Board footer

Powered by FluxBB