You are not logged in.

#1 2017-03-08 18:48:06

HansAnderson
Member
Registered: 2013-12-17
Posts: 13

can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

can't upgrade system

testing/ca-certificates-utils  20160507-1   20170307-1     0.00 MiB

Total Installed Size:  0.01 MiB
Net Upgrade Size:      0.00 MiB

error: failed to commit transaction (conflicting files)
ca-certificates-utils: /etc/ssl/certs/ca-certificates.crt exists in filesystem
Errors occurred, no packages were upgraded.

Last edited by HansAnderson (2017-03-08 18:49:39)

Offline

#2 2017-03-08 19:12:00

loqs
Member
Registered: 2014-03-06
Posts: 2,808

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

Offline

#3 2017-03-08 19:49:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 7,281
Website

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

Mod note: Moving to testing


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Offline

#4 2017-03-09 22:56:42

christooss
Member
Registered: 2008-08-18
Posts: 37

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

For now you can open /etc/pacman.conf and write

IgnorePkg=ca-certificates-utils

I haven't tried the stuff from the comment on the bug cause I don't have old packages on the system. Thats why now this is the option I run with.

Last edited by christooss (2017-03-09 22:59:19)

Offline

#5 2017-03-09 23:01:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 23,355
Website

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

That is bad advice. Just remove the file and install the new certs.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#6 2017-03-10 15:22:41

ArchOneLove
Member
Registered: 2017-03-10
Posts: 9

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

#rm /etc/ssl/certs/ca-certificates.crt
pacman -Syu

Last edited by ArchOneLove (2017-03-10 15:23:24)

Offline

#7 2017-03-10 21:09:11

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,755

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

The recommended approach is in the bug report referenced in post #2 above.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#8 2017-03-10 21:13:19

johnnybash
Member
Registered: 2013-09-05
Posts: 2

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

ArchOneLove wrote:

#rm /etc/ssl/certs/ca-certificates.crt
pacman -Syu

doesnt work for me:

error: failed to update testing (download library error)
error: failed retrieving file 'core.db' from delta.archlinux.fr : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none


Suggested workaround by heftig:

pacman -Syuw
rm /etc/ssl/certs/ca-certificates.crt
pacman -Su

Offline

#9 2017-03-13 00:32:53

Mortimer Houghton
Member
Registered: 2014-09-28
Posts: 18

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

johnnybash wrote:
ArchOneLove wrote:

#rm /etc/ssl/certs/ca-certificates.crt
pacman -Syu

doesnt work for me:

Worked for me.  Not sure why it caused you problems.

Offline

#10 2017-03-13 01:44:57

Allan
Supreme Leader
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,631
Website

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

Deleting that file before downloading updates will fail if you are using an https server.

Offline

#11 2017-03-16 03:05:57

424778940
Member
Registered: 2014-12-10
Posts: 2

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

man, just "sudo pacman -Syu --force"

Offline

#12 2017-03-16 03:10:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 23,355
Website

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

424778940 wrote:

man, just "sudo pacman -Syu --force"

Don't be an idiot.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#13 2017-03-16 03:12:50

showgood163
Member
Registered: 2016-12-28
Posts: 1

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

Thanks for the information from #2 and the workaround from #8

Offline

#14 2017-03-16 03:13:08

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 7,281
Website

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

No, do not. Never --force a full system upgrade. Never --force anything unless you know what you are doing, and there is no better way to accomplish your goal. And finally, never tell other people to --force anything without any reasoning or explanation.

EDIT: slow...

Last edited by WorMzy (2017-03-16 03:13:52)


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Offline

#15 2017-03-16 07:05:48

BurhanDanger
Member
From: Sylhet, Bangladesh.
Registered: 2016-09-13
Posts: 22

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

I don't have Testing repo still seeing this

┌─[burhan] (12:54 pm) {Thu Mar 16} |~|
└─╼ $  doup 
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (4) ca-certificates-20170307-1  ca-certificates-mozilla-3.29.3-2  ca-certificates-utils-20170307-1  libxslt-1.1.29+42+gac341cbd-1

Total Installed Size:  3.46 MiB
Net Upgrade Size:      0.15 MiB

:: Proceed with installation? [Y/n] 
(4/4) checking keys in keyring                                                                         [------------------------------------------------------------] 100%
(4/4) checking package integrity                                                                       [------------------------------------------------------------] 100%
(4/4) loading package files                                                                            [------------------------------------------------------------] 100%
(4/4) checking for file conflicts                                                                      [------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
ca-certificates-utils: /etc/ssl/certs/ca-certificates.crt exists in filesystem
Errors occurred, no packages were upgraded.
:: Starting AUR upgrade...
 there is nothing to do

Is this expected behaviour?

Offline

#16 2017-03-16 07:17:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 23,355
Website

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

It has been pushed to [core], that is why the news item was published.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#17 2017-03-16 07:17:23

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 6,181

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

Yes, it is, as has been explained in this thread and in the new item on the front page.

Offline

#18 2017-03-16 15:01:38

Annoyingduck
Member
Registered: 2016-08-02
Posts: 68

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

ArchOneLove wrote:

#rm /etc/ssl/certs/ca-certificates.crt
pacman -Syu

Got the same error on today's updates.  This method worked perfect for me.  Just noting the result for other users that may have the same issue.

Offline

#19 2017-03-16 15:16:46

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 6,181

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

Don't run -Syu after removing the file. It can get you into trouble if there have been more updates on the mirror in the mean time.

Offline

#20 2017-03-16 17:22:26

bandithijo
Member
Registered: 2016-07-30
Posts: 1

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

Thank you it works for me.

 user  ~  cd /etc/ssl/certs/                                  
 user  /  etc  ssl  certs  sudo mv ca-certificates.crt ca-certificates.crt.bak
Swipe your finger across the fingerprint reader
Failed to match fingerprint
Swipe your finger across the fingerprint reader
 user  /  etc  ssl  certs  sudo pacman -Su                                    
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) ca-certificates-20170307-1  ca-certificates-mozilla-3.29.3-2
             ca-certificates-utils-20170307-1

Total Installed Size:  1.19 MiB
Net Upgrade Size:      0.15 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                               [################################] 100%
(3/3) checking package integrity                             [################################] 100%
(3/3) loading package files                                  [################################] 100%
(3/3) checking for file conflicts                            [################################] 100%
(3/3) checking available disk space                          [################################] 100%
:: Processing package changes...
(1/3) upgrading ca-certificates-utils                        [################################] 100%
(2/3) upgrading ca-certificates-mozilla                      [################################] 100%
(3/3) upgrading ca-certificates                              [################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Rebuilding certificate stores...

Last edited by bandithijo (2017-03-16 17:23:21)

Offline

#21 2017-03-16 17:26:39

AndyD
Member
Registered: 2014-11-25
Posts: 9

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

johnnybash wrote:

Suggested workaround by heftig:

pacman -Syuw
rm /etc/ssl/certs/ca-certificates.crt
pacman -Su

Probably not fundamentally different, but

# pacman -Rdd ca-certificates-utils
# pacman -S ca-certificates-utils
# pacman -Syu

worked fine for me, and gets around the awkward part where you delete a file manually (something I like to avoid just to nice to the package manager)

Offline

#22 2017-03-16 17:47:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 23,355
Website

Re: can't upgrade ca-certificates-utils:/etc/ssl/certs/ca-certificates.crt

Rather than posting here with empty posts, or contrived (and in some cases absurd) alternatives, just read the News.
https://wiki.archlinux.org/index.php/Co … mpty_posts


Closing


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB