Tutto ciò che altrimenti sarebbe OT

Messaggio22 aprile 2012, 11:28 - ArchBang - pacman: error while loading shared libraries #120631

Ciao a tutti, ho da poco installato archbang, e aggiornando pacman mi ritrovo questo errore, non posso fare nulla, ne aggiornare ne installare, che devo fare? non sono un utente esperto ma da quello che ho capito è un problema di librerie condivise, però poi mi dice che la suddetta libreria non esiste, boh. :?:
Dimenticavo ieri aggiornando mi dava dei problemi che ho riscontarto anche qui sul forum, ossia il fatto che pacman non aggiornava, e leggendo in rete avevo trovato queste soluzioni, ma mi sa che ho fatto casino:

Codice: Seleziona tutto
pacman -S libarchive --force

Codice: Seleziona tutto
ln -S /usr/lib/libarchive.so.2 /usr/lib/libarchive.so.12 pacman -Syu


Infatti subito dopo mi esce questo e non posso più fare niente:

Codice: Seleziona tutto
[miro@myhost ~]$ sudo pacman -Syy
pacman: error while loading shared libraries: libarchive.so.2: cannot open shared object file: No such file or directory
Ultima modifica di veleno77 il 22 aprile 2012, 12:00, modificato 1 volta in totale.
Motivazione: specificate sempre nel titolo o nel post se usate un installazione di arch fissa,virtuale o una sua derivata. Grazie
Mystery Man
Novello Arciere
 
Messaggi: 29
Iscritto il: 31 maggio 2011, 0:46
Top

Re: ArchBang - pacman: error while loading shared libraries

Messaggio22 aprile 2012, 12:03 - ArchBang - pacman: error while loading shared libraries #120636

che versione di pacman hai?
Codice: Seleziona tutto
pacman -Qi pacman         
Nome           : pacman
Versione       : 4.0.3-1

hai provato a chiedere nel forum di supporto di Archbang?
Comunque prova come qui viewtopic.php?f=5&t=13519
Se avete risolto il vostro problema, editate il primo post aggiungendo [Risolto] al titolo.
Problemi con Arch ? 1°Metodo-2°Metodo-3°Metodo
ArchWiki Translation Team - Cerchiamo traduttori!
Avatar utente
veleno77
Moderatore
 
Messaggi: 6008
Iscritto il: 25 marzo 2008, 19:26
Località: Torino
Top

Re: ArchBang - pacman: error while loading shared libraries

Messaggio22 aprile 2012, 12:26 - ArchBang - pacman: error while loading shared libraries #120639

innanzitutto grazie per la risposta.

allora, mi sa che ho rovinato pacman, in poche parole qualsiaisi comando do mi esce quell'errore, anche quando lancio:
[code]pacman -Qi pacman[\code]

Ora sto seguendo il link che mi hai postato e vedo cosa riesco a fare.
Mystery Man
Novello Arciere
 
Messaggi: 29
Iscritto il: 31 maggio 2011, 0:46
Top

Re: ArchBang - pacman: error while loading shared libraries

Messaggio22 aprile 2012, 17:57 - ArchBang - pacman: error while loading shared libraries #120659

Ok ho parzialmente risolto, nel senso che adesso pacman mi funziona, ma mi da un'altro problema:
Codice: Seleziona tutto
[root@archbang ~]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 archlinuxfr is up to date
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

resolving dependencies...
looking for inter-conflicts...

Targets (11): linux-api-headers-3.3.2-1 [0.58 MB]  glibc-2.15-10 [7.33 MB]
              libarchive-3.0.4-1 [0.62 MB]  pth-2.0.7-4 [0.07 MB]
              libksba-1.2.0-1 [0.11 MB]  libassuan-2.0.3-1 [0.08 MB]
              pinentry-0.8.1-3 [0.09 MB]  dirmngr-1.1.0-4 [0.16 MB]
              gnupg-2.0.19-2 [1.39 MB]  gpgme-1.3.1-4 [0.20 MB]
              pacman-4.0.3-1 [0.51 MB]

Total Download Size:    0.00 MB
Total Installed Size:   52.92 MB

Proceed with installation? [Y/n] y
(11/11) checking package integrity                 [----------------------] 100%
(11/11) checking for file conflicts                [----------------------] 100%
error: failed to commit transaction (conflicting files)
glibc: /usr/bin/tzselect exists in filesystem
glibc: /usr/sbin/zdump exists in filesystem
glibc: /usr/sbin/zic exists in filesystem
Errors occurred, no packages were upgraded.


ecco la versione di pacman:
Codice: Seleziona tutto
[root@archbang ~]# pacman -Qi pacman       
Name           : pacman
Version        : 3.5.4-4
URL            : http://www.archlinux.org/pacman/
Licenses       : GPL
Groups         : base
Provides       : None
Depends On     : bash  glibc>=2.14  libarchive>=2.8.4  libfetch>=2.28
                 pacman-mirrorlist
Optional Deps  : fakeroot: for makepkg usage as normal user
                 curl: for rankmirrors usage
Required By    : packer
Conflicts With : None
Replaces       : None
Installed Size : 2844.00 K
Packager       : Allan McRae <allan@archlinux.org>
Architecture   : i686
Build Date     : Sat Aug 13 23:52:05 2011
Install Date   : Tue Nov 1 19:23:03 2011
Install Reason : Explicitly installed
Install Script : Yes
Description    : A library-based package manager with dependency support


Qui invece il /etc/pacman.conf
Codice: Seleziona tutto
#
# /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
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - %u > %o
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#UseSyslog
ShowSize
#UseDelta
TotalDownload
ILoveCandy

#
# 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]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

#[community-testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

#[multilib]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[archlinuxfr]
Server = http://repo.archlinux.fr/i686

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs


non so più che fare, ho il terrore di rovinare di nuovo pacman. :(
Mystery Man
Novello Arciere
 
Messaggi: 29
Iscritto il: 31 maggio 2011, 0:46
Top

Re: ArchBang - pacman: error while loading shared libraries

Messaggio22 aprile 2012, 19:30 - ArchBang - pacman: error while loading shared libraries #120667

Se avete risolto il vostro problema, aggiungete [Risolto]+Spazio_Bianco al titolo del primo post del thread.
Offertissima: Mi Vendo!!! Cercasi lavoro (qualunque, tra quelli leciti) in tutta italia da Roma in su.
Avatar utente
4javier
Moderatore
 
Messaggi: 6080
Iscritto il: 5 ottobre 2008, 17:19
Top


Torna a Altro

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite

Moderatori: 4javier, aleph, veleno77, adriano, Hilinus

cron