Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-10-2010, 12:00 PM
|
#1
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
|
Strange things happening with pacman package manager
I decided to update using "pacman -Syu", and it said:
Code:
$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
:: Replace kdelibs-experimental with extra/kdelibs? [Y/n]
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: kdelibs: requires phonon
I didn't know what to do, si I ran "pacman -S kdelibs" (BTW, phonon was not one of its dependencies). Then I tried to update again. Same thing! So I decided to run "pacman -Rns kdelibs" to get back to my previous state. But it says that some programs I have depend on it! How it that supposed to be if those programs worked before? Anyway, I decided to install phonon. But it said that it conflicts with Qt and asked me if I want to remove Qt!
What should I do?
|
|
|
|
02-10-2010, 01:00 PM
|
#2
|
|
Member
Registered: Sep 2009
Location: Sparta
Posts: 237
Rep:
|
|
|
|
|
02-10-2010, 01:22 PM
|
#3
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Code:
$ sudo pacman -Sy --asdeps qt
Password:
:: Synchronizing package databases...
core is up to date
extra 447.5K 168.4K/s 00:00:03 [#####################] 100%
community 368.2K 172.7K/s 00:00:02 [#####################] 100%
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: kdelibs: requires phonon
|
|
|
|
02-10-2010, 01:38 PM
|
#4
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
I don't know if this is relevant, but I sometimes select a different mirror, re-sync, and then run pacman -S again. I assume that the mirrors are simply not always staying synchronized.
Also, there's a new utility for selecting the best mirrors to use. I've not yet mustered the neurons to tackle this.
http://wiki.archlinux.org/index.php/Mirrors
|
|
|
|
02-10-2010, 01:53 PM
|
#5
|
|
Member
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653
Rep: 
|
Before I read the announcement, I solved the problem with simply removing qt and then upgrading.
Code:
pacman -Rd qt
pacman -Syu
|
|
|
|
02-10-2010, 03:00 PM
|
#6
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Quote:
Originally Posted by pixellany
I don't know if this is relevant, but I sometimes select a different mirror, re-sync, and then run pacman -S again. I assume that the mirrors are simply not always staying synchronized.
Also, there's a new utility for selecting the best mirrors to use. I've not yet mustered the neurons to tackle this.
http://wiki.archlinux.org/index.php/Mirrors
|
If you're talking about "rankmirrors", I did that right after installing Arch.
|
|
|
|
02-10-2010, 03:02 PM
|
#7
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
Quote:
Originally Posted by MTK358
If you're talking about "rankmirrors", I did that right after installing Arch.
|
Now you're making me feel inferior.....
Do you have more than one mirror enabled? When I read the instructions, it sounded like this was possible. (I have always assumed that Arch could only use one mirror at a time)
|
|
|
|
02-10-2010, 03:03 PM
|
#8
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Quote:
Originally Posted by reed9
Before I read the announcement, I solved the problem with simply removing qt and then upgrading.
Code:
pacman -Rd qt
pacman -Syu
|
That seems to work, and I see that Qt is included in the updates.
Will I have to do this every time I update?
|
|
|
|
02-10-2010, 03:05 PM
|
#9
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
Original Poster
|
Quote:
Originally Posted by pixellany
Now you're making me feel inferior.....
Do you have more than one mirror enabled? When I read the instructions, it sounded like this was possible. (I have always assumed that Arch could only use one mirror at a time)
|
AFAIK if you have more than one mirror selected it chooses the first one on the list, if it fails it tries the second, etc.
|
|
|
|
02-11-2010, 06:48 AM
|
#10
|
|
Member
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653
Rep: 
|
No, you won't have to do that everytime you update. This was a special case involving a major upgrade. A couple times a year something big comes down the pipe and you have to pay extra attention to what's going on.
Yes, you are correct regarding the mirrors. It tried each in order. However, you can use either powerpill or bauerbill, which does allow you to use multiple mirrors (utilizing reflector to do so). All of those are in the AUR (actually I think reflector is in the community repo) or you can enable Xyne's (the author) repo.
http://xyne.archlinux.ca/
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:45 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|