You are not logged in.

#1 2012-11-21 10:37:54

photon
Member
Registered: 2012-11-01
Posts: 21

package 'nss-myhostname' was not found

I run into this problem when I was installing arch.
Here is what I did:

mount /dev/sda1 /mnt
mount /dev/sda2 /mnt/home
swapon /dev/sda3

pacstrap /mnt base base-devel

pacman -Ql nss-myhostname

and the system blames:
error: package 'nss-myhostname' was not found
tXM6K.jpg

This was different from what I saw yesterday, when the above pacman command could return successful result. The problem yesterday was that ls command could not find the nss-myhostname.
RcZjG.jpg

What could be the possible causes or solutions?

My previous questions:
[solved]pacman base base-dev returns ERROR: /mnt is not a mountpoint!
[solved]When install arch, how to avoid sleep or hibertate state
[solved]order question on language,internet connection and Mount the partition

wiki:
Beginners' Guide

Last edited by photon (2012-11-21 11:25:19)

Offline

#2 2012-11-21 12:25:37

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

Re: package 'nss-myhostname' was not found

What image are you using?
The prompts look different, is this the same iso?

Why are you looking for /usr/lib/nss-myhostname ? nss-myhostname (nor any other package) seems to provide such file, as you can see in 'pacman -Ql': https://www.archlinux.org/packages/core … ame/files/

Last edited by karol (2012-11-21 12:26:58)

Offline

#3 2012-11-21 12:29:12

photon
Member
Registered: 2012-11-01
Posts: 21

Re: package 'nss-myhostname' was not found

It seems that I forgot to chroot. I will check that possible reason.
And I thought nss-hostname was a executable file, my mistake.

Offline

#4 2012-11-21 12:43:21

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

Re: package 'nss-myhostname' was not found

photon, you've had quite a few threads now in which you lead those willing to help you down all kinds of useless rabit trails.  Most of the problems have been "solved" with you giving a statement much like this last one that "I forgot to <do some basic step clearly outlined in the instructions>".

We all make silly mistakes from time to time - but if you show a consistent pattern of failing to follow simple instructions, then I doubt arch is for you, and I doubt you will continue to get much leeway from this community.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2012-11-21 14:22:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,546

Re: package 'nss-myhostname' was not found

Moderator comment:  Those pictures are a little bigger than those permitted by our policy.  I'll let it slide this time because the byte size is not that bad.  Careful in the future.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB