You are not logged in.

#1 2012-06-27 08:45:25

Cesco
Member
Registered: 2010-09-17
Posts: 4

[SOLVED] Pacman Update Problem after cache folder changed

Ho guys, I have this problem since I changed pacman cache directory for partition space reason.

Now I have this:

:: Sincronizzazione dei database in corso...
 core è aggiornato
 extra è aggiornato
 community è aggiornato
 archlinuxfr è aggiornato
:: Aggiornamento del sistema in corso...
attenzione: nvidia: l'aggiornamento del pacchetto è stato ignorato (295.59-1 => 302.17-1)
attenzione: nvidia-utils: l'aggiornamento del pacchetto è stato ignorato (295.59-1 => 302.17-1)
risoluzione delle dipendenze in corso...
ricerca dei conflitti in corso...

Pacchetti (10): chromium-20.0.1132.43-1  dbus-core-1.6.0-5  dbus-glib-0.100-1  libsystemd-185-3  python-dbus-1.1.1-1
                python-dbus-common-1.1.1-1  python2-dbus-1.1.1-1  qt-4.8.2-2  systemd-tools-185-3  xterm-281-1

Dimensione totale dei pacchetti da scaricare:    48,62 MiB
Dimensione totale dei pacchetti da installare:   198,84 MiB
Dimensione netta dell'aggiornamento:             2,48 MiB

Vuoi procedere con l'installazione? [S/n] 
attenzione: la cache di home/cesco/.pkg/ non esiste, creazione in corso...
:: Download dei pacchetti da core...
attenzione: impossibile scaricare alcuni file da core
attenzione: impossibile scaricare alcuni file da core
attenzione: impossibile scaricare alcuni file da core
:: Download dei pacchetti da extra...
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
errore: impossibile eseguire l'operazione richiesta (errore inaspettato)
Si sono verificati degli errori, nessun pacchetto è stato aggiornato.

In English means: cannot download some files from core..extra...

this is 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    = home/cesco/.pkg
LogFile     = /home/cesco/.pkg/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg   = aptana-studio 
IgnorePkg   = nvidia 
IgnorePkg   = nvidia-utils
#IgnoreGroup =

#NoUpgrade   = aptana-studio nvidia nvidia-utils
#NoExtract   =

# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists

# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel = Optional TrustedOnly
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
#SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
SigLevel = Never

#
# 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]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[core]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

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

[community]
#SigLevel = PackageOptional
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] 
Server = http://repo.archlinux.fr/i686

Any advice is appreciated!

Last edited by Cesco (2012-06-27 09:49:10)

Offline

#2 2012-06-27 08:49:27

0x530302
Member
Registered: 2012-06-26
Posts: 15

Re: [SOLVED] Pacman Update Problem after cache folder changed

Have you tried a

pacman -Syy

to completly rebuild the local pacman database?

Offline

#3 2012-06-27 08:51:55

Cesco
Member
Registered: 2010-09-17
Posts: 4

Re: [SOLVED] Pacman Update Problem after cache folder changed

Yes just did it and after a

pacman -Syu

I have this:

:: Sincronizzazione dei database in corso...
 core è aggiornato
 extra è aggiornato
 community è aggiornato
 archlinuxfr è aggiornato
:: Aggiornamento del sistema in corso...
attenzione: nvidia: l'aggiornamento del pacchetto è stato ignorato (295.59-1 => 302.17-1)
attenzione: nvidia-utils: l'aggiornamento del pacchetto è stato ignorato (295.59-1 => 302.17-1)
risoluzione delle dipendenze in corso...
ricerca dei conflitti in corso...

Pacchetti (10): chromium-20.0.1132.43-1  dbus-core-1.6.0-5  dbus-glib-0.100-1  libsystemd-185-3  python-dbus-1.1.1-1
                python-dbus-common-1.1.1-1  python2-dbus-1.1.1-1  qt-4.8.2-2  systemd-tools-185-3  xterm-281-1

Dimensione totale dei pacchetti da scaricare:    48,62 MiB
Dimensione totale dei pacchetti da installare:   198,84 MiB
Dimensione netta dell'aggiornamento:             2,48 MiB

Vuoi procedere con l'installazione? [S/n] s
attenzione: la cache di home/cesco/.pkg/ non esiste, creazione in corso...
:: Download dei pacchetti da core...
attenzione: impossibile scaricare alcuni file da core
attenzione: impossibile scaricare alcuni file da core
attenzione: impossibile scaricare alcuni file da core
:: Download dei pacchetti da extra...
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
attenzione: impossibile scaricare alcuni file da extra
errore: impossibile eseguire l'operazione richiesta (errore inaspettato)
Si sono verificati degli errori, nessun pacchetto è stato aggiornato.

error: segmentation fault
Please submit a full bug report with --debug if appropriate.

Offline

#4 2012-06-27 08:58:29

0x530302
Member
Registered: 2012-06-26
Posts: 15

Re: [SOLVED] Pacman Update Problem after cache folder changed

You have to change your pacman.conf from

CacheDir    = home/cesco/.pkg

to

CacheDir    = /home/cesco/.pkg

Quote from the pacman.conf manpage:

CacheDir = path/to/cache/dir

Overrides the default location of the package cache directory. A typical default is /var/cache/pacman/pkg/. Multiple cache directories can be specified, and they are tried in the order they are listed in the config file. If a file is not found in any cache directory, it will be downloaded to the first cache directory with write access. NOTE: this is an absolute path, the root path is not automatically prepended.

Offline

#5 2012-06-27 08:59:16

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Pacman Update Problem after cache folder changed

As a sidenote:

Please append "LC_ALL=C" to the commands you're running in order to get the output in English. It'll be easier for non-Italian (I'm guessing it's Italian, excuse me if I'm wrong) speaking people to be able to help you.


Burninate!

Offline

#6 2012-06-27 09:48:25

Cesco
Member
Registered: 2010-09-17
Posts: 4

Re: [SOLVED] Pacman Update Problem after cache folder changed

@0x530302:

Solved, thank you....shame on me for that "/"...embarassing!

@Gcool:

thank you too, i didn't know that LC_ALL=C smile

and yes it is Italian!

I'm going to marked as solved.

Offline

Board footer

Powered by FluxBB