You are not logged in.

#1 2012-01-18 18:07:17

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Pacman Issues

When I input 'pacman -Q linux', I get: 3.0.3-1 and I'm supposed to be using 3.1.9-2. I assumed 'pacman -Syu' would update things but nothing's changed.

My pacman.conf:

chome4 wrote:
#
# /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/
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   =
#IgnoreGroup =

#NoUpgrade   =
#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

#[multilib]
#Include = /etc/pacman.d/mirrorlists

How can I get the newer, up-to-date linux?

Offline

#2 2012-01-18 18:12:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,554
Website

Re: Pacman Issues

Do you get any errors when you 'pacman -Syu' ?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-01-18 18:14:41

drdrewdown
Member
From: Land of Oz
Registered: 2010-11-22
Posts: 21
Website

Re: Pacman Issues

what do you get when you issue the command

$ uname -r

Offline

#4 2012-01-18 18:15:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,554
Website

Re: Pacman Issues

Also - just in case - what does this give?

pacman -Ss linux | grep core/linux

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2012-01-18 18:24:16

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Pacman Issues

Trilby wrote:

Do you get any errors when you 'pacman -Syu' ?

I get the following:

error: failed to commit transaction (conflicting files)
filesystem: /etc/mtab exists in filesystem
initscripts: /etc/profile.d/locale.sh exists in filesystem
Errors occured, no packages were upgraded.

Offline

#6 2012-01-18 18:24:42

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Pacman Issues

chome4 wrote:
Trilby wrote:

Do you get any errors when you 'pacman -Syu' ?

I get the following:

error: failed to commit transaction (conflicting files)
filesystem: /etc/mtab exists in filesystem
initscripts: /etc/profile.d/locale.sh exists in filesystem
Errors occured, no packages were upgraded.

Read the front page news.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#7 2012-01-18 18:25:23

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Pacman Issues

drdrewdown wrote:

what do you get when you issue the command

$ uname -r

3.0-ARCH

Offline

#8 2012-01-18 18:25:35

drdrewdown
Member
From: Land of Oz
Registered: 2010-11-22
Posts: 21
Website

Re: Pacman Issues

refer HERE for MTAB http://www.archlinux.org/news/filesyste … -required/

you'll need to do sudo pacman -Syuf

Offline

#9 2012-01-18 18:26:33

drdrewdown
Member
From: Land of Oz
Registered: 2010-11-22
Posts: 21
Website

Re: Pacman Issues

for locale.sh refer HERE http://www.archlinux.org/news/initscrip … -required/

you will want to delete it manually

sudo rm /etc/profile.d/locale.sh

Offline

#10 2012-01-18 18:26:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman Issues

drdrewdown wrote:

refer HERE for MTAB http://www.archlinux.org/news/filesyste … -required/

you'll need to do sudo pacman -Syuf

DON'T!

Offline

#11 2012-01-18 18:27:17

drdrewdown
Member
From: Land of Oz
Registered: 2010-11-22
Posts: 21
Website

Re: Pacman Issues

karol wrote:
drdrewdown wrote:

refer HERE for MTAB http://www.archlinux.org/news/filesyste … -required/

you'll need to do sudo pacman -Syuf

DON'T!

why not?


oh i see it, do this instead
pacman -S filesystem --force

Last edited by drdrewdown (2012-01-18 18:28:27)

Offline

#12 2012-01-18 18:28:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman Issues

drdrewdown wrote:
karol wrote:
drdrewdown wrote:

refer HERE for MTAB http://www.archlinux.org/news/filesyste … -required/

you'll need to do sudo pacman -Syuf

DON'T!

why not?

Pretty please read that announcement again. It tells you *exactly* what you should do and it's not 'sudo pacman -Syuf'.

Offline

#13 2012-01-18 18:29:10

drdrewdown
Member
From: Land of Oz
Registered: 2010-11-22
Posts: 21
Website

Re: Pacman Issues

karol wrote:
drdrewdown wrote:
karol wrote:

DON'T!

why not?

Pretty please read that announcement again. It tells you *exactly* what you should do and it's not 'sudo pacman -Syuf'.

my mistake, i did link the article so he would want to read it first anyway big_smile

Offline

#14 2012-01-18 18:29:14

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Pacman Issues

OK. I'll goto the news sections and follow what it says...

Offline

#15 2012-01-18 18:31:51

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Pacman Issues

while doing pacman -Syuf is a valid option, it is not adviced.

the Force option its only needed for the filesystem package. so doing a pacman -Sf filesystem and then upgrading is safer.

