You are not logged in.

#1 2018-05-21 13:02:25

Blauhirn
Member
Registered: 2018-05-21
Posts: 8

[solved] Can install ntfsprogs, but not remove

Hey!

pacman -S ntfsprogs

works and installs

ntfs-3g-2017.3.23-1

However, removing the very same package directly after

pacman -R ntfsprogs

says

error: target not found: ntfsprogs

and instead removing ntfs-3g (which would make kind of sense)

pacman -R ntfs-3g

results in a dep problem:

error: failed to prepare transaction (could not satisfy dependencies)
:: testdisk: removing ntfs-3g breaks dependency 'ntfsprogs'

So what would be the proper way to handle this? I could remove ntfs-3g forcefully, but something's obviously wrong. Is this a broken package? ntfsprogs (whatever that is) would still be there.
Cheers

Last edited by Blauhirn (2018-07-09 00:47:33)

Offline

#2 2018-05-21 13:05:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,209

Re: [solved] Can install ntfsprogs, but not remove

https://git.archlinux.org/svntogit/pack … tfs-3g#n20

ntfsprogs is not a real package, ntfs-3g is the actual package. You can install that implicitly due to the provides line, but it doesn't actually exist.

The more relevant question would be how you installed testdisk without that dependency already existing.

Last edited by V1del (2018-05-21 13:06:57)

Offline

#3 2018-05-21 13:06:17

loqs
Member
Registered: 2014-03-06
Posts: 18,893

Re: [solved] Can install ntfsprogs, but not remove

ntfs-3g provides ntfsprogs so pacman installed ntfs-3g when you specified ntfsprogs.  You then installed testdisk which depends upon ntfsprogs.
Attempting to remove ntfs-3g is prevented by the testdisk dependency.  Remove both together.

Offline

#4 2018-05-21 13:11:45

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,533
Website

Re: [solved] Can install ntfsprogs, but not remove

This is a bit of a weird one, as 'ntfsprogs' is not a real package -- it is a virtual package 'provided' by ntfs-3g. You can't remove virtual package with pacman -R, but you can install them with pacman -S (and you will be prompted to pick between actual pacakges that provide the virtual package, if more than one 'real' package provides it).

Your actual problem here seems to be that you can't remove ntfs-3g, and the reason why you can't remove it is explained to you by pacman (namely, that testdisk depends on it, via the virtual package 'ntfsprogs'). You will need to include testdisk in the removal transaction, or else tell pacman that you want to remove ntfs-3g, and the packages that depend on it, recursively. See 'man pacman' for details.

EDIT: Bah, slow WorMzy is slow. sad

Last edited by WorMzy (2018-05-21 13:12:15)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2018-05-23 07:52:41

BokuNoCode
Member
Registered: 2018-05-23
Posts: 2

Re: [solved] Can install ntfsprogs, but not remove

Offline

#6 2018-05-23 08:06:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,209

Re: [solved] Can install ntfsprogs, but not remove

It really doesn't, ignoring dependency checks isn't something you should do lightly. In this case the impact might be relatively minimal since testdisk should be the only thing broken.

Offline

#7 2018-07-08 14:43:34

Blauhirn
Member
Registered: 2018-05-21
Posts: 8

Re: [solved] Can install ntfsprogs, but not remove

Thanks everybody! Yes, somehow teskdisk was still there even though I thought it wasn't. Stupid mistake on my part, unnecessary thread really.

No way to mark a question as solved, it seems. But it is now.

Offline

#8 2018-07-08 16:24:48

a821
Member
Registered: 2012-10-31
Posts: 389

Re: [solved] Can install ntfsprogs, but not remove

Blauhirn wrote:

No way to mark a question as solved, it seems. But it is now.

you need to edit your first post

Offline

Board footer

Powered by FluxBB