LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 03-18-2020, 01:12 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Using the Arch Linux repository.


Hi: In the Arch Linux repository (https://www.archlinux.org/packages/?q=libc.so.6), the only thing that can be searched for is the name of a package? Or can one also search by the name of a component?

Last edited by stf92; 03-18-2020 at 01:13 PM.
 
Old 03-19-2020, 03:30 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by stf92 View Post
Hi: In the Arch Linux repository (https://www.archlinux.org/packages/?q=libc.so.6), the only thing that can be searched for is the name of a package? Or can one also search by the name of a component?
It clearly says “keywords” - that’s not (only) the package name.
Why don't you just test it? Took me about a minute to figure it out. Takes much less bandwidth than asking here on the forums.
 
Old 03-19-2020, 11:51 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I asked because the engine can't find "libc.so.6", which is really inconvenient to me in view of the following notification I got:
Code:
root@darkstar~# mount -tauto /dev/sda1 /usb
/sbin/mount.ntfs: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/libfuse.so.2)
root@darkstar~#

Last edited by stf92; 03-19-2020 at 12:07 PM.
 
Old 03-19-2020, 12:06 PM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
That is not the name of the package, but in your defense, it's not immediately obvious what the package name is. I "think" it's glibc based on a. google of "libc.so.6"
 
Old 03-19-2020, 12:42 PM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
I'm not up to date (as usual) but I have

Code:
locate libc.so
/usr/lib/libc.so
/usr/lib/libc.so.6
/usr/lib32/libc.so
/usr/lib32/libc.so.6

pacman -Qo /usr/lib/libc.so.6
/usr/lib/libc.so.6 is owned by glibc 2.30-3

pacman -Qo /usr/lib/libfuse.so.2
/usr/lib/libfuse.so.2 is owned by fuse2 2.9.9-3

pacman -Ss glibc
core/glibc 2.30-3 [installed]
Are you partially updated?
 
1 members found this post helpful.
Old 03-19-2020, 03:10 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by teckk View Post
Are you partially updated?
This.
Partial upgrades are not supported.

But you should probably upgrade too!
At the time of this writing glibc is at 2.31-2
 
Old 03-21-2020, 03:56 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I find that sevendogsbsd kind of contradicts ondoho. Can the engine at https://www.archlinux.org/packages/ find the name of a package component? According to ondoho it can. But from sevendogsbsd's post it seems it cannot.
 
Old 03-21-2020, 07:43 PM   #8
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
I am not saying the search can or cannot find anything, only that the file noted by OP is not the name of the package. I misunderstood the reason for the post.

Last edited by sevendogsbsd; 03-21-2020 at 07:44 PM.
 
Old 03-23-2020, 12:50 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Alright.
 
Old 03-23-2020, 01:03 PM   #10
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by ondoho View Post
It clearly says “keywords” - that’s not (only) the package name.
Why don't you just test it? Took me about a minute to figure it out. Takes much less bandwidth than asking here on the forums.
I have been testing (https://www.archlinux.org/packages/), and the keywords are only for package names.
 
Old 03-23-2020, 01:38 PM   #11
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
I've never searched the packages web page like that I don't think.
If you have arch installed:
Code:
pacman -Ss editor
core/ed 1.16-1
    A POSIX-compliant line-oriented text editor
core/libedit 20191231_3.1-1 [installed]
    Command line editor library providing generic line editing, history, and
    tokenization functions
core/nano 4.8-1 [installed]
    Pico editor clone with enhancements
core/sed 4.8-1 (base-devel) [installed]
    GNU stream editor
core/vi 1:070224-4 [installed]
    The original ex/vi text editor
extra/alacarte 3.36.0+0+g7b5fc64-1
    Menu editor for gnome
extra/dconf-editor 3.36.0-1 (gnome-extra)
    dconf Editor
...
Code:
pacman -Qo /usr/lib/libc.so.6
/usr/lib/libc.so.6 is owned by glibc 2.31-2

pacman -Qo glibc
error: No package owns glibc

pacman -Qkk glibc
glibc: 1577 total files, 0 altered files

pacman -Qi glibc
...
Required By     : a52dec  alsa-lib  alsa-oss  alsa-utils  argon2  attr  base  bash
                  bind-tools  binutils  bison  bubblewrap  bzip2  cdparanoia
                  compface  confuse  coreutils  cracklib  dav1d  ddrescue
                  device-mapper  dhcpcd  diffutils  dmidecode  dosfstools  ethtool
                  expat  faac  faad2  fakeroot  fftw  file  findutils  flex
                  foremost  fping  fribidi  fuse2  fuse3  gawk  gcc-libs  gdbm
                  giflib  gnu-netcat  grep  gsm  gzip  hdparm  hspell  http-parser
                  hyphen  id3v2  idnkit  ijs  imake  initscripts  iproute2  jack
                  jansson  jq  json-c  kbd  keyutils  kmod  l-smash  less
...

pacman -Ql glibc | less
glibc /etc/
glibc /etc/gai.conf
glibc /etc/locale.gen
glibc /etc/nscd.conf
glibc /etc/rpc
glibc /usr/
glibc /usr/bin/
glibc /usr/bin/catchsegv
glibc /usr/bin/gencat
glibc /usr/bin/getconf
...

pactree -r glibc | less
glibc
├─a52dec
│ └─mplayer
├─alsa-lib
│ ├─alsa-oss
│ ├─alsa-utils
│ ├─festival
│ │ ├─festival-english
│ │ └─festival-us
│ ├─ffmpeg
│ │ ├─faudio
│ │ │ ├─lib32-faudio
│ │ │ │ └─wine
│ │ │ │   └─wine_gecko
│ │ │ └─wine
...

pactree -r glibc
glibc
linux-api-headers
tzdata
filesystem
iana-etc

pacman -Fs /usr/lib/libc.so.6
Point is that you can get that info easy enough from an arch install.

I would recommend ntfs-3g for that mount.

After you bring the machine up to date, are you still getting that error?
 
Old 03-23-2020, 02:59 PM   #12
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I did
Code:
root@darkstar~# pacman -Qo /usr/lib/libc.so.6
/usr/lib/libc.so.6 is owned by glibc 2.27-3
and
Code:
pacman -S glibc
Now I get
Code:
root@darkstar~# pacman -Qo /usr/lib/libc.so.6
/usr/lib/libc.so.6 is owned by glibc 2.29-1
which is greater than the version I was asked for by the OS, and can mount sda1. I learned this from you. Thanks.

Unfortunately every time I do a general upgrade of the OS with pacman I get an error and everything on the hard disk is left as before. I posted about this here but no definitive answer was provided.

Last edited by stf92; 03-23-2020 at 03:03 PM.
 
Old 03-23-2020, 06:24 PM   #13
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
How are you updating? I just updated 2 days ago and I have glibc 2.31-2

Are you updating with pacman -Syu and letting the whole machine update?
Are you holding anything back in /etc/pacman.conf, packages or groups?

If all that is correct then use another mirror. I think that you have a partially updated box. That will give you a mess with arch.

https://wiki.archlinux.org/index.php/Pacman

What error are you getting with pacman -Syu

Last edited by teckk; 03-23-2020 at 06:25 PM.
 
1 members found this post helpful.
Old 03-24-2020, 04:40 PM   #14
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks for your post.
Code:
bill@darkstar~$ cat /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

# 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
bill@darkstar~$
Code:
root@darkstar~# pacman -Syu
:: Synchronizing package databases...
 core                                                    135.6 KiB  26.4K/s 00:05 [##############################################] 100%
 extra                                                  1643.3 KiB  21.9K/s 01:15 [##############################################] 100%
 community                                                 4.8 MiB  18.5K/s 04:28 [##############################################] 100%
:: Starting full system upgrade...
:: Replace ca-certificates-cacert with core/ca-certificates? [Y/n] Y
:: Replace libsystemd with core/systemd-libs? [Y/n] Y
:: Replace libx264 with extra/x264? [Y/n] Y
:: Replace qca-qt5 with extra/qca? [Y/n] Y
:: Replace xorg-mkfontdir with extra/xorg-mkfontscale? [Y/n] Y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing xorgproto (2019.2-2) breaks dependency 'xf86dgaproto' required by libxxf86dga
root@darkstar~#
I don't understand. It's the first time I get this. At other times pacman -Syu was doing a lot of work (above 30m) and then signaled an error.

This is from your link:
Quote:
"Failed to commit transaction (conflicting files)" error

If you see the following error: [1]

error: could not prepare transaction
error: failed to commit transaction (conflicting files)
package: /path/to/file exists in filesystem
Errors occurred, no packages were upgraded.

This is happening because pacman has detected a file conflict, and by design, will not overwrite files for you. This is by design, not a flaw.
However the error is not exactly the same.

Last edited by stf92; 03-24-2020 at 06:13 PM.
 
Old 03-24-2020, 04:57 PM   #15
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
https://bbs.archlinux.org/viewtopic.php?id=251517
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Arch Linux Officially Kills 32-Bit Support, Migrate to Arch Linux 32 Fork Now LXer Syndicated Linux News 0 11-08-2017 10:53 AM
courier-imap (running on arch linux) using mailx (also on arch linux pc) 'imap error: mailbox does not exist, or is not subscribed to' lilmike Linux - Server 1 11-10-2016 02:43 AM
[SOLVED] using maverick - added one new repository but now can't add another repository gerryyy Linux - Software 6 02-16-2011 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration