You are not logged in.

#1 2014-08-18 18:24:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

[solved] pacman: requires pacman-mirrorlist - or does it?

From my pacman log:

[2014-06-03 12:47] [PACMAN] removed pacman-mirrorlist (20140531-1)

pacman has been working just fine for over two months, but today I got:

$ sudo pacman -Syu
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: pacman: requires pacman-mirrorlist

I can install pacman-mirrorlist manually and I can remove it with 'pacman -R', even though it's required by pacman. What am I missing? What did I break and how?

Last edited by karol (2014-08-18 22:35:42)

Offline

#2 2014-08-18 18:32:43

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [solved] pacman: requires pacman-mirrorlist - or does it?

I looked into removing pacman-mirrorlist a few times but was always rebuked by pacman. Could it be a [testing] thing?

Also, LOL @ karol posting in Newbie Corner.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2014-08-18 18:41:14

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved] pacman: requires pacman-mirrorlist - or does it?

karol wrote:

From my pacman log:

[2014-06-03 12:47] [PACMAN] removed pacman-mirrorlist (20140531-1)

...but what comes before this? What was the logged command?

karol wrote:

I can install pacman-mirrorlist manually and I can remove it with 'pacman -R', even though it's required by pacman. What am I missing? What did I break and how?

Given the right flags, why yes, you can break your dependencies.

Offline

#4 2014-08-18 19:06:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] pacman: requires pacman-mirrorlist - or does it?

Indeed, my other computer isn't using [testing] and pacman refused to remove pacman-mirrorlist, but it may be something not testing related.

I use '-Rns' to remove packages:

[2014-06-03 12:47] [PACMAN] reinstalled reflector (2014-4)
[2014-06-03 12:47] [PACMAN] Running 'pacman -Rns pacman-mirrorlist'
[2014-06-03 12:47] [PACMAN] removed pacman-mirrorlist (20140531-1)

but I'm able to remove pacman-mirrorlist with just 'pacman -R'. I'm not using 'pacman -Rdd'.

I'm relying on reflector to keep my own mirrorlist up to date.

Offline

#5 2014-08-18 22:12:37

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: [solved] pacman: requires pacman-mirrorlist - or does it?

After you remove pacman-mirrorlist what are the output of `pacman -Qi pacman` and `pactree -d1 pacman`?

Offline

#6 2014-08-18 22:18:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] pacman: requires pacman-mirrorlist - or does it?

$ pacman -Q pacman-mirrorlist
error: package 'pacman-mirrorlist' was not found
$ pactree -d1 pacman
pacman
├─bash
├─glibc
├─libarchive
├─curl
├─gpgme
├─reflector provides pacman-mirrorlist
└─archlinux-keyring
$ pacman -Qi pacman
Name           : pacman
Version        : 4.1.2-6
Description    : A library-based package manager with dependency support
Architecture   : i686
URL            : http://www.archlinux.org/pacman/
Licenses       : GPL
Groups         : base  base-devel
Provides       : pacman-contrib
Depends On     : bash>=4.2.042-2  glibc>=2.17-2  libarchive>=3.1.2  curl>=7.19.4  gpgme  pacman-mirrorlist
                 archlinux-keyring
Optional Deps  : fakeroot: for makepkg usage as normal user [installed]
Required By    : bigpkg  cower-git  expac-git  pacdep  pacmanexpress  pacmanxg4-bin  pcurses  pkgfile  pkgstats
Optional For   : None
Conflicts With : pacman-contrib
Replaces       : pacman-contrib
Installed Size : 3815.00 KiB
Packager       : Allan McRae <allan@archlinux.org>
Build Date     : Sun 04 May 2014 04:51:44 AM CEST
Install Date   : Mon 19 May 2014 01:13:30 AM CEST
Install Reason : Explicitly installed
Install Script : No
Validated By   : None

Offline

#7 2014-08-18 22:21:04

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: [solved] pacman: requires pacman-mirrorlist - or does it?

karol wrote:
├─reflector provides pacman-mirrorlist

There's your answer.

Offline

#8 2014-08-18 22:34:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] pacman: requires pacman-mirrorlist - or does it?

Yup, the current reflector doesn't provide pacman-mirrorlist anymore.

Thanks, apg :-)
Sigh. Solved.

Offline

Board footer

Powered by FluxBB