also, i dont think -f is available in pacman 4, so you should do -S --force instead.

Additionally. the locale.sh conflict is a bit old. where have you been? you should delete /etc/profile.d/locale.sh prior to updating initscripts

Please, check the front news regularly before updating. it takes just a few minutes, it will save you these kind of posts.

Offline

#16 2012-01-18 18:32:37

drdrewdown
Member
From: Land of Oz
Registered: 2010-11-22
Posts: 21
Website

Re: Pacman Issues

eldragon wrote:

while doing pacman -Syuf is a valid option, it is not adviced.

the Force option its only needed for the filesystem package. so doing a pacman -Sf filesystem and then upgrading is safer.

also, i dont think -f is available in pacman 4, so you should do -S --force instead.

Additionally. the locale.sh conflict is a bit old. where have you been? you should delete /etc/profile.d/locale.sh prior to updating initscripts

Please, check the front news regularly before updating. it takes just a few minutes, it will save you these kind of posts.

exactly why i RSS the feed big_smile

Offline

#17 2012-01-18 18:43:33

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Pacman Issues

When I type: pacman-key --init, I get:

'Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 290 more bytes)'

Offline

#18 2012-01-18 18:44:29

drdrewdown
Member
From: Land of Oz
Registered: 2010-11-22
Posts: 21
Website

Re: Pacman Issues

chome4 wrote:

When I type: pacman-key --init, I get:

'Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 290 more bytes)'

i just made a bunch of random keystrokes to give it more bytes

Offline

#19 2012-01-18 18:44:34

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Pacman Issues

chome4 wrote:

When I type: pacman-key --init, I get:

'Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 290 more bytes)'

Do exactly what it says. Open some windows, resize them, etc. Do other stuff so you can generate entropy.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#20 2012-01-18 18:49:35

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Pacman Issues

lifeafter2am wrote:
chome4 wrote:

When I type: pacman-key --init, I get:

'Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 290 more bytes)'

Do exactly what it says. Open some windows, resize them, etc. Do other stuff so you can generate entropy.

It's a brand new install, no windows present. only just done the install and trying to update things.

Offline

#21 2012-01-18 18:50:09

drdrewdown
Member
From: Land of Oz
Registered: 2010-11-22
Posts: 21
Website

Re: Pacman Issues

chome4 wrote:
lifeafter2am wrote:
chome4 wrote:

When I type: pacman-key --init, I get:

'Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 290 more bytes)'

Do exactly what it says. Open some windows, resize them, etc. Do other stuff so you can generate entropy.

It's a brand new install, no windows present. only just done the install and trying to update things.

just hit random keys on your keyboard until it continues the process.

Offline

#22 2012-01-18 18:50:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,554
Website

Re: Pacman Issues

Some people collect stamps.  I collect entropy.

Chrome4, if I may offer some advice, if you are going to use arch you will need to start reading the output from your system.  There are some unfortunate error messages that are a bit cryptic and hard to figure out - but you've given two examples in this thread that were quite strait forward.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#23 2012-01-18 18:57:29

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Pacman Issues

drdrewdown wrote:
chome4 wrote:
lifeafter2am wrote:

Do exactly what it says. Open some windows, resize them, etc. Do other stuff so you can generate entropy.

It's a brand new install, no windows present. only just done the install and trying to update things.

just hit random keys on your keyboard until it continues the process.

Did that and after a while I got some random upper-case characters followed by: 'No such file or directory then'
'-bash' followed by more random characters followed by 'command not found'

Offline

#24 2012-01-18 18:58:24

drdrewdown
Member
From: Land of Oz
Registered: 2010-11-22
Posts: 21
Website

Re: Pacman Issues

chome4 wrote:
drdrewdown wrote:
chome4 wrote:

It's a brand new install, no windows present. only just done the install and trying to update things.

just hit random keys on your keyboard until it continues the process.

Did that and after a while I got some random upper-case characters followed by: 'No such file or directory then'
'-bash' followed by more random characters followed by 'command not found'

thats fine, the process should've completed and returned you to a usable console.

Offline

#25 2012-01-18 19:30:44

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Pacman Issues

Following the instructions, I input the command: pacman-key -r <fingerprint> --keyserver <key server>.

The fingerprint, according to the text is the link text. I use, for example, 0xEAE999BD, from the second developer down as the 'link text' and 'hkp://pgp.mit.edu' as the key server, but I'm getting syntax errors.

Offline

Board footer

Powered by FluxBB