You are not logged in.
So updated yesterday, got pacman-5.0.0. Seen the news, updated 'makepkg, 'yaourt', and then pacman. Well it broke. Pacman no longer worked. Couldn't even query any pkg's. Pacman complained about '/usr/lib/libalpm.so.9. Did some googling, and found to remove yaourt, makepkg, then re-install pacman. That did'nt work, since pacman was basically frozen, couldn't do anything with it. So I created a symlink (probably not best way to do things, but we're learning).
Now I don't have the 'usr/lib/libalpm.so.9, again this is the symlink
'ln -s /usr/lib/libalpm.so.10.0.0 /usr/lib/libalpm.so.9'
Well now I can get pacman moving, bit new error. Not sure where to go from here.
Error.
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (10) Old Version New Version Net Change
community/android-udev r188-1 20160129-1 0.00 MiB
extra/gst-plugins-bad 1.6.3-2 1.6.3-3 -0.44 MiB
extra/libgphoto2 2.5.8-1 2.5.9-1 0.03 MiB
extra/librsvg 2:2.40.11-1 2:2.40.13-1 0.00 MiB
core/linux 4.4.1-1 4.4.1-2 0.00 MiB
extra/pixman 0.32.8-1 0.34.0-1 -0.01 MiB
extra/poppler 0.39.0-1 0.40.0-1 -0.05 MiB
extra/poppler-glib 0.39.0-1 0.40.0-1 -0.05 MiB
extra/vlc 2.2.1-12 2.2.1-13 0.00 MiB
core/pacman 5.0.0-1 5.0.0-1 0.00 MiB
Total Installed Size: 153.11 MiB
Net Upgrade Size: -0.51 MiB
:: Proceed with installation? [Y/n] y
downloading required keys...
(10/10) checking keys in keyring [------------------------------------------------------] 100%
(10/10) checking package integrity [------------------------------------------------------] 100%
checking delta integrity...
(10/10) loading package files [------------------------------------------------------] 100%
(10/10) checking for file conflicts [------------------------------------------------------] 100%
error: segmentation fault
Please submit a full bug report with --debug if appropriate.
here is my pacman debug log
┌─[jimi]-
└─[~]--► pacman --debug
debug: pacman v4.2.0 - libalpm v10.0.0
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: dbpath: /var/lib/pacman/
debug: config: CacheDir: /var/cache/pacman/pkg/
debug: config: arch: x86_64
debug: config: verbosepkglists
debug: config: chomp
debug: config: SigLevel: Never
debug: config: LocalFileSigLevel: Optional
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 77: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 86: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'repo-ck'
debug: config: finish section 'repo-ck'
debug: config: new section 'infinality-bundle'
debug: config: finish section 'infinality-bundle'
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 77: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: setting usage of 15 for core repoistory
debug: adding new server URL to database 'core': http://mirrors.abscission.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.acm.wpi.edu/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.advancedhosters.com/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: setting usage of 15 for extra repoistory
debug: adding new server URL to database 'extra': http://mirrors.abscission.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.acm.wpi.edu/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.advancedhosters.com/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 86: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: setting usage of 15 for community repoistory
debug: adding new server URL to database 'community': http://mirrors.abscission.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.acm.wpi.edu/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.advancedhosters.com/archlinux/community/os/x86_64
debug: config: new section 'repo-ck'
debug: config: finish section 'repo-ck'
debug: registering sync database 'repo-ck'
debug: database path for tree repo-ck set to /var/lib/pacman/sync/repo-ck.db
debug: setting usage of 15 for repo-ck repoistory
debug: adding new server URL to database 'repo-ck': http://repo-ck.com/x86_64
debug: adding new server URL to database 'repo-ck': http://repo-ck.com/x86_64
debug: adding new server URL to database 'repo-ck': http://repo-ck.com/x86_64
debug: config: new section 'infinality-bundle'
debug: config: finish section 'infinality-bundle'
debug: registering sync database 'infinality-bundle'
debug: database path for tree infinality-bundle set to /var/lib/pacman/sync/infinality-bundle.db
debug: setting usage of 15 for infinality-bundle repoistory
debug: adding new server URL to database 'infinality-bundle': http://bohoomil.com/repo/x86_64
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
error: no operation specified (use -h for help)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'repo-ck'
debug: unregistering database 'infinality-bundle'
/etc/pacman.conf
#
# /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 -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
#TotalDownload
CheckSpace
VerbosePkgLists
ILoveCandy
# 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 =Never
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
###My adds###
[repo-ck]
Server = http://repo-ck.com/$arch
Server = http://repo-ck.com/$arch
Server = http://repo-ck.com/$arch
Any help would be appreciated, since now I'm at a lose of where to go.
Last edited by jedijimi (2016-02-04 00:38:06)
Crude matter we are not, Luminous beings we are
Offline
So updated yesterday, got pacman-5.0.0. Seen the news, updated 'makepkg, 'yaourt', and then pacman.
What news? What commands did you run exactly?
Offline
You're still running pacman 4.2.0. How in the world? That's about a year out of date. What is the output of `which pacman`?
Offline
'which pacman'
┌─[jimi]-
└─[~]--► which pacman
pacman is aliased to `pacman --color=always'
pacman is /usr/local/bin/pacman
pacman is /usr/bin/pacman
─[jimi]-
└─[~]--► pacman --version
.--. Pacman v4.2.0 - libalpm v10.0.0
/ _.-' .-. .-. .-. Copyright (C) 2006-2014 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'
This program may be freely redistributed under
the terms of the GNU General Public License.
Now how to fix this......?
Last edited by jedijimi (2016-02-03 23:14:57)
Crude matter we are not, Luminous beings we are
Offline
Get rid of whatever you've done in /usr/local.
Offline
I didn't do anything in /usr/local. Could I do something like 'pacman -Rdd pacman-4.2.0'?
Crude matter we are not, Luminous beings we are
Offline
No, this is completely outside of pacman. Most likely cause is from building/installing pacman with make/make install at some point over a year ago. If you want to know when, take a look at the create time of /usr/local/bin/pacman.
Offline
ok, thx for the tip. I tried rolling back pacman.
─[jimi]-
└─[/var/cache/pacman/pkg]--► sudo pacman -U pacman-5.0.0-1-x86_64.pkg.tar.xz
[sudo] password for jimi:
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
┌─[jimi]-
└─[/var/cache/pacman/pkg]--► sudo rm /var/lib/pacman/db.lck
[sudo] password for jimi:
rm: remove regular empty file ‘/var/lib/pacman/db.lck’? y
removed ‘/var/lib/pacman/db.lck’
┌─[jimi]-
└─[/var/cache/pacman/pkg]--► sudo pacman -U pacman-5.0.0-1-x86_64.pkg.tar.xz
loading packages...
warning: pacman-5.0.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
pacman 5.0.0-1 5.0.0-1 0.00 MiB
Total Installed Size: 4.40 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
downloading required keys...
(1/1) checking keys in keyring [------------------------------------------------------] 100%
(1/1) checking package integrity [------------------------------------------------------] 100%
checking delta integrity...
(1/1) loading package files [------------------------------------------------------] 100%
(1/1) checking for file conflicts [------------------------------------------------------] 100%
error: segmentation fault
Please submit a full bug report with --debug if appropriate.
And then back to the bug report.
Crude matter we are not, Luminous beings we are
Offline
That's because the copy of pacman you've installed to /usr/local is taking precedence. That's what you're running when you run "pacman", not the version you keep trying to reinstall.
Offline
Now I don't have the 'usr/lib/libalpm.so.9, again this is the symlink
'ln -s /usr/lib/libalpm.so.10.0.0 /usr/lib/libalpm.so.9'
Yeah, that was dumb.
So was dismissing the advice offered in posts #5 and #7 and blindly trying to rollback pacman.
Remove the symlink you created, and clean up your /usr/local copy of pacman as suggested.
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
*trying to remove this comment, since I didn't read all the way thru
No I didn't dismiss anything. I'm trying to work this out.
Last edited by jedijimi (2016-02-04 00:07:25)
Crude matter we are not, Luminous beings we are
Offline
Am I correct on thinking, that pacman should not even be in /usr/local? Is that what is meant by cleaning /usr/local' up? Cause /usr/local is not on the file list for pacman.
Last edited by jedijimi (2016-02-04 00:28:41)
Crude matter we are not, Luminous beings we are
Offline
Yes as explained in post #7.
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
Thank you, was not clearly explained that way in post#7, but I get the point, and see the direction.
Crude matter we are not, Luminous beings we are
Offline
Again saying thank you. All fixed up.
Crude matter we are not, Luminous beings we are
Offline