You are not logged in.

#1 2023-10-27 19:02:56

mojorissin
Member
Registered: 2022-02-28
Posts: 8

[SOLVED] pacman could not find database ...

error failed to prepare transaction could not find database
close
Package Mngr - Failed to prepare transaction

i have recently run in to this i think via incorrectly trying to install a 3rd party package namely Teejeetech.com "Baqpaq" ; so if i run -Syy or -Syu i am getting "error: config file /etc/pacman.d/teejeetech-baqpaq could not be read: No such file or directory

As u know i am attempting to move over to AL from Mint ! ( i am on spare comp') so no damage done , but there is an inevitable learning curve that i will overcome ( with help please cos im stumbling arround !) .

think my Reflector mirrors OK // is their some codes we can run to sort ?

very many thanks and kind wishes

mojorissin

Last edited by mojorissin (2023-10-28 18:10:32)

Offline

#2 2023-10-27 19:28:37

teckk
Member
Registered: 2013-02-21
Posts: 585

Re: [SOLVED] pacman could not find database ...

You get that from running pacman -Syu?
Then you have overwritten something. /etc/pacman.d/teejeetech-baqpaq, should not exist.

Start by showing the complete output for

pacman -Syu

Then show what you did to:

incorrectly trying to install a 3rd party package namely Teejeetech.com "Baqpaq"

Offline

#3 2023-10-27 19:50:24

mojorissin
Member
Registered: 2022-02-28
Posts: 8

Re: [SOLVED] pacman could not find database ...

sudo pacman -Syu // output is :
error: config file /etc/pacman.d/teejeetech-baqpaq could not be read: No such file or directory

re what i did loading "baqpaq" is in Terminal starts with wget ...

mojorissin

Offline

#4 2023-10-27 20:47:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,070

Re: [SOLVED] pacman could not find database ...

incorrectly trying to install a 3rd party package namely Teejeetech.com "Baqpaq"

re what i did loading "baqpaq" is in Terminal starts with wget ...

manuel.png

(ls -s /etc/pacman.d; pacman-conf) | curl -F 'file=@-' 0x0.st

Online

#5 2023-10-27 23:31:27

yochananmarqos
Member
Registered: 2020-02-05
Posts: 222

Re: [SOLVED] pacman could not find database ...

I also purchased TeejeeTech's Baqpaq. Tony would have emailed you instructions when you purchased it.

You should have something in your pacman.conf like this after following the instructions:

[teejeetech-baqpaq]
SigLevel = PackageRequired
Server = <redacted URL>

Since it's proprietary software with no public information about the packages or how the repo info is added to your system, you'll need to contact him for support.

Offline

#6 2023-10-28 09:35:17

mojorissin
Member
Registered: 2022-02-28
Posts: 8

Re: [SOLVED] pacman could not find database ...

seth - output is : error: config file /etc/pacman.d/teejeetech-baqpaq could not be read: No such file or directory
error parsing '/etc/pacman.conf'
http://0x0.st/HyAI.txt

yochananmarqos - A/W Tony's reply thanks ...

mojorissin

Offline

#7 2023-10-28 09:37:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] pacman could not find database ...

Post your pacman.conf

Offline

#8 2023-10-28 15:43:07

mojorissin
Member
Registered: 2022-02-28
Posts: 8

Re: [SOLVED] pacman could not find database ...

Scimmia hello :

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

#IgnorePkg   =
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch

[teejeetech-baqpaq]
Include = /etc/pacman.d/teejeetech-baqpaq

mojorissin

ps - the repo.archlinux.fr thingy i have tried to remove it be 4 ! also in tree below is :
/etc/pacman.conf.pacnew
/etc/pacman.conf.save
/etc/pacman.conf.save.1
/etc/pacman.conf.save.2
/etc/pacman.conf.save.3
/etc/pacman.conf.save.4

Offline

#9 2023-10-28 15:48:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] pacman could not find database ...

So you're specifically telling it to include that file, it's not a typo or misconfiguration. What, exactly, are you trying to include if that file doesn't exist?

What do you mean you've *tried* removing it? This is a text configuration file that you edit, if you remove the lines, they're gone. There is no such thing as trying to remove it.

Offline

#10 2023-10-28 18:07:24

mojorissin
Member
Registered: 2022-02-28
Posts: 8

Re: [SOLVED] pacman could not find database ...

Scimmia - thank you for your intimations ... suspect we may talk again . Pacman working .

thanks

mojorissin

Offline

Board footer

Powered by FluxBB