You are not logged in.

#1 2010-07-02 19:41:39

Derechef
Member
Registered: 2010-07-02
Posts: 13

pacman can't update anything

Hello everyone, I installed Archlinux like one year ago but I didn't used it much.
Today I decided to switch from Windows to Archlinux. So I  did a pacman -Syu to update everythings. Pacman ask me whether I want to replace a lots of packages :

:: Replace kernel-headers with core/linux-api-headers? [Y/n]
:: Replace man with core/man-db? [Y/n]
:: Replace klibc with core/mkinitcpio? [Y/n]
:: Replace klibc-extras with core/mkinitcpio? [Y/n]
:: Replace klibc-kbd with core/mkinitcpio? [Y/n]
:: Replace klibc-module-init-tools with core/mkinitcpio? [Y/n]
:: Replace klibc-udev with core/mkinitcpio? [Y/n]
:: Replace pkgconfig with core/pkg-config? [Y/n]
:: Replace procinfo with core/procinfo-ng? [Y/n]
:: Replace portmap with core/rpcbind? [Y/n]
:: Replace bluez-libs with extra/bluez? [Y/n]
:: Replace nautilus-cd-burner with extra/brasero? [Y/n]
:: Replace esd with extra/esound? [Y/n]
:: Replace libungif with extra/giflib? [Y/n]
:: Replace gnome-mount with extra/gnome-disk-utility? [Y/n]
:: Replace gail with extra/gtk2? [Y/n]
:: Replace jack-audio-connection-kit with extra/jack? [Y/n]
:: Replace kdeaccessibility with extra/kde-meta-kdeaccessibility? [Y/n]
:: Replace kdeadmin with extra/kde-meta-kdeadmin? [Y/n]
:: Replace kdeartwork with extra/kde-meta-kdeartwork? [Y/n]
:: Replace kdebase with extra/kde-meta-kdebase? [Y/n]
:: Replace kdeedu with extra/kde-meta-kdeedu? [Y/n]
:: Replace kdegames with extra/kde-meta-kdegames? [Y/n]
:: Replace kdegraphics with extra/kde-meta-kdegraphics? [Y/n]
:: Replace kdemultimedia with extra/kde-meta-kdemultimedia? [Y/n]
:: Replace kdenetwork with extra/kde-meta-kdenetwork? [Y/n]
:: Replace kdepim with extra/kde-meta-kdepim? [Y/n]
:: Replace kdesdk with extra/kde-meta-kdesdk? [Y/n]
:: Replace kdetoys with extra/kde-meta-kdetoys? [Y/n]
:: Replace kdeutils with extra/kde-meta-kdeutils? [Y/n]
:: Replace kdmtheme with extra/kdebase-workspace? [Y/n]
:: Replace kde-common with extra/kdebase-workspace? [Y/n]
:: Replace gwenview with extra/kdegraphics-gwenview? [Y/n]
:: Replace arts with extra/kdelibs? [Y/n]
:: Replace libdvbpsi4 with extra/libdvbpsi? [Y/n]
:: Replace libsigc++2.0 with extra/libsigc++? [Y/n]
:: Replace gnome-volume-manager with extra/nautilus? [Y/n]
:: Replace perlxml with extra/perl-xml-parser? [Y/n]
:: Replace python-elementtree with extra/python? [Y/n]
:: Replace notification-daemon-xfce with extra/xfce4-notifyd? [Y/n]
:: Replace xfce4-xmms-plugin with extra/xfce4-playercontrol-plugin? [Y/n]
:: Replace xfce4-screenshooter-plugin with extra/xfce4-screenshooter? [Y/n]
:: Replace xfce-mcs-manager with extra/xfce4-settings? [Y/n]
:: Replace verve-plugin with extra/xfce4-verve-plugin? [Y/n]
:: Replace libxfce4mcs with extra/xfconf? [Y/n]
:: Replace xfce-mcs-manager with extra/xfconf? [Y/n]
:: Replace xfce-mcs-plugins with extra/xfconf? [Y/n]

It also asks if I want to update pacman and whatever my answers I get an error :

resolving dependencies...

error: cannot resolve "openssl>=1.0.0", a dependency of "libarchive"
error: failed to prepare transaction (could not satisfy dependencies)

So I did pacman -S openssl (it ran fine) but I still get the same error.
I tried several mirrors, I tried to do pacman -r / -S pacman but I still had the openssl error. I tried to download the latest version of pacman but I need libterm to compile it and when I do pacman -S libterm I also get the same error.

I don't know what to do. Should I reinstall Archlinux ?

Last edited by Derechef (2010-07-02 19:42:30)

Offline

#2 2010-07-02 19:46:16

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: pacman can't update anything

ArchLinux is a rolling release system. If you installed 1 year ago, and are doing an update on it now...then well in all honesty, your packages might be the age of dinos. You will have to update the entire system.

Also, so many things and so many dependencies change over time, that you would be better off installing the system all over again. And if you followed the recommended practice of having a different partition for /home, then it shouldn't take long for you to re-install the apps you need.,


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2010-07-02 19:54:51

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: pacman can't update anything

Are you running testing? What version shows pacman -Q openssl?

Offline

#4 2010-07-02 19:59:27

Derechef
Member
Registered: 2010-07-02
Posts: 13

Re: pacman can't update anything

hokasch wrote:

Are you running testing? What version shows pacman -Q openssl?

# pacman -Q openssl
openssl 1.0.0.a-2

But I think I'll follow Inxsible's advice and start again with a fresh and clean install.

Offline

#5 2010-07-02 20:03:40

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: pacman can't update anything

That is the newest version. Just install pacman with pacman -Sd pacman, I think the problem is that your old pacman does not think 1.0.0.a to be >=1.0.0.

Offline

#6 2010-07-02 20:25:28

Derechef
Member
Registered: 2010-07-02
Posts: 13

Re: pacman can't update anything

hokasch wrote:

That is the newest version. Just install pacman with pacman -Sd pacman, I think the problem is that your old pacman does not think 1.0.0.a to be >=1.0.0.

pacman -Sd pacman worked but now when I use pacman I get errors with libfetch.

Thank you for your help but I'm going to reinstall Archlinux using the 64bit version this time.

Offline

#7 2010-07-02 20:32:10

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: pacman can't update anything

Ah well, you should have installed libarchive and libfetch with pacman -S before, and make sure the only unmet dependency was openssl, and only then run -Sd when all other dependencies were installed...

Thats how I meant it but didn't write it, sorry, bit of bad advise from my side.

Edit: Really bad considering it left you with a broken pacman... I know you have decided to reinstall already; anyway you should be able to get pacman back by installing the old package from your cache with -U, or if that doesn't work either, untar it to /.

Edit two: How to reinstall pacman when pacman is broken

Last edited by hokasch (2010-07-02 20:47:26)

Offline

#8 2010-07-03 18:27:12

boomhower182
Member
Registered: 2009-02-26
Posts: 26

Re: pacman can't update anything

it's not the file versions, this happens to me even after a fresh install even tried many different repos.

Offline

#9 2010-07-03 18:31:42

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: pacman can't update anything

boomhower182 wrote:

it's not the file versions, this happens to me even after a fresh install even tried many different repos.

Did you update after install - "pacman -Syyu"? Are you using a old installer?

Last edited by loafer (2010-07-03 18:33:14)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

Board footer

Powered by FluxBB