You are not logged in.

#1 2017-09-27 11:56:04

kabads
Member
Registered: 2012-09-22
Posts: 271
Website

[SOLVED] Having dependency problems with update

How should I proceed? I really don't want to bork this machine at the moment, as I'm doing quite a lot of work on it and I don't have access to another machine for the time being.

[sudo] password for adam: 
:: Synchronising package databases...
 core                     125.7 KiB   931K/s 00:00 [######################] 100%
 extra                   1654.5 KiB  2.12M/s 00:01 [######################] 100%
 community                  4.0 MiB  3.68M/s 00:01 [######################] 100%
 multilib-testing is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "linux>=4.13", a dependency of "nvidia-304xx"
:: The following package cannot be upgraded due to unresolvable dependencies:
      nvidia-304xx

:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia-304xx: installing nvidia-304xx-utils (304.137-1) breaks dependency 'nvidia-304xx-utils=304.135'

Last edited by kabads (2017-09-27 14:09:52)

Offline

#2 2017-09-27 11:58:13

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Having dependency problems with update

Why do you have [multilib-testing] enabled but none of the other testing repos?

Wiki wrote:

Warning: If you enable testing, you must also enable community-testing. If you enable any other testing repository listed in the following subsections, you must also enable both testing and community-testing.

Your problem is most likely caused by a mirror sync issue. Have you tried a different mirror?

Last edited by Slithery (2017-09-27 12:00:41)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-09-27 12:05:50

kabads
Member
Registered: 2012-09-22
Posts: 271
Website

Re: [SOLVED] Having dependency problems with update

I have been having 404 problems when updating the mirrors - this is a very old machine and probably has very old mirrors on it. How do I go about checking the best mirrors again? I searched the wiki, but it seemed to point me to editing the mirror list by hand, but I seem to recall that there was a script that did this for you.

Offline

#4 2017-09-27 12:09:43

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Having dependency problems with update


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2017-09-27 12:12:36

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Having dependency problems with update

kabads wrote:

I have been having 404 problems when updating the mirrors - this is a very old machine and probably has very old mirrors on it.

404 errors usually means your system is out of date and not a problem with the mirror.

kabads wrote:

How do I go about checking the best mirrors again? I searched the wiki, but it seemed to point me to editing the mirror list by hand, but I seem to recall that there was a script that did this for you.

The wiki does list scripts for updating the mirrorlist. See the section "Sorting mirrors" on this page.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#6 2017-09-27 12:26:03

kabads
Member
Registered: 2012-09-22
Posts: 271
Website

Re: [SOLVED] Having dependency problems with update

So, I went to a mirror list website that produces a list of mirrors for the country that you are in, but I'm still getting a similar problem:

[root@spark pacman.d]# sudo pacman -Syyu
:: Synchronising package databases...
 core                     125.4 KiB  1254K/s 00:00 [######################] 100%
 extra                   1654.1 KiB  5.10M/s 00:00 [######################] 100%
 community                  4.0 MiB  4.95M/s 00:01 [######################] 100%
 multilib-testing           6.2 KiB  0.00B/s 00:00 [######################] 100%
 multilib                 173.0 KiB  5.63M/s 00:00 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "linux>=4.13", a dependency of "nvidia-304xx"
:: The following package cannot be upgraded due to unresolvable dependencies:
      nvidia-304xx

:: Do you want to skip the above package for this upgrade? [y/N] N
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia-304xx: requires linux>=4.13

Mirrorlist is now:

##
## Arch Linux repository mirrorlist
## Generated on 2017-09-27
##

## United Kingdom
Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
Server = http://mirrors.manchester.m247.com/arch-linux/$repo/os/$arch
Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch
Server = http://arch.serverspace.co.uk/arch/$repo/os/$arch
Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch

Offline

#7 2017-09-27 12:30:29

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Having dependency problems with update

Again...

slithery wrote:

Why do you have [multilib-testing] enabled but none of the other testing repos?

Wiki wrote:

Warning: If you enable testing, you must also enable community-testing. If you enable any other testing repository listed in the following subsections, you must also enable both testing and community-testing.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#8 2017-09-27 14:09:29

kabads
Member
Registered: 2012-09-22
Posts: 271
Website

Re: [SOLVED] Having dependency problems with update

Apologies @silthery - enabling the other repo seemed to get past the nvidia problems. Thanks for your help.

Offline

Board footer

Powered by FluxBB