You are not logged in.

#1 2009-11-04 00:48:49

helmut
Member
Registered: 2008-10-10
Posts: 65

Cannot upgrade with pacman -Syu [SOLVED]

Due to some problems I have tried to update my system with pacman -Syu. But pacman does not allow me to do that and stops the transaction with the message:

looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: broadcom-wl: requires kernel26<2.6.29

The broadcom-wl is the driver for my wlan chip.

What do I have to do to make the upgrade?

Thanks for any hint.

Helmut

Last edited by helmut (2009-11-06 14:45:53)

Offline

#2 2009-11-04 01:06:13

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Cannot upgrade with pacman -Syu [SOLVED]

You'll need to rebuild the broadcom-wl for the new kernel. Since you'll want to be running the new kernel when you build it you'll need to download the kernel package and the broadcom-wl PKGBUILD and either remove the broadcom package or install the kernel with the -Ud option to get around the dependency check.

Offline

#3 2009-11-04 01:15:39

helmut
Member
Registered: 2008-10-10
Posts: 65

Re: Cannot upgrade with pacman -Syu [SOLVED]

Thanks for the response.

Some questions:

1. How do I remove the broadcom package?

2. I asume after removing the broadcom package I have to use a lan-cable to do the following steps.

3. Can I do "pacman -Suy" after removing the broadcom package?

4. Will that install the new kernel?

5. Where do I get the broadcom-wl PKGBUILD?

6. I don't know on how to install from a PKGBUILD. I have up to now only use "pacman -S name".

Offline

#4 2009-11-04 03:02:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Cannot upgrade with pacman -Syu [SOLVED]

helmut wrote:

6. I don't know on how to install from a PKGBUILD. I have up to now only use "pacman -S name".

Then how did you get broadcom-wl on your system in the first place?

Any here is a step by step to fully updating your system
1) Download all needed packages: pacman -Syuw --ignore kernel26   (the --ignore flags should stop the bradcom-wl issues.  Add extra packages to that line if necessary)
2) Download new kernel and any packages that you ignored above:  pacman -Sw kernel26
3) Download braodcom-wl PKGBUILD files from the AUR and put them in a convenient directory.  Retrieve the sources  (makepkg -o)
4) Remove broadcom-wl (pacman -R broadcom-wl)
5) Install updates: pacman -Su
6) reboot
7) build broadcom-wl and install it
8) load wireless modules or just reboot and you are good to go

Offline

#5 2009-11-04 03:15:38

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot upgrade with pacman -Syu [SOLVED]

PKGBUILDS are provided in abs cache.

To get the cache, you need to run:

#abs

This will download all core, extra, community and testing package data into /var/abs.  (see the ABS WIKI)

Search the appropriate core,extra,community or testing package lists for your desired PKGBUILD.

When you have located the desired PKGBUILD, cp it to /var/local (assuming /var /local is empty, otherwise create a new /var/local1 and use it).

Then CD into /var/local .

perform:

#makepkg PKGBUILD

The package will be generated in /var/local , that is, the desired package with .pkg.tar.gz ID.

Use pacman -U (package ID) to install the newly generated package.

If you try to makepkg as root (not recommended) you must use :  makepkg --asroot PKGBUILD............

This is the general method for using ABS for package building.

You may need to obtain dependencies during the makepkg procedure as a first step.  Do so with pacman downloads...sometimes with additional PKGBUILDS from ABS.

I include this procedure in detail to aid you and any others with needs for the same info altho I do think the ABS wiki covers the subject. 

Good luck..........


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#6 2009-11-04 04:12:41

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Cannot upgrade with pacman -Syu [SOLVED]

Just in case there's confusion, lilsirecho's description to use abs is to build packages that are in the repositories, and generally isn't needed unless you need to change something when and compile it yourself. However the broadcom-wl isn't available in the repos, so you need to go to the AUR page which contains the files needed to build additional packages that aren't available as binaries. Once you have the PKGBUILD it's the same process starting with the makepkg command.

If you're not familiar with the AUR, as with many things the wiki probably has your answers.

Offline

#7 2009-11-04 04:21:15

helmut
Member
Registered: 2008-10-10
Posts: 65

Re: Cannot upgrade with pacman -Syu [SOLVED]

I am currently trying to follow Allan's recipe to get an updated clean system.

Step 1-3 are currently done (step 2 is still running, since it downloads more than 1GB of data).

Step 4 will remove my internet connection and I have to do the remaining steps locally.

Step 7 and 8 are not yet fully clear to me. How do I build broadcom-wl and install it?

Offline

#8 2009-11-04 14:00:06

helmut
Member
Registered: 2008-10-10
Posts: 65

Re: Cannot upgrade with pacman -Syu [SOLVED]

I have removed my broadcom_wl and tried to update my system with pacman -Syu. Now I get the following error. I don't know how to recover:

checking package integrity...
(494/494) checking for file conflicts               [#########################################################] 100%
error: failed to commit transaction (conflicting files)
libcups: /usr/include/cups/driver.h exists in filesystem
cups: /usr/bin/ppdc exists in filesystem
cups: /usr/bin/ppdhtml exists in filesystem
cups: /usr/bin/ppdi exists in filesystem
cups: /usr/bin/ppdmerge exists in filesystem
cups: /usr/bin/ppdpo exists in filesystem
cups: /usr/lib/cups/filter/commandtoescpx exists in filesystem
cups: /usr/lib/cups/filter/commandtopclx exists in filesystem
cups: /usr/lib/cups/filter/rastertoescpx exists in filesystem
cups: /usr/lib/cups/filter/rastertopclx exists in filesystem
cups: /usr/share/man/man1/ppdc.1.gz exists in filesystem
cups: /usr/share/man/man1/ppdhtml.1.gz exists in filesystem
cups: /usr/share/man/man1/ppdi.1.gz exists in filesystem
cups: /usr/share/man/man1/ppdmerge.1.gz exists in filesystem
cups: /usr/share/man/man1/ppdpo.1.gz exists in filesystem
cups: /usr/share/man/man5/ppdcfile.5.gz exists in filesystem
Errors occurred, no packages were upgraded.
[

Offline

#9 2009-11-04 14:06:51

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Cannot upgrade with pacman -Syu [SOLVED]

"pacman -Sf libcups cups"  Should get you around those issues.

Explanation: pacman seems to have lost track of those files. As they do belong to those packages and not another package (you can check that using "pacman -Qo <file>"), they are safe to overwrite with the -f flag.  Only ever do that for individual packages.

Offline

#10 2009-11-04 14:12:17

helmut
Member
Registered: 2008-10-10
Posts: 65

Re: Cannot upgrade with pacman -Syu [SOLVED]

Doing this I get

error: failed to prepare transaction (could not satisfy dependencies)
:: aalib: requires libx11
:: dbus: requires libx11
:: giflib: requires libx11
:: libwmf: requires libx11
:: libxext: requires libx11
:: libxfixes: requires libx11
:: libxkbfile: requires libx11
:: libxrender: requires libx11
:: libxt: requires libx11
:: lirc-utils: requires libx11
:: mesa: requires libx11>=1.1.4-3
:: sdl: requires libx11
:: startup-notification: requires libx11
:: x264: requires libx11
:: xf86-input-synaptics: requires libx11
:: xorg-server: requires libx11>=1.1.5
:: xorg-xinit: requires libx11
[

Offline

#11 2009-11-04 20:02:05

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Cannot upgrade with pacman -Syu [SOLVED]

Not sure why it's not finding libx11 since it's in the extra repository same as those other xorg related packages. Maybe try pacman -Syyu (with two ys) to force redownloading the database.

Offline

#12 2009-11-04 20:16:48

helmut
Member
Registered: 2008-10-10
Posts: 65

Re: Cannot upgrade with pacman -Syu [SOLVED]

I have updated libx11 with pacman -S libx11. Not it works. Thank you all for your help.

Offline

Board footer

Powered by FluxBB