You are not logged in.
I'm trying to install smlnj package but I'm getting this error message:
resolving dependencies...
warning: cannot resolve "lib32-glibc", a dependency of "smlnj"
:: The following package cannot be upgraded due to unresolvable dependencies:
smlnj:: Do you want to skip the above package for this upgrade? [y/N]
error: failed to prepare transaction (could not satisfy dependencies)
:: smlnj: requires lib32-glibc
Then I tried to install lib32-glibc:
error: target not found: lib32-glibc
Searching in the forums I figured that I needed to enable multilib. After enabling in it pacman.conf I've upgraded pacman with pacman -Syyu but I still receiving the same error message.
sudo pacman -Syyu
:: Synchronizing package databases...
core 124.8 KiB 93.1K/s 00:01 [####################################################] 100%
extra 1703.4 KiB 926K/s 00:02 [####################################################] 100%
community 3.8 MiB 146K/s 00:27 [####################################################] 100%
archlinuxfr 14.9 KiB 49.8K/s 00:00 [####################################################] 100%
:: Starting full system upgrade...
there is nothing to do
sudo pacman -S lib32-glibc
error: target not found: lib32-glibc
Waiting for your suggestions. Thanks!
Last edited by rafael.lima (2017-05-02 23:56:34)
Offline
Doesn't look like you have enabled multilib, have you uncommented both lines? Post your pacman.conf. And do yourself a favor and get rid of archlinuxfr it contains outdated and broken packages.
Offline
sudo pacman -Syyu
:: Synchronizing package databases...
core 124.8 KiB 93.1K/s 00:01 [####################################################] 100%
extra 1703.4 KiB 926K/s 00:02 [####################################################] 100%
community 3.8 MiB 146K/s 00:27 [####################################################] 100%
archlinuxfr 14.9 KiB 49.8K/s 00:00 [####################################################] 100%
:: Starting full system upgrade...
there is nothing to do
Use code-tags , not quote-tags for such texts .
something went wrong with editing your /etc/pacman.conf , please post it.
P.S.
please remove the archlinuxfr repo, atleast until you have found a very good reason to use it.
If you used it to get yaourt, i suggest removing yaourt until you are able to build yaourt yourself.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks for the reply! That's my 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
# 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 = [url]http://repo.archlinux.fr/$arch[/url]
I didn't know that using yaourt that way is not a good idea. Will remove that from the config files.
Any suggestions on how to build yaourt?
Thanks!
modedit: changed quote tags to code tags /Xyne
Last edited by Xyne (2017-04-29 19:04:04)
Offline
These lines are not good:
#[multilib-testing]
Include = /etc/pacman.d/mirrorlist
#[multilib]
Include = /etc/pacman.d/mirrorlist
You also have to uncomment the [multilib-testing] and [multilib] line, i.e.
[multilib-testing]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
NB: it is documented in the file itself:
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
Why do you (want to) enable multilib-testing? Only if you want to test packages it is a good idea to enable testing.
The archlinuxfr repo can also be disable in this file by commenting (or deleting) the last 3 lines.
Offline
Use code tags not quote tags to post command output / text files
You have to uncomment the [multilib] part as well so that it reads
[multilib]
Include = /etc/pacman.d/mirrorlist
As for pointers on getting to build yaour by hand, and in general on using the AUR, read: https://wiki.archlinux.org/index.php/Ar … Repository
Edit: Do NOT uncomment multilib-testing as well, if you aren't using testing you should not be using multilib-testing either
Last edited by V1del (2017-04-29 16:23:55)
Offline
It is working now. Thanks @V1del, Lone_Wolf, and @LaurentvdB !
Offline