FS#71128 - Pacman aborted with free(): invalid pointer

Attached to Project: Pacman
Opened by Ciobanu Stefan (unsafecast) - Friday, 04 June 2021, 17:37 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 04 June 2021, 17:51 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version 6.0.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:
I tried to install sublime text on my machine, and forgot to install the PGP key. After running `doas pacman -Sy sublime-text`, I got this output:
```
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
sublime-text 1831.0 B 2.13 KiB/s 00:01 [######################] 100%
error: sublime-text: key "F57D4F59BD3DF454" is unknown
:: Import PGP key F57D4F59BD3DF454? [Y/n]
free(): invalid pointer
Aborted (core dumped)
```

After installing the PGP key though, it all went fine.

Steps to Reproduce:
Install Sublime Text 4 from the Dev channel:
1. DO NOT install the PGP key
2. Add the sublime text Dev repository: `echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/x86_64" | doas tee -a /etc/pacman.conf`
3. Update and install sublime text: `doas pacman -Syu sublime-text`
(replace doas with sudo if necessary)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 04 June 2021, 17:51 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#71107 

Loading...