LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 02-10-2010, 12:00 PM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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?
 
Old 02-10-2010, 01:00 PM   #2
carbonfiber
Member
 
Registered: Sep 2009
Location: Sparta
Posts: 237

Rep: Reputation: 46
http://bbs.archlinux.org/viewtopic.php?id=90629
 
Old 02-10-2010, 01:22 PM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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
 
Old 02-10-2010, 01:38 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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
 
Old 02-10-2010, 01:53 PM   #5
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
Before I read the announcement, I solved the problem with simply removing qt and then upgrading.

Code:
pacman -Rd qt
pacman -Syu
 
Old 02-10-2010, 03:00 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by pixellany View Post
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.
 
Old 02-10-2010, 03:02 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by MTK358 View Post
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)
 
Old 02-10-2010, 03:03 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by reed9 View Post
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?
 
Old 02-10-2010, 03:05 PM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by pixellany View Post
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.
 
Old 02-11-2010, 06:48 AM   #10
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
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/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random things keep happening... IwannaSlack Slackware 3 12-25-2008 01:50 PM
unable to format usb stick ?strange things happening as well!!! wrapster Solaris / OpenSolaris 7 06-04-2008 10:52 AM
LXer: Strange things happening with my OpenBSD box, but excellent documentation saves LXer Syndicated Linux News 0 02-29-2008 02:10 PM
Package Manager -- where do things go after I install? usafitz Linux - Newbie 4 11-28-2007 11:00 PM
strange display in Gimp and package manager romcgill Linux - Newbie 16 07-31-2003 05:38 PM


All times are GMT -5. The time now is 03:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